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

Subversion Repositories openrisc

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

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 689 jeremybenn
/* PR rtl-optimization/46878 */
2
/* Make sure this doesn't ICE.  */
3
/* { dg-do compile } */
4
/* { dg-options "-O2" } */
5
 
6
struct baz
7
{
8
  int *newp;
9
};
10
 
11
int
12
get_ice (int *op, struct baz *ret)
13
{
14
  int *tmpp;
15
  int c;
16
  c = (__foo () != 1);
17
  if (__bar ())
18
    {
19
      return (1);
20
    }
21
  if (c)
22
    tmpp = op;
23
  if (tmpp)
24
    {
25
    }
26
  else if (c)
27
    {
28
      ret->newp = tmpp;
29
    }
30
}

powered by: WebSVN 2.1.0

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