[Bug middle-end/89543] Don't modify TREE_NO_WARNING during folding in place

pinskia at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Fri Dec 24 21:38:32 GMT 2021


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

Andrew Pinski <pinskia at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
   Last reconfirmed|                            |2021-12-24
     Ever confirmed|0                           |1
   Target Milestone|---                         |12.0

--- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
Fixed for GCC 12 by r12-1805-ge9e2bad7251477 which removes all uses of
TREE_NO_WARNING from fold-const.c and builtin* and move over to location based
warning supression system.

Except the usage in fold_checksum_tree was moved over too incorrectly and
should have been removed instead.


More information about the Gcc-bugs mailing list