[Bug c++/64994] [5 Regression] Firefox build error: ICE: in cxx_eval_call_expression, at cp/constexpr.c:1353
trippels at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Tue Feb 10 11:35:00 GMT 2015
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64994
--- Comment #1 from Markus Trippelsdorf <trippels at gcc dot gnu.org> ---
markus@x4 test % cat nsGfxScrollFrame.ii
class TimeStamp {
public:
constexpr TimeStamp() : mValue() {}
int mValue;
};
class A {
class B;
A(bool);
};
class C {
TimeStamp mFadeBeginTime;
};
class A::B {
public:
B(int) {}
TimeStamp mPrevEventTime[1];
};
A::A(bool) {
new C;
B(0);
}
markus@x4 test % g++ -c --std=c++11 nsGfxScrollFrame.ii
nsGfxScrollFrame.ii: In constructor ‘A::B::B(int)’:
nsGfxScrollFrame.ii:16:10: in constexpr expansion of ‘TimeStamp()’
nsGfxScrollFrame.ii:16:10: internal compiler error: in
cxx_eval_call_expression, at cp/constexpr.c:1353
Reverting r220544 "fixes" the issue.
More information about the Gcc-bugs
mailing list