This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug tree-optimization/52046] [4.7 Regression] ICE: verify_gimple failed: invalid operands in ternary operation with -O -fexceptions -fnon-call-exceptions -ftree-vectorize
- From: "jakub at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Mon, 30 Jan 2012 13:48:42 +0000
- Subject: [Bug tree-optimization/52046] [4.7 Regression] ICE: verify_gimple failed: invalid operands in ternary operation with -O -fexceptions -fnon-call-exceptions -ftree-vectorize
- Auto-submitted: auto-generated
- References: <bug-52046-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52046
--- Comment #3 from Jakub Jelinek <jakub at gcc dot gnu.org> 2012-01-30 13:48:42 UTC ---
Author: jakub
Date: Mon Jan 30 13:48:37 2012
New Revision: 183724
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=183724
Log:
PR tree-optimization/52046
* tree-vect-patterns.c (check_bool_pattern): Give up if
a comparison could throw.
* gcc.dg/pr52046.c: New test.
Added:
trunk/gcc/testsuite/gcc.dg/pr52046.c
Modified:
trunk/gcc/ChangeLog
trunk/gcc/testsuite/ChangeLog
trunk/gcc/tree-vect-patterns.c