2017-09-26 Thomas Koenig <tkoenig@gcc.gnu.org>
[official-gcc.git] / gcc / testsuite / gcc.dg / pr61060.c
blobd2a1365076560c2d1185a5ce6bc99b3b22bc73bf
1 /* PR target/61060 */
2 /* { dg-do compile } */
3 /* { dg-options "-O0 -ftree-ter" } */
5 typedef __SIZE_TYPE__ size_t;
7 extern inline __attribute__ ((gnu_inline, always_inline, artificial))
8 void *memset (void *dest, int ch, size_t len)
10 return __builtin_memset (dest, ch, len);
13 char buf[10];
15 void
16 foo (void)
18 memset (buf, sizeof (buf), 0);