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

            Bug ID: 102422
           Summary: Missing -Warray-bounds
           Product: gcc
           Version: unknown
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c
          Assignee: unassigned at gcc dot gnu.org
          Reporter: marco.morandini at polimi dot it
  Target Milestone: ---

Created attachment 51489
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=51489&action=edit
Code triggering the bug

The attached code raises a warning with gcc 4.5.3 when compiling with "-O2
-Wall", but misses it starting from from gcc 4.6.4 down to gcc 11.2.1.
We think it should raise the warning, but we are not language lawyers....

Reply via email to