This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: c/4317: main() {return 0;} does not compile correctly


> 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]