[Bug c++/83911] [6/7/8 Regression] ICE with target attribute on constructor in gimplify_expr at gimplify.c:11321
jason at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Sun Feb 18 05:11:00 GMT 2018
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83911
--- Comment #2 from Jason Merrill <jason at gcc dot gnu.org> ---
Created attachment 43445
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=43445&action=edit
patch
The problem here is that we're substituting a dispatcher function for a
constructor, and the dispatcher function isn't marked as being a constructor.
This seems like a general issue that the dispatcher lacks all language-specific
information that might be helpful, but in this specific instance it's easy
enough to copy DECL_CXX_CONSTRUCTOR_P.
More information about the Gcc-bugs
mailing list