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++/58549] [4.9 Regression] [c++1y] ICE with local function in function with auto parameter


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?

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