http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54655
Bug #: 54655
Summary: [4.8 Regression] ICE in remap_gimple_stmt, at
tree-inline.c:1468
Classification: Unclassified
Product: gcc
Version: 4.8.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: tree-optimization
AssignedTo: [email protected]
ReportedBy: [email protected]
During building of Firefox I get:
/var/tmp/mozilla-central/js/src/ion/IonBuilder.cpp: In member function ‘bool
js::ion::IonBuilder::jsop_getprop(js::HandlePropertyName)’:
/var/tmp/mozilla-central/js/src/ion/IonBuilder.cpp:5830:70: internal compiler
error: in remap_gimple_stmt, at tree-inline.c:1468
&isKnownConstant, &testObject))
^
Please submit a full bug report,
with preprocessed source if appropriate.
Reduced:
markus@x4 tmp % cat test.ii
extern "C" class A
{
};
template <typename T> class B:A
{
public:
B (int *, T);
~B ()
{
}
};
bool a;
inline void
fn1 ()
{
switch (0)
case 0:
{
B <int*> b (0, 0);
if (a)
break;
}
}
void
fn2 ()
{
fn1 ();
}
markus@x4 tmp % g++ -O1 -c test.ii
test.ii: In function ‘void fn2()’:
test.ii:29:11: internal compiler error: in remap_gimple_stmt, at
tree-inline.c:1468
fn1 ();
^
Please submit a full bug report,