This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/58549] [4.9 Regression] [c++1y] ICE with local function in function with auto parameter
- From: "mpolacek at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Fri, 27 Sep 2013 06:24:28 +0000
- Subject: [Bug c++/58549] [4.9 Regression] [c++1y] ICE with local function in function with auto parameter
- Auto-submitted: auto-generated
- References: <bug-58549-4 at http dot gcc dot gnu dot org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58549
Marek Polacek <mpolacek at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Last reconfirmed| |2013-09-27
CC| |mpolacek at gcc dot gnu.org
Summary|[c++1y] ICE with local |[4.9 Regression] [c++1y]
|function in function with |ICE with local function in
|auto parameter |function with auto
| |parameter
Ever confirmed|0 |1
--- Comment #1 from Marek Polacek <mpolacek at gcc dot gnu.org> ---
Confirmed with trunk, 4.8:
q.C:1:10: error: parameter declared âautoâ
void foo(auto)
^
Are these auto parameters really valid? What's their purpose?