1 /* PR tree-optimization/93582 */
2 /* { dg-do compile } */
3 /* { dg-options "-O2 -Warray-bounds" } */
24 return ((struct T
*)(x
+ 1))->t1
+ ((struct T
*)(x
+ 1))->t2
; /* { dg-bogus "array subscript 1 is outside array bounds of" } */
32 struct S s
; /* { dg-bogus "while referencing" } */
44 return ((struct T
*)(x
+ 1))->t1
+ ((struct T
*)(x
+ 1))->t2
;