This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug tree-optimization/77387] Value range not computed in some cases for ABS_EXPR
- From: "pinskia at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Fri, 26 Aug 2016 02:23:40 +0000
- Subject: [Bug tree-optimization/77387] Value range not computed in some cases for ABS_EXPR
- Auto-submitted: auto-generated
- References: <bug-77387-4@http.gcc.gnu.org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77387
Andrew Pinski <pinskia at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Keywords| |missed-optimization
--- Comment #2 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
TYPE_UNSIGNED here is most likely not the correct check. TYPE_OVERFLOW_WRAPS
is the more correct one so for -fwrapv, you get the check still.