------- Comment #2 from pinskia at gcc dot gnu dot org 2006-06-08 03:00 ------- > On a x86 with gcc-3.4.x/3.3.6 it prints: > pkt 65, foo 65 > pktII 65, bar 65 > (this is the right output)
I don't get 65 with 3.4.0, I get 68 like 4.0.0 and above. earth:~>~/ia32_linux_gcc3_4/bin/gcc -O2 t.c earth:~>./a.out pkt 68, foo 68 pktII 68, bar 68 earth:~>~/ia32_linux_gcc3_3/bin/gcc -O2 t.c earth:~>./a.out pkt 65, foo 65 pktII 65, bar 65 You should note this is extension even on top of C99 so it might be correct to change it. -- pinskia at gcc dot gnu dot org changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |ABI http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27945