[Bug tree-optimization/52969] ICE in in get_expr_operands, at tree-ssa-operands.c:1035 with -ftree-loop-if-convert-stores
markus at trippelsdorf dot de
gcc-bugzilla@gcc.gnu.org
Fri Apr 13 09:37:00 GMT 2012
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52969
Markus Trippelsdorf <markus at trippelsdorf dot de> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |markus at trippelsdorf dot
| |de
--- Comment #1 from Markus Trippelsdorf <markus at trippelsdorf dot de> 2012-04-13 09:37:05 UTC ---
markus@x4 tmp % cat test.cpp
#include <vector>
int a, b;
void foo (std::vector<float> &cluster) {
int j;
float xsum[0];
for (; a ; ++j) {
xsum[j] = cluster[j];
if (xsum[j] > 0)
xsum[j] = 0;
}
if (xsum[0])
b = 0;
}
markus@x4 tmp % gcc test.cpp -std=c++0x -ftree-loop-if-convert-stores -O1
test.cpp: In function ‘void foo(std::vector<float>&)’:
test.cpp:3:6: internal compiler error: in get_expr_operands, at
tree-ssa-operands.c:1035
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.
More information about the Gcc-bugs
mailing list