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]
Other format: [Raw text]

[Bug target/32418] ICE in global_alloc, at global.c:514



------- Comment #4 from zadeck at naturalbridge dot com  2007-06-20 17:13 -------
Subject: Re:   New: ICE in global_alloc, at global.c:514

rask at sygehus dot dk wrote:
> Configure gcc like this:
>
> $ [...]/configure --target m32c-unknown-elf --with-newlib--enable-sim
> --disable-gdb --disable-nls --enable-languages=c,c++,java
>
> The attached file fails to compile:
>
> $ ./xgcc -B./ ~/unwind-dw2.c -S -dp -o /dev/null -O2
> /n/08/rask/src/gcc/libgcc/../gcc/unwind.inc: In function '_Unwind_Resume':
> /n/08/rask/src/gcc/libgcc/../gcc/unwind.inc:241: internal compiler error: in
> global_alloc, at global.c:514
>
>
>   
Rask,

The problem here is that the port is defining EH_RETURN_STACKADJ_RTX to
be the pseudo reg (reg:HI 49).  This sounds very wrong to me.

The df scanning code is making this an artificial use in the exit block. 

However, there are no other uses or defs of reg 49 in this function. 
This causes problems. 

Kenny


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32418


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