[Bug middle-end/122068] Add -fstrict-bool, -fno-strict-bool={truncate,nonzero} option
pinskia at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Fri Sep 26 10:17:47 GMT 2025
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=122068
--- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
The only problem with doing at expand phase is we might be loading via byte for
bools, e.g vectorization.
So doing at the front-end in gimplification or an early pass will get away from
that issue.
More information about the Gcc-bugs
mailing list