gcc produces a wrong executable code

vakopian vakopian@usc.edu
Mon Oct 16 22:06:00 GMT 2000


On Tue, 17 Oct 2000, Ben Collins wrote:

> On Mon, Oct 16, 2000 at 09:25:33PM -0400, Vardan Akopian wrote:
> > Description:
> > ------------
> > Here is a very simple program, for wich gcc produces a wrong executable.
> > It calulates two number in two different ways. The results should be the
> > same but 
> > are different.
> > 
> > The program:
> > ------------
> 
> I just tested this with gcc 2.95.2+cvs on a sparc-linux (2.2.17) system,
> and it did not produce an error.
> 
> -- 
>  -----------=======-=-======-=========-----------=====------------=-=------
> /  Ben Collins  --  ...on that fantastic voyage...  --  Debian GNU/Linux   \
> `  bcollins@debian.org  --  bcollins@openldap.org  --  bcollins@linux.com  '
>  `---=========------=======-------------=-=-----=-===-======-------=--=---'
> 

Thanks.
I'll try that cvs version. I actually tested it with gcc on solaris and I
didn't have the error.



More information about the Gcc-bugs mailing list