From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 5DD73385117F; Fri, 29 Jul 2022 17:43:12 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 5DD73385117F From: "danglin at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/106480] New: FAIL: gcc.dg/Warray-bounds-48.c pr102706 (test for warnings, line 33) Date: Fri, 29 Jul 2022 17:43:12 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: tree-optimization X-Bugzilla-Version: 13.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: danglin at gcc dot gnu.org X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter target_milestone cf_gcchost cf_gcctarget cf_gccbuild Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: gcc-bugs@gcc.gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gcc-bugs mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 29 Jul 2022 17:43:12 -0000 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D106480 Bug ID: 106480 Summary: FAIL: gcc.dg/Warray-bounds-48.c pr102706 (test for warnings, line 33) Product: gcc Version: 13.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: tree-optimization Assignee: unassigned at gcc dot gnu.org Reporter: danglin at gcc dot gnu.org Target Milestone: --- Host: hppa*-*-linux* Target: hppa*-*-linux* Build: hppa*-*-linux* FAIL: gcc.dg/Warray-bounds-48.c pr102706 (test for warnings, line 33) FAIL: gcc.dg/Warray-bounds-48.c pr102706 (test for warnings, line 133) spawn -ignore SIGHUP /home/dave/gnu/gcc/objdir/gcc/xgcc -B/home/dave/gnu/gcc/objdir/gcc/ /home/dave/gnu/gcc/gcc/gcc/testsuite/gcc.dg/Warray-bounds-48.c -fdiagnostics-plain-output -O2 -Wall -S -o Warray-bounds-48.s In function 'warn_ax_local', inlined from 'test_ax' at /home/dave/gnu/gcc/gcc/gcc/testsuite/gcc.dg/Warray-bounds-48.c:63:5: /home/dave/gnu/gcc/gcc/gcc/testsuite/gcc.dg/Warray-bounds-48.c:22:8: warnin= g: array subscript 0 is outside array bounds of 'int16_t[]' {aka 'short int[]'} [-Warray-bounds] /home/dave/gnu/gcc/gcc/gcc/testsuite/gcc.dg/Warray-bounds-48.c: In function 'test_ax': /home/dave/gnu/gcc/gcc/gcc/testsuite/gcc.dg/Warray-bounds-48.c:17:11: note: while referencing 'ax' /home/dave/gnu/gcc/gcc/gcc/testsuite/gcc.dg/Warray-bounds-48.c:62:15: note: defined here 'sax' In function 'warn_ax_local', inlined from 'test_ax' at /home/dave/gnu/gcc/gcc/gcc/testsuite/gcc.dg/Warray-bounds-48.c:63:5: /home/dave/gnu/gcc/gcc/gcc/testsuite/gcc.dg/Warray-bounds-48.c:23:8: warnin= g: array subscript 1 is outside array bounds of 'int16_t[]' {aka 'short int[]'} [-Warray-bounds] /home/dave/gnu/gcc/gcc/gcc/testsuite/gcc.dg/Warray-bounds-48.c: In function 'test_ax': /home/dave/gnu/gcc/gcc/gcc/testsuite/gcc.dg/Warray-bounds-48.c:17:11: note: while referencing 'ax' /home/dave/gnu/gcc/gcc/gcc/testsuite/gcc.dg/Warray-bounds-48.c:62:15: note: defined here 'sax' In function 'warn_ax_local_buf', inlined from 'test_ax' at /home/dave/gnu/gcc/gcc/gcc/testsuite/gcc.dg/Warray-bounds-48.c:77:5: /home/dave/gnu/gcc/gcc/gcc/testsuite/gcc.dg/Warray-bounds-48.c:35:8: warnin= g: array subscript 2 is above array bounds of 'int16_t[]' {aka 'short int[]'} [-Warray-bounds] /home/dave/gnu/gcc/gcc/gcc/testsuite/gcc.dg/Warray-bounds-48.c: In function 'test_ax': /home/dave/gnu/gcc/gcc/gcc/testsuite/gcc.dg/Warray-bounds-48.c:17:11: note: while referencing 'ax' In function 'warn_ax_local_buf', inlined from 'test_ax' at /home/dave/gnu/gcc/gcc/gcc/testsuite/gcc.dg/Warray-bounds-48.c:77:5: /home/dave/gnu/gcc/gcc/gcc/testsuite/gcc.dg/Warray-bounds-48.c:36:8: warnin= g: array subscript 3 is above array bounds of 'int16_t[]' {aka 'short int[]'} [-Warray-bounds] /home/dave/gnu/gcc/gcc/gcc/testsuite/gcc.dg/Warray-bounds-48.c: In function 'test_ax': /home/dave/gnu/gcc/gcc/gcc/testsuite/gcc.dg/Warray-bounds-48.c:17:11: note: while referencing 'ax' In function 'warn_ax_local_buf', inlined from 'test_ax' at /home/dave/gnu/gcc/gcc/gcc/testsuite/gcc.dg/Warray-bounds-48.c:77:5: /home/dave/gnu/gcc/gcc/gcc/testsuite/gcc.dg/Warray-bounds-48.c:37:8: warnin= g: array subscript 4 is above array bounds of 'int16_t[]' {aka 'short int[]'} [-Warray-bounds] /home/dave/gnu/gcc/gcc/gcc/testsuite/gcc.dg/Warray-bounds-48.c: In function 'test_ax': /home/dave/gnu/gcc/gcc/gcc/testsuite/gcc.dg/Warray-bounds-48.c:17:11: note: while referencing 'ax' In function 'warn_ax_extern_buf', inlined from 'test_ax' at /home/dave/gnu/gcc/gcc/gcc/testsuite/gcc.dg/Warray-bounds-48.c:85:5: /home/dave/gnu/gcc/gcc/gcc/testsuite/gcc.dg/Warray-bounds-48.c:44:8: warnin= g: array subscript 3 is above array bounds of 'int16_t[]' {aka 'short int[]'} [-Warray-bounds] /home/dave/gnu/gcc/gcc/gcc/testsuite/gcc.dg/Warray-bounds-48.c: In function 'test_ax': /home/dave/gnu/gcc/gcc/gcc/testsuite/gcc.dg/Warray-bounds-48.c:17:11: note: while referencing 'ax' In function 'warn_ax_extern_buf', inlined from 'test_ax' at /home/dave/gnu/gcc/gcc/gcc/testsuite/gcc.dg/Warray-bounds-48.c:85:5: /home/dave/gnu/gcc/gcc/gcc/testsuite/gcc.dg/Warray-bounds-48.c:45:8: warnin= g: array subscript 4 is above array bounds of 'int16_t[]' {aka 'short int[]'} [-Warray-bounds] /home/dave/gnu/gcc/gcc/gcc/testsuite/gcc.dg/Warray-bounds-48.c: In function 'test_ax': /home/dave/gnu/gcc/gcc/gcc/testsuite/gcc.dg/Warray-bounds-48.c:17:11: note: while referencing 'ax' In function 'warn_ax_extern_buf', inlined from 'test_ax' at /home/dave/gnu/gcc/gcc/gcc/testsuite/gcc.dg/Warray-bounds-48.c:85:5: /home/dave/gnu/gcc/gcc/gcc/testsuite/gcc.dg/Warray-bounds-48.c:46:8: warnin= g: array subscript 5 is above array bounds of 'int16_t[]' {aka 'short int[]'} [-Warray-bounds] /home/dave/gnu/gcc/gcc/gcc/testsuite/gcc.dg/Warray-bounds-48.c: In function 'test_ax': /home/dave/gnu/gcc/gcc/gcc/testsuite/gcc.dg/Warray-bounds-48.c:17:11: note: while referencing 'ax' In function 'warn_a0_local', inlined from 'test_a0' at /home/dave/gnu/gcc/gcc/gcc/testsuite/gcc.dg/Warray-bounds-48.c:163:5: /home/dave/gnu/gcc/gcc/gcc/testsuite/gcc.dg/Warray-bounds-48.c:121:8: warni= ng: array subscript 0 is outside array bounds of 'int16_t[0]' {aka 'short int[]= '} [-Warray-bounds] /home/dave/gnu/gcc/gcc/gcc/testsuite/gcc.dg/Warray-bounds-48.c: In function 'test_a0': /home/dave/gnu/gcc/gcc/gcc/testsuite/gcc.dg/Warray-bounds-48.c:116:11: note: while referencing 'a0' /home/dave/gnu/gcc/gcc/gcc/testsuite/gcc.dg/Warray-bounds-48.c:162:15: note: defined here 'sa0' In function 'warn_a0_local', inlined from 'test_a0' at /home/dave/gnu/gcc/gcc/gcc/testsuite/gcc.dg/Warray-bounds-48.c:163:5: /home/dave/gnu/gcc/gcc/gcc/testsuite/gcc.dg/Warray-bounds-48.c:122:8: warni= ng: array subscript 1 is outside array bounds of 'int16_t[0]' {aka 'short int[]= '} [-Warray-bounds] /home/dave/gnu/gcc/gcc/gcc/testsuite/gcc.dg/Warray-bounds-48.c: In function 'test_a0': /home/dave/gnu/gcc/gcc/gcc/testsuite/gcc.dg/Warray-bounds-48.c:116:11: note: while referencing 'a0' /home/dave/gnu/gcc/gcc/gcc/testsuite/gcc.dg/Warray-bounds-48.c:162:15: note: defined here 'sa0' In function 'warn_a0_extern', inlined from 'test_a0' at /home/dave/gnu/gcc/gcc/gcc/testsuite/gcc.dg/Warray-bounds-48.c:170:5: /home/dave/gnu/gcc/gcc/gcc/testsuite/gcc.dg/Warray-bounds-48.c:127:8: warni= ng: array subscript 0 is outside array bounds of 'int16_t[0]' {aka 'short int[]= '} [-Warray-bounds] /home/dave/gnu/gcc/gcc/gcc/testsuite/gcc.dg/Warray-bounds-48.c: In function 'test_a0': /home/dave/gnu/gcc/gcc/gcc/testsuite/gcc.dg/Warray-bounds-48.c:116:11: note: while referencing 'a0' /home/dave/gnu/gcc/gcc/gcc/testsuite/gcc.dg/Warray-bounds-48.c:169:17: note: defined here 'xsa0' In function 'warn_a0_extern', inlined from 'test_a0' at /home/dave/gnu/gcc/gcc/gcc/testsuite/gcc.dg/Warray-bounds-48.c:170:5: /home/dave/gnu/gcc/gcc/gcc/testsuite/gcc.dg/Warray-bounds-48.c:128:8: warni= ng: array subscript 1 is outside array bounds of 'int16_t[0]' {aka 'short int[]= '} [-Warray-bounds] /home/dave/gnu/gcc/gcc/gcc/testsuite/gcc.dg/Warray-bounds-48.c: In function 'test_a0': /home/dave/gnu/gcc/gcc/gcc/testsuite/gcc.dg/Warray-bounds-48.c:116:11: note: while referencing 'a0' /home/dave/gnu/gcc/gcc/gcc/testsuite/gcc.dg/Warray-bounds-48.c:169:17: note: defined here 'xsa0' In function 'warn_a0_local_buf', inlined from 'test_a0' at /home/dave/gnu/gcc/gcc/gcc/testsuite/gcc.dg/Warray-bounds-48.c:177:5: /home/dave/gnu/gcc/gcc/gcc/testsuite/gcc.dg/Warray-bounds-48.c:135:8: warni= ng: array subscript 2 is above array bounds of 'int16_t[0]' {aka 'short int[]'} [-Warray-bounds] /home/dave/gnu/gcc/gcc/gcc/testsuite/gcc.dg/Warray-bounds-48.c: In function 'test_a0': /home/dave/gnu/gcc/gcc/gcc/testsuite/gcc.dg/Warray-bounds-48.c:116:11: note: while referencing 'a0' In function 'warn_a0_local_buf', inlined from 'test_a0' at /home/dave/gnu/gcc/gcc/gcc/testsuite/gcc.dg/Warray-bounds-48.c:177:5: /home/dave/gnu/gcc/gcc/gcc/testsuite/gcc.dg/Warray-bounds-48.c:136:8: warni= ng: array subscript 3 is above array bounds of 'int16_t[0]' {aka 'short int[]'} [-Warray-bounds] /home/dave/gnu/gcc/gcc/gcc/testsuite/gcc.dg/Warray-bounds-48.c: In function 'test_a0': /home/dave/gnu/gcc/gcc/gcc/testsuite/gcc.dg/Warray-bounds-48.c:116:11: note: while referencing 'a0' In function 'warn_a0_local_buf', inlined from 'test_a0' at /home/dave/gnu/gcc/gcc/gcc/testsuite/gcc.dg/Warray-bounds-48.c:177:5: /home/dave/gnu/gcc/gcc/gcc/testsuite/gcc.dg/Warray-bounds-48.c:137:8: warni= ng: array subscript 4 is above array bounds of 'int16_t[0]' {aka 'short int[]'} [-Warray-bounds] /home/dave/gnu/gcc/gcc/gcc/testsuite/gcc.dg/Warray-bounds-48.c: In function 'test_a0': /home/dave/gnu/gcc/gcc/gcc/testsuite/gcc.dg/Warray-bounds-48.c:116:11: note: while referencing 'a0' In function 'warn_a0_extern_buf', inlined from 'test_a0' at /home/dave/gnu/gcc/gcc/gcc/testsuite/gcc.dg/Warray-bounds-48.c:185:5: /home/dave/gnu/gcc/gcc/gcc/testsuite/gcc.dg/Warray-bounds-48.c:144:8: warni= ng: array subscript 3 is above array bounds of 'int16_t[0]' {aka 'short int[]'} [-Warray-bounds] /home/dave/gnu/gcc/gcc/gcc/testsuite/gcc.dg/Warray-bounds-48.c: In function 'test_a0': /home/dave/gnu/gcc/gcc/gcc/testsuite/gcc.dg/Warray-bounds-48.c:116:11: note: while referencing 'a0' In function 'warn_a0_extern_buf', inlined from 'test_a0' at /home/dave/gnu/gcc/gcc/gcc/testsuite/gcc.dg/Warray-bounds-48.c:185:5: /home/dave/gnu/gcc/gcc/gcc/testsuite/gcc.dg/Warray-bounds-48.c:145:8: warni= ng: array subscript 4 is above array bounds of 'int16_t[0]' {aka 'short int[]'} [-Warray-bounds] /home/dave/gnu/gcc/gcc/gcc/testsuite/gcc.dg/Warray-bounds-48.c: In function 'test_a0': /home/dave/gnu/gcc/gcc/gcc/testsuite/gcc.dg/Warray-bounds-48.c:116:11: note: while referencing 'a0' In function 'warn_a0_extern_buf', inlined from 'test_a0' at /home/dave/gnu/gcc/gcc/gcc/testsuite/gcc.dg/Warray-bounds-48.c:185:5: /home/dave/gnu/gcc/gcc/gcc/testsuite/gcc.dg/Warray-bounds-48.c:146:8: warni= ng: array subscript 5 is above array bounds of 'int16_t[0]' {aka 'short int[]'} [-Warray-bounds] /home/dave/gnu/gcc/gcc/gcc/testsuite/gcc.dg/Warray-bounds-48.c: In function 'test_a0': /home/dave/gnu/gcc/gcc/gcc/testsuite/gcc.dg/Warray-bounds-48.c:116:11: note: while referencing 'a0' In function 'warn_a1_local_noinit', inlined from 'test_a1' at /home/dave/gnu/gcc/gcc/gcc/testsuite/gcc.dg/Warray-bounds-48.c:268:5: /home/dave/gnu/gcc/gcc/gcc/testsuite/gcc.dg/Warray-bounds-48.c:222:8: warni= ng: array subscript 1 is above array bounds of 'int16_t[1]' {aka 'short int[1]'} [-Warray-bounds] /home/dave/gnu/gcc/gcc/gcc/testsuite/gcc.dg/Warray-bounds-48.c: In function 'test_a1': /home/dave/gnu/gcc/gcc/gcc/testsuite/gcc.dg/Warray-bounds-48.c:216:11: note: while referencing 'a1' In function 'warn_a1_local_noinit', inlined from 'test_a1' at /home/dave/gnu/gcc/gcc/gcc/testsuite/gcc.dg/Warray-bounds-48.c:268:5: /home/dave/gnu/gcc/gcc/gcc/testsuite/gcc.dg/Warray-bounds-48.c:223:8: warni= ng: array subscript 2 is above array bounds of 'int16_t[1]' {aka 'short int[1]'} [-Warray-bounds] /home/dave/gnu/gcc/gcc/gcc/testsuite/gcc.dg/Warray-bounds-48.c: In function 'test_a1': /home/dave/gnu/gcc/gcc/gcc/testsuite/gcc.dg/Warray-bounds-48.c:216:11: note: while referencing 'a1' In function 'warn_a1_extern', inlined from 'test_a1' at /home/dave/gnu/gcc/gcc/gcc/testsuite/gcc.dg/Warray-bounds-48.c:274:5: /home/dave/gnu/gcc/gcc/gcc/testsuite/gcc.dg/Warray-bounds-48.c:229:8: warni= ng: array subscript 1 is above array bounds of 'int16_t[1]' {aka 'short int[1]'} [-Warray-bounds] /home/dave/gnu/gcc/gcc/gcc/testsuite/gcc.dg/Warray-bounds-48.c: In function 'test_a1': /home/dave/gnu/gcc/gcc/gcc/testsuite/gcc.dg/Warray-bounds-48.c:216:11: note: while referencing 'a1' In function 'warn_a1_extern', inlined from 'test_a1' at /home/dave/gnu/gcc/gcc/gcc/testsuite/gcc.dg/Warray-bounds-48.c:274:5: /home/dave/gnu/gcc/gcc/gcc/testsuite/gcc.dg/Warray-bounds-48.c:230:8: warni= ng: array subscript 2 is above array bounds of 'int16_t[1]' {aka 'short int[1]'} [-Warray-bounds] /home/dave/gnu/gcc/gcc/gcc/testsuite/gcc.dg/Warray-bounds-48.c: In function 'test_a1': /home/dave/gnu/gcc/gcc/gcc/testsuite/gcc.dg/Warray-bounds-48.c:216:11: note: while referencing 'a1' In function 'warn_a1_init', inlined from 'test_a1' at /home/dave/gnu/gcc/gcc/gcc/testsuite/gcc.dg/Warray-bounds-48.c:279:5: /home/dave/gnu/gcc/gcc/gcc/testsuite/gcc.dg/Warray-bounds-48.c:236:8: warni= ng: array subscript 1 is above array bounds of 'int16_t[1]' {aka 'short int[1]'} [-Warray-bounds] /home/dave/gnu/gcc/gcc/gcc/testsuite/gcc.dg/Warray-bounds-48.c: In function 'test_a1': /home/dave/gnu/gcc/gcc/gcc/testsuite/gcc.dg/Warray-bounds-48.c:216:11: note: while referencing 'a1' In function 'warn_a1_init', inlined from 'test_a1' at /home/dave/gnu/gcc/gcc/gcc/testsuite/gcc.dg/Warray-bounds-48.c:279:5: /home/dave/gnu/gcc/gcc/gcc/testsuite/gcc.dg/Warray-bounds-48.c:237:8: warni= ng: array subscript 2 is above array bounds of 'int16_t[1]' {aka 'short int[1]'} [-Warray-bounds] /home/dave/gnu/gcc/gcc/gcc/testsuite/gcc.dg/Warray-bounds-48.c: In function 'test_a1': /home/dave/gnu/gcc/gcc/gcc/testsuite/gcc.dg/Warray-bounds-48.c:216:11: note: while referencing 'a1' In function 'warn_a1_local_buf', inlined from 'test_a1' at /home/dave/gnu/gcc/gcc/gcc/testsuite/gcc.dg/Warray-bounds-48.c:286:5: /home/dave/gnu/gcc/gcc/gcc/testsuite/gcc.dg/Warray-bounds-48.c:244:8: warni= ng: array subscript 4 is above array bounds of 'int16_t[1]' {aka 'short int[1]'} [-Warray-bounds] /home/dave/gnu/gcc/gcc/gcc/testsuite/gcc.dg/Warray-bounds-48.c: In function 'test_a1': /home/dave/gnu/gcc/gcc/gcc/testsuite/gcc.dg/Warray-bounds-48.c:216:11: note: while referencing 'a1' In function 'warn_a1_extern_buf', inlined from 'test_a1' at /home/dave/gnu/gcc/gcc/gcc/testsuite/gcc.dg/Warray-bounds-48.c:294:5: /home/dave/gnu/gcc/gcc/gcc/testsuite/gcc.dg/Warray-bounds-48.c:251:8: warni= ng: array subscript 5 is above array bounds of 'int16_t[1]' {aka 'short int[1]'} [-Warray-bounds] /home/dave/gnu/gcc/gcc/gcc/testsuite/gcc.dg/Warray-bounds-48.c: In function 'test_a1': /home/dave/gnu/gcc/gcc/gcc/testsuite/gcc.dg/Warray-bounds-48.c:216:11: note: while referencing 'a1' In function 'warn_a2_noinit', inlined from 'test_a2' at /home/dave/gnu/gcc/gcc/gcc/testsuite/gcc.dg/Warray-bounds-48.c:354:5: /home/dave/gnu/gcc/gcc/gcc/testsuite/gcc.dg/Warray-bounds-48.c:331:8: warni= ng: array subscript 2 is above array bounds of 'int16_t[2]' {aka 'short int[2]'} [-Warray-bounds] /home/dave/gnu/gcc/gcc/gcc/testsuite/gcc.dg/Warray-bounds-48.c: In function 'test_a2': /home/dave/gnu/gcc/gcc/gcc/testsuite/gcc.dg/Warray-bounds-48.c:324:11: note: while referencing 'a2' In function 'warn_a2_init', inlined from 'test_a2' at /home/dave/gnu/gcc/gcc/gcc/testsuite/gcc.dg/Warray-bounds-48.c:360:5: /home/dave/gnu/gcc/gcc/gcc/testsuite/gcc.dg/Warray-bounds-48.c:338:8: warni= ng: array subscript 2 is above array bounds of 'int16_t[2]' {aka 'short int[2]'} [-Warray-bounds] /home/dave/gnu/gcc/gcc/gcc/testsuite/gcc.dg/Warray-bounds-48.c: In function 'test_a2': /home/dave/gnu/gcc/gcc/gcc/testsuite/gcc.dg/Warray-bounds-48.c:324:11: note: while referencing 'a2' In function 'warn_a2_init', inlined from 'test_a2' at /home/dave/gnu/gcc/gcc/gcc/testsuite/gcc.dg/Warray-bounds-48.c:360:5: /home/dave/gnu/gcc/gcc/gcc/testsuite/gcc.dg/Warray-bounds-48.c:339:8: warni= ng: array subscript 9 is above array bounds of 'int16_t[2]' {aka 'short int[2]'} [-Warray-bounds] /home/dave/gnu/gcc/gcc/gcc/testsuite/gcc.dg/Warray-bounds-48.c: In function 'test_a2': /home/dave/gnu/gcc/gcc/gcc/testsuite/gcc.dg/Warray-bounds-48.c:324:11: note: while referencing 'a2' In function 'warn_a2_ref', inlined from 'test_a2' at /home/dave/gnu/gcc/gcc/gcc/testsuite/gcc.dg/Warray-bounds-48.c:364:3: /home/dave/gnu/gcc/gcc/gcc/testsuite/gcc.dg/Warray-bounds-48.c:346:8: warni= ng: array subscript 2 is above array bounds of 'int16_t[2]' {aka 'short int[2]'} [-Warray-bounds] /home/dave/gnu/gcc/gcc/gcc/testsuite/gcc.dg/Warray-bounds-48.c: In function 'test_a2': /home/dave/gnu/gcc/gcc/gcc/testsuite/gcc.dg/Warray-bounds-48.c:324:11: note: while referencing 'a2' In function 'warn_a2_ref', inlined from 'test_a2' at /home/dave/gnu/gcc/gcc/gcc/testsuite/gcc.dg/Warray-bounds-48.c:364:3: /home/dave/gnu/gcc/gcc/gcc/testsuite/gcc.dg/Warray-bounds-48.c:347:8: warni= ng: array subscript 9 is above array bounds of 'int16_t[2]' {aka 'short int[2]'} [-Warray-bounds] /home/dave/gnu/gcc/gcc/gcc/testsuite/gcc.dg/Warray-bounds-48.c: In function 'test_a2': /home/dave/gnu/gcc/gcc/gcc/testsuite/gcc.dg/Warray-bounds-48.c:324:11: note: while referencing 'a2'=