2 /* { dg-skip-if "" { *-*-* } { "*" } { "-O2" } } */
3 /* { dg-options "-fsanitize=undefined" } */
5 struct S
{ int a
; int b
; };
7 static inline __attribute__((always_inline
)) int
18 struct S
*p
= (struct S
*) __builtin_calloc (sizeof (int) + sizeof (int) / 2, 1);
29 /* { dg-output "load of address \[^\n\r]* with insufficient space for an object of type 'int'\[^\n\r]*(\n|\r\n|\r)" } */
30 /* { dg-output "\[^\n\r]*note: pointer points here\[^\n\r]*(\n|\r\n|\r)" } */
31 /* { dg-output "\[^\n\r]*\[^\n\r]*(\n|\r\n|\r)" } */
32 /* { dg-output "\[^\n\r]*\\^\[^\n\r]*(\n|\r\n|\r)" } */