https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100903
Jakub Jelinek <jakub at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |jason at gcc dot gnu.org,
| |mpolacek at gcc dot gnu.org,
| |ppalka at gcc dot gnu.org
--- Comment #6 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
So, instead of adding a new compiler extension, couldn't we just add a hack for
this warning and temporarily disable the -Wzero-as-null-pointer-constant
warning
while doing convert_like_internal to std::__cmp_cat::__unspec convs->type, or
while build_over_call to the std::__cmp_cat::__unspec ctor?
Or add some attribute to that ctor which would cause the warning to be
temporarily disabled while handling its argument.