[Bug middle-end/68983] [6 Regression] ICE: in store_field, at expr.c:6659
lucdanton at free dot fr
gcc-bugzilla@gcc.gnu.org
Thu Jan 7 06:17:00 GMT 2016
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68983
--- Comment #8 from lucdanton at free dot fr ---
(In reply to Jason Merrill from comment #7)
> (In reply to lucdanton from comment #6)
> > I've independently run into this bug and applying this patch to HEAD doesn't
> > help on my end, the same ICE happens (except it is now pointing to line 6660 of
> > course).
>
> Good to know. Please attach a testcase?
Compiled with: g++-trunk -std=c++11 main.cpp
class A {
public:
A m_fn1();
A(A const &);
int *L;
int ref;
};
struct B : A {
using base_type = A;
B();
};
B::B() : base_type((0, m_fn1())) {}
More information about the Gcc-bugs
mailing list