[Bug c/8093] Wrong warning by gcc suggests adding dead code to end of function

pinskia at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Wed May 5 03:39:00 GMT 2004


------- Additional Comments From pinskia at gcc dot gnu dot org  2004-05-05 03:39 -------
I think for the tree-ssa, one of the problems is that the statement "(a != 1 && a != 2 && a != 
3 && a != 4)" is converted too early to be "((unsigned int)(a - 1) > 3)" by fold.

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
           Severity|normal                      |minor
   Last reconfirmed|2004-02-04 09:06:18         |2004-05-05 03:39:08
               date|                            |


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



More information about the Gcc-bugs mailing list