[Bug tree-optimization/15618] Missed bool optimization

pinskia at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Sun May 1 17:29:00 GMT 2005


------- Additional Comments From pinskia at gcc dot gnu dot org  2005-05-01 17:29 -------
I have a fix which I am testing.  One change to fold_binary to fold "bool_var != 0" to bool_var and one to 
fold_widened_comparison to treat BOOLEAN_TYPE like INTEGER_TYPE.

This improves the gimplification process for PR8361 so we get about 4 less statements.  And it lows the 
memory usage a little.

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
         AssignedTo|unassigned at gcc dot gnu   |pinskia at gcc dot gnu dot
                   |dot org                     |org
             Status|NEW                         |ASSIGNED


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



More information about the Gcc-bugs mailing list