This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug tree-optimization/52448] [4.4/4.5/4.6/4.7 Regression] cselim broken with calls
- From: "matz at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Thu, 01 Mar 2012 12:56:40 +0000
- Subject: [Bug tree-optimization/52448] [4.4/4.5/4.6/4.7 Regression] cselim broken with calls
- Auto-submitted: auto-generated
- References: <bug-52448-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52448
--- Comment #3 from Michael Matz <matz at gcc dot gnu.org> 2012-03-01 12:56:40 UTC ---
Created attachment 26802
--> http://gcc.gnu.org/bugzilla/attachment.cgi?id=26802
candidate fix
This fixes the problem by remembering the last seen call and checking if
it's before or after the candidate stmt that might make us non-trapping.
It'll conflict with the patch from PR 52445 for now.