[Bug tree-optimization/58006] [4.8/4.9 Regression] ICE compiling VegaStrike with -ffast-math -ftree-parallelize-loops=2
glisse at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Sun Jul 28 11:45:00 GMT 2013
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58006
--- Comment #5 from Marc Glisse <glisse at gcc dot gnu.org> ---
extern "C" float sqrtf (float);
extern int a;
extern int b;
struct Vector {
float i;
float j;
float Magnitude() const {
return sqrtf( i*i+j*j );
}
};
void f(){
int i = a;
int end = b;
for (; i != end; ++i) {
float tmag = Vector().Magnitude();
}
}
More information about the Gcc-bugs
mailing list