[Bug rtl-optimization/20097] [4.0 regression] ICE in reload_cse_simplify_operands

2012-12-19 Thread steven at gcc dot gnu.org


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.


[Bug rtl-optimization/20097] [4.0 regression] ICE in reload_cse_simplify_operands

2012-12-19 Thread steven at gcc dot gnu.org


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. ***


[Bug rtl-optimization/20097] [4.0 regression] ICE in reload_cse_simplify_operands

2005-02-23 Thread cvs-commit at gcc dot gnu dot org

--- 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: [EMAIL PROTECTED]   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=gccr1=2.7571r2=2.7572
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/simplify-rtx.c.diff?cvsroot=gccr1=1.229r2=1.230



-- 


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


[Bug rtl-optimization/20097] [4.0 regression] ICE in reload_cse_simplify_operands

2005-02-23 Thread pinskia at gcc dot gnu dot org

--- 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


[Bug rtl-optimization/20097] [4.0 regression] ICE in reload_cse_simplify_operands

2005-02-19 Thread schwab at suse dot de

--- 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=8236action=view)
Testcase


-- 


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


[Bug rtl-optimization/20097] [4.0 regression] ICE in reload_cse_simplify_operands

2005-02-19 Thread schwab at suse dot de


-- 
   What|Removed |Added

   Target Milestone|--- |4.0.0


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


[Bug rtl-optimization/20097] [4.0 regression] ICE in reload_cse_simplify_operands

2005-02-19 Thread pinskia at gcc dot gnu dot org

--- 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


[Bug rtl-optimization/20097] [4.0 regression] ICE in reload_cse_simplify_operands

2005-02-19 Thread pinskia at gcc dot gnu dot org


-- 
   What|Removed |Added

 CC|pinskia at physics dot uc   |
   |dot edu |


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


[Bug rtl-optimization/20097] [4.0 regression] ICE in reload_cse_simplify_operands

2005-02-19 Thread pinskia at gcc dot gnu dot org

--- 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|-00-00 00:00:00 |2005-02-20 00:09:20
   date||


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