[Bug tree-optimization/21520] missing PRE opportunity with operand after operand

steven at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Wed May 11 23:22:00 GMT 2005


------- Additional Comments From steven at gcc dot gnu dot org  2005-05-11 23:22 -------
The casts one seems to be there because we don't look through casts: 
 
Created value VH.14 for (charD.1) 1 
Created value VH.15 for (intD.0) VH.14 
 
This means that for the first cast we find a fully_constant_expression here: 
1650                              eprime = fully_constant_expression (eprime); 
 
but not for the second. 
 
I haven't looked at the other test case yet. 
 
 

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
     Ever Confirmed|                            |1
   Last reconfirmed|0000-00-00 00:00:00         |2005-05-11 23:22:17
               date|                            |


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



More information about the Gcc-bugs mailing list