public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug bootstrap/13709] New: [tree-ssa] compiler fails to bootstrap on ia64
@ 2004-01-16 16:05 bbooth at redhat dot com
  2004-01-16 16:05 ` [Bug bootstrap/13709] " bbooth at redhat dot com
                   ` (8 more replies)
  0 siblings, 9 replies; 10+ messages in thread
From: bbooth at redhat dot com @ 2004-01-16 16:05 UTC (permalink / raw)
  To: gcc-bugs

Version:
    GNU C version 3.5-tree-ssa 20040115 (merged 20040102)

Configure Options:
    --prefix=/notnfs/bbooth/tree-ssa/ia64/inst 
    --srcdir=/notnfs/bbooth/tree-ssa/gcc 
    --disable-multilib

Command Line & Compiler Output:

-bash-2.05b$ ./cc1 -fpreprocessed libgcc2.i -quiet -dumpbase libgcc2.c
-auxbase-strip libgcc/./_addvdi3.o -g -O2 -W -Wall -Wwrite-strings
-Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition -version -fPIC
-o libgcc2.s
GNU C version 3.5-tree-ssa 20040115 (merged 20040102) (ia64-unknown-linux-gnu)
        compiled by GNU C version 3.2.3 20030422 (Red Hat Linux 3.2.3-12).
GGC heuristics: --param ggc-min-expand=30 --param ggc-min-heapsize=4096
/notnfs/bbooth/tree-ssa/gcc/gcc/libgcc2.c: In function `__addvdi3':
/notnfs/bbooth/tree-ssa/gcc/gcc/libgcc2.c:97: internal compiler error:
Segmentation fault
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://gcc.gnu.org/bugs.html> for instructions.

===========

.i file to come

-- 
           Summary: [tree-ssa] compiler fails to bootstrap on ia64
           Product: gcc
           Version: tree-ssa
            Status: UNCONFIRMED
          Severity: critical
          Priority: P1
         Component: bootstrap
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: bbooth at redhat dot com
                CC: gcc-bugs at gcc dot gnu dot org
 GCC build triplet: ia64-unknown-linux-gnu
  GCC host triplet: ia64-unknown-linux-gnu
GCC target triplet: ia64-unknown-linux-gnu


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


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

* [Bug bootstrap/13709] [tree-ssa] compiler fails to bootstrap on ia64
  2004-01-16 16:05 [Bug bootstrap/13709] New: [tree-ssa] compiler fails to bootstrap on ia64 bbooth at redhat dot com
@ 2004-01-16 16:05 ` bbooth at redhat dot com
  2004-01-16 16:36 ` dnovillo at gcc dot gnu dot org
                   ` (7 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: bbooth at redhat dot com @ 2004-01-16 16:05 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From bbooth at redhat dot com  2004-01-16 16:05 -------
Created an attachment (id=5502)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=5502&action=view)
associated .i file


-- 


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


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

* [Bug bootstrap/13709] [tree-ssa] compiler fails to bootstrap on ia64
  2004-01-16 16:05 [Bug bootstrap/13709] New: [tree-ssa] compiler fails to bootstrap on ia64 bbooth at redhat dot com
  2004-01-16 16:05 ` [Bug bootstrap/13709] " bbooth at redhat dot com
@ 2004-01-16 16:36 ` dnovillo at gcc dot gnu dot org
  2004-01-16 16:50 ` pinskia at gcc dot gnu dot org
                   ` (6 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: dnovillo at gcc dot gnu dot org @ 2004-01-16 16:36 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From dnovillo at gcc dot gnu dot org  2004-01-16 16:36 -------
This was working on 2004-01-08.

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
         AssignedTo|unassigned at gcc dot gnu   |dnovillo at gcc dot gnu dot
                   |dot org                     |org
             Status|UNCONFIRMED                 |ASSIGNED


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


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

* [Bug bootstrap/13709] [tree-ssa] compiler fails to bootstrap on ia64
  2004-01-16 16:05 [Bug bootstrap/13709] New: [tree-ssa] compiler fails to bootstrap on ia64 bbooth at redhat dot com
  2004-01-16 16:05 ` [Bug bootstrap/13709] " bbooth at redhat dot com
  2004-01-16 16:36 ` dnovillo at gcc dot gnu dot org
@ 2004-01-16 16:50 ` pinskia at gcc dot gnu dot org
  2004-01-16 18:33 ` pinskia at gcc dot gnu dot org
                   ` (5 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-01-16 16:50 UTC (permalink / raw)
  To: gcc-bugs



-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |ice-on-valid-code
   Target Milestone|---                         |tree-ssa


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


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

* [Bug bootstrap/13709] [tree-ssa] compiler fails to bootstrap on ia64
  2004-01-16 16:05 [Bug bootstrap/13709] New: [tree-ssa] compiler fails to bootstrap on ia64 bbooth at redhat dot com
                   ` (2 preceding siblings ...)
  2004-01-16 16:50 ` pinskia at gcc dot gnu dot org
@ 2004-01-16 18:33 ` pinskia at gcc dot gnu dot org
  2004-01-17 16:19 ` dnovillo at gcc dot gnu dot org
                   ` (4 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-01-16 18:33 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From pinskia at gcc dot gnu dot org  2004-01-16 18:32 -------
I also see something like this on powerpc-apple-dawin7.2.0.

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |pinskia at gcc dot gnu dot
                   |                            |org
           Keywords|                            |build


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


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

* [Bug bootstrap/13709] [tree-ssa] compiler fails to bootstrap on ia64
  2004-01-16 16:05 [Bug bootstrap/13709] New: [tree-ssa] compiler fails to bootstrap on ia64 bbooth at redhat dot com
                   ` (3 preceding siblings ...)
  2004-01-16 18:33 ` pinskia at gcc dot gnu dot org
@ 2004-01-17 16:19 ` dnovillo at gcc dot gnu dot org
  2004-01-17 16:38 ` hubicka at ucw dot cz
                   ` (3 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: dnovillo at gcc dot gnu dot org @ 2004-01-17 16:19 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From dnovillo at gcc dot gnu dot org  2004-01-17 16:19 -------

Jan,

We die in flow.c:init_propagate_block_info because even though the basic block
is a conditional jump, it seemingly has no successors.  Something is either
messing up or not building the RTL CFG properly.

Program received signal SIGSEGV, Segmentation fault.
init_propagate_block_info (bb=0x2000000002892a00, live=0x60000000000edac0,
    local_set=0x0, cond_local_set=0x0, flags=0)
    at /home/cygnus/dnovillo/tree-ssa-01/src.ia64/gcc/flow.c:1848
1848          bb_true = bb->succ->dest;
(gdb) ptbb bb
;; basic block 16, loop depth 0, count 0
;; prev block 8, next block 9
;; pred:
;; succ:
;; Registers live at start:  1 [r1] 8 [r8] 9 [r9] 12 [r12] 32 [r36] 33 [r37]
(note 147 55 56 16 [bb 16] NOTE_INSN_BASIC_BLOCK)
(jump_insn 56 147 62 16
/home/cygnus/dnovillo/tree-ssa-01/src.ia64/gcc/libgcc2.c:93 (set (pc)
        (if_then_else (ne (reg:BI 262 p6 [360])
                (const_int 0 [0x0]))
            (label_ref 66)
            (pc))) 218 {*br_true} (insn_list 55 (nil))
    (expr_list:REG_DEAD (reg:BI 262 p6 [360])
        (expr_list:REG_BR_PROB (const_int 5000 [0x1388])
            (nil))))
;; Registers live at end:  1 [r1] 8 [r8] 9 [r9] 12 [r12] 32 [r36] 33 [r37]
(gdb) p bb->succ
$1 = 0x0



There were a couple of changes from you that affected the CFG.  Could you take a
look?


Thanks.  Diego.

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |dnovillo at gcc dot gnu dot
                   |                            |org
         AssignedTo|dnovillo at gcc dot gnu dot |hubicka at gcc dot gnu dot
                   |org                         |org


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


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

* [Bug bootstrap/13709] [tree-ssa] compiler fails to bootstrap on ia64
  2004-01-16 16:05 [Bug bootstrap/13709] New: [tree-ssa] compiler fails to bootstrap on ia64 bbooth at redhat dot com
                   ` (4 preceding siblings ...)
  2004-01-17 16:19 ` dnovillo at gcc dot gnu dot org
@ 2004-01-17 16:38 ` hubicka at ucw dot cz
  2004-01-17 16:49 ` dnovillo at redhat dot com
                   ` (2 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: hubicka at ucw dot cz @ 2004-01-17 16:38 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From hubicka at ucw dot cz  2004-01-17 16:38 -------
Subject: Re:  [tree-ssa] compiler fails to bootstrap on ia64

> 
> ------- Additional Comments From dnovillo at gcc dot gnu dot org  2004-01-17 16:19 -------
> 
> Jan,
> 
> We die in flow.c:init_propagate_block_info because even though the basic block
> is a conditional jump, it seemingly has no successors.  Something is either
> messing up or not building the RTL CFG properly.
> 
> Program received signal SIGSEGV, Segmentation fault.
> init_propagate_block_info (bb=0x2000000002892a00, live=0x60000000000edac0,
>     local_set=0x0, cond_local_set=0x0, flags=0)
>     at /home/cygnus/dnovillo/tree-ssa-01/src.ia64/gcc/flow.c:1848
> 1848          bb_true = bb->succ->dest;
> (gdb) ptbb bb
> ;; basic block 16, loop depth 0, count 0
> ;; prev block 8, next block 9
> ;; pred:
> ;; succ:
> ;; Registers live at start:  1 [r1] 8 [r8] 9 [r9] 12 [r12] 32 [r36] 33 [r37]
> (note 147 55 56 16 [bb 16] NOTE_INSN_BASIC_BLOCK)
> (jump_insn 56 147 62 16
> /home/cygnus/dnovillo/tree-ssa-01/src.ia64/gcc/libgcc2.c:93 (set (pc)
>         (if_then_else (ne (reg:BI 262 p6 [360])
>                 (const_int 0 [0x0]))
>             (label_ref 66)
>             (pc))) 218 {*br_true} (insn_list 55 (nil))
>     (expr_list:REG_DEAD (reg:BI 262 p6 [360])
>         (expr_list:REG_BR_PROB (const_int 5000 [0x1388])
>             (nil))))
> ;; Registers live at end:  1 [r1] 8 [r8] 9 [r9] 12 [r12] 32 [r36] 33 [r37]
> (gdb) p bb->succ
> $1 = 0x0
> 
> 
> 
> There were a couple of changes from you that affected the CFG.  Could you take a
> look?

Hmm, i did no changes in this area, as you didn't approved my CFG
transparent expansion patch yet :)

I will look into it.  If you do have ia64 build, can you pass me
preprocessed source so I don't need to get binutils for the
crosscompiler?

Honza
> 
> 
> Thanks.  Diego.
> 
> -- 
>            What    |Removed                     |Added
> ----------------------------------------------------------------------------
>                  CC|                            |dnovillo at gcc dot gnu dot
>                    |                            |org
>          AssignedTo|dnovillo at gcc dot gnu dot |hubicka at gcc dot gnu dot
>                    |org                         |org
> 
> 
> http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13709
> 
> ------- You are receiving this mail because: -------
> You are the assignee for the bug, or are watching the assignee.


-- 


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


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

* [Bug bootstrap/13709] [tree-ssa] compiler fails to bootstrap on ia64
  2004-01-16 16:05 [Bug bootstrap/13709] New: [tree-ssa] compiler fails to bootstrap on ia64 bbooth at redhat dot com
                   ` (5 preceding siblings ...)
  2004-01-17 16:38 ` hubicka at ucw dot cz
@ 2004-01-17 16:49 ` dnovillo at redhat dot com
  2004-01-17 17:18 ` schwab at suse dot de
  2004-01-18 14:06 ` schwab at suse dot de
  8 siblings, 0 replies; 10+ messages in thread
From: dnovillo at redhat dot com @ 2004-01-17 16:49 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From dnovillo at redhat dot com  2004-01-17 16:49 -------
Subject: Re:  [tree-ssa] compiler fails to bootstrap
	on ia64

On Sat, 2004-01-17 at 11:38, hubicka at ucw dot cz wrote:

> I will look into it.  If you do have ia64 build, can you pass me
> preprocessed source so I don't need to get binutils for the
> crosscompiler?
> 
It's all in the PR.  But Andreas found out that it was one of Zdenek's
patches that broke IA64.  So, you're off the hook :)


Diego.



-- 


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


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

* [Bug bootstrap/13709] [tree-ssa] compiler fails to bootstrap on ia64
  2004-01-16 16:05 [Bug bootstrap/13709] New: [tree-ssa] compiler fails to bootstrap on ia64 bbooth at redhat dot com
                   ` (6 preceding siblings ...)
  2004-01-17 16:49 ` dnovillo at redhat dot com
@ 2004-01-17 17:18 ` schwab at suse dot de
  2004-01-18 14:06 ` schwab at suse dot de
  8 siblings, 0 replies; 10+ messages in thread
From: schwab at suse dot de @ 2004-01-17 17:18 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From schwab at suse dot de  2004-01-17 17:18 -------
See <http://gcc.gnu.org/ml/gcc/2004-01/msg01070.html>. 

-- 


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


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

* [Bug bootstrap/13709] [tree-ssa] compiler fails to bootstrap on ia64
  2004-01-16 16:05 [Bug bootstrap/13709] New: [tree-ssa] compiler fails to bootstrap on ia64 bbooth at redhat dot com
                   ` (7 preceding siblings ...)
  2004-01-17 17:18 ` schwab at suse dot de
@ 2004-01-18 14:06 ` schwab at suse dot de
  8 siblings, 0 replies; 10+ messages in thread
From: schwab at suse dot de @ 2004-01-18 14:06 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From schwab at suse dot de  2004-01-18 14:06 -------
Fixed by <http://gcc.gnu.org/ml/gcc-patches/2004-01/msg01746.html>. 

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


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


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

end of thread, other threads:[~2004-01-18 14:06 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-01-16 16:05 [Bug bootstrap/13709] New: [tree-ssa] compiler fails to bootstrap on ia64 bbooth at redhat dot com
2004-01-16 16:05 ` [Bug bootstrap/13709] " bbooth at redhat dot com
2004-01-16 16:36 ` dnovillo at gcc dot gnu dot org
2004-01-16 16:50 ` pinskia at gcc dot gnu dot org
2004-01-16 18:33 ` pinskia at gcc dot gnu dot org
2004-01-17 16:19 ` dnovillo at gcc dot gnu dot org
2004-01-17 16:38 ` hubicka at ucw dot cz
2004-01-17 16:49 ` dnovillo at redhat dot com
2004-01-17 17:18 ` schwab at suse dot de
2004-01-18 14:06 ` schwab at suse dot de

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