This is the mail archive of the gcc@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]
Other format: [Raw text]

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


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