Mercurial > hg > CbC > CbC_gcc
annotate gcc/testsuite/gcc.dg/fold-alloca-1.c @ 131:84e7813d76e9
gcc-8.2
author | mir3636 |
---|---|
date | Thu, 25 Oct 2018 07:37:49 +0900 |
parents | 04ced10e8804 |
children |
rev | line source |
---|---|
111 | 1 /* { dg-do compile } */ |
2 /* { dg-options "-fdump-tree-cfg" } */ | |
3 /* { dg-require-effective-target alloca } */ | |
4 | |
5 void *alloca (__SIZE_TYPE__); | |
6 void link_error (); | |
7 | |
8 int main (int argc, char *argv[]) { | |
9 char *foo; | |
10 if ((foo = alloca(argc)) == 0) | |
11 link_error (); | |
12 return 0; | |
13 } | |
14 /* { dg-final { scan-tree-dump-times "link_error" 0 "cfg" } } */ |