http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51004

--- Comment #2 from kennytm at gmail dot com 2011-11-07 16:36:37 UTC ---
Created attachment 25741
  --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=25741
The processed file that triggers the bug.

Reduced test case:

=====================================
struct CCC
{
    int x;
};

struct S
{
    ~S() {}
};

void init_from_tuples_impl(S* tpl)
{
    new CCC{ (S(*tpl), 0) };
}
=====================================
$ g++ -c  2.cpp

2.cpp: In function ‘void init_from_tuples_impl(S*)’:
2.cpp:13:9: warning: extended initializer lists only available with -std=c++0x
or -std=gnu++0x [enabled by default]
2.cpp:14:1: internal compiler error: in lower_stmt, at gimple-low.c:428
Please submit a full bug report,
with preprocessed source if appropriate.
See <https://bugs.archlinux.org/> for instructions.
=====================================


The .ii file is the same, attached for completeness.

Reply via email to