public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug target/28623]  New: [4.1/4.2 regression] ICE in extract_insn, at recog.c:2077 (nrecognizable insn) [alpha]
@ 2006-08-06 17:54 tbm at cyrius dot com
  2006-08-06 17:55 ` [Bug target/28623] " tbm at cyrius dot com
                   ` (9 more replies)
  0 siblings, 10 replies; 11+ messages in thread
From: tbm at cyrius dot com @ 2006-08-06 17:54 UTC (permalink / raw)
  To: gcc-bugs

We get the following ICE on alpha with 4.1 and 4.2.  gcc 4.0 works.

tbm@hulk:~$ gcc-4.1 -c -O kdegraphics-gstring.cpp
kdegraphics-gstring.cpp: In member function 'GP<GStringRep>
GStringRep::vformat(va_list) const':
kdegraphics-gstring.cpp:57: error: unrecognizable insn:
(insn 15 10 16 0 (set (reg:DI 73)
        (plus:DI (reg/v/f:DI 69 [ buffer ])
            (const_int 32768 [0x8000]))) -1 (nil)
    (nil))
kdegraphics-gstring.cpp:57: internal compiler error: in extract_insn, at
recog.c:2084
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://gcc.gnu.org/bugs.html> for instructions.
For Debian GNU/Linux specific bug reporting instructions,
see <URL:file:///usr/share/doc/gcc-4.1/README.Bugs>.
Preprocessed source stored into /tmp/ccG6Sh3U.out file, please attach this to
your bugreport.
tbm@hulk:~$ /usr/lib/gcc-snapshot/bin/g++ -c -O kdegraphics-gstring.cpp
kdegraphics-gstring.cpp: In member function 'GP<GStringRep>
GStringRep::vformat(va_list) const':
kdegraphics-gstring.cpp:57: error: unrecognizable insn:
(insn 14 10 15 2 (set (reg:DI 73)
        (plus:DI (reg/v/f:DI 69 [ buffer ])
            (const_int 32768 [0x8000]))) -1 (nil)
    (nil))
kdegraphics-gstring.cpp:57: internal compiler error: in extract_insn, at
recog.c:2077
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://gcc.gnu.org/bugs.html> for instructions.
tbm@hulk:~$ gcc-4.0 -c -O kdegraphics-gstring.cpp
tbm@hulk:~$


-- 
           Summary: [4.1/4.2 regression] ICE in extract_insn, at
                    recog.c:2077 (nrecognizable insn) [alpha]
           Product: gcc
           Version: 4.1.1
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: target
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: tbm at cyrius dot com
  GCC host triplet: alpha-linux-gnu
GCC target triplet: alpha-linux-gnu


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


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

* [Bug target/28623] [4.1/4.2 regression] ICE in extract_insn, at recog.c:2077 (nrecognizable insn) [alpha]
  2006-08-06 17:54 [Bug target/28623] New: [4.1/4.2 regression] ICE in extract_insn, at recog.c:2077 (nrecognizable insn) [alpha] tbm at cyrius dot com
@ 2006-08-06 17:55 ` tbm at cyrius dot com
  2006-08-08  0:30 ` pinskia at gcc dot gnu dot org
                   ` (8 subsequent siblings)
  9 siblings, 0 replies; 11+ messages in thread
From: tbm at cyrius dot com @ 2006-08-06 17:55 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #1 from tbm at cyrius dot com  2006-08-06 17:55 -------
Created an attachment (id=12029)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=12029&action=view)
test case

Testcase from application "kdegraphics".


-- 


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


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

* [Bug target/28623] [4.1/4.2 regression] ICE in extract_insn, at recog.c:2077 (nrecognizable insn) [alpha]
  2006-08-06 17:54 [Bug target/28623] New: [4.1/4.2 regression] ICE in extract_insn, at recog.c:2077 (nrecognizable insn) [alpha] tbm at cyrius dot com
  2006-08-06 17:55 ` [Bug target/28623] " tbm at cyrius dot com
@ 2006-08-08  0:30 ` pinskia at gcc dot gnu dot org
  2006-08-10 21:11 ` falk at debian dot org
                   ` (7 subsequent siblings)
  9 siblings, 0 replies; 11+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2006-08-08  0:30 UTC (permalink / raw)
  To: gcc-bugs



-- 

pinskia at gcc dot gnu dot org changed:

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


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


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

* [Bug target/28623] [4.1/4.2 regression] ICE in extract_insn, at recog.c:2077 (nrecognizable insn) [alpha]
  2006-08-06 17:54 [Bug target/28623] New: [4.1/4.2 regression] ICE in extract_insn, at recog.c:2077 (nrecognizable insn) [alpha] tbm at cyrius dot com
  2006-08-06 17:55 ` [Bug target/28623] " tbm at cyrius dot com
  2006-08-08  0:30 ` pinskia at gcc dot gnu dot org
@ 2006-08-10 21:11 ` falk at debian dot org
  2006-08-20 22:30 ` mmitchel at gcc dot gnu dot org
                   ` (6 subsequent siblings)
  9 siblings, 0 replies; 11+ messages in thread
From: falk at debian dot org @ 2006-08-10 21:11 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #2 from falk at debian dot org  2006-08-10 21:11 -------
Confirmed. This is a smaller test case:

int vformat(char *buffer) {
    return buffer[32767];
}

This needs -mcpu=ev45. It is triggered by the synthetization
of the 8-bit load by 64-bit loads. ldb v0, x(a0) is done as

lda     a0,x+1(a0)
ldq_u   v0,-1(a0)
extqh   v0,a0,v0
sra     v0,56,v0

and if x=32767, this fails.

(Incidentally, maybe we should do
ldq_u   t1,x(a0)
lda     a0,x+1(a0)
extqh   t1,a0,t1
sra     t1,56,v0
and save one cycle at the cost of one extra register.)


-- 

falk at debian dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |rth at gcc dot gnu dot org
             Status|UNCONFIRMED                 |NEW
     Ever Confirmed|0                           |1


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


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

* [Bug target/28623] [4.1/4.2 regression] ICE in extract_insn, at recog.c:2077 (nrecognizable insn) [alpha]
  2006-08-06 17:54 [Bug target/28623] New: [4.1/4.2 regression] ICE in extract_insn, at recog.c:2077 (nrecognizable insn) [alpha] tbm at cyrius dot com
                   ` (2 preceding siblings ...)
  2006-08-10 21:11 ` falk at debian dot org
@ 2006-08-20 22:30 ` mmitchel at gcc dot gnu dot org
  2007-02-14  9:40 ` [Bug target/28623] [4.1/4.2/4.3 " mmitchel at gcc dot gnu dot org
                   ` (5 subsequent siblings)
  9 siblings, 0 replies; 11+ messages in thread
From: mmitchel at gcc dot gnu dot org @ 2006-08-20 22:30 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #3 from mmitchel at gcc dot gnu dot org  2006-08-20 22:30 -------
Alpha is not a primary or secondary platform.


-- 

mmitchel at gcc dot gnu dot org changed:

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


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


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

* [Bug target/28623] [4.1/4.2/4.3 regression] ICE in extract_insn, at recog.c:2077 (nrecognizable insn) [alpha]
  2006-08-06 17:54 [Bug target/28623] New: [4.1/4.2 regression] ICE in extract_insn, at recog.c:2077 (nrecognizable insn) [alpha] tbm at cyrius dot com
                   ` (3 preceding siblings ...)
  2006-08-20 22:30 ` mmitchel at gcc dot gnu dot org
@ 2007-02-14  9:40 ` mmitchel at gcc dot gnu dot org
  2007-04-19 17:18 ` rth at gcc dot gnu dot org
                   ` (4 subsequent siblings)
  9 siblings, 0 replies; 11+ 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=28623


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

* [Bug target/28623] [4.1/4.2/4.3 regression] ICE in extract_insn, at recog.c:2077 (nrecognizable insn) [alpha]
  2006-08-06 17:54 [Bug target/28623] New: [4.1/4.2 regression] ICE in extract_insn, at recog.c:2077 (nrecognizable insn) [alpha] tbm at cyrius dot com
                   ` (4 preceding siblings ...)
  2007-02-14  9:40 ` [Bug target/28623] [4.1/4.2/4.3 " mmitchel at gcc dot gnu dot org
@ 2007-04-19 17:18 ` rth at gcc dot gnu dot org
  2007-04-20 19:36 ` rth at gcc dot gnu dot org
                   ` (3 subsequent siblings)
  9 siblings, 0 replies; 11+ messages in thread
From: rth at gcc dot gnu dot org @ 2007-04-19 17:18 UTC (permalink / raw)
  To: gcc-bugs



-- 

rth at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         AssignedTo|unassigned at gcc dot gnu   |rth at gcc dot gnu dot org
                   |dot org                     |
             Status|NEW                         |ASSIGNED
   Last reconfirmed|0000-00-00 00:00:00         |2007-04-19 18:18:30
               date|                            |


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


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

* [Bug target/28623] [4.1/4.2/4.3 regression] ICE in extract_insn, at recog.c:2077 (nrecognizable insn) [alpha]
  2006-08-06 17:54 [Bug target/28623] New: [4.1/4.2 regression] ICE in extract_insn, at recog.c:2077 (nrecognizable insn) [alpha] tbm at cyrius dot com
                   ` (5 preceding siblings ...)
  2007-04-19 17:18 ` rth at gcc dot gnu dot org
@ 2007-04-20 19:36 ` rth at gcc dot gnu dot org
  2007-04-22  1:29 ` rth at gcc dot gnu dot org
                   ` (2 subsequent siblings)
  9 siblings, 0 replies; 11+ messages in thread
From: rth at gcc dot gnu dot org @ 2007-04-20 19:36 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #4 from rth at gcc dot gnu dot org  2007-04-20 20:36 -------
Subject: Bug 28623

Author: rth
Date: Fri Apr 20 20:35:55 2007
New Revision: 124002

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=124002
Log:
        PR target/28623
        * config/alpha/alpha.c (get_unaligned_address): Remove extra_offset
        argument; update all callers.
        (get_unaligned_offset): New.
        * config/alpha/alpha.md (extendqidi2, extendhidi2): Don't use
        get_unaligned_address, just pass on the address directly.
        (unaligned_extendqidi): Use gen_lowpart instead of open-coding
        the subreg in the helper patterns.
        (unaligned_extendqidi_le): Use get_unaligned_offset.
        (unaligned_extendqidi_be, unaligned_extendhidi_le): Likewise.
        (unaligned_extendhidi_be): Likewise.
        (unaligned_extendhidi): Tidy.
        * config/alpha/alpha-protos.h: Update.

Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/config/alpha/alpha-protos.h
    trunk/gcc/config/alpha/alpha.c
    trunk/gcc/config/alpha/alpha.md


-- 


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


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

* [Bug target/28623] [4.1/4.2/4.3 regression] ICE in extract_insn, at recog.c:2077 (nrecognizable insn) [alpha]
  2006-08-06 17:54 [Bug target/28623] New: [4.1/4.2 regression] ICE in extract_insn, at recog.c:2077 (nrecognizable insn) [alpha] tbm at cyrius dot com
                   ` (6 preceding siblings ...)
  2007-04-20 19:36 ` rth at gcc dot gnu dot org
@ 2007-04-22  1:29 ` rth at gcc dot gnu dot org
  2007-04-22  1:30 ` rth at gcc dot gnu dot org
  2007-04-22  1:31 ` rth at gcc dot gnu dot org
  9 siblings, 0 replies; 11+ messages in thread
From: rth at gcc dot gnu dot org @ 2007-04-22  1:29 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #5 from rth at gcc dot gnu dot org  2007-04-22 02:29 -------
Subject: Bug 28623

Author: rth
Date: Sun Apr 22 02:29:05 2007
New Revision: 124033

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=124033
Log:
        PR target/28623
        * config/alpha/alpha.c (get_unaligned_address): Remove extra_offset
        argument; update all callers.
        (get_unaligned_offset): New.
        * config/alpha/alpha.md (extendqidi2, extendhidi2): Don't use
        get_unaligned_address, just pass on the address directly.
        (unaligned_extendqidi): Use gen_lowpart instead of open-coding
        the subreg in the helper patterns.
        (unaligned_extendqidi_le): Use get_unaligned_offset.
        (unaligned_extendqidi_be, unaligned_extendhidi_le): Likewise.
        (unaligned_extendhidi_be): Likewise.
        (unaligned_extendhidi): Tidy.
        * config/alpha/alpha-protos.h: Update.

Modified:
    branches/gcc-4_1-branch/gcc/ChangeLog
    branches/gcc-4_1-branch/gcc/config/alpha/alpha-protos.h
    branches/gcc-4_1-branch/gcc/config/alpha/alpha.c
    branches/gcc-4_1-branch/gcc/config/alpha/alpha.md


-- 


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


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

* [Bug target/28623] [4.1/4.2/4.3 regression] ICE in extract_insn, at recog.c:2077 (nrecognizable insn) [alpha]
  2006-08-06 17:54 [Bug target/28623] New: [4.1/4.2 regression] ICE in extract_insn, at recog.c:2077 (nrecognizable insn) [alpha] tbm at cyrius dot com
                   ` (7 preceding siblings ...)
  2007-04-22  1:29 ` rth at gcc dot gnu dot org
@ 2007-04-22  1:30 ` rth at gcc dot gnu dot org
  2007-04-22  1:31 ` rth at gcc dot gnu dot org
  9 siblings, 0 replies; 11+ messages in thread
From: rth at gcc dot gnu dot org @ 2007-04-22  1:30 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #6 from rth at gcc dot gnu dot org  2007-04-22 02:30 -------
Subject: Bug 28623

Author: rth
Date: Sun Apr 22 02:30:31 2007
New Revision: 124034

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=124034
Log:
        PR target/28623
        * config/alpha/alpha.c (get_unaligned_address): Remove extra_offset
        argument; update all callers.
        (get_unaligned_offset): New.
        * config/alpha/alpha.md (extendqidi2, extendhidi2): Don't use
        get_unaligned_address, just pass on the address directly.
        (unaligned_extendqidi): Use gen_lowpart instead of open-coding
        the subreg in the helper patterns.
        (unaligned_extendqidi_le): Use get_unaligned_offset.
        (unaligned_extendqidi_be, unaligned_extendhidi_le): Likewise.
        (unaligned_extendhidi_be): Likewise.
        (unaligned_extendhidi): Tidy.
        * config/alpha/alpha-protos.h: Update.

Modified:
    branches/gcc-4_2-branch/gcc/ChangeLog
    branches/gcc-4_2-branch/gcc/config/alpha/alpha-protos.h
    branches/gcc-4_2-branch/gcc/config/alpha/alpha.c
    branches/gcc-4_2-branch/gcc/config/alpha/alpha.md


-- 


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


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

* [Bug target/28623] [4.1/4.2/4.3 regression] ICE in extract_insn, at recog.c:2077 (nrecognizable insn) [alpha]
  2006-08-06 17:54 [Bug target/28623] New: [4.1/4.2 regression] ICE in extract_insn, at recog.c:2077 (nrecognizable insn) [alpha] tbm at cyrius dot com
                   ` (8 preceding siblings ...)
  2007-04-22  1:30 ` rth at gcc dot gnu dot org
@ 2007-04-22  1:31 ` rth at gcc dot gnu dot org
  9 siblings, 0 replies; 11+ messages in thread
From: rth at gcc dot gnu dot org @ 2007-04-22  1:31 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #7 from rth at gcc dot gnu dot org  2007-04-22 02:31 -------
Fixed.


-- 

rth at gcc dot gnu dot org changed:

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


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


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

end of thread, other threads:[~2007-04-22  1:31 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-08-06 17:54 [Bug target/28623] New: [4.1/4.2 regression] ICE in extract_insn, at recog.c:2077 (nrecognizable insn) [alpha] tbm at cyrius dot com
2006-08-06 17:55 ` [Bug target/28623] " tbm at cyrius dot com
2006-08-08  0:30 ` pinskia at gcc dot gnu dot org
2006-08-10 21:11 ` falk at debian dot org
2006-08-20 22:30 ` mmitchel at gcc dot gnu dot org
2007-02-14  9:40 ` [Bug target/28623] [4.1/4.2/4.3 " mmitchel at gcc dot gnu dot org
2007-04-19 17:18 ` rth at gcc dot gnu dot org
2007-04-20 19:36 ` rth at gcc dot gnu dot org
2007-04-22  1:29 ` rth at gcc dot gnu dot org
2007-04-22  1:30 ` rth at gcc dot gnu dot org
2007-04-22  1:31 ` rth 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).