[Bug c++/61482] ICE when compiling Firefox ESR 24 with r211488
trippels at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Sat Jun 14 17:57:00 GMT 2014
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61482
Markus Trippelsdorf <trippels at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|WAITING |NEW
Target Milestone|--- |4.10.0
--- Comment #6 from Markus Trippelsdorf <trippels at gcc dot gnu.org> ---
A bit further reduced:
markus@x4 tmp % cat start.ii
class A
{
public:
int m_fn1 ();
};
class B
{
void m_fn2 (const int &p1);
A mThebesLayerDataStack;
};
int b, c;
void B::m_fn2 (const int &p1)
{
if (c && b)
{
int i;
i = mThebesLayerDataStack.m_fn1 ();
for (; i >= 0;)
{
++i;
break;
}
--i;
for (; i >= 0; --i)
mThebesLayerDataStack.m_fn1 ();
}
}
More information about the Gcc-bugs
mailing list