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

Marek Polacek <mpolacek at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|---                         |7.5
            Summary|ICE on (invalid) C++11      |[7/8/9 Regression] ICE on
                   |code: tree check: expected  |(invalid) C++11 code: tree
                   |class ‘type’, have          |check: expected class
                   |‘exceptional’ (error_mark)  |‘type’, have ‘exceptional’
                   |in can_do_nrvo_p, at        |(error_mark) in
                   |cp/typeck.c:9361            |can_do_nrvo_p, at
                   |                            |cp/typeck.c:9361

--- Comment #2 from Marek Polacek <mpolacek at gcc dot gnu.org> ---
I think it is a regression because in the past we'd just give an error. 
Started with r197248.

Reply via email to