projects
/
platform
/
upstream
/
gcc48.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
remove unused files
[platform/upstream/gcc48.git]
/
gcc
/
testsuite
/
gcc.dg
/
pr38616.c
1
/* PR middle-end/38616 */
2
/* { dg-do run } */
3
/* { dg-options "-O2 -fstack-protector" } */
4
/* { dg-require-effective-target fstack_protector } */
5
6
#include <stdio.h>
7
8
#define BUFFER "1234567890abcdefghijklmno"
9
int main (void)
10
{
11
char buffer[1024]="";
12
sprintf (buffer, "%s", BUFFER);
13
return strcmp (buffer, BUFFER);
14
}