[Bug c++/82148] [7/8 Regression] ICE in assign_temp, at function.c:968

jakub at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Wed Sep 27 10:35:00 GMT 2017


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

Jakub Jelinek <jakub at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |jakub at gcc dot gnu.org

--- Comment #3 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
The gimplifier is handed call to foo with argument of type Derived, the
conversion has been omitted.  As the call expects a type (in this case empty
class) passed by value, but the argument is one that should be passed by
invisible reference, this obviously crashes during expansion.


More information about the Gcc-bugs mailing list