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

Subversion Repositories openrisc_me

[/] [openrisc/] [trunk/] [gnu-src/] [gcc-4.2.2/] [gcc/] [testsuite/] [treelang/] [compile/] [extravar.tree] - Blame information for rev 154

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 149 jeremybenn
// { dg-do compile }
2
// { dg-options "-fdump-tree-optimized -O1 -Wunused-variable" }
3
external_definition int bar (int aaa, int ddd);
4
 
5
static int foo = -3;  // { dg-warning "defined but not used" }
6
 
7
bar
8
{
9
        automatic int ccc;
10
 
11
        return aaa + ddd + +3;
12
}
13
// { dg-final { scan-tree-dump-not "ccc" "optimized" } }
14
// { dg-final { cleanup-tree-dump "optimized" } }

powered by: WebSVN 2.1.0

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