in a return statement suspect
Product: gcc
Version: 4.3.2
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: c
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: dan at math dot uiuc dot edu
GCC build triplet: i686-p
--- Comment #5 from dan at math dot uiuc dot edu 2008-01-07 01:43 ---
Thank you!
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34697
--- Comment #3 from dan at math dot uiuc dot edu 2008-01-07 00:21 ---
PS: it could be a bug inserted by Apple...
--
dan at math dot uiuc dot edu changed:
What|Removed |Added
--- Comment #2 from dan at math dot uiuc dot edu 2008-01-07 00:20 ---
Well, if you were right, then gnu99 and gnu89 would have the same behavior, but
they don't:
indigo% gcc -c -std=gnu99 foo.c
indigo% nm foo.o
T _f
0008 T _main
indigo% gcc -c -std=gnu89 foo.c
indig
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: c
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: dan at math dot uiuc dot edu
GCC build triplet: i686-apple-darwin9
GCC host triplet: i686-apple-darwin9
GCC target triplet: i686-app