This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug target/32418] ICE in global_alloc, at global.c:514
- From: "zadeck at naturalbridge dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 20 Jun 2007 17:13:11 -0000
- Subject: [Bug target/32418] ICE in global_alloc, at global.c:514
- References: <bug-32418-12574@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- 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