egcs-1.1.2, sparc long long bug
Jeffrey A Law
law@cygnus.com
Fri Jun 25 06:52:00 GMT 1999
In message <199905171323.PAA25286@karl.tools.de>you write:
> Hi,
>
> I would like to report an egcs-1.1.x code generator bug.
>
> The problem occurs both with gcc version egcs-2.91.60 19981201
> (egcs-1.1.1 release) and also with gcc version egcs-2.91.66 19990314
> (egcs-1.1.2 release) - running on sparc solaris 2.6 and solaris 7
>
> The bug does not occur with gcc version egcs-2.90.29 980515
> (egcs-1.0.3 release).
>
>
> Appended below is small programme that demonstrates the problem. The
> bug happens with the second invocation of function 'bcd' in
> 'format_vskip'. Since main calls 'format_vskip' with a parameter
> scale==100, the second invocation of 'bcd' should pass 'state->offs+3'
> as param #2. With egcs-1.1.x, the incorrect value 'state->offs+2' is
> passed.
[ ... ]
I just checked this with the gcc-2.95 prerelease sources and it seems to be
working fine now.
Thanks,
jeff
More information about the Gcc-bugs
mailing list