[Bug target/39565] Static variable leaves undefined symbol in object file

2009-04-29 Thread anmol at freescale dot com
--- Comment #7 from anmol at freescale dot com 2009-04-29 17:29 --- Respun testcase per advice from Joseph S. Myers: http://gcc.gnu.org/ml/gcc-patches/2009-04/msg02363.html -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39565

[Bug target/39565] Static variable leaves undefined symbol in object file

2009-04-28 Thread anmol at freescale dot com
--- Comment #3 from anmol at freescale dot com 2009-04-28 23:43 --- I verified with native GCC on target: powerpc-unknown-linux-gnu on: gcc version 4.5.0 20090423 (experimental) [trunk revision 146648] (GCC) gcc version 4.4.1 20090424 (prerelease) [gcc-4_4-branch revision 146746

[Bug c/38375] infinite loop on invalid struct redefinition

2009-04-28 Thread anmol at freescale dot com
--- Comment #3 from anmol at freescale dot com 2009-04-28 21:38 --- I tried reproducing on trunk and on gcc-4_4-branch; GCC does not loop forever: gcc version 4.5.0 20090423 (experimental) [trunk revision 146648] (GCC

[Bug c/39383] sizeof object with zero-length array ignores initializer

2009-04-23 Thread anmol at freescale dot com
--- Comment #11 from anmol at freescale dot com 2009-04-23 15:53 --- Fix (for generic ELF systems) and test program for regression suite posted here: http://gcc.gnu.org/ml/gcc-patches/2009-04/msg01807.html -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39383

[Bug c/39383] sizeof object with zero-length array ignores initializer

2009-04-17 Thread anmol at freescale dot com
--- Comment #10 from anmol at freescale dot com 2009-04-17 22:39 --- I am working on this problem and see that for generic ELF OS's, defining ASM_DECLARE_OBJECT_NAME (gcc/config/elfos.h) to use the size of the initializer (as against the size of the type) to emit the true size i