[Bug c++/103700] Incomplete type not causing constraints to fail

pinskia at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Wed Dec 22 21:17:38 GMT 2021


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

--- Comment #5 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
(In reply to Patrick Palka from comment #4)
> Hmm, can't we just check COMPLETE_TYPE_P in pointer_int_sum directly?  Patch
> to that effect posted at
> https://gcc.gnu.org/pipermail/gcc-patches/2021-December/587300.html.

Yes that will work too. I was just quickly looking into how to fix it when I
write that comment really.


More information about the Gcc-bugs mailing list