https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101237
Bug ID: 101237 Summary: HONOR_SIGNED_ZEROS (element_mode (t)) should be moved to just HONOR_SIGNED_ZEROS (t) Product: gcc Version: 12.0 Status: UNCONFIRMED Severity: enhancement Priority: P3 Component: middle-end Assignee: unassigned at gcc dot gnu.org Reporter: pinskia at gcc dot gnu.org Target Milestone: --- This was found really because I copied the code from fold-const.c to match.pd and there was a requested change as HONOR_SIGNED_ZEROS now handles tree types too. See https://gcc.gnu.org/pipermail/gcc-patches/2021-June/573811.html from a quick grep I find: fold-const.c: || HONOR_SIGNED_ZEROS (element_mode (type)) fold-const.c: && !HONOR_SIGNED_ZEROS (element_mode (type)) fold-const.c: && !HONOR_SIGNED_ZEROS (element_mode (type))) fold-const.c: && !HONOR_SIGNED_ZEROS (element_mode (type))) fold-const.c: if (!HONOR_SIGNED_ZEROS (element_mode (type)) fold-const.c: if (!HONOR_SIGNED_ZEROS (element_mode (type)) fold-const.c: if (!HONOR_SIGNED_ZEROS (element_mode (type)) fold-const.c: && !HONOR_SIGNED_ZEROS (element_mode (arg0)) fold-const.c: && !HONOR_SIGNED_ZEROS (element_mode (arg0)) fold-const.c: && !HONOR_SIGNED_ZEROS (element_mode (arg0)) fold-const.c: && !HONOR_SIGNED_ZEROS (element_mode (op1))) fold-const.c: && !HONOR_SIGNED_ZEROS (element_mode (op2))) fold-const.c: if (!HONOR_SIGNED_ZEROS (element_mode (type)))