internal compiler error
Jeffrey A Law
law@cygnus.com
Wed Jun 30 23:07:00 GMT 1999
In message <rhiudfhuep.fsf@mso.anu.edu.au>you write:
>
> The following short piece of code produces an internal compiler error
> with the latest CVS sources, if compiled with any optimization.
> Platform is Solaris 2.6 sparc. egcs-1.1.1, egcs-1.1 and
> gcc-2.8.1 all compile it OK.
>
> int main() {
> int i, j, maxval = 255;
> float foo=1.0;
>
> for(i=0;i<10;i++)
> for(j=0;i<10;j++)
> printf(" %3d",(int)maxval*foo);
> }
[ ... ]
This seems to be working fine now. Presumably it was a transient problems in
the egcs sources.
jeff
More information about the Gcc-bugs
mailing list