This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug tree-optimization/52631] [4.6/4.7/4.8 Regression] VN does not use simplified expression for lookup
- 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: Tue, 20 Mar 2012 11:13:57 +0000
- Subject: [Bug tree-optimization/52631] [4.6/4.7/4.8 Regression] VN does not use simplified expression for lookup
- Auto-submitted: auto-generated
- References: <bug-52631-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52631
--- Comment #3 from Richard Guenther <rguenth at gcc dot gnu.org> 2012-03-20 11:13:57 UTC ---
Hmm, but then you'd pessimize the case where b_2 & 1 were available? Thus,
don't you need to do the lookup with the original expression anyway if the
lookup for the simplified expression fails? Oh, and doesn't the testcase
show a missed canonicalization?