This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug tree-optimization/56355] abs and multiplication
- From: "glisse at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Wed, 20 Mar 2013 16:19:33 +0000
- Subject: [Bug tree-optimization/56355] abs and multiplication
- Auto-submitted: auto-generated
- References: <bug-56355-4 at http dot gcc dot gnu dot org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56355
--- Comment #4 from Marc Glisse <glisse at gcc dot gnu.org> 2013-03-20 16:19:33 UTC ---
(In reply to comment #3)
> Jeff Law mentions that it would be good to add this "squares are nonnegative"
> information to VRP, not just tree_binary_nonnegative_warnv_p.
> http://gcc.gnu.org/ml/gcc-patches/2013-03/msg00690.html
Er, actually, since my patch, VRP does manage to deduce a non-negative range
for squares, although, sadly, when computing x*x, it doesn't manage to merge
the information from the interval of x and this non-negative property.