OpenCores
URL https://opencores.org/ocsvn/openrisc/openrisc/trunk

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-stable/] [gcc-4.5.1/] [gcc/] [testsuite/] [gcc.dg/] [fold-alloca-1.c] - Blame information for rev 826

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 298 jeremybenn
/* { dg-do compile } */
2
/* { dg-options "-fdump-tree-cfg" } */
3
 
4
void *alloca (__SIZE_TYPE__);
5
void link_error ();
6
 
7
int main (int argc, char *argv[]) {
8
        char *foo;
9
        if ((foo = alloca(argc)) == 0)
10
          link_error ();
11
        return 0;
12
}
13
/* { dg-final { scan-tree-dump-times "link_error" 0 "cfg" } } */
14
/* { dg-final { cleanup-tree-dump "cfg" } } */

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.