This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


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."

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]