Gcc 2.96 Segmentation fault [ extended ]

Jonathan Ryshpan jon@dnai.com
Thu Nov 16 22:29:00 GMT 2000


If you change the invocation line in the following to remove the "-O2"
the compilation runs to completion.  Alternately if you edit the
offending function to change "double" to "float" it compiles OK.

It looks like the register allocation system is breaking down.

My original bug report started:


Gcc crashed while I was trying to build sketch on RedHat 7.0.

Here's the version info:
>$ gcc -v
>Reading specs from /usr/lib/gcc-lib/i386-redhat-linux/2.96/specs
>gcc version 2.96 20000731 (Red Hat Linux 7.0)

Here's the output of a run.
>+ gcc -fPIC -I../../Pax -I/usr/local/include/python1.5/Extensions -I/usr/local/include -g -O2 -I/usr/include/python1.5 -I/usr/include/python1.5 -DHAVE_CONFIG_H -c ./curveobject.c
>./curveobject.c: In function `add_bezier_rect':
>./curveobject.c:780: Internal error: Segmentation fault.
>Please submit a full bug report.


More information about the Gcc-bugs mailing list