[Bug c++/57416] internal compiler error: in gimple_expand_cfg, at cfgexpand.c:4575

daniel.kruegler at googlemail dot com gcc-bugzilla@gcc.gnu.org
Sat May 25 17:59:00 GMT 2013


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

Daniel Krügler <daniel.kruegler at googlemail dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |daniel.kruegler@googlemail.
                   |                            |com

--- Comment #1 from Daniel Krügler <daniel.kruegler at googlemail dot com> ---
In the gcc 4.9.0 trunk I see no ICE, only a compiler error. Of-course ICEs need
to be fixed, but I think the example code is notvalid C++11, because the
initialization of the member of the local classes Data odr-use the function
parameter p_parent_data according to 9.8 p1:

"[..] Declarations in a local class shall not odr-use (3.2) a variable with
automatic storage duration from an enclosing scope."


More information about the Gcc-bugs mailing list