This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/58548] [4.9 Regression] [c++1y] ICE with local struct in function with auto parameter
- 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: Sun, 29 Sep 2013 17:23:13 +0000
- Subject: [Bug c++/58548] [4.9 Regression] [c++1y] ICE with local struct in function with auto parameter
- Auto-submitted: auto-generated
- References: <bug-58548-4 at http dot gcc dot gnu dot org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58548
Daniel KrÃgler <daniel.kruegler at googlemail dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |daniel.kruegler@googlemail.
| |com
--- Comment #2 from Daniel KrÃgler <daniel.kruegler at googlemail dot com> ---
This is invalid code. The auto placeholder in the position of a parameter is
only valid for polymorphic lambda closures.