Skip analyzer strndup test on hppa*-*-hpux*
[official-gcc.git] / gcc / testsuite / gcc.dg / pr91441.c
blob4c785f61e597533202f9d3a42ce5a94aa3fd758f
1 /* PR target/91441 */
2 /* { dg-do compile } */
3 /* { dg-options "--param asan-stack=1 -fsanitize=kernel-address" } */
4 /* { dg-skip-if "no address sanitizer" { no_fsanitize_address } } */
6 int *bar(int *);
7 int *f( int a)
9 return bar(&a);
11 /* { dg-warning ".'-fsanitize=kernel-address' with stack protection is not supported without '-fasan-shadow-offset=' for this target" "" { target riscv*-*-* } 0 } */