summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.dg/tree-ssa/20030807-11.c
blob: 6296346095df5eeb04e005324abdc5ed03df20cc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
/* { dg-do compile } */
/* { dg-options "-O1 -fdump-tree-dom3" } */

struct rtx_def;
typedef struct rtx_def *rtx;
struct rtx_def
{
  int code;
};
foo (reg)
     rtx reg;
{
  reg->code = 42;
  if (reg->code != 42)
    abort ();
}
                                                                                
/* There should be no IF conditionals.  */
/* { dg-final { scan-tree-dump-times "if " 0 "dom3"} } */