This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Gcc 2.96 Segmentation fault [ extended ]


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.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]