Mercurial > hg > CbC > CbC_gcc
annotate gcc/testsuite/gcc.dg/pr61060.c @ 145:1830386684a0
gcc-9.2.0
author | anatofuz |
---|---|
date | Thu, 13 Feb 2020 11:34:05 +0900 |
parents | 04ced10e8804 |
children |
rev | line source |
---|---|
111 | 1 /* PR target/61060 */ |
2 /* { dg-do compile } */ | |
3 /* { dg-options "-O0 -ftree-ter" } */ | |
4 | |
5 typedef __SIZE_TYPE__ size_t; | |
6 | |
7 extern inline __attribute__ ((gnu_inline, always_inline, artificial)) | |
8 void *memset (void *dest, int ch, size_t len) | |
9 { | |
10 return __builtin_memset (dest, ch, len); | |
11 } | |
12 | |
13 char buf[10]; | |
14 | |
15 void | |
16 foo (void) | |
17 { | |
18 memset (buf, sizeof (buf), 0); | |
19 } |