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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [gcc.c-torture/] [compile/] [pr19736.c] - Blame information for rev 745

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 688 jeremybenn
/* We used to ICE because we had forgot to update the immediate_uses
2
   information after foldding the last strcpy in Reduce PHI.
3
   This was PR tree-opt/19763. */
4
 
5
extern char *strcpy (char *, const char *);
6
void sdbout_one_type (char *p)
7
{
8
  int i, t = 1;
9
  char *q;
10
  for (i = 0; i < 2; i++)
11
    {
12
      strcpy (p, "1");
13
      p += sizeof ("1");
14
    }
15
  if (t)
16
    q = "2";
17
  else
18
    q = "3";
19
  strcpy (p, q);
20
}
21
 

powered by: WebSVN 2.1.0

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