[Bug tree-optimization/55955] New: ICE in optab_for_tree_code, at optabs.c:402
antoine.balestrat at gmail dot com
gcc-bugzilla@gcc.gnu.org
Sat Jan 12 12:10:00 GMT 2013
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55955
Bug #: 55955
Summary: ICE in optab_for_tree_code, at optabs.c:402
Classification: Unclassified
Product: gcc
Version: 4.8.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: tree-optimization
AssignedTo: unassigned@gcc.gnu.org
ReportedBy: antoine.balestrat@gmail.com
Hi ! Using GCC 4.8.0 as of 20130112 :
$ cat optab.c
int a, b;
void f(void)
{
for(; a; a++)
{
for(b = 0; b < 2; b++)
*((unsigned short*)(0x14524875)) %= 46;
}
}
$ xgcc -O2 -ftree-vectorize -w optab.c
optab.c: In function ‘f’:
optab.c:3:6: internal compiler error: in optab_for_tree_code, at optabs.c:402
void f(void)
^
0x827c81 optab_for_tree_code(tree_code, tree_node const*, optab_subtype)
../../srcdir/gcc/optabs.c:402
0xa8ba69 vectorizable_reduction(gimple_statement_d*, gimple_stmt_iterator*,
gimple_statement_d**, _slp_tree*)
../../srcdir/gcc/tree-vect-loop.c:4780
0xa806f5 vect_analyze_stmt(gimple_statement_d*, bool*, _slp_tree*)
../../srcdir/gcc/tree-vect-stmts.c:5704
0xa7f685 vect_analyze_stmt(gimple_statement_d*, bool*, _slp_tree*)
../../srcdir/gcc/tree-vect-stmts.c:5626
0x4cde84 vect_analyze_loop_operations
../../srcdir/gcc/tree-vect-loop.c:1443
0xa8a8ed vect_analyze_loop_2
../../srcdir/gcc/tree-vect-loop.c:1720
0xa8a8ed vect_analyze_loop(loop*)
../../srcdir/gcc/tree-vect-loop.c:1773
0xa9e60c vectorize_loops()
../../srcdir/gcc/tree-vectorizer.c:113
Please submit a full bug report,
with preprocessed source if appropriate.
Please include the complete backtrace with any bug report.
See <http://gcc.gnu.org/bugs.html> for instructions.
More information about the Gcc-bugs
mailing list