public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug rtl-optimization/20097] [4.0 regression] ICE in reload_cse_simplify_operands
       [not found] <bug-20097-4@http.gcc.gnu.org/bugzilla/>
@ 2012-12-19 10:07 ` steven at gcc dot gnu.org
  2012-12-19 10:08 ` steven at gcc dot gnu.org
  1 sibling, 0 replies; 9+ messages in thread
From: steven at gcc dot gnu.org @ 2012-12-19 10:07 UTC (permalink / raw)
  To: gcc-bugs


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

Steven Bosscher <steven at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         AssignedTo|unassigned at gcc dot       |steven at gcc dot gnu.org
                   |gnu.org                     |

--- Comment #6 from Steven Bosscher <steven at gcc dot gnu.org> 2012-12-19 10:07:08 UTC ---
(In reply to comment #3)
> This looks like a reload (or a target reload) issue:
> We have the following RTL:
> (insn 4097 4096 4098 236 (set (reg:BI 2598)
>         (and:BI (ne:BI (reg/v:SI 477 [ bNotLastFrame ])
>                 (const_int 0 [0x0]))
>             (subreg:BI (reg:SI 2934) 0))) 66 {*cmpsi_and_0} (nil)
>     (nil))
> 
> Note the subreg here.

Right, that makes no sense, and neither does...

> (insn 5995 5994 5996 236 (set (reg:SI 262 p6)
>       (reg:SI 2 r2)) 4 {*movsi_internal} (nil)     (nil))

this. Will look into this if I have some time.


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

* [Bug rtl-optimization/20097] [4.0 regression] ICE in reload_cse_simplify_operands
       [not found] <bug-20097-4@http.gcc.gnu.org/bugzilla/>
  2012-12-19 10:07 ` [Bug rtl-optimization/20097] [4.0 regression] ICE in reload_cse_simplify_operands steven at gcc dot gnu.org
@ 2012-12-19 10:08 ` steven at gcc dot gnu.org
  1 sibling, 0 replies; 9+ messages in thread
From: steven at gcc dot gnu.org @ 2012-12-19 10:08 UTC (permalink / raw)
  To: gcc-bugs


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

--- Comment #7 from Steven Bosscher <steven at gcc dot gnu.org> 2012-12-19 10:07:41 UTC ---
*** Bug 20018 has been marked as a duplicate of this bug. ***


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

* [Bug rtl-optimization/20097] [4.0 regression] ICE in reload_cse_simplify_operands
  2005-02-20  6:50 [Bug rtl-optimization/20097] New: " schwab at suse dot de
                   ` (5 preceding siblings ...)
  2005-02-23 21:27 ` cvs-commit at gcc dot gnu dot org
@ 2005-02-23 23:08 ` pinskia at gcc dot gnu dot org
  6 siblings, 0 replies; 9+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-02-23 23:08 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From pinskia at gcc dot gnu dot org  2005-02-23 18:39 -------
Fixed.

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


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


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

* [Bug rtl-optimization/20097] [4.0 regression] ICE in reload_cse_simplify_operands
  2005-02-20  6:50 [Bug rtl-optimization/20097] New: " schwab at suse dot de
                   ` (4 preceding siblings ...)
  2005-02-20 11:13 ` pinskia at gcc dot gnu dot org
@ 2005-02-23 21:27 ` cvs-commit at gcc dot gnu dot org
  2005-02-23 23:08 ` pinskia at gcc dot gnu dot org
  6 siblings, 0 replies; 9+ messages in thread
From: cvs-commit at gcc dot gnu dot org @ 2005-02-23 21:27 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From cvs-commit at gcc dot gnu dot org  2005-02-23 18:21 -------
Subject: Bug 20097

CVSROOT:	/cvs/gcc
Module name:	gcc
Changes by:	sayle@gcc.gnu.org	2005-02-23 18:20:53

Modified files:
	gcc            : ChangeLog simplify-rtx.c 

Log message:
	PR target/20018
	PR rtl-optimization/20097
	* simplify-rtx.c (simplify_relational_operation_1): Avoid creating
	BImode SUBREGs of SImode registers which confuse the ia64 backend.

Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/ChangeLog.diff?cvsroot=gcc&r1=2.7571&r2=2.7572
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/simplify-rtx.c.diff?cvsroot=gcc&r1=1.229&r2=1.230



-- 


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


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

* [Bug rtl-optimization/20097] [4.0 regression] ICE in reload_cse_simplify_operands
  2005-02-20  6:50 [Bug rtl-optimization/20097] New: " schwab at suse dot de
                   ` (3 preceding siblings ...)
  2005-02-20 11:09 ` pinskia at gcc dot gnu dot org
@ 2005-02-20 11:13 ` pinskia at gcc dot gnu dot org
  2005-02-23 21:27 ` cvs-commit at gcc dot gnu dot org
  2005-02-23 23:08 ` pinskia at gcc dot gnu dot org
  6 siblings, 0 replies; 9+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-02-20 11:13 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From pinskia at gcc dot gnu dot org  2005-02-20 00:09 -------
This looks like a reload (or a target reload) issue:
We have the following RTL:
(insn 4097 4096 4098 236 (set (reg:BI 2598)
        (and:BI (ne:BI (reg/v:SI 477 [ bNotLastFrame ])
                (const_int 0 [0x0]))
            (subreg:BI (reg:SI 2934) 0))) 66 {*cmpsi_and_0} (nil)
    (nil))

Note the subreg here.  We exand it to:
(insn 5994 4096 5995 236 (set (reg:SI 2 r2)        (reg:SI 131 f3 [2934])) 4 {*movsi_internal} (nil)    (nil)) 
(insn 5995 5994 5996 236 (set (reg:SI 262 p6)        (reg:SI 2 r2)) 4 {*movsi_internal} (nil)     (nil))
(insn 5996 5995 4097 236 (set (reg:SI 2 r2)
        (reg/v:SI 148 f20 [orig:477 bNotLastFrame ] [477])) 4 {*movsi_internal} (nil)     (nil))(insn 
4097 5996 4098 236 (set (reg:BI 262 p6 [2598])        (and:BI (ne:BI (reg:SI 2 r2)                 (const_int 0 
[0x0]))            (reg:BI 262 p6))) 66 {*cmpsi_and_0} (nil)     (nil))

So either we have a reload issue or we have a target issue.

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
     Ever Confirmed|                            |1
   Last reconfirmed|0000-00-00 00:00:00         |2005-02-20 00:09:20
               date|                            |


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


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

* [Bug rtl-optimization/20097] [4.0 regression] ICE in reload_cse_simplify_operands
  2005-02-20  6:50 [Bug rtl-optimization/20097] New: " schwab at suse dot de
                   ` (2 preceding siblings ...)
  2005-02-20 10:48 ` pinskia at gcc dot gnu dot org
@ 2005-02-20 11:09 ` pinskia at gcc dot gnu dot org
  2005-02-20 11:13 ` pinskia at gcc dot gnu dot org
                   ` (2 subsequent siblings)
  6 siblings, 0 replies; 9+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-02-20 11:09 UTC (permalink / raw)
  To: gcc-bugs



-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|pinskia at physics dot uc   |
                   |dot edu                     |


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


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

* [Bug rtl-optimization/20097] [4.0 regression] ICE in reload_cse_simplify_operands
  2005-02-20  6:50 [Bug rtl-optimization/20097] New: " schwab at suse dot de
  2005-02-20  7:37 ` [Bug rtl-optimization/20097] " schwab at suse dot de
  2005-02-20  7:42 ` schwab at suse dot de
@ 2005-02-20 10:48 ` pinskia at gcc dot gnu dot org
  2005-02-20 11:09 ` pinskia at gcc dot gnu dot org
                   ` (3 subsequent siblings)
  6 siblings, 0 replies; 9+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-02-20 10:48 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From pinskia at gcc dot gnu dot org  2005-02-19 23:16 -------
This seems more likely a target bug or a latent bug.

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


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


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

* [Bug rtl-optimization/20097] [4.0 regression] ICE in reload_cse_simplify_operands
  2005-02-20  6:50 [Bug rtl-optimization/20097] New: " schwab at suse dot de
  2005-02-20  7:37 ` [Bug rtl-optimization/20097] " schwab at suse dot de
@ 2005-02-20  7:42 ` schwab at suse dot de
  2005-02-20 10:48 ` pinskia at gcc dot gnu dot org
                   ` (4 subsequent siblings)
  6 siblings, 0 replies; 9+ messages in thread
From: schwab at suse dot de @ 2005-02-20  7:42 UTC (permalink / raw)
  To: gcc-bugs



-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|---                         |4.0.0


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


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

* [Bug rtl-optimization/20097] [4.0 regression] ICE in reload_cse_simplify_operands
  2005-02-20  6:50 [Bug rtl-optimization/20097] New: " schwab at suse dot de
@ 2005-02-20  7:37 ` schwab at suse dot de
  2005-02-20  7:42 ` schwab at suse dot de
                   ` (5 subsequent siblings)
  6 siblings, 0 replies; 9+ messages in thread
From: schwab at suse dot de @ 2005-02-20  7:37 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From schwab at suse dot de  2005-02-19 22:37 -------
Created an attachment (id=8236)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=8236&action=view)
Testcase


-- 


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


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

end of thread, other threads:[~2012-12-19 10:08 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <bug-20097-4@http.gcc.gnu.org/bugzilla/>
2012-12-19 10:07 ` [Bug rtl-optimization/20097] [4.0 regression] ICE in reload_cse_simplify_operands steven at gcc dot gnu.org
2012-12-19 10:08 ` steven at gcc dot gnu.org
2005-02-20  6:50 [Bug rtl-optimization/20097] New: " schwab at suse dot de
2005-02-20  7:37 ` [Bug rtl-optimization/20097] " schwab at suse dot de
2005-02-20  7:42 ` schwab at suse dot de
2005-02-20 10:48 ` pinskia at gcc dot gnu dot org
2005-02-20 11:09 ` pinskia at gcc dot gnu dot org
2005-02-20 11:13 ` pinskia at gcc dot gnu dot org
2005-02-23 21:27 ` cvs-commit at gcc dot gnu dot org
2005-02-23 23:08 ` pinskia 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).