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

Subversion Repositories openrisc_me

[/] [openrisc/] [trunk/] [gnu-src/] [gcc-4.5.1/] [gcc/] [testsuite/] [gcc.dg/] [pr33645-2.c] - Blame information for rev 328

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

Line No. Rev Author Line
1 298 jeremybenn
/* PR tree-optimization/33645 */
2
/* { dg-do compile } */
3
/* { dg-options "-O2 -funit-at-a-time" } */
4
 
5
__attribute__((noinline)) int
6
bar (int *x)
7
{
8
  return *x++;
9
}
10
 
11
int
12
main ()
13
{
14
  static int var1_s;
15
  static int *var1_t = &var1_s;
16
 
17
  return bar (var1_t) != 0;
18
}
19
 
20
/* { dg-final { scan-assembler-not "var1_t" } } */

powered by: WebSVN 2.1.0

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