public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug target/24600]  New: [4.1 Regression] unrecognizable instruction
@ 2005-10-31 21:39 rguenth at gcc dot gnu dot org
  2005-10-31 21:40 ` [Bug target/24600] " rguenth at gcc dot gnu dot org
                   ` (8 more replies)
  0 siblings, 9 replies; 10+ messages in thread
From: rguenth at gcc dot gnu dot org @ 2005-10-31 21:39 UTC (permalink / raw)
  To: gcc-bugs

Lots of package failures with

req_track.c:204: error: unrecognizable insn:                                   
           (insn 299 61 62 6 (set (reg/f:SI 66)                                
                                (plus:SI (reg/f:SI 126 [ server.sv_track ])    
                                               (const_int 8 [0x8]))) -1 (nil)  
                                                  (nil))                       
                                                         req_track.c:204:
internal compiler error: in extract_insn, at recog.c:2084                

I'll extract a testcase another day.  Maybe it's obvious enough already.


-- 
           Summary: [4.1 Regression] unrecognizable instruction
           Product: gcc
           Version: 4.1.0
            Status: UNCONFIRMED
          Keywords: ice-on-valid-code
          Severity: normal
          Priority: P3
         Component: target
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: rguenth at gcc dot gnu dot org
GCC target triplet: s390x-*-*


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


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

* [Bug target/24600] [4.1 Regression] unrecognizable instruction
  2005-10-31 21:39 [Bug target/24600] New: [4.1 Regression] unrecognizable instruction rguenth at gcc dot gnu dot org
@ 2005-10-31 21:40 ` rguenth at gcc dot gnu dot org
  2005-11-01 13:01 ` rguenth at gcc dot gnu dot org
                   ` (7 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: rguenth at gcc dot gnu dot org @ 2005-10-31 21:40 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #1 from rguenth at gcc dot gnu dot org  2005-10-31 21:40 -------
Whoops, s390, not s390x.


-- 

rguenth at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
 GCC target triplet|s390x-*-*                   |s390-*-*


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


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

* [Bug target/24600] [4.1 Regression] unrecognizable instruction
  2005-10-31 21:39 [Bug target/24600] New: [4.1 Regression] unrecognizable instruction rguenth at gcc dot gnu dot org
  2005-10-31 21:40 ` [Bug target/24600] " rguenth at gcc dot gnu dot org
  2005-11-01 13:01 ` rguenth at gcc dot gnu dot org
@ 2005-11-01 13:01 ` rguenth at gcc dot gnu dot org
  2005-11-01 14:28 ` pinskia at gcc dot gnu dot org
                   ` (5 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: rguenth at gcc dot gnu dot org @ 2005-11-01 13:01 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #3 from rguenth at gcc dot gnu dot org  2005-11-01 13:01 -------
Critical, as this happens in a lot of packages.


-- 

rguenth at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Severity|normal                      |critical


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


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

* [Bug target/24600] [4.1 Regression] unrecognizable instruction
  2005-10-31 21:39 [Bug target/24600] New: [4.1 Regression] unrecognizable instruction rguenth at gcc dot gnu dot org
  2005-10-31 21:40 ` [Bug target/24600] " rguenth at gcc dot gnu dot org
@ 2005-11-01 13:01 ` rguenth at gcc dot gnu dot org
  2005-11-01 13:01 ` rguenth at gcc dot gnu dot org
                   ` (6 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: rguenth at gcc dot gnu dot org @ 2005-11-01 13:01 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #2 from rguenth at gcc dot gnu dot org  2005-11-01 13:01 -------
Created an attachment (id=10098)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=10098&action=view)
reduced testcase

testcase.


-- 


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


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

* [Bug target/24600] [4.1 Regression] unrecognizable instruction
  2005-10-31 21:39 [Bug target/24600] New: [4.1 Regression] unrecognizable instruction rguenth at gcc dot gnu dot org
                   ` (2 preceding siblings ...)
  2005-11-01 13:01 ` rguenth at gcc dot gnu dot org
@ 2005-11-01 14:28 ` pinskia at gcc dot gnu dot org
  2005-11-01 21:53 ` uweigand 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 @ 2005-11-01 14:28 UTC (permalink / raw)
  To: gcc-bugs



-- 

pinskia at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|---                         |4.1.0


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


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

* [Bug target/24600] [4.1 Regression] unrecognizable instruction
  2005-10-31 21:39 [Bug target/24600] New: [4.1 Regression] unrecognizable instruction rguenth at gcc dot gnu dot org
                   ` (3 preceding siblings ...)
  2005-11-01 14:28 ` pinskia at gcc dot gnu dot org
@ 2005-11-01 21:53 ` uweigand at gcc dot gnu dot org
  2005-11-01 21:54 ` uweigand at gcc dot gnu dot org
                   ` (3 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: uweigand at gcc dot gnu dot org @ 2005-11-01 21:53 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #4 from uweigand at gcc dot gnu dot org  2005-11-01 21:53 -------
This is a bug in the old loop optimizer introduced by:
http://gcc.gnu.org/ml/gcc-patches/2005-03/msg00690.html

The problem with this patch is that it assumes
gen_move_insn where the source is a PLUS representing
an address always returns a valid instruction.  This is
not the case at least on s390.


-- 

uweigand at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |uweigand at gcc dot gnu dot
                   |                            |org
             Status|UNCONFIRMED                 |NEW
     Ever Confirmed|0                           |1
   Last reconfirmed|0000-00-00 00:00:00         |2005-11-01 21:53:05
               date|                            |


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


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

* [Bug target/24600] [4.1 Regression] unrecognizable instruction
  2005-10-31 21:39 [Bug target/24600] New: [4.1 Regression] unrecognizable instruction rguenth at gcc dot gnu dot org
                   ` (4 preceding siblings ...)
  2005-11-01 21:53 ` uweigand at gcc dot gnu dot org
@ 2005-11-01 21:54 ` uweigand at gcc dot gnu dot org
  2005-11-02 16:22 ` uweigand at gcc dot gnu dot org
                   ` (2 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: uweigand at gcc dot gnu dot org @ 2005-11-01 21:54 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #5 from uweigand at gcc dot gnu dot org  2005-11-01 21:54 -------
Created an attachment (id=10106)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=10106&action=view)
Possible fix (not yet tested)

This patch is a possible fix to the problem;
it works by using force_operand to make sure
the address can be loaded correctly.
(Patch not yet tested.)


-- 


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


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

* [Bug target/24600] [4.1 Regression] unrecognizable instruction
  2005-10-31 21:39 [Bug target/24600] New: [4.1 Regression] unrecognizable instruction rguenth at gcc dot gnu dot org
                   ` (5 preceding siblings ...)
  2005-11-01 21:54 ` uweigand at gcc dot gnu dot org
@ 2005-11-02 16:22 ` uweigand at gcc dot gnu dot org
  2005-11-02 23:06 ` uweigand at gcc dot gnu dot org
  2005-11-02 23:09 ` uweigand at gcc dot gnu dot org
  8 siblings, 0 replies; 10+ messages in thread
From: uweigand at gcc dot gnu dot org @ 2005-11-02 16:22 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #6 from uweigand at gcc dot gnu dot org  2005-11-02 16:22 -------
Tested patch in:
http://gcc.gnu.org/ml/gcc-patches/2005-11/msg00113.html


-- 

uweigand at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         AssignedTo|unassigned at gcc dot gnu   |uweigand at gcc dot gnu dot
                   |dot org                     |org
                URL|                            |http://gcc.gnu.org/ml/gcc-
                   |                            |patches/2005-
                   |                            |11/msg00113.html
             Status|NEW                         |ASSIGNED
           Keywords|                            |patch
   Last reconfirmed|2005-11-01 21:53:05         |2005-11-02 16:22:35
               date|                            |


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


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

* [Bug target/24600] [4.1 Regression] unrecognizable instruction
  2005-10-31 21:39 [Bug target/24600] New: [4.1 Regression] unrecognizable instruction rguenth at gcc dot gnu dot org
                   ` (6 preceding siblings ...)
  2005-11-02 16:22 ` uweigand at gcc dot gnu dot org
@ 2005-11-02 23:06 ` uweigand at gcc dot gnu dot org
  2005-11-02 23:09 ` uweigand at gcc dot gnu dot org
  8 siblings, 0 replies; 10+ messages in thread
From: uweigand at gcc dot gnu dot org @ 2005-11-02 23:06 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #7 from uweigand at gcc dot gnu dot org  2005-11-02 23:06 -------
Subject: Bug 24600

Author: uweigand
Date: Wed Nov  2 23:06:26 2005
New Revision: 106404

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=106404
Log:
ChangeLog:

        PR target/24600
        * loop.c (loop_givs_rescan): Use force_operand to expand
        complex GIVs.

testsuite/ChangeLog:

        PR target/24600
        * gcc.dg/pr24600.c: New test.

Added:
    trunk/gcc/testsuite/gcc.dg/pr24600.c
Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/loop.c
    trunk/gcc/testsuite/ChangeLog


-- 


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


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

* [Bug target/24600] [4.1 Regression] unrecognizable instruction
  2005-10-31 21:39 [Bug target/24600] New: [4.1 Regression] unrecognizable instruction rguenth at gcc dot gnu dot org
                   ` (7 preceding siblings ...)
  2005-11-02 23:06 ` uweigand at gcc dot gnu dot org
@ 2005-11-02 23:09 ` uweigand at gcc dot gnu dot org
  8 siblings, 0 replies; 10+ messages in thread
From: uweigand at gcc dot gnu dot org @ 2005-11-02 23:09 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #8 from uweigand at gcc dot gnu dot org  2005-11-02 23:09 -------
Fixed.


-- 

uweigand at gcc dot gnu dot org changed:

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


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


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

end of thread, other threads:[~2005-11-02 23:09 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-10-31 21:39 [Bug target/24600] New: [4.1 Regression] unrecognizable instruction rguenth at gcc dot gnu dot org
2005-10-31 21:40 ` [Bug target/24600] " rguenth at gcc dot gnu dot org
2005-11-01 13:01 ` rguenth at gcc dot gnu dot org
2005-11-01 13:01 ` rguenth at gcc dot gnu dot org
2005-11-01 14:28 ` pinskia at gcc dot gnu dot org
2005-11-01 21:53 ` uweigand at gcc dot gnu dot org
2005-11-01 21:54 ` uweigand at gcc dot gnu dot org
2005-11-02 16:22 ` uweigand at gcc dot gnu dot org
2005-11-02 23:06 ` uweigand at gcc dot gnu dot org
2005-11-02 23:09 ` uweigand 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).