[Bug target/39565] Static variable leaves undefined symbol in object file
--- Comment #4 from rguenth at gcc dot gnu dot org 2009-04-29 08:34 --- Subject: Bug 39565 Author: rguenth Date: Wed Apr 29 08:34:21 2009 New Revision: 146928 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=146928 Log: 2009-04-29 Anmol P. Paralkar an...@freescale.com PR target/39565 * gcc.dg/pr39565.c: New testcase. Added: trunk/gcc/testsuite/gcc.dg/pr39565.c Modified: trunk/gcc/testsuite/ChangeLog -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39565
[Bug target/39565] Static variable leaves undefined symbol in object file
--- 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
--- 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] (GCC) that this is no longer a problem. I have submitted a testcase for the regression suite; please see: http://gcc.gnu.org/ml/gcc-patches/2009-04/msg02296.html -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39565
[Bug target/39565] Static variable leaves undefined symbol in object file
--- Comment #1 from rguenth at gcc dot gnu dot org 2009-03-27 09:19 --- I get t.o: file format elf32-i386 SYMBOL TABLE: ldf *ABS* t.c ld .text .text ld .data .data ld .bss .bss l O .rodata000f codestrs_4 000f l O .rodata0017 codestrs_8 ld .rodata .rodata ld .note.GNU-stack .note.GNU-stack ld .comment .comment g F .text 0022 psiginfo -- rguenth at gcc dot gnu dot org changed: What|Removed |Added Component|c |target http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39565
[Bug target/39565] Static variable leaves undefined symbol in object file
--- Comment #2 from edmar at freescale dot com 2009-03-27 15:01 --- I noticed that too. On x86_64 there is no undefined symbol either. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39565