This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Re: c/4317: main() {return 0;} does not compile correctly
- To: aoliva at gcc dot gnu dot org
- Subject: Re: c/4317: main() {return 0;} does not compile correctly
- From: Steffen Ryll <s dot ryll at web dot de>
- Date: Mon, 1 Oct 2001 17:35:12 +0200
- CC: gcc-bugs at gcc dot gnu dot org, gcc-prs at gcc dot gnu dot org, nobody at gcc dot gnu dot org
- References: <20010929035247.19964.qmail@sourceware.cygnus.com>
- Reply-To: Steffen Ryll <s dot ryll at web dot de>
> Synopsis: main() {return 0;} does not compile correctly
> State-Changed-From-To: open->feedback
> State-Changed-By: aoliva
> State-Changed-When: Fri Sep 28 20:52:46 2001
> State-Changed-Why:
> What is the assembly code you get when you compile this program (gcc -S ...)? The one I get looks quite reasonable.
> http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view&pr=4317&database=gcc
Now I attach the assembly code (produced by 'gcc --save-temps ...') as
well. But unfortunately I've got no idea as far as assembler is
concerned, so I don't know whether it is reasonable or not :-(
However, I conclude that you suspect my 'GNU as' to produce wrong
output. Well, I don't know; I can just tell you that I'm using
binutils 2.11.
Bye,
Steffen
conftest.s