sim/m68hc11 daa a->a
Stephane Carrez
stcarrez@nerim.fr
Tue Jun 18 14:40:00 GMT 2002
Hi Andrew,
Andrew Cagney wrote:
> Stephane,
>
> When trying out a build with --enable-sim-build-warnings=,-Werror(1) I
> noticed:
>
> case 0x19: /* daa a->a */
> src8 = cpu_get_a (proc);
> cpu_special (proc, M6811_DAA);
> cpu_set_a (proc, dst8);
> break;
>
> (the generated file m68hc11int.c) GCC is complaining that dst8 might be
> used uninitialized.
Ok. It needs a cleanup.
Heu... it also needs an implementation...in cpu_special().
>
> enjoy,
> Andrew
>
>
> (1) No one has tried this for a long time
>
To be honest I don't use -Werror...
Thanks!,
Stephane
-----------------------------------------------------------------------
Home Office
E-mail: stcarrez@nerim.fr Stephane.Carrez@solsoft.fr
WWW: http://stephane.carrez.free.fr http://www.solsoft.com
Free the Software! Visual Security Policy Management
More information about the Gdb-patches
mailing list