public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug bootstrap/13769] New: [tree-ssa] sparc-sun-solaris2.9 bootstrap failure: ICE in extract_insn, at recog.c:2083
@ 2004-01-20 12:56 gerald at pfeifer dot com
  2004-01-20 15:31 ` [Bug optimization/13769] " pinskia at gcc dot gnu dot org
                   ` (6 more replies)
  0 siblings, 7 replies; 8+ messages in thread
From: gerald at pfeifer dot com @ 2004-01-20 12:56 UTC (permalink / raw)
  To: gcc-bugs

For a simple ./configure --prefix=/files/pfeifer/OBJ-0120-1312

./xgcc -B./ -B/sw/gcc-current/sparc-sun-solaris2.9/bin/ -isystem /sw/gcc-curren\
t/sparc-sun-solaris2.9/include -isystem /sw/gcc-current/sparc-sun-solaris2.9/sy\
s-include -L/files/pfeifer/OBJ-0120-1312/gcc/../ld -O2  -DIN_GCC    -W -Wall -W\
write-strings -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition  \
-isystem ./include  -fPIC -g -DHAVE_GTHR_DEFAULT -DIN_LIBGCC2 -D__GCC_FLOAT_NOT\
_NEEDED  -I. -I -I/sw/test/gcc/cvs-ts/gcc -I/sw/test/gcc/cvs-ts/gcc/ -I/sw/test\
/gcc/cvs-ts/gcc/../include -I/sw/test/gcc/cvs-ts/gcc/../libbanshee/libcompat -I\
/sw/test/gcc/cvs-ts/gcc/../libbanshee -I/sw/test/gcc/cvs-ts/gcc/../libbanshee/p\
oints-to  -fexceptions -c /sw/test/gcc/cvs-ts/gcc/unwind-dw2.c -o libgcc/./unwi\
nd-dw2.o
/sw/test/gcc/cvs-ts/gcc/unwind-dw2.c: In function `uw_init_context_1':
/sw/test/gcc/cvs-ts/gcc/unwind-dw2.c:1286: warning: missing braces around initi\
alizer
/sw/test/gcc/cvs-ts/gcc/unwind-dw2.c:1286: warning: (near initialization for `o\
nce_regsizes.__pthread_once_pad')
/sw/test/gcc/cvs-ts/gcc/unwind-dw2.c: In function `uw_update_context':
/sw/test/gcc/cvs-ts/gcc/unwind-dw2.c:1248: error: unrecognizable insn:
(insn 38 52 39 3 /sw/test/gcc/cvs-ts/gcc/unwind-dw2.c:1246 (set (reg/f:SI 110 [\
 T.373 ])
        (plus:SI (mem:SI (reg/v/f:SI 111 [ ptr ]) [6 S4 A32])
            (const_int 8 [0x8]))) -1 (nil)
    (expr_list:REG_DEAD (reg/v/f:SI 111 [ ptr ])
        (nil)))
/sw/test/gcc/cvs-ts/gcc/unwind-dw2.c:1248: internal compiler error: in extract_\
insn, at recog.c:2083
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://gcc.gnu.org/bugs.html> for instructions.
gmake[3]: *** [libgcc/./unwind-dw2.o] Error 1
gmake[3]: Leaving directory `/files/pfeifer/OBJ-0120-1312/gcc'
gmake[2]: *** [stmp-multilib] Error 2

-- 
           Summary: [tree-ssa] sparc-sun-solaris2.9 bootstrap failure: ICE
                    in extract_insn, at recog.c:2083
           Product: gcc
           Version: tree-ssa
            Status: UNCONFIRMED
          Severity: critical
          Priority: P2
         Component: bootstrap
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: gerald at pfeifer dot com
                CC: gcc-bugs at gcc dot gnu dot org
 GCC build triplet: sparc-sun-solaris2.9
  GCC host triplet: sparc-sun-solaris2.9
GCC target triplet: sparc-sun-solaris2.9


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


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

* [Bug optimization/13769] [tree-ssa] sparc-sun-solaris2.9 bootstrap failure: ICE in extract_insn, at recog.c:2083
  2004-01-20 12:56 [Bug bootstrap/13769] New: [tree-ssa] sparc-sun-solaris2.9 bootstrap failure: ICE in extract_insn, at recog.c:2083 gerald at pfeifer dot com
@ 2004-01-20 15:31 ` pinskia at gcc dot gnu dot org
  2004-01-20 16:11 ` pinskia at gcc dot gnu dot org
                   ` (5 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-01-20 15:31 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From pinskia at gcc dot gnu dot org  2004-01-20 15:31 -------
I am ready to put a keyword for tree failure and one for RTL failure, this is the later.

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
          Component|bootstrap                   |optimization
           Keywords|                            |build, ice-on-valid-code
   Target Milestone|---                         |tree-ssa


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


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

* [Bug optimization/13769] [tree-ssa] sparc-sun-solaris2.9 bootstrap failure: ICE in extract_insn, at recog.c:2083
  2004-01-20 12:56 [Bug bootstrap/13769] New: [tree-ssa] sparc-sun-solaris2.9 bootstrap failure: ICE in extract_insn, at recog.c:2083 gerald at pfeifer dot com
  2004-01-20 15:31 ` [Bug optimization/13769] " pinskia at gcc dot gnu dot org
@ 2004-01-20 16:11 ` pinskia at gcc dot gnu dot org
  2004-01-21  6:18 ` dhazeghi at yahoo dot com
                   ` (4 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-01-20 16:11 UTC (permalink / raw)
  To: gcc-bugs



-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |RTL


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


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

* [Bug optimization/13769] [tree-ssa] sparc-sun-solaris2.9 bootstrap failure: ICE in extract_insn, at recog.c:2083
  2004-01-20 12:56 [Bug bootstrap/13769] New: [tree-ssa] sparc-sun-solaris2.9 bootstrap failure: ICE in extract_insn, at recog.c:2083 gerald at pfeifer dot com
  2004-01-20 15:31 ` [Bug optimization/13769] " pinskia at gcc dot gnu dot org
  2004-01-20 16:11 ` pinskia at gcc dot gnu dot org
@ 2004-01-21  6:18 ` dhazeghi at yahoo dot com
  2004-01-21  7:18 ` dhazeghi at yahoo dot com
                   ` (3 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: dhazeghi at yahoo dot com @ 2004-01-21  6:18 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From dhazeghi at yahoo dot com  2004-01-21 06:18 -------
Confirmed with current sources. Here's a mostly reduced testcase. Looks like something nasty 
between __inline__ and __builtin_extract_return_addr. Dies with -O or higher.

typedef unsigned _Unwind_Word __attribute__((__mode__(__word__)));
typedef unsigned _Unwind_Ptr __attribute__((__mode__(__pointer__)));

struct _Unwind_Context
{
  void *ra;
};

__inline__ _Unwind_Word
_Unwind_GetGR (struct _Unwind_Context *context, int index)
{
  int size;
  void *ptr;

  if (size == 1)
    return * (_Unwind_Ptr *) ptr;

  abort ();
}

__inline__ void *
_Unwind_GetPtr (struct _Unwind_Context *context, int index)
{
  return (void *)(_Unwind_Ptr) _Unwind_GetGR (context, index);
}

void
uw_update_context (struct _Unwind_Context *context)
{
  context->ra =__builtin_extract_return_addr (_Unwind_GetPtr (context, 2));
}



-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
     Ever Confirmed|                            |1
   Last reconfirmed|0000-00-00 00:00:00         |2004-01-21 06:18:16
               date|                            |


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


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

* [Bug optimization/13769] [tree-ssa] sparc-sun-solaris2.9 bootstrap failure: ICE in extract_insn, at recog.c:2083
  2004-01-20 12:56 [Bug bootstrap/13769] New: [tree-ssa] sparc-sun-solaris2.9 bootstrap failure: ICE in extract_insn, at recog.c:2083 gerald at pfeifer dot com
                   ` (2 preceding siblings ...)
  2004-01-21  6:18 ` dhazeghi at yahoo dot com
@ 2004-01-21  7:18 ` dhazeghi at yahoo dot com
  2004-01-21  7:23 ` pinskia at gcc dot gnu dot org
                   ` (2 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: dhazeghi at yahoo dot com @ 2004-01-21  7:18 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From dhazeghi at yahoo dot com  2004-01-21 07:18 -------
FWIW, testcase here compiles fine on mainline.

-- 


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


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

* [Bug optimization/13769] [tree-ssa] sparc-sun-solaris2.9 bootstrap failure: ICE in extract_insn, at recog.c:2083
  2004-01-20 12:56 [Bug bootstrap/13769] New: [tree-ssa] sparc-sun-solaris2.9 bootstrap failure: ICE in extract_insn, at recog.c:2083 gerald at pfeifer dot com
                   ` (3 preceding siblings ...)
  2004-01-21  7:18 ` dhazeghi at yahoo dot com
@ 2004-01-21  7:23 ` pinskia at gcc dot gnu dot org
  2004-04-03 15:58 ` [Bug middle-end/13769] [tree-ssa] bootstrap failure: ICE in extract_insn pinskia at gcc dot gnu dot org
  2004-04-06  9:58 ` ehrhardt at mathematik dot uni-ulm dot de
  6 siblings, 0 replies; 8+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-01-21  7:23 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From pinskia at gcc dot gnu dot org  2004-01-21 07:23 -------
That is interesting, because the tree is about the same and so should the RTL.

-- 


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


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

* [Bug middle-end/13769] [tree-ssa] bootstrap failure: ICE in extract_insn
  2004-01-20 12:56 [Bug bootstrap/13769] New: [tree-ssa] sparc-sun-solaris2.9 bootstrap failure: ICE in extract_insn, at recog.c:2083 gerald at pfeifer dot com
                   ` (4 preceding siblings ...)
  2004-01-21  7:23 ` pinskia at gcc dot gnu dot org
@ 2004-04-03 15:58 ` pinskia at gcc dot gnu dot org
  2004-04-06  9:58 ` ehrhardt at mathematik dot uni-ulm dot de
  6 siblings, 0 replies; 8+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-04-03 15:58 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From pinskia at gcc dot gnu dot org  2004-04-03 15:58 -------
Is this patch needed any more?

-- 


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


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

* [Bug middle-end/13769] [tree-ssa] bootstrap failure: ICE in extract_insn
  2004-01-20 12:56 [Bug bootstrap/13769] New: [tree-ssa] sparc-sun-solaris2.9 bootstrap failure: ICE in extract_insn, at recog.c:2083 gerald at pfeifer dot com
                   ` (5 preceding siblings ...)
  2004-04-03 15:58 ` [Bug middle-end/13769] [tree-ssa] bootstrap failure: ICE in extract_insn pinskia at gcc dot gnu dot org
@ 2004-04-06  9:58 ` ehrhardt at mathematik dot uni-ulm dot de
  6 siblings, 0 replies; 8+ messages in thread
From: ehrhardt at mathematik dot uni-ulm dot de @ 2004-04-06  9:58 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From ehrhardt at mathematik dot uni-ulm dot de  2004-04-06 09:57 -------
The patch for 13789 fixes it. Closing as duplicate.

*** This bug has been marked as a duplicate of 13789 ***

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |DUPLICATE


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


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

end of thread, other threads:[~2004-04-06  9:58 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-01-20 12:56 [Bug bootstrap/13769] New: [tree-ssa] sparc-sun-solaris2.9 bootstrap failure: ICE in extract_insn, at recog.c:2083 gerald at pfeifer dot com
2004-01-20 15:31 ` [Bug optimization/13769] " pinskia at gcc dot gnu dot org
2004-01-20 16:11 ` pinskia at gcc dot gnu dot org
2004-01-21  6:18 ` dhazeghi at yahoo dot com
2004-01-21  7:18 ` dhazeghi at yahoo dot com
2004-01-21  7:23 ` pinskia at gcc dot gnu dot org
2004-04-03 15:58 ` [Bug middle-end/13769] [tree-ssa] bootstrap failure: ICE in extract_insn pinskia at gcc dot gnu dot org
2004-04-06  9:58 ` ehrhardt at mathematik dot uni-ulm 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).