Mercurial > hg > CbC > CbC_gcc
comparison gcc/testsuite/gcc.dg/tree-ssa/pr86089.c @ 131:84e7813d76e9
gcc-8.2
author | mir3636 |
---|---|
date | Thu, 25 Oct 2018 07:37:49 +0900 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
111:04ced10e8804 | 131:84e7813d76e9 |
---|---|
1 /* { dg-do compile } */ | |
2 /* { dg-options "-O2 -Wall" } */ | |
3 | |
4 extern char* stpcpy (char*, const char*); | |
5 | |
6 int f (char* s) | |
7 { | |
8 char a[32]; | |
9 | |
10 __builtin___strcpy_chk (a, s, __builtin_object_size (a, 1)); | |
11 | |
12 return __builtin_strlen (a); | |
13 } |