Mercurial > hg > CbC > CbC_gcc
annotate gcc/testsuite/gcc.dg/tree-ssa/20030807-11.c @ 131:84e7813d76e9
gcc-8.2
author | mir3636 |
---|---|
date | Thu, 25 Oct 2018 07:37:49 +0900 |
parents | 04ced10e8804 |
children |
rev | line source |
---|---|
111 | 1 /* { dg-do compile } */ |
2 /* { dg-options "-O1 -fdump-tree-dom2" } */ | |
3 | |
4 extern void abort (void); | |
5 struct rtx_def; | |
6 typedef struct rtx_def *rtx; | |
7 struct rtx_def | |
8 { | |
9 int code; | |
10 }; | |
11 void | |
12 foo (reg) | |
13 rtx reg; | |
14 { | |
15 reg->code = 42; | |
16 if (reg->code != 42) | |
17 abort (); | |
18 } | |
19 | |
20 /* There should be no IF conditionals. */ | |
21 /* { dg-final { scan-tree-dump-times "if " 0 "dom2"} } */ |