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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [gcc.dg/] [tree-ssa/] [ivopts-lt.c] - Blame information for rev 689

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 689 jeremybenn
/* { dg-do compile } */
2
/* { dg-options "-O2 -fdump-tree-ivopts" } */
3
/* { dg-require-effective-target stdint_types } */
4
 
5
#include "stdint.h"
6
 
7
void
8
f1 (char *p, uintptr_t i, uintptr_t n)
9
{
10
  p += i;
11
  do
12
    {
13
      *p = '\0';
14
      p += 1;
15
      i++;
16
    }
17
  while (i < n);
18
}
19
 
20
/* { dg-final { scan-tree-dump-times "PHI" 1 "ivopts" } } */
21
/* { dg-final { scan-tree-dump-times "PHI <p_" 1 "ivopts"} } */
22
/* { dg-final { scan-tree-dump-times "p_\[0-9\]* <" 1 "ivopts" } } */
23
/* { dg-final { cleanup-tree-dump "ivopts" } } */

powered by: WebSVN 2.1.0

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