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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [gcc.dg/] [pr49235.c] - Blame information for rev 689

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 689 jeremybenn
/* PR rtl-optimization/49235 */
2
/* { dg-do compile { target { int32plus } } } */
3
/* { dg-options "-O -fno-delete-null-pointer-checks -fno-tree-scev-cprop -ftree-vectorize -fno-vect-cost-model -w" } */
4
 
5
void
6
foo (void)
7
{
8
  unsigned i;
9
  unsigned *p = 0;
10
  for (i = 0; i < 4; ++i)
11
    *p++ = 0;
12
  for (i = 0; i < 4; ++i)
13
    *p++ = 0;
14
}
15
 
16
void
17
bar (void)
18
{
19
  unsigned i;
20
  unsigned *p = (unsigned *) (__UINTPTR_TYPE__) 0x12340000;
21
  for (i = 0; i < 4; ++i)
22
    *p++ = 0;
23
  for (i = 0; i < 4; ++i)
24
    *p++ = 0;
25
}

powered by: WebSVN 2.1.0

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