https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95832
--- Comment #7 from fiesh at zefix dot tv --- > Not possible to backport to gcc-10, because the front end support isn't there. That unfortunately means std::variant construction works differently in each of gcc-9, gcc-10 and master. Doesn't the new formulation basically revert the change for bool but not pick bool when given a pointer? If so, couldn't this be implemented without the front end considering "pointer to bool" narrowing by checking if the argument type is a pointer and, if so, not construct the bool?