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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [gcc.dg/] [fold-alloca-1.c] - Blame information for rev 801

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 689 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.