: normal
Priority: P3
Component: c++
Assignee: unassigned at gcc dot gnu.org
Reporter: mat at lcs dot mit.edu
template T identity(T x) { return x; }
void fail()
{
identity(0U);
identity(__builtin_bswap32(0));
}
$ ~/gcc-4.8.2-install/bin/g++ -c
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47011
--- Comment #3 from Mat Hostetter 2011-09-20 12:32:47
UTC ---
I am seeing the same crash with gcc 4.4.[3456], on x86_64. It works on 4.6.1.
I encountered this crash when simply upgrading to the latest boost (1.47.0),
which uses attribute optimiz
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47011
--- Comment #2 from Mat Hostetter 2011-09-20 12:31:56
UTC ---
Created attachment 25327
--> http://gcc.gnu.org/bugzilla/attachment.cgi?id=25327
bug showing ICE with -O, incorrect code without optimization