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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [gcc.dg/] [ipa/] [ipa-sra-5.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 "-O2 -fipa-sra -fdump-tree-eipa_sra-details" } */
3
 
4
static int *
5
__attribute__((noinline,used))
6
  ox (int *i, int *j)
7
{
8
  return i;
9
}
10
 
11
int a;
12
 
13
int *caller (void)
14
{
15
  int b = 10;
16
 
17
  return ox (&a, &b);
18
}
19
/* { dg-final { scan-tree-dump-times "base: j, remove_param" 0 "eipa_sra"  } } */
20
/* { dg-final { cleanup-tree-dump "eipa_sra" } } */

powered by: WebSVN 2.1.0

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