public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug target/28376]  New: [4.1 Regression] ICE when building opensp with -O3 on alpha
@ 2006-07-14  2:41 vapier at gentoo dot org
  2006-07-14  2:42 ` [Bug target/28376] " vapier at gentoo dot org
                   ` (7 more replies)
  0 siblings, 8 replies; 9+ messages in thread
From: vapier at gentoo dot org @ 2006-07-14  2:41 UTC (permalink / raw)
  To: gcc-bugs

when building opensp with gcc-4.1.1 and -O3 on alpha, gcc ICEs:

ice.ii: In function 'void __static_initialization_and_destruction_0(int, int)':
ice.ii:13: error: unrecognizable insn:
(insn 23 22 24 2 (set (reg:DI 84)
        (leu:DI (const_int 0 [0x0])
            (const_int 4 [0x4]))) -1 (nil)
    (nil))
ice.ii:13: internal compiler error: in extract_insn, at recog.c:2084

verified on Gentoo and Debian that 4.0.3 works, 4.1.1 fails, 4.2 works


-- 
           Summary: [4.1 Regression] ICE when building opensp with -O3 on
                    alpha
           Product: gcc
           Version: 4.1.2
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: target
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: vapier at gentoo dot org
  GCC host triplet: alpha-linux-gnu
GCC target triplet: alpha-linux-gnu


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


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

* [Bug target/28376] [4.1 Regression] ICE when building opensp with -O3 on alpha
  2006-07-14  2:41 [Bug target/28376] New: [4.1 Regression] ICE when building opensp with -O3 on alpha vapier at gentoo dot org
@ 2006-07-14  2:42 ` vapier at gentoo dot org
  2006-07-14  3:45 ` pinskia at gcc dot gnu dot org
                   ` (6 subsequent siblings)
  7 siblings, 0 replies; 9+ messages in thread
From: vapier at gentoo dot org @ 2006-07-14  2:42 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #1 from vapier at gentoo dot org  2006-07-14 02:42 -------
Created an attachment (id=11887)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=11887&action=view)
PR28376.ii


-- 


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


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

* [Bug target/28376] [4.1 Regression] ICE when building opensp with -O3 on alpha
  2006-07-14  2:41 [Bug target/28376] New: [4.1 Regression] ICE when building opensp with -O3 on alpha vapier at gentoo dot org
  2006-07-14  2:42 ` [Bug target/28376] " vapier at gentoo dot org
@ 2006-07-14  3:45 ` pinskia at gcc dot gnu dot org
  2006-07-14  8:09 ` falk at debian dot org
                   ` (5 subsequent siblings)
  7 siblings, 0 replies; 9+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2006-07-14  3:45 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #2 from pinskia at gcc dot gnu dot org  2006-07-14 03:45 -------
(In reply to comment #0)
> ice.ii:13: error: unrecognizable insn:
> (insn 23 22 24 2 (set (reg:DI 84)
>         (leu:DI (const_int 0 [0x0])
>             (const_int 4 [0x4]))) -1 (nil)
>     (nil))

This should never have showed up as that is a constant.  I wonder how much
related to PR13031 this really is.


-- 

pinskia at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  BugsThisDependsOn|                            |13031


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


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

* [Bug target/28376] [4.1 Regression] ICE when building opensp with -O3 on alpha
  2006-07-14  2:41 [Bug target/28376] New: [4.1 Regression] ICE when building opensp with -O3 on alpha vapier at gentoo dot org
  2006-07-14  2:42 ` [Bug target/28376] " vapier at gentoo dot org
  2006-07-14  3:45 ` pinskia at gcc dot gnu dot org
@ 2006-07-14  8:09 ` falk at debian dot org
  2006-07-14  8:20 ` pinskia at gcc dot gnu dot org
                   ` (4 subsequent siblings)
  7 siblings, 0 replies; 9+ messages in thread
From: falk at debian dot org @ 2006-07-14  8:09 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #3 from falk at debian dot org  2006-07-14 08:08 -------
This simplified test case ICEs already at -O:

static const long unsigned sizes[] = { 4, 8 };
static long unsigned maxSize(const long unsigned *v) {
        unsigned long max = 0;
        unsigned long i = 0;
        for (; i < 2; i++)
                if (v[i] > max)
                        max = v[i];
        return max;
}
unsigned long a = maxSize(sizes);

00.expand already contains the unfolded leu. I suppose this is not valid RTL?

4.2 does not exhibit this bug.


-- 

falk at debian dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
     Ever Confirmed|0                           |1


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


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

* [Bug target/28376] [4.1 Regression] ICE when building opensp with -O3 on alpha
  2006-07-14  2:41 [Bug target/28376] New: [4.1 Regression] ICE when building opensp with -O3 on alpha vapier at gentoo dot org
                   ` (2 preceding siblings ...)
  2006-07-14  8:09 ` falk at debian dot org
@ 2006-07-14  8:20 ` pinskia at gcc dot gnu dot org
  2006-09-10 16:58 ` jsm28 at gcc dot gnu dot org
                   ` (3 subsequent siblings)
  7 siblings, 0 replies; 9+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2006-07-14  8:20 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #4 from pinskia at gcc dot gnu dot org  2006-07-14 08:20 -------
(In reply to comment #3)
> This simplified test case ICEs already at -O:
> 
> 00.expand already contains the unfolded leu. I suppose this is not valid RTL?

I think this is a case where we unroll the loop but don't do store-CCP after
the unroller so we can get expand looks into sizes for the value but then we
don't call simplify-rtx before emitting (which seems wrong).


-- 


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


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

* [Bug target/28376] [4.1 Regression] ICE when building opensp with -O3 on alpha
  2006-07-14  2:41 [Bug target/28376] New: [4.1 Regression] ICE when building opensp with -O3 on alpha vapier at gentoo dot org
                   ` (3 preceding siblings ...)
  2006-07-14  8:20 ` pinskia at gcc dot gnu dot org
@ 2006-09-10 16:58 ` jsm28 at gcc dot gnu dot org
  2006-11-01 18:12 ` mmitchel at gcc dot gnu dot org
                   ` (2 subsequent siblings)
  7 siblings, 0 replies; 9+ messages in thread
From: jsm28 at gcc dot gnu dot org @ 2006-09-10 16:58 UTC (permalink / raw)
  To: gcc-bugs



-- 

jsm28 at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|---                         |4.1.2


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


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

* [Bug target/28376] [4.1 Regression] ICE when building opensp with -O3 on alpha
  2006-07-14  2:41 [Bug target/28376] New: [4.1 Regression] ICE when building opensp with -O3 on alpha vapier at gentoo dot org
                   ` (4 preceding siblings ...)
  2006-09-10 16:58 ` jsm28 at gcc dot gnu dot org
@ 2006-11-01 18:12 ` mmitchel at gcc dot gnu dot org
  2007-02-14  9:40 ` mmitchel at gcc dot gnu dot org
  2008-07-04 15:42 ` jsm28 at gcc dot gnu dot org
  7 siblings, 0 replies; 9+ messages in thread
From: mmitchel at gcc dot gnu dot org @ 2006-11-01 18:12 UTC (permalink / raw)
  To: gcc-bugs



-- 

mmitchel at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Priority|P3                          |P5


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


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

* [Bug target/28376] [4.1 Regression] ICE when building opensp with -O3 on alpha
  2006-07-14  2:41 [Bug target/28376] New: [4.1 Regression] ICE when building opensp with -O3 on alpha vapier at gentoo dot org
                   ` (5 preceding siblings ...)
  2006-11-01 18:12 ` mmitchel at gcc dot gnu dot org
@ 2007-02-14  9:40 ` mmitchel at gcc dot gnu dot org
  2008-07-04 15:42 ` jsm28 at gcc dot gnu dot org
  7 siblings, 0 replies; 9+ messages in thread
From: mmitchel at gcc dot gnu dot org @ 2007-02-14  9:40 UTC (permalink / raw)
  To: gcc-bugs



-- 

mmitchel at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|4.1.2                       |4.1.3


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


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

* [Bug target/28376] [4.1 Regression] ICE when building opensp with -O3 on alpha
  2006-07-14  2:41 [Bug target/28376] New: [4.1 Regression] ICE when building opensp with -O3 on alpha vapier at gentoo dot org
                   ` (6 preceding siblings ...)
  2007-02-14  9:40 ` mmitchel at gcc dot gnu dot org
@ 2008-07-04 15:42 ` jsm28 at gcc dot gnu dot org
  7 siblings, 0 replies; 9+ messages in thread
From: jsm28 at gcc dot gnu dot org @ 2008-07-04 15:42 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #5 from jsm28 at gcc dot gnu dot org  2008-07-04 15:41 -------
Closing 4.1 branch.


-- 

jsm28 at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
      Known to fail|4.1.1                       |4.1.1 4.1.3
         Resolution|                            |FIXED
   Target Milestone|4.1.3                       |4.2.0


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


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

end of thread, other threads:[~2008-07-04 15:42 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-07-14  2:41 [Bug target/28376] New: [4.1 Regression] ICE when building opensp with -O3 on alpha vapier at gentoo dot org
2006-07-14  2:42 ` [Bug target/28376] " vapier at gentoo dot org
2006-07-14  3:45 ` pinskia at gcc dot gnu dot org
2006-07-14  8:09 ` falk at debian dot org
2006-07-14  8:20 ` pinskia at gcc dot gnu dot org
2006-09-10 16:58 ` jsm28 at gcc dot gnu dot org
2006-11-01 18:12 ` mmitchel at gcc dot gnu dot org
2007-02-14  9:40 ` mmitchel at gcc dot gnu dot org
2008-07-04 15:42 ` jsm28 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).