This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/64994] [5 Regression] Firefox build error: ICE: in cxx_eval_call_expression, at cp/constexpr.c:1353
- From: "trippels at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Tue, 10 Feb 2015 11:35:54 +0000
- Subject: [Bug c++/64994] [5 Regression] Firefox build error: ICE: in cxx_eval_call_expression, at cp/constexpr.c:1353
- Auto-submitted: auto-generated
- References: <bug-64994-4 at http dot gcc dot gnu dot org/bugzilla/>
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.