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

--- Comment #4 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
(In reply to Richard Biener from comment #3)
> Is that the same as hardbool?

No. Hardbool traps when the value is neither true or false value.


>From the patch
(https://patchwork.sourceware.org/project/gcc/patch/[email protected]/#147717)
that introduces hardbool:
> trapping if the value is neither true nor false,

And also unlike hardbool, this applies to all boolean types.

Reply via email to