public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug tree-optimization/106480] New: FAIL: gcc.dg/Warray-bounds-48.c pr102706 (test for warnings, line 33)
@ 2022-07-29 17:43 danglin at gcc dot gnu.org
2022-08-01 9:12 ` [Bug tree-optimization/106480] " rguenth at gcc dot gnu.org
2022-08-01 11:46 ` dave.anglin at bell dot net
0 siblings, 2 replies; 3+ messages in thread
From: danglin at gcc dot gnu.org @ 2022-07-29 17:43 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106480
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: warning:
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: warning:
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: warning:
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: warning:
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: warning:
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: warning:
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: warning:
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: warning:
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: warning:
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: warning:
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: warning:
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: warning:
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: warning:
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: warning:
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: warning:
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: warning:
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: warning:
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: warning:
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: warning:
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: warning:
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: warning:
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: warning:
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: warning:
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: warning:
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: warning:
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: warning:
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: warning:
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: warning:
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: warning:
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: warning:
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: warning:
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'
^ permalink raw reply [flat|nested] 3+ messages in thread
* [Bug tree-optimization/106480] FAIL: gcc.dg/Warray-bounds-48.c pr102706 (test for warnings, line 33)
2022-07-29 17:43 [Bug tree-optimization/106480] New: FAIL: gcc.dg/Warray-bounds-48.c pr102706 (test for warnings, line 33) danglin at gcc dot gnu.org
@ 2022-08-01 9:12 ` rguenth at gcc dot gnu.org
2022-08-01 11:46 ` dave.anglin at bell dot net
1 sibling, 0 replies; 3+ messages in thread
From: rguenth at gcc dot gnu.org @ 2022-08-01 9:12 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106480
Richard Biener <rguenth at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Keywords| |testsuite-fail
--- Comment #1 from Richard Biener <rguenth at gcc dot gnu.org> ---
Both are guarded like
p->a0[0] = 4; p->a0[1] = 5; // { dg-warning "\\\[-Wstringop-overflow"
"pr102706" { target { vect_slp_v2hi_store_align && { !
vect_slp_v4hi_store_unalign } } } }
the vect_slp_* predicates according to comments implement exactly the case in
the testsuite, but for some reason it doesn't work on hppa?
^ permalink raw reply [flat|nested] 3+ messages in thread
* [Bug tree-optimization/106480] FAIL: gcc.dg/Warray-bounds-48.c pr102706 (test for warnings, line 33)
2022-07-29 17:43 [Bug tree-optimization/106480] New: FAIL: gcc.dg/Warray-bounds-48.c pr102706 (test for warnings, line 33) danglin at gcc dot gnu.org
2022-08-01 9:12 ` [Bug tree-optimization/106480] " rguenth at gcc dot gnu.org
@ 2022-08-01 11:46 ` dave.anglin at bell dot net
1 sibling, 0 replies; 3+ messages in thread
From: dave.anglin at bell dot net @ 2022-08-01 11:46 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106480
--- Comment #2 from dave.anglin at bell dot net ---
On 2022-08-01 5:12 a.m., rguenth at gcc dot gnu.org wrote:
> https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106480
>
> Richard Biener <rguenth at gcc dot gnu.org> changed:
>
> What |Removed |Added
> ----------------------------------------------------------------------------
> Keywords| |testsuite-fail
>
> --- Comment #1 from Richard Biener <rguenth at gcc dot gnu.org> ---
> Both are guarded like
>
> p->a0[0] = 4; p->a0[1] = 5; // { dg-warning "\\\[-Wstringop-overflow"
> "pr102706" { target { vect_slp_v2hi_store_align && { !
> vect_slp_v4hi_store_unalign } } } }
>
> the vect_slp_* predicates according to comments implement exactly the case in
> the testsuite, but for some reason it doesn't work on hppa?
Yes, I guess this implies a problem with
# Return the true if target support vectorization of 4-byte short stores
# with 4-byte aligned address at plain O2.
proc check_effective_target_vect_slp_v2hi_store_align { } {
set pattern {add new stmt: MEM <vector\(2\) short int>}
set macro "TEST_V2HI_2"
return [check_cached_effective_target vect_slp_v2hi_store_align {
expr [check_vect_slp_store_usage $pattern $macro ] }]
}
# Return the true if target support vectorization of 8-byte short stores
# with unaligned address at plain O2.
# NB: This target should be removed after real issues are fixed for
# -Wstringop-overflow with O2 vect. Be careful if you want to reuse
# this target since tests in check_vect_slp_store_usage
# is the exact match of relative testcases
proc check_effective_target_vect_slp_v4hi_store_unalign { } {
set pattern {add new stmt: MEM <vector\(4\) short int>}
set macro "TEST_V4HI"
return [check_cached_effective_target vect_slp_v4hi_store_unalign {
expr [check_vect_slp_store_usage $pattern $macro ] }]
}
in target-supports.exp.
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2022-08-01 11:46 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-07-29 17:43 [Bug tree-optimization/106480] New: FAIL: gcc.dg/Warray-bounds-48.c pr102706 (test for warnings, line 33) danglin at gcc dot gnu.org
2022-08-01 9:12 ` [Bug tree-optimization/106480] " rguenth at gcc dot gnu.org
2022-08-01 11:46 ` dave.anglin at bell dot net
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).