https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88857

--- Comment #4 from Marek Polacek <mpolacek at gcc dot gnu.org> ---
With the modified testcase the ICE started with r173679:

$ ./cc1plus.173678 -quiet ~/k.C -std=c++0x
k.C: In function ‘void g()’:
k.C:11:7: error: invalid initialization of reference of type ‘const Foo&’ from
expression of type ‘<brace-enclosed initializer list>’
k.C:6:6: error: in passing argument 1 of ‘void f(const Foo&, int)’

$ ./cc1plus.173679 -quiet ~/k.C -std=c++0x
k.C: In function ‘void g()’:
k.C:11:7: internal compiler error: in cxx_eval_bare_aggregate, at
cp/semantics.c:6539
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.

Reply via email to