[Bug tree-optimization/125885] False -Warray-bounds array subscript above array bounds with lookup table

thadhouse1 at gmail dot com gcc-bugzilla@gcc.gnu.org
Thu Jun 18 17:41:26 GMT 2026


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

Thad House <thadhouse1 at gmail dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #64778|0                           |1
        is obsolete|                            |

--- Comment #2 from Thad House <thadhouse1 at gmail dot com> ---
Created attachment 64780
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=64780&action=edit
Full repro

full.c was missing a save, so wouldn't compile due to fallthrough. This fixes
it.

This is the full code that repros, not just a minimal repro.


More information about the Gcc-bugs mailing list