http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49352
Summary: [4.7 Regression] -fcompare-debug failure with -O2
-ftree-vectorize
Product: gcc
Version: 4.7.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: tree-optimization
AssignedTo: [email protected]
ReportedBy: [email protected]
CC: [email protected]
Host: x86_64-pc-linux-gnu
Target: x86_64-pc-linux-gnu
Created attachment 24481
--> http://gcc.gnu.org/bugzilla/attachment.cgi?id=24481
reduced testcase
Compiler output:
$ gcc -O2 -ftree-vectorize -fcompare-debug testcase.c
gcc: error: testcase.c: -fcompare-debug failure (length)
The code is not vectorized with -g.
Tested revisions:
r174860 - fail
4.6 r173059 - OK