[Bug c++/43508] ICE when compiling SSE code in non-debug mode

piotr dot wyderski at gmail dot com gcc-bugzilla@gcc.gnu.org
Wed Mar 24 13:24:00 GMT 2010



------- Comment #2 from piotr dot wyderski at gmail dot com  2010-03-24 13:24 -------
Compiled with:

$ /opt/gcc-trunk/bin/g++ -std=gnu++0x -Wno-pmf-conversions -fno-deduce-init-lis
t -O3 -DNDEBUG   -Wall -Werror -Wno-unused -msse -msse2 -march=native -mfpmath=
sse -fomit-frame-pointer -c -ggdb texture.cpp.i

However, it is very hard to replicate the error. It is fully deterministic,
but occurs on [gcc version 4.5.0 20100322 (experimental) (GCC)] -- a month
older compiler does not fail. It also doesn't happen without -ggdb. It requires
an SSE4.1-capable processor (mine is Core i7), but occurs only when
-march=native -- if I specify no march and explicitly enable -msse4, it also
doesn't fail. I don't know what exact command line without -march should look
like to cause the bug.


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43508



More information about the Gcc-bugs mailing list