------- 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
00000000 T _f
00000008 T _main
indigo% gcc -c -std=gnu89 foo.c
indigo% nm foo.o
00000000 T _main
indigo% gcc -v
Using built-in specs.
Target: i686-apple-darwin9
Configured with: /var/tmp/gcc/gcc-5465~16/src/configure --disable-checking
-enable-werror --prefix=/usr --mandir=/share/man
--enable-languages=c,objc,c++,obj-c++
--program-transform-name=/^[cg][^.-]*$/s/$/-4.0/
--with-gxx-include-dir=/include/c++/4.0.0 --with-slibdir=/usr/lib
--build=i686-apple-darwin9 --with-arch=apple --with-tune=generic
--host=i686-apple-darwin9 --target=i686-apple-darwin9
Thread model: posix
gcc version 4.0.1 (Apple Inc. build 5465)


-- 

dan at math dot uiuc dot edu changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |UNCONFIRMED
         Resolution|FIXED                       |


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34697

Reply via email to