c-c++-common/Warray-bounds.c: Fix excess warnings on LLP64
authorJonathan Yong <10walls@gmail.com>
Mon, 27 Feb 2023 10:20:52 +0000 (10:20 +0000)
committerJonathan Yong <10walls@gmail.com>
Fri, 31 Mar 2023 04:08:25 +0000 (04:08 +0000)
commit65dd42d2c3dac76afc26228750821dd05e75fca8
tree6d62184be55220f5d13dfeef5eb149f91c832bb9
parentfe42e7fe119159f7443dbe68189e52891dc0148e
c-c++-common/Warray-bounds.c: Fix excess warnings on LLP64

Excess errors on x86_64-w64-mingw32:
/home/user/p/gcc/src/gcc-git/gcc/testsuite/c-c++-common/Warray-bounds.c:50:3: warning: array subscript 4611686018427387902 is above array bounds of 'struct S16[]' [-Warray-bounds=]
/home/user/p/gcc/src/gcc-git/gcc/testsuite/c-c++-common/Warray-bounds.c:55:3: warning: array subscript 4611686018427387902 is above array bounds of 'struct S16[]' [-Warray-bounds=]
/home/user/p/gcc/src/gcc-git/gcc/testsuite/c-c++-common/Warray-bounds.c:90:3: warning: array subscript 658812288346769699 is above array bounds of 'struct S16[][7]' [-Warray-bounds=]

gcc/testsuite/ChangeLog:

* c-c++-common/Warray-bounds.c: Fix excess warnings on
LLP64.

Signed-off-by: Jonathan Yong <10walls@gmail.com>
gcc/testsuite/c-c++-common/Warray-bounds.c