[Bug tree-optimization/50780] New: [4.7 Regression] ICE: verify_gimple failed: invalid operands in ternary operation with -ftree-vectorize -fnon-call-exceptions

zsojka at seznam dot cz gcc-bugzilla@gcc.gnu.org
Tue Oct 18 19:41:00 GMT 2011


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50780

             Bug #: 50780
           Summary: [4.7 Regression] ICE: verify_gimple failed: invalid
                    operands in ternary operation with -ftree-vectorize
                    -fnon-call-exceptions
    Classification: Unclassified
           Product: gcc
           Version: 4.7.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: tree-optimization
        AssignedTo: unassigned@gcc.gnu.org
        ReportedBy: zsojka@seznam.cz
              Host: x86_64-pc-linux-gnu
            Target: x86_64-pc-linux-gnu


Created attachment 25548
  --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=25548
reduced testcase (reduced from gcc.dg/vect/vect-cond-9.c)

Compiler output:
$ gcc -O -ftree-vectorize -fexceptions -fnon-call-exceptions
testcase.ctestcase.c: In function 'foo':
testcase.c:5:1: error: invalid operands in ternary operation
x_2 = D.2740_5 < D.2741_7 ? -1 : 0;

testcase.c:5:1: error: invalid operands in ternary operation
y_3 = D.2747_13 < D.2748_15 ? -1 : 0;

testcase.c:5:1: internal compiler error: verify_gimple failed
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.

Tested revisions:
r180121 - crash
r178498 - crash
4.6 r177922 - OK



More information about the Gcc-bugs mailing list