[Bug c++/80682] __is_trivially_constructible(void, int) returns true.
ville.voutilainen at gmail dot com
gcc-bugzilla@gcc.gnu.org
Tue May 9 11:13:00 GMT 2017
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80682
Ville Voutilainen <ville.voutilainen at gmail dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Last reconfirmed| |2017-05-09
Assignee|unassigned at gcc dot gnu.org |ville.voutilainen at gmail dot com
Ever confirmed|0 |1
--- Comment #1 from Ville Voutilainen <ville.voutilainen at gmail dot com> ---
I'll see what I can do. is_trivially_xible seems to return true here, dunno why
yet. I'll debug it. Chances are we merely need to treat void specially in that
function, because the functions it calls that check for conversions and
standard conversions are fine as is, because they have other callers and int is
certainly convertible to void.
More information about the Gcc-bugs
mailing list