public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug target/32418]  New: ICE in global_alloc, at global.c:514
@ 2007-06-20 13:20 rask at sygehus dot dk
  2007-06-20 13:22 ` [Bug target/32418] " rask at sygehus dot dk
                   ` (21 more replies)
  0 siblings, 22 replies; 23+ messages in thread
From: rask at sygehus dot dk @ 2007-06-20 13:20 UTC (permalink / raw)
  To: gcc-bugs

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


-- 
           Summary: ICE in global_alloc, at global.c:514
           Product: gcc
           Version: 4.3.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: target
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: rask at sygehus dot dk
 GCC build triplet: i686-pc-linux-gnu
  GCC host triplet: i686-pc-linux-gnu
GCC target triplet: m32c-unknown-elf


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


^ permalink raw reply	[flat|nested] 23+ messages in thread

* [Bug target/32418] ICE in global_alloc, at global.c:514
  2007-06-20 13:20 [Bug target/32418] New: ICE in global_alloc, at global.c:514 rask at sygehus dot dk
@ 2007-06-20 13:22 ` rask at sygehus dot dk
  2007-06-20 13:24 ` rask at sygehus dot dk
                   ` (20 subsequent siblings)
  21 siblings, 0 replies; 23+ messages in thread
From: rask at sygehus dot dk @ 2007-06-20 13:22 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #1 from rask at sygehus dot dk  2007-06-20 13:21 -------
Created an attachment (id=13742)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=13742&action=view)
Preprocessed testcase


-- 


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


^ permalink raw reply	[flat|nested] 23+ messages in thread

* [Bug target/32418] ICE in global_alloc, at global.c:514
  2007-06-20 13:20 [Bug target/32418] New: ICE in global_alloc, at global.c:514 rask at sygehus dot dk
  2007-06-20 13:22 ` [Bug target/32418] " rask at sygehus dot dk
@ 2007-06-20 13:24 ` rask at sygehus dot dk
  2007-06-20 13:25 ` rask at sygehus dot dk
                   ` (19 subsequent siblings)
  21 siblings, 0 replies; 23+ messages in thread
From: rask at sygehus dot dk @ 2007-06-20 13:24 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #2 from rask at sygehus dot dk  2007-06-20 13:24 -------
*** Bug 32420 has been marked as a duplicate of this bug. ***


-- 


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


^ permalink raw reply	[flat|nested] 23+ messages in thread

* [Bug target/32418] ICE in global_alloc, at global.c:514
  2007-06-20 13:20 [Bug target/32418] New: ICE in global_alloc, at global.c:514 rask at sygehus dot dk
  2007-06-20 13:22 ` [Bug target/32418] " rask at sygehus dot dk
  2007-06-20 13:24 ` rask at sygehus dot dk
@ 2007-06-20 13:25 ` rask at sygehus dot dk
  2007-06-20 17:13 ` zadeck at naturalbridge dot com
                   ` (18 subsequent siblings)
  21 siblings, 0 replies; 23+ messages in thread
From: rask at sygehus dot dk @ 2007-06-20 13:25 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #3 from rask at sygehus dot dk  2007-06-20 13:25 -------
*** Bug 32419 has been marked as a duplicate of this bug. ***


-- 


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


^ permalink raw reply	[flat|nested] 23+ messages in thread

* [Bug target/32418] ICE in global_alloc, at global.c:514
  2007-06-20 13:20 [Bug target/32418] New: ICE in global_alloc, at global.c:514 rask at sygehus dot dk
                   ` (2 preceding siblings ...)
  2007-06-20 13:25 ` rask at sygehus dot dk
@ 2007-06-20 17:13 ` zadeck at naturalbridge dot com
  2007-06-20 17:24 ` rask at sygehus dot dk
                   ` (17 subsequent siblings)
  21 siblings, 0 replies; 23+ messages in thread
From: zadeck at naturalbridge dot com @ 2007-06-20 17:13 UTC (permalink / raw)
  To: gcc-bugs



------- 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


^ permalink raw reply	[flat|nested] 23+ messages in thread

* [Bug target/32418] ICE in global_alloc, at global.c:514
  2007-06-20 13:20 [Bug target/32418] New: ICE in global_alloc, at global.c:514 rask at sygehus dot dk
                   ` (3 preceding siblings ...)
  2007-06-20 17:13 ` zadeck at naturalbridge dot com
@ 2007-06-20 17:24 ` rask at sygehus dot dk
  2007-06-20 17:36 ` dj at redhat dot com
                   ` (16 subsequent siblings)
  21 siblings, 0 replies; 23+ messages in thread
From: rask at sygehus dot dk @ 2007-06-20 17:24 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #5 from rask at sygehus dot dk  2007-06-20 17:24 -------
I'll CC DJ Delorie since he'll know why EH_RETURN_STACKADJ_RTX has been defined
that way.


-- 

rask at sygehus dot dk changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |dj at redhat dot com


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


^ permalink raw reply	[flat|nested] 23+ messages in thread

* [Bug target/32418] ICE in global_alloc, at global.c:514
  2007-06-20 13:20 [Bug target/32418] New: ICE in global_alloc, at global.c:514 rask at sygehus dot dk
                   ` (4 preceding siblings ...)
  2007-06-20 17:24 ` rask at sygehus dot dk
@ 2007-06-20 17:36 ` dj at redhat dot com
  2007-06-20 20:08 ` rask at sygehus dot dk
                   ` (15 subsequent siblings)
  21 siblings, 0 replies; 23+ messages in thread
From: dj at redhat dot com @ 2007-06-20 17:36 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #6 from dj at redhat dot com  2007-06-20 17:35 -------
Subject: Re:  ICE in global_alloc, at global.c:514


It was a long time ago, I'm thinking that having too many hard regs
live during reload causes problems on m32c because it has so few
registers.  You can try setting it to R0 and see what else breaks ;-)


-- 


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


^ permalink raw reply	[flat|nested] 23+ messages in thread

* [Bug target/32418] ICE in global_alloc, at global.c:514
  2007-06-20 13:20 [Bug target/32418] New: ICE in global_alloc, at global.c:514 rask at sygehus dot dk
                   ` (5 preceding siblings ...)
  2007-06-20 17:36 ` dj at redhat dot com
@ 2007-06-20 20:08 ` rask at sygehus dot dk
  2007-06-20 20:12 ` zadeck at naturalbridge dot com
                   ` (14 subsequent siblings)
  21 siblings, 0 replies; 23+ messages in thread
From: rask at sygehus dot dk @ 2007-06-20 20:08 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #7 from rask at sygehus dot dk  2007-06-20 20:08 -------
This is something I have no clue about.


-- 


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


^ permalink raw reply	[flat|nested] 23+ messages in thread

* [Bug target/32418] ICE in global_alloc, at global.c:514
  2007-06-20 13:20 [Bug target/32418] New: ICE in global_alloc, at global.c:514 rask at sygehus dot dk
                   ` (6 preceding siblings ...)
  2007-06-20 20:08 ` rask at sygehus dot dk
@ 2007-06-20 20:12 ` zadeck at naturalbridge dot com
  2007-06-21 15:59 ` rask at sygehus dot dk
                   ` (13 subsequent siblings)
  21 siblings, 0 replies; 23+ messages in thread
From: zadeck at naturalbridge dot com @ 2007-06-20 20:12 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #8 from zadeck at naturalbridge dot com  2007-06-20 20:12 -------
Subject: Re:  ICE in global_alloc, at global.c:514

rask at sygehus dot dk wrote:
> ------- Comment #7 from rask at sygehus dot dk  2007-06-20 20:08 -------
> This is something I have no clue about.
>
>
>   
try it and see what else breaks.


-- 


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


^ permalink raw reply	[flat|nested] 23+ messages in thread

* [Bug target/32418] ICE in global_alloc, at global.c:514
  2007-06-20 13:20 [Bug target/32418] New: ICE in global_alloc, at global.c:514 rask at sygehus dot dk
                   ` (7 preceding siblings ...)
  2007-06-20 20:12 ` zadeck at naturalbridge dot com
@ 2007-06-21 15:59 ` rask at sygehus dot dk
  2007-06-21 16:15 ` rask at sygehus dot dk
                   ` (12 subsequent siblings)
  21 siblings, 0 replies; 23+ messages in thread
From: rask at sygehus dot dk @ 2007-06-21 15:59 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #9 from rask at sygehus dot dk  2007-06-21 15:59 -------
I tried this on top of the patch in comment 3 of bug 32441:

Index: gcc/config/m32c/m32c.c
===================================================================
--- gcc/config/m32c/m32c.c      (revision 125892)
+++ gcc/config/m32c/m32c.c      (working copy)
@@ -1143,7 +1143,7 @@ m32c_eh_return_stackadj_rtx (void)
     {
       rtx sa;

-      sa = gen_reg_rtx (Pmode);
+      sa = gen_rtx_REG (Pmode, R0_REGNO);
       cfun->machine->eh_stack_adjust = sa;
     }
   return cfun->machine->eh_stack_adjust;

The build then ends with a reload failure in libstdc++.

Spilling for insn 228.
reload failure for reload 0

Reloads for insn # 228
Reload 0: reload_in (HI) = (plus:HI (reg/f:HI 7 fb)
                                                    (const_int 0 [0x0]))
        A_REGS, RELOAD_FOR_OPERAND_ADDRESS (opnum = 0)
        reload_in_reg: (plus:HI (reg/f:HI 7 fb)
                                                    (const_int 0 [0x0]))

The lreg dump shows some insn sequences which use up both registers in
A_REGS:

(jump_insn 237 235 238 5 (set (pc)
        (label_ref 236)) 163 {jump} (nil))

(barrier 238 237 227)

(code_label/s 227 238 230 6 56 "" [1 uses])

(note 230 227 228 6 [bb 6])

(insn 228 230 229 6 (set (reg:HI 84)
        (reg:HI 4 a0)) 171 {movhi_op} (expr_list:REG_DEAD (reg:HI 4 a0)
        (nil)))

(insn 229 228 102 6 (set (reg:HI 83)
        (reg:HI 5 a1)) 171 {movhi_op} (expr_list:REG_DEAD (reg:HI 5 a1)
        (nil)))

...
(jump_insn 243 241 244 13 (set (pc)
        (label_ref 242)) 163 {jump} (nil))

(barrier 244 243 223)

(code_label/s 223 244 226 14 55 "" [1 uses])

(note 226 223 224 14 [bb 14])

(insn 224 226 225 14 (set (reg:HI 84)
        (reg:HI 4 a0)) 171 {movhi_op} (expr_list:REG_DEAD (reg:HI 4 a0)
        (nil)))

(insn 225 224 166 14 (set (reg:HI 83)
        (reg:HI 5 a1)) 171 {movhi_op} (expr_list:REG_DEAD (reg:HI 5 a1)
        (nil)))

(note/s 166 225 168 14 "" 52)
...
(insn 203 197 231 15
/home/rask/build/gcc-m32c-unknown-elf/m32c-unknown-elf/libstdc++-v3/include/complex:527
(use (reg/i:HI 0 r0)) -1 (nil))

(code_label/s 231 203 234 16 57 "" [1 uses])

(note 234 231 232 16 [bb 16])

(insn 232 234 233 16 (set (reg:HI 84)
        (reg:HI 4 a0)) 171 {movhi_op} (expr_list:REG_DEAD (reg:HI 4 a0)
        (nil)))

(insn 233 232 185 16 (set (reg:HI 83)
        (reg:HI 5 a1)) 171 {movhi_op} (expr_list:REG_DEAD (reg:HI 5 a1)
        (nil)))

(code_label/s 185 233 186 17 53 "" [3 uses])

(note 186 185 187 17 [bb 17])

The usage count is one too high for all the code labels shown above. In
other words, the code that is causing reload problems is dead code. The code
first appears in the "eh" pass and refers to a0 and a1 from the beginning.

int
m32c_eh_return_data_regno (int n)
{
  switch (n)
    {
    case 0:
      return A0_REGNO;
    case 1:
      return A1_REGNO;
    default:
      return INVALID_REGNUM;
    }
}


-- 


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


^ permalink raw reply	[flat|nested] 23+ messages in thread

* [Bug target/32418] ICE in global_alloc, at global.c:514
  2007-06-20 13:20 [Bug target/32418] New: ICE in global_alloc, at global.c:514 rask at sygehus dot dk
                   ` (8 preceding siblings ...)
  2007-06-21 15:59 ` rask at sygehus dot dk
@ 2007-06-21 16:15 ` rask at sygehus dot dk
  2007-06-21 18:20 ` rask at sygehus dot dk
                   ` (11 subsequent siblings)
  21 siblings, 0 replies; 23+ messages in thread
From: rask at sygehus dot dk @ 2007-06-21 16:15 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #10 from rask at sygehus dot dk  2007-06-21 16:15 -------
Created an attachment (id=13758)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=13758&action=view)
Preprocessed source code for the problem in comment 9.

$ ./xgcc -B./ -S -dp -o /dev/null ~/complex_io.cc
/home/rask/build/gcc-m32c-unknown-elf/m32c-unknown-elf/libstdc++-v3/include/complex:
In function 'std::basic_ostream<_CharT, _Traits>&
std::operator<<(std::basic_ostream<_CharT, _Traits>&, const std::complex<_Tp>&)
[with _Tp = long double, _CharT = char, _Traits = std::char_traits<char>]':
/home/rask/build/gcc-m32c-unknown-elf/m32c-unknown-elf/libstdc++-v3/include/complex:527:
error: unable to find a register to spill in class 'A_REGS'
/home/rask/build/gcc-m32c-unknown-elf/m32c-unknown-elf/libstdc++-v3/include/complex:527:
error: this is the insn:
(insn 228 230 229 6 (set (reg:HI 84)
        (reg:HI 4 a0)) 171 {movhi_op} (expr_list:REG_DEAD (reg:HI 4 a0)
        (nil)))
/home/rask/build/gcc-m32c-unknown-elf/m32c-unknown-elf/libstdc++-v3/include/complex:527:
internal compiler error: in spill_failure, at reload1.c:2002


-- 


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


^ permalink raw reply	[flat|nested] 23+ messages in thread

* [Bug target/32418] ICE in global_alloc, at global.c:514
  2007-06-20 13:20 [Bug target/32418] New: ICE in global_alloc, at global.c:514 rask at sygehus dot dk
                   ` (9 preceding siblings ...)
  2007-06-21 16:15 ` rask at sygehus dot dk
@ 2007-06-21 18:20 ` rask at sygehus dot dk
  2007-06-24 12:20 ` [Bug target/32418] [4.3 Regression] " zadeck at naturalbridge dot com
                   ` (10 subsequent siblings)
  21 siblings, 0 replies; 23+ messages in thread
From: rask at sygehus dot dk @ 2007-06-21 18:20 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #11 from rask at sygehus dot dk  2007-06-21 18:19 -------
Disregard the comment about the code label use count. They have
LABEL_PRESERVE_P (/s) set.


-- 


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


^ permalink raw reply	[flat|nested] 23+ messages in thread

* [Bug target/32418] [4.3 Regression] ICE in global_alloc, at global.c:514
  2007-06-20 13:20 [Bug target/32418] New: ICE in global_alloc, at global.c:514 rask at sygehus dot dk
                   ` (10 preceding siblings ...)
  2007-06-21 18:20 ` rask at sygehus dot dk
@ 2007-06-24 12:20 ` zadeck at naturalbridge dot com
  2007-06-24 17:38 ` rask at sygehus dot dk
                   ` (9 subsequent siblings)
  21 siblings, 0 replies; 23+ messages in thread
From: zadeck at naturalbridge dot com @ 2007-06-24 12:20 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #12 from zadeck at naturalbridge dot com  2007-06-24 12:20 -------
Subject: Re:  [4.3 Regression] ICE in global_alloc, at global.c:514

rask at sygehus dot dk wrote:

have you done a recent update? there have been two bugs fixed that might
effect this.


-- 


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


^ permalink raw reply	[flat|nested] 23+ messages in thread

* [Bug target/32418] [4.3 Regression] ICE in global_alloc, at global.c:514
  2007-06-20 13:20 [Bug target/32418] New: ICE in global_alloc, at global.c:514 rask at sygehus dot dk
                   ` (11 preceding siblings ...)
  2007-06-24 12:20 ` [Bug target/32418] [4.3 Regression] " zadeck at naturalbridge dot com
@ 2007-06-24 17:38 ` rask at sygehus dot dk
  2007-06-27  0:35 ` rask at sygehus dot dk
                   ` (8 subsequent siblings)
  21 siblings, 0 replies; 23+ messages in thread
From: rask at sygehus dot dk @ 2007-06-24 17:38 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #13 from rask at sygehus dot dk  2007-06-24 17:38 -------
I updated to revision 125983, which hasn't changed anything as far as I can
tell.


-- 


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


^ permalink raw reply	[flat|nested] 23+ messages in thread

* [Bug target/32418] [4.3 Regression] ICE in global_alloc, at global.c:514
  2007-06-20 13:20 [Bug target/32418] New: ICE in global_alloc, at global.c:514 rask at sygehus dot dk
                   ` (12 preceding siblings ...)
  2007-06-24 17:38 ` rask at sygehus dot dk
@ 2007-06-27  0:35 ` rask at sygehus dot dk
  2007-06-27 18:04 ` zadeck at naturalbridge dot com
                   ` (7 subsequent siblings)
  21 siblings, 0 replies; 23+ messages in thread
From: rask at sygehus dot dk @ 2007-06-27  0:35 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #14 from rask at sygehus dot dk  2007-06-27 00:35 -------
Notice in comment 10 that there is no optimization flag. Just -O1 is enough to
make the reload failure go away. I'll see what the libstdc++ people have to say
about that.


-- 


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


^ permalink raw reply	[flat|nested] 23+ messages in thread

* [Bug target/32418] [4.3 Regression] ICE in global_alloc, at global.c:514
  2007-06-20 13:20 [Bug target/32418] New: ICE in global_alloc, at global.c:514 rask at sygehus dot dk
                   ` (13 preceding siblings ...)
  2007-06-27  0:35 ` rask at sygehus dot dk
@ 2007-06-27 18:04 ` zadeck at naturalbridge dot com
  2007-06-27 19:16 ` rask at sygehus dot dk
                   ` (6 subsequent siblings)
  21 siblings, 0 replies; 23+ messages in thread
From: zadeck at naturalbridge dot com @ 2007-06-27 18:04 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #15 from zadeck at naturalbridge dot com  2007-06-27 18:04 -------
it does not look like you ever dealt with the issue of EH_RETURN_STACKADJ_RTX
that i pointed out.  That code is clearly wrong.


-- 


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


^ permalink raw reply	[flat|nested] 23+ messages in thread

* [Bug target/32418] [4.3 Regression] ICE in global_alloc, at global.c:514
  2007-06-20 13:20 [Bug target/32418] New: ICE in global_alloc, at global.c:514 rask at sygehus dot dk
                   ` (14 preceding siblings ...)
  2007-06-27 18:04 ` zadeck at naturalbridge dot com
@ 2007-06-27 19:16 ` rask at sygehus dot dk
  2007-06-27 19:31 ` zadeck at naturalbridge dot com
                   ` (5 subsequent siblings)
  21 siblings, 0 replies; 23+ messages in thread
From: rask at sygehus dot dk @ 2007-06-27 19:16 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #16 from rask at sygehus dot dk  2007-06-27 19:15 -------
What's wrong with the patch at the top of comment 9? FWIW, I can now build the
m32c after this configure command:

$ /n/12/rask/src/all/configure --target=m32c-unknown-elf
--enable-languages=c,c++ --enable-cxx-flags=-O2 --with-newlib --enable-sim
--disable-{multilib,nls,gdb}

where --disable-multilib is due to bug 32441 and --enable-cxx-flags=-O2 hides
the unrelated reload failure in comment 9.


-- 


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


^ permalink raw reply	[flat|nested] 23+ messages in thread

* [Bug target/32418] [4.3 Regression] ICE in global_alloc, at global.c:514
  2007-06-20 13:20 [Bug target/32418] New: ICE in global_alloc, at global.c:514 rask at sygehus dot dk
                   ` (15 preceding siblings ...)
  2007-06-27 19:16 ` rask at sygehus dot dk
@ 2007-06-27 19:31 ` zadeck at naturalbridge dot com
  2007-06-27 19:48 ` rask at sygehus dot dk
                   ` (4 subsequent siblings)
  21 siblings, 0 replies; 23+ messages in thread
From: zadeck at naturalbridge dot com @ 2007-06-27 19:31 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #17 from zadeck at naturalbridge dot com  2007-06-27 19:30 -------
Subject: Re:  [4.3 Regression] ICE in global_alloc, at global.c:514

rask at sygehus dot dk wrote:
> ------- Comment #16 from rask at sygehus dot dk  2007-06-27 19:15 -------
> What's wrong with the patch at the top of comment 9? FWIW, I can now build the
> m32c after this configure command:
>
> $ /n/12/rask/src/all/configure --target=m32c-unknown-elf
> --enable-languages=c,c++ --enable-cxx-flags=-O2 --with-newlib --enable-sim
> --disable-{multilib,nls,gdb}
>
> where --disable-multilib is due to bug 32441 and --enable-cxx-flags=-O2 hides
> the unrelated reload failure in comment 9.
>
>
>   
i am sorry for being dense.  but i have completely lost track of this bug.

if i pull the latest code down from the trunk, this patch is not there. 
Is there still a bug related to dataflow on this platform if everything
that needs to be done has been done?

Kenny


-- 


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


^ permalink raw reply	[flat|nested] 23+ messages in thread

* [Bug target/32418] [4.3 Regression] ICE in global_alloc, at global.c:514
  2007-06-20 13:20 [Bug target/32418] New: ICE in global_alloc, at global.c:514 rask at sygehus dot dk
                   ` (16 preceding siblings ...)
  2007-06-27 19:31 ` zadeck at naturalbridge dot com
@ 2007-06-27 19:48 ` rask at sygehus dot dk
  2007-06-27 19:56 ` zadeck at naturalbridge dot com
                   ` (3 subsequent siblings)
  21 siblings, 0 replies; 23+ messages in thread
From: rask at sygehus dot dk @ 2007-06-27 19:48 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #18 from rask at sygehus dot dk  2007-06-27 19:48 -------
It has not been committed yet because I feared that it was causing the reload
failure. I have now verified that the reload failure still happens with a
pre-dataflow checkout, so I'll submit the patch. I think that concludes the
dataflow related changes.


-- 

rask at sygehus dot dk changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  BugsThisDependsOn|32441                       |


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


^ permalink raw reply	[flat|nested] 23+ messages in thread

* [Bug target/32418] [4.3 Regression] ICE in global_alloc, at global.c:514
  2007-06-20 13:20 [Bug target/32418] New: ICE in global_alloc, at global.c:514 rask at sygehus dot dk
                   ` (17 preceding siblings ...)
  2007-06-27 19:48 ` rask at sygehus dot dk
@ 2007-06-27 19:56 ` zadeck at naturalbridge dot com
  2007-06-27 20:16 ` zadeck at naturalbridge dot com
                   ` (2 subsequent siblings)
  21 siblings, 0 replies; 23+ messages in thread
From: zadeck at naturalbridge dot com @ 2007-06-27 19:56 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #19 from zadeck at naturalbridge dot com  2007-06-27 19:56 -------
Subject: Re:  [4.3 Regression] ICE in global_alloc, at global.c:514

rask at sygehus dot dk wrote:
> ------- Comment #18 from rask at sygehus dot dk  2007-06-27 19:48 -------
> It has not been committed yet because I feared that it was causing the reload
> failure. I have now verified that the reload failure still happens with a
> pre-dataflow checkout, so I'll submit the patch. I think that concludes the
> dataflow related changes.
>
>
>   
thanks, this was what i suspected.

kenny


-- 


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


^ permalink raw reply	[flat|nested] 23+ messages in thread

* [Bug target/32418] [4.3 Regression] ICE in global_alloc, at global.c:514
  2007-06-20 13:20 [Bug target/32418] New: ICE in global_alloc, at global.c:514 rask at sygehus dot dk
                   ` (18 preceding siblings ...)
  2007-06-27 19:56 ` zadeck at naturalbridge dot com
@ 2007-06-27 20:16 ` zadeck at naturalbridge dot com
  2007-06-27 21:28 ` dj at redhat dot com
  2007-06-27 22:23 ` rask at gcc dot gnu dot org
  21 siblings, 0 replies; 23+ messages in thread
From: zadeck at naturalbridge dot com @ 2007-06-27 20:16 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #20 from zadeck at naturalbridge dot com  2007-06-27 20:15 -------
I believe that rask is going to submit the patch at the end of comment #9 to
close this bug.


-- 

zadeck at naturalbridge dot com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|                            |FIXED


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


^ permalink raw reply	[flat|nested] 23+ messages in thread

* [Bug target/32418] [4.3 Regression] ICE in global_alloc, at global.c:514
  2007-06-20 13:20 [Bug target/32418] New: ICE in global_alloc, at global.c:514 rask at sygehus dot dk
                   ` (19 preceding siblings ...)
  2007-06-27 20:16 ` zadeck at naturalbridge dot com
@ 2007-06-27 21:28 ` dj at redhat dot com
  2007-06-27 22:23 ` rask at gcc dot gnu dot org
  21 siblings, 0 replies; 23+ messages in thread
From: dj at redhat dot com @ 2007-06-27 21:28 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #21 from dj at redhat dot com  2007-06-27 21:28 -------
Subject: Re:  [4.3 Regression] ICE in global_alloc, at global.c:514


The patch in comment #9 is OK with me, please commit it.


-- 


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


^ permalink raw reply	[flat|nested] 23+ messages in thread

* [Bug target/32418] [4.3 Regression] ICE in global_alloc, at global.c:514
  2007-06-20 13:20 [Bug target/32418] New: ICE in global_alloc, at global.c:514 rask at sygehus dot dk
                   ` (20 preceding siblings ...)
  2007-06-27 21:28 ` dj at redhat dot com
@ 2007-06-27 22:23 ` rask at gcc dot gnu dot org
  21 siblings, 0 replies; 23+ messages in thread
From: rask at gcc dot gnu dot org @ 2007-06-27 22:23 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #22 from rask at gcc dot gnu dot org  2007-06-27 22:23 -------
Subject: Bug 32418

Author: rask
Date: Wed Jun 27 22:23:35 2007
New Revision: 126067

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=126067
Log:
2007-06-27  Rask Ingemann Lambertsen  <rask@sygehus.dk>

        PR target/32418
        * config/m32c/m32c.c (m32c_eh_return_stackadj_rtx): Dataflow fix:
        Use a call clobbered hard reg instead of a pseudo reg.

Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/config/m32c/m32c.c


-- 


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


^ permalink raw reply	[flat|nested] 23+ messages in thread

end of thread, other threads:[~2007-06-27 22:23 UTC | newest]

Thread overview: 23+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-06-20 13:20 [Bug target/32418] New: ICE in global_alloc, at global.c:514 rask at sygehus dot dk
2007-06-20 13:22 ` [Bug target/32418] " rask at sygehus dot dk
2007-06-20 13:24 ` rask at sygehus dot dk
2007-06-20 13:25 ` rask at sygehus dot dk
2007-06-20 17:13 ` zadeck at naturalbridge dot com
2007-06-20 17:24 ` rask at sygehus dot dk
2007-06-20 17:36 ` dj at redhat dot com
2007-06-20 20:08 ` rask at sygehus dot dk
2007-06-20 20:12 ` zadeck at naturalbridge dot com
2007-06-21 15:59 ` rask at sygehus dot dk
2007-06-21 16:15 ` rask at sygehus dot dk
2007-06-21 18:20 ` rask at sygehus dot dk
2007-06-24 12:20 ` [Bug target/32418] [4.3 Regression] " zadeck at naturalbridge dot com
2007-06-24 17:38 ` rask at sygehus dot dk
2007-06-27  0:35 ` rask at sygehus dot dk
2007-06-27 18:04 ` zadeck at naturalbridge dot com
2007-06-27 19:16 ` rask at sygehus dot dk
2007-06-27 19:31 ` zadeck at naturalbridge dot com
2007-06-27 19:48 ` rask at sygehus dot dk
2007-06-27 19:56 ` zadeck at naturalbridge dot com
2007-06-27 20:16 ` zadeck at naturalbridge dot com
2007-06-27 21:28 ` dj at redhat dot com
2007-06-27 22:23 ` rask at gcc dot gnu dot org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).