This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/57416] internal compiler error: in gimple_expand_cfg, at cfgexpand.c:4575
- From: "daniel.kruegler at googlemail dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Sat, 25 May 2013 17:59:06 +0000
- Subject: [Bug c++/57416] internal compiler error: in gimple_expand_cfg, at cfgexpand.c:4575
- Auto-submitted: auto-generated
- References: <bug-57416-4 at http dot gcc dot gnu dot org/bugzilla/>
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."