http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46172
Summary: ICE: in expand_widen_pattern_expr, at optabs.c:522
with -ftree-vectorize -fno-tree-dce
Product: gcc
Version: 4.6.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: tree-optimization
AssignedTo: [email protected]
ReportedBy: [email protected]
Created attachment 22152
--> http://gcc.gnu.org/bugzilla/attachment.cgi?id=22152
reduced testcase
Output - 4.6 (trunk):
$ gcc -ftree-vectorize -O -fno-tree-dce pr46172.c
pr46172.c: In function 'foo':
pr46172.c:3:5: internal compiler error: in expand_widen_pattern_expr, at
optabs.c:522
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.
Output - 4.5:
$ gcc -ftree-vectorize -O -fno-tree-dce pr46172.c
pr46172.c: In function 'foo':
pr46172.c:3:5: internal compiler error: in expand_expr_real_2, at expr.c:8275
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.
Output - 4.4:
$ gcc -ftree-vectorize -O -fno-tree-dce pr46172.c
pr46172.c: In function 'foo':
pr46172.c:3: internal compiler error: in c_expand_expr, at c-common.c:5015
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.
Tested revisions:
r165915 - crash
4.5 r165781 - crash
4.4 r165781 - crash
4.4 r149995 - crash