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++/58566] [c++11] ICE with invalid expression in lambda body


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=58566

Ville Voutilainen <ville.voutilainen at gmail dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |ASSIGNED
   Last reconfirmed|                            |2015-10-11
                 CC|                            |ville.voutilainen at gmail dot com
           Assignee|unassigned at gcc dot gnu.org      |ville.voutilainen at gmail dot com
     Ever confirmed|0                           |1

--- Comment #3 from Ville Voutilainen <ville.voutilainen at gmail dot com> ---
Looks like this should be fixed by changing from void_type_node to
error_mark_node in lambda_return_type() when it diagnoses an incomplete
type. I'll see whether that causes any regressions.


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