Require target lra in gcc.dg/pr108095.c
[official-gcc.git] / gcc / testsuite / gcc.dg / pr98721-2.c
blobc8ca542352fcd89d20cc14c1dfe2caf33ad04840
1 /* PR tree-optimization/98721 */
2 /* { dg-do compile } */
4 int
5 foo (void)
7 return __builtin_strlen (__builtin_alloca_with_align (0, 16)); /* { dg-warning "'__builtin_strlen' reading 1 or more bytes from a region of size 0" } */
8 } /* { dg-message "source object '<unknown>' of size 0" "" { target *-*-* } .-1 } */