This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Segmention fault when optimizing.
- From: Anders Ådland <adland at stud dot ntnu dot no>
- To: gcc at gcc dot gnu dot org
- Date: Thu, 15 May 2003 19:38:29 +0200
- Subject: Segmention fault when optimizing.
Hi,
I'm working on a new port of GCC, and have some problems. When compiling
gcc/unwind-dw2-fde.c I'm getting a segmention fault. It happens when
executing the -fcprop_register optimization enabled with -O2. Among other
things this is calling kill_autoinc_value() on the entire RTL source. The
segmentation fault comes when it tries to use a REGNO of a
(pre_dec:SI (mem:SI (plus:SI (reg:SI ...)
(const_int ...)))
, which is not defined, in kill_autoinc_value(). The question is why I'm
getting this pattern. In my machine descriptions, only (pre_dec:SI (reg:SI
...)) is defined.
Anders