annotate gcc/testsuite/gcc.dg/tree-ssa/vrp17.c @ 111:04ced10e8804

gcc 7
author kono
date Fri, 27 Oct 2017 22:46:09 +0900
parents
children 84e7813d76e9
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
111
kono
parents:
diff changeset
1 /* { dg-do compile } */
kono
parents:
diff changeset
2 /* { dg-options "-O2 -fdump-tree-vrp1" } */
kono
parents:
diff changeset
3
kono
parents:
diff changeset
4 extern void abort (void) __attribute__ ((__noreturn__));
kono
parents:
diff changeset
5 union tree_node;
kono
parents:
diff changeset
6 typedef union tree_node *tree;
kono
parents:
diff changeset
7 extern const unsigned char tree_code_length[];
kono
parents:
diff changeset
8 struct tree_common
kono
parents:
diff changeset
9 {
kono
parents:
diff changeset
10 int code;
kono
parents:
diff changeset
11 };
kono
parents:
diff changeset
12 struct tree_exp
kono
parents:
diff changeset
13 {
kono
parents:
diff changeset
14 tree operands[1];
kono
parents:
diff changeset
15 };
kono
parents:
diff changeset
16 union tree_node
kono
parents:
diff changeset
17 {
kono
parents:
diff changeset
18 struct tree_common common;
kono
parents:
diff changeset
19 struct tree_exp exp;
kono
parents:
diff changeset
20 };
kono
parents:
diff changeset
21 int
kono
parents:
diff changeset
22 gimplify_for_stmt (tree stmt)
kono
parents:
diff changeset
23 {
kono
parents:
diff changeset
24 if (2 >= tree_code_length[stmt->common.code])
kono
parents:
diff changeset
25 abort ();
kono
parents:
diff changeset
26 if (3 >= tree_code_length[stmt->common.code])
kono
parents:
diff changeset
27 abort ();
kono
parents:
diff changeset
28 }
kono
parents:
diff changeset
29
kono
parents:
diff changeset
30 /* { dg-final { scan-tree-dump-times "Simplified relational" 1 "vrp1" } } */
kono
parents:
diff changeset
31