Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
* sim/m68hc11 daa a->a
@ 2002-06-17 16:00 Andrew Cagney
  2002-06-18 14:40 ` Stephane Carrez
  0 siblings, 1 reply; 3+ messages in thread
From: Andrew Cagney @ 2002-06-17 16:00 UTC (permalink / raw)
  To: Stephane Carrez, gdb-patches

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.

enjoy,
Andrew


(1) No one has tried this for a long time



^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2002-06-18 23:05 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-06-17 16:00 sim/m68hc11 daa a->a Andrew Cagney
2002-06-18 14:40 ` Stephane Carrez
2002-06-18 16:05   ` Andrew Cagney

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox