public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug target/33133]  New: [4.3 Regression] ICE in try_ready, at haifa-sched.c:2958 with -O3
@ 2007-08-21  8:29 tbm at cyrius dot com
  2007-08-21  8:29 ` [Bug target/33133] " tbm at cyrius dot com
                   ` (9 more replies)
  0 siblings, 10 replies; 11+ messages in thread
From: tbm at cyrius dot com @ 2007-08-21  8:29 UTC (permalink / raw)
  To: gcc-bugs

I'm getting the following ICE at -O3 with current SVN:

(sid)tbm@coconut0:~$ /usr/lib/gcc-snapshot/bin/gcc -c -O3 ncpfs-ncplib.c
ncpfs-ncplib.c: In function 'newpassencrypt':
ncpfs-ncplib.c:46: warning: incompatible implicit declaration of built-in
function 'memcpy'
ncpfs-ncplib.c:48: internal compiler error: in try_ready, at haifa-sched.c:2958
Please submit a full bug report,
...

This worked with 20070811.


-- 
           Summary: [4.3 Regression] ICE in try_ready, at haifa-sched.c:2958
                    with -O3
           Product: gcc
           Version: 4.3.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: target
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: tbm at cyrius dot com
GCC target triplet: ia64-linux-gnu


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


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

* [Bug target/33133] [4.3 Regression] ICE in try_ready, at haifa-sched.c:2958 with -O3
  2007-08-21  8:29 [Bug target/33133] New: [4.3 Regression] ICE in try_ready, at haifa-sched.c:2958 with -O3 tbm at cyrius dot com
@ 2007-08-21  8:29 ` tbm at cyrius dot com
  2007-08-21  8:31 ` tbm at cyrius dot com
                   ` (8 subsequent siblings)
  9 siblings, 0 replies; 11+ messages in thread
From: tbm at cyrius dot com @ 2007-08-21  8:29 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #1 from tbm at cyrius dot com  2007-08-21 08:29 -------
Testcase:

static char newshuffle[256 + 16] = {
  0x0f, 0x08, 0x05, 0x07, 0x0c, 0x02, 0x0e, 0x09, 0x00, 0x01, 0x06, 0x0d,
    0x03, 0x04, 0x0b, 0x0a, 0x02, 0x0c, 0x0e, 0x06, 0x0f, 0x00, 0x01, 0x08,
    0x0d, 0x03, 0x0a, 0x04, 0x09, 0x0b, 0x05, 0x07, 0x05, 0x02, 0x09, 0x0f,
    0x0c, 0x04, 0x0d, 0x00, 0x0e, 0x0a, 0x06, 0x08, 0x0b, 0x01, 0x03, 0x07,
    0x0f, 0x0d, 0x02, 0x06, 0x07, 0x08, 0x05, 0x09, 0x00, 0x04, 0x0c, 0x03,
    0x01, 0x0a, 0x0b, 0x0e, 0x05, 0x0e, 0x02, 0x0b, 0x0d, 0x0a, 0x07, 0x00,
    0x08, 0x06, 0x04, 0x01, 0x0f, 0x0c, 0x03, 0x09, 0x08, 0x02, 0x0f, 0x0a,
    0x05, 0x09, 0x06, 0x0c, 0x00, 0x0b, 0x01, 0x0d, 0x07, 0x03, 0x04, 0x0e,
    0x0e, 0x08, 0x00, 0x09, 0x04, 0x0b, 0x02, 0x07, 0x0c, 0x03, 0x0a, 0x05,
    0x0d, 0x01, 0x06, 0x0f, 0x01, 0x04, 0x08, 0x0a, 0x0d, 0x0b, 0x07, 0x0e,
    0x05, 0x0f, 0x03, 0x09, 0x00, 0x02, 0x06, 0x0c, 0x05, 0x03, 0x0c, 0x08,
    0x0b, 0x02, 0x0e, 0x0a, 0x04, 0x01, 0x0d, 0x00, 0x06, 0x07, 0x0f, 0x09,
    0x06, 0x00, 0x0b, 0x0e, 0x0d, 0x04, 0x0c, 0x0f, 0x07, 0x02, 0x08, 0x0a,
    0x01, 0x05, 0x03, 0x09, 0x0b, 0x05, 0x0a, 0x0e, 0x0f, 0x01, 0x0c, 0x00,
    0x06, 0x04, 0x02, 0x09, 0x03, 0x0d, 0x07, 0x08, 0x07, 0x02, 0x0a, 0x00,
    0x0e, 0x08, 0x0f, 0x04, 0x0c, 0x0b, 0x09, 0x01, 0x05, 0x0d, 0x03, 0x06,
    0x07, 0x04, 0x0f, 0x09, 0x05, 0x01, 0x0c, 0x0b, 0x00, 0x03, 0x08, 0x0e,
    0x02, 0x0a, 0x06, 0x0d, 0x09, 0x04, 0x08, 0x00, 0x0a, 0x03, 0x01, 0x0c,
    0x05, 0x0f, 0x07, 0x02, 0x0b, 0x0e, 0x06, 0x0d, 0x09, 0x05, 0x04, 0x07,
    0x0e, 0x08, 0x03, 0x01, 0x0d, 0x0b, 0x0c, 0x02, 0x00, 0x0f, 0x06, 0x0a,
    0x09, 0x0a, 0x0b, 0x0d, 0x05, 0x03, 0x0f, 0x00, 0x01, 0x0c, 0x08, 0x07,
    0x06, 0x04, 0x0e, 0x02, 0x03, 0x0e, 0x0f, 0x02, 0x0d, 0x0c, 0x04, 0x05,
    0x09, 0x06, 0x00, 0x01, 0x0b, 0x07, 0x0a, 0x08,
};newpassencrypt (char *old, char *new, char *out)
{
  char *p, *bx;
  char copy[8];
  int i, di, ax;
  char cl, dl, ch;
  for (i = 0; i < 16; i++)
    {
      for (bx = old + 7; bx > old; bx--)
        {
          *bx = ((bx[-1] >> 4) & 0x0f) | ((*bx) << 4);
        }
      for (di = 0; di < 16; di++)
        {
          if (newshuffle[di + 0x100] & 1)
            ch = ((copy[newshuffle[di + 0x100] / 2] >> 4) & 0x0f);
          else
            ch = copy[newshuffle[di + 0x100] / 2] & 0x0f;
          out[di / 2] |= ((di & 1) ? ch << 4 : ch);
        }
      memcpy (copy, out, 8);
    }
}


-- 


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


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

* [Bug target/33133] [4.3 Regression] ICE in try_ready, at haifa-sched.c:2958 with -O3
  2007-08-21  8:29 [Bug target/33133] New: [4.3 Regression] ICE in try_ready, at haifa-sched.c:2958 with -O3 tbm at cyrius dot com
  2007-08-21  8:29 ` [Bug target/33133] " tbm at cyrius dot com
@ 2007-08-21  8:31 ` tbm at cyrius dot com
  2007-08-28 23:54 ` pinskia at gcc dot gnu dot org
                   ` (7 subsequent siblings)
  9 siblings, 0 replies; 11+ messages in thread
From: tbm at cyrius dot com @ 2007-08-21  8:31 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #2 from tbm at cyrius dot com  2007-08-21 08:31 -------
Probably caused by:

2007-08-14  Maxim Kuvyrkov  <maxim@codesourcery.com>

        * sched-int.h (struct _dep): Rename field 'kind' to 'type'.
        (DEP_KIND): Rename to DEP_TYPE.  Update all uses.
...


-- 

tbm at cyrius dot com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |mkuvyrkov at gcc dot gnu dot
                   |                            |org


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


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

* [Bug target/33133] [4.3 Regression] ICE in try_ready, at haifa-sched.c:2958 with -O3
  2007-08-21  8:29 [Bug target/33133] New: [4.3 Regression] ICE in try_ready, at haifa-sched.c:2958 with -O3 tbm at cyrius dot com
  2007-08-21  8:29 ` [Bug target/33133] " tbm at cyrius dot com
  2007-08-21  8:31 ` tbm at cyrius dot com
@ 2007-08-28 23:54 ` pinskia at gcc dot gnu dot org
  2007-09-05  2:16 ` mmitchel at gcc dot gnu dot org
                   ` (6 subsequent siblings)
  9 siblings, 0 replies; 11+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2007-08-28 23:54 UTC (permalink / raw)
  To: gcc-bugs



-- 

pinskia at gcc dot gnu dot org changed:

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


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


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

* [Bug target/33133] [4.3 Regression] ICE in try_ready, at haifa-sched.c:2958 with -O3
  2007-08-21  8:29 [Bug target/33133] New: [4.3 Regression] ICE in try_ready, at haifa-sched.c:2958 with -O3 tbm at cyrius dot com
                   ` (2 preceding siblings ...)
  2007-08-28 23:54 ` pinskia at gcc dot gnu dot org
@ 2007-09-05  2:16 ` mmitchel at gcc dot gnu dot org
  2007-09-19  9:21 ` tbm at cyrius dot com
                   ` (5 subsequent siblings)
  9 siblings, 0 replies; 11+ messages in thread
From: mmitchel at gcc dot gnu dot org @ 2007-09-05  2:16 UTC (permalink / raw)
  To: gcc-bugs



-- 

mmitchel at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Priority|P3                          |P1


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


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

* [Bug target/33133] [4.3 Regression] ICE in try_ready, at haifa-sched.c:2958 with -O3
  2007-08-21  8:29 [Bug target/33133] New: [4.3 Regression] ICE in try_ready, at haifa-sched.c:2958 with -O3 tbm at cyrius dot com
                   ` (3 preceding siblings ...)
  2007-09-05  2:16 ` mmitchel at gcc dot gnu dot org
@ 2007-09-19  9:21 ` tbm at cyrius dot com
  2007-10-02 10:58 ` [Bug target/33133] [4.3 Regression] ICE in try_ready, at haifa-sched.c:2958 with -O2/-O3 rguenth at gcc dot gnu dot org
                   ` (4 subsequent siblings)
  9 siblings, 0 replies; 11+ messages in thread
From: tbm at cyrius dot com @ 2007-09-19  9:21 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #3 from tbm at cyrius dot com  2007-09-19 09:21 -------
Still there as of trunk 20070916.


-- 


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


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

* [Bug target/33133] [4.3 Regression] ICE in try_ready, at haifa-sched.c:2958 with -O2/-O3
  2007-08-21  8:29 [Bug target/33133] New: [4.3 Regression] ICE in try_ready, at haifa-sched.c:2958 with -O3 tbm at cyrius dot com
                   ` (4 preceding siblings ...)
  2007-09-19  9:21 ` tbm at cyrius dot com
@ 2007-10-02 10:58 ` rguenth at gcc dot gnu dot org
  2007-10-02 12:25 ` tbm at cyrius dot com
                   ` (3 subsequent siblings)
  9 siblings, 0 replies; 11+ messages in thread
From: rguenth at gcc dot gnu dot org @ 2007-10-02 10:58 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #4 from rguenth at gcc dot gnu dot org  2007-10-02 10:58 -------
Confirmed.  We see this a lot (building xgl, cups, john, xpdf, metacity,
openssl
and more).  And just with -O2 in our cases.


-- 

rguenth at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |rguenth at gcc dot gnu dot
                   |                            |org
           Severity|normal                      |blocker
             Status|UNCONFIRMED                 |NEW
     Ever Confirmed|0                           |1
   Last reconfirmed|0000-00-00 00:00:00         |2007-10-02 10:58:43
               date|                            |
            Summary|[4.3 Regression] ICE in     |[4.3 Regression] ICE in
                   |try_ready, at haifa-        |try_ready, at haifa-
                   |sched.c:2958 with -O3       |sched.c:2958 with -O2/-O3


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


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

* [Bug target/33133] [4.3 Regression] ICE in try_ready, at haifa-sched.c:2958 with -O2/-O3
  2007-08-21  8:29 [Bug target/33133] New: [4.3 Regression] ICE in try_ready, at haifa-sched.c:2958 with -O3 tbm at cyrius dot com
                   ` (5 preceding siblings ...)
  2007-10-02 10:58 ` [Bug target/33133] [4.3 Regression] ICE in try_ready, at haifa-sched.c:2958 with -O2/-O3 rguenth at gcc dot gnu dot org
@ 2007-10-02 12:25 ` tbm at cyrius dot com
  2007-10-15  1:08 ` patchapp at dberlin dot org
                   ` (2 subsequent siblings)
  9 siblings, 0 replies; 11+ messages in thread
From: tbm at cyrius dot com @ 2007-10-02 12:25 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #5 from tbm at cyrius dot com  2007-10-02 12:25 -------
(In reply to comment #4)
> Confirmed.  We see this a lot (building xgl, cups, john, xpdf, metacity,
> openssl and more).  And just with -O2 in our cases.

Maxim was testing a patch for it but I'm not quite sure what happened to it.


-- 


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


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

* [Bug target/33133] [4.3 Regression] ICE in try_ready, at haifa-sched.c:2958 with -O2/-O3
  2007-08-21  8:29 [Bug target/33133] New: [4.3 Regression] ICE in try_ready, at haifa-sched.c:2958 with -O3 tbm at cyrius dot com
                   ` (6 preceding siblings ...)
  2007-10-02 12:25 ` tbm at cyrius dot com
@ 2007-10-15  1:08 ` patchapp at dberlin dot org
  2007-10-15 10:30 ` mkuvyrkov at gcc dot gnu dot org
  2007-10-15 10:43 ` mkuvyrkov at gcc dot gnu dot org
  9 siblings, 0 replies; 11+ messages in thread
From: patchapp at dberlin dot org @ 2007-10-15  1:08 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #6 from patchapp at dberlin dot org  2007-10-15 01:08 -------
Subject: Bug number PR33133

A patch for this bug has been added to the patch tracker.
The mailing list url for the patch is
http://gcc.gnu.org/ml/gcc-patches/2007-10/msg00829.html


-- 


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


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

* [Bug target/33133] [4.3 Regression] ICE in try_ready, at haifa-sched.c:2958 with -O2/-O3
  2007-08-21  8:29 [Bug target/33133] New: [4.3 Regression] ICE in try_ready, at haifa-sched.c:2958 with -O3 tbm at cyrius dot com
                   ` (7 preceding siblings ...)
  2007-10-15  1:08 ` patchapp at dberlin dot org
@ 2007-10-15 10:30 ` mkuvyrkov at gcc dot gnu dot org
  2007-10-15 10:43 ` mkuvyrkov at gcc dot gnu dot org
  9 siblings, 0 replies; 11+ messages in thread
From: mkuvyrkov at gcc dot gnu dot org @ 2007-10-15 10:30 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #7 from mkuvyrkov at gcc dot gnu dot org  2007-10-15 10:30 -------
Subject: Bug 33133

Author: mkuvyrkov
Date: Mon Oct 15 10:30:13 2007
New Revision: 129315

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=129315
Log:
        PR target/33133

        * haifa-sched.c (process_insn_forw_deps_be_in_spec): Check if
        speculation type of insn can be changed before trying to do that.

        * gcc.c-torture/compile/pr33133.c: New test.

Added:
    trunk/gcc/testsuite/gcc.c-torture/compile/pr33133.c
Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/haifa-sched.c
    trunk/gcc/testsuite/ChangeLog


-- 


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


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

* [Bug target/33133] [4.3 Regression] ICE in try_ready, at haifa-sched.c:2958 with -O2/-O3
  2007-08-21  8:29 [Bug target/33133] New: [4.3 Regression] ICE in try_ready, at haifa-sched.c:2958 with -O3 tbm at cyrius dot com
                   ` (8 preceding siblings ...)
  2007-10-15 10:30 ` mkuvyrkov at gcc dot gnu dot org
@ 2007-10-15 10:43 ` mkuvyrkov at gcc dot gnu dot org
  9 siblings, 0 replies; 11+ messages in thread
From: mkuvyrkov at gcc dot gnu dot org @ 2007-10-15 10:43 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #8 from mkuvyrkov at gcc dot gnu dot org  2007-10-15 10:43 -------
(In reply to comment #4)
> Confirmed.  We see this a lot (building xgl, cups, john, xpdf, metacity,
> openssl
> and more).  And just with -O2 in our cases.

Are these failures fixed now?


-- 

mkuvyrkov at gcc dot gnu dot org changed:

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


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


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

end of thread, other threads:[~2007-10-15 10:43 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-08-21  8:29 [Bug target/33133] New: [4.3 Regression] ICE in try_ready, at haifa-sched.c:2958 with -O3 tbm at cyrius dot com
2007-08-21  8:29 ` [Bug target/33133] " tbm at cyrius dot com
2007-08-21  8:31 ` tbm at cyrius dot com
2007-08-28 23:54 ` pinskia at gcc dot gnu dot org
2007-09-05  2:16 ` mmitchel at gcc dot gnu dot org
2007-09-19  9:21 ` tbm at cyrius dot com
2007-10-02 10:58 ` [Bug target/33133] [4.3 Regression] ICE in try_ready, at haifa-sched.c:2958 with -O2/-O3 rguenth at gcc dot gnu dot org
2007-10-02 12:25 ` tbm at cyrius dot com
2007-10-15  1:08 ` patchapp at dberlin dot org
2007-10-15 10:30 ` mkuvyrkov at gcc dot gnu dot org
2007-10-15 10:43 ` mkuvyrkov 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).