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

Subversion Repositories openrisc

[/] [openrisc/] [tags/] [gnu-src/] [gcc-4.5.1/] [gcc-4.5.1-or32-1.0rc1/] [gcc/] [testsuite/] [gcc.dg/] [tree-ssa/] [pr23777.c] - Blame information for rev 338

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 298 jeremybenn
/* { dg-do compile } */
2
/* { dg-options "-O2 -fdump-tree-optimized" } */
3
 
4
extern void f(char *const *);
5
void g (char **o)
6
{
7
  static const char *const multilib_exclusions_raw[] = { 0 };
8
  const char *const *q = multilib_exclusions_raw;
9
 
10
  f (o);
11
  while (*q++)
12
    f (o);
13
}
14
 
15
/* The last DCE pass is able to remove the load from
16
    multilib_exclusions_raw.  */
17
 
18
/* { dg-final { scan-tree-dump-not "multilib_exclusions_raw" "optimized" } } */
19
/* { 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.