This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Gcc 2.96 Segmentation fault [ extended ]
- To: gcc-bugs at gcc dot gnu dot org
- Subject: Gcc 2.96 Segmentation fault [ extended ]
- From: Jonathan Ryshpan <jon at dnai dot com>
- Date: Thu, 16 Nov 2000 22:30:04 -0800
- Cc: bernhard at users dot sourceforge dot net
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.