[Bug optimization/14617] [tree-ssa] suboptimal code ('0' <= c && c <= '9') ? c - '0' : 0
pinskia at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Wed Mar 17 16:03:00 GMT 2004
------- Additional Comments From pinskia at gcc dot gnu dot org 2004-03-17 16:03 -------
Confirmed, the issue here is a little more complated than the other PR, the problem is fold converts ('0'
<= c && c <= '9') into "(c - '0') <= 9u" but it converts the types to unsigned int as it wants to do an
unsigned comparision. The other issue since the subtracts is done in two different types it is not
recognized by either DOM or PRE.
--
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Ever Confirmed| |1
Last reconfirmed|0000-00-00 00:00:00 |2004-03-17 16:03:23
date| |
Target Milestone|--- |tree-ssa
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=14617
More information about the Gcc-bugs
mailing list