[Bug c++/94186] [10 Regression] compiler incorrectly accepts a requires clause with predicate of non-bool type

jason at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Tue Mar 24 22:26:14 GMT 2020


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

Jason Merrill <jason at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|---                         |FIXED
             Status|ASSIGNED                    |RESOLVED

--- Comment #6 from Jason Merrill <jason at gcc dot gnu.org> ---
(In reply to Paolo Carlini from comment #3)
> Isn't this fixable by simply tweaking satisfy_atom to unconditionally issue
> the error?

Yes, but I thought we could do better. :)


More information about the Gcc-bugs mailing list