This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug tree-optimization/53922] VRP: semantic conflict between range_includes_zero_p and value_inside_range
- From: "rguenth at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Wed, 11 Jul 2012 11:36:09 +0000
- Subject: [Bug tree-optimization/53922] VRP: semantic conflict between range_includes_zero_p and value_inside_range
- Auto-submitted: auto-generated
- References: <bug-53922-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53922
Richard Guenther <rguenth at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Keywords| |wrong-code
Status|UNCONFIRMED |ASSIGNED
Last reconfirmed| |2012-07-11
Component|middle-end |tree-optimization
AssignedTo|unassigned at gcc dot |rguenth at gcc dot gnu.org
|gnu.org |
Ever Confirmed|0 |1
--- Comment #4 from Richard Guenther <rguenth at gcc dot gnu.org> 2012-07-11 11:36:09 UTC ---
The issue is that range_includes_zero_p can not return "I don't know" and
dependent on the use the conservative answer is wrong.
Let me fix this.