compile trivial program with
g++ -c -O1 ice.cxx
I'll append a machince-readable copy of the test case...
==============================================================
typedef unsigned long long U64;
typedef unsigned short U16;
typedef unsigned char U8;
U16 m_rh;
U8 m_gN_eQ;
void f()
{
U16 m_$localcse_rh_110_ ;
m_gN_eQ = ((m_rh) ? 0x1ULL
: static_cast<U64>(m_$localcse_rh_110_ != 0x3fff))
== 0xffffffffffULL;
}
--
Summary: ICE simplify_subreg:3813
Product: gcc
Version: 4.1.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: c++
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: apl at alum dot mit dot edu
GCC build triplet: i686-pc-linux-gnu
GCC host triplet: i686-pc-linux-gnu
GCC target triplet: i686-pc-linux-gnu
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=26961