[Bug tree-optimization/19516] missed optimization (bool)

pinskia at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Tue Jan 18 23:48:00 GMT 2005


------- Additional Comments From pinskia at gcc dot gnu dot org  2005-01-18 23:47 -------
Confirmed, the issue is that DOM does not recognizes that b = *a; if(b) ... c = *a; if (c) ... can be 
changed (note the lacking of the != 0 which would be required for int/char, etc.).

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
           Severity|normal                      |enhancement
             Status|UNCONFIRMED                 |NEW
     Ever Confirmed|                            |1
           Keywords|                            |alias, missed-optimization
   Last reconfirmed|0000-00-00 00:00:00         |2005-01-18 23:47:47
               date|                            |
            Summary|missed optimization         |missed optimization (bool)


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



More information about the Gcc-bugs mailing list