bug in egcs-2.90.27 980315 (egcs-1.0.2 release)

jeremy bornstein uke@satori.net
Fri Nov 20 10:48:00 GMT 1998

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/specs
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.

-jeremy bornstein

More information about the Gcc-bugs mailing list