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/] [tree-ssa/] [20030918-1.c] - Blame information for rev 298

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 298 jeremybenn
/* The compiler was failing to adjust pointer dereferences into array
2
   references after propagating &equot[0] into p.  */
3
 
4
/* { dg-do compile } */
5
/* { dg-options "-O -ftree-dominator-opts" } */
6
 
7
static unsigned short equot[(6 +3)];
8
int
9
foo (num)
10
     unsigned short num[];
11
{
12
  unsigned short *p = &equot[0];
13
  *p++ = num[0];
14
  *p++ = num[1];
15
}

powered by: WebSVN 2.1.0

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