https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115056
Sam James <sjames at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Blocks| |88443, 56456 Component|rtl-optimization |middle-end Keywords|wrong-code | Summary|[14/15 regression] |[14/15 regression] False |Miscompilation (also |positive |triggering |-Wstringop-overflow and |-Wstringop-overflow and |-Warray-bounds |-Warray-bounds warning) | |when -O2 or higher | --- Comment #11 from Sam James <sjames at gcc dot gnu.org> --- Coming back to this: have you actually seen unexpected results from runtime execution? (If so, please share what they were & what options you used to get them). The warning is a problem but it doesn't necessarily imply bad codegen. Some warnings have FPs based on the IR that gets generated. i.e. I think this is a FP warning bug instead. Referenced Bugs: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=56456 [Bug 56456] [meta-bug] bogus/missing -Warray-bounds https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88443 [Bug 88443] [meta-bug] bogus/missing -Wstringop-overflow warnings