bug in egcs-2.90.27 980315 (egcs-1.0.2 release)
Jeffrey A Law
law@cygnus.com
Tue Dec 15 01:06:00 GMT 1998
In message <19981120104238.E9306@satori.net>you write:
> I just found this bug. The smallest reproducible code I could find to
> reproduce it is as follows:
>
> #include <math.h>
>
> static void SomeFunction(void)
> {
> long foo;
> double bar;
> double baz;
>
> double frobnitz = sqrt( bar ) * sqrt( foo );
>
> double grommit = pow(1, - (baz * foo) );
> }
>
>
> Here is a transcript:
>
> prompt(1): gcc -v
> Reading specs from /usr/local/lib/gcc-lib/i686-pc-linux-gnu/egcs-2.90.27/sp
> ecs
> gcc version egcs-2.90.27 980315 (egcs-1.0.2 release)
> prompt(2): gcc compiler-bug-egcs-jjb.cc -O3
> compiler-bug-egcs-jjb.cc: In function `void SomeFunction()':
> compiler-bug-egcs-jjb.cc:12: Internal compiler error.
> compiler-bug-egcs-jjb.cc:12: Please submit a full bug report to `egcs-bugs@
> cygnus.com'.
>
>
> If you would like any more information, please let me know.
I would recommend updating your compiler. egcs-1.0.3 may help, egcs-1.1.1 is
more likely to help.
You didn't file a complete bug report, so it's impossible for me to actually
test with my copies of egcs-1.0.3 or egcs-1.1.1.
http://egcs.cygnus.com/faq.html#bugreport
jeff
More information about the Gcc-bugs
mailing list