comparison gcc/testsuite/gcc.dg/tree-ssa/20030710-1.c @ 131:84e7813d76e9

gcc-8.2
author mir3636
date Thu, 25 Oct 2018 07:37:49 +0900
parents 04ced10e8804
children 1830386684a0
comparison
equal deleted inserted replaced
111:04ced10e8804 131:84e7813d76e9
1 /* { dg-do compile } */ 1 /* { dg-do compile } */
2 /* { dg-options "-O1 -fdump-tree-dom2" } */ 2 /* { dg-options "-O1 -fdump-tree-phicprop1" } */
3 3
4 extern void abort (void); 4 extern void abort (void);
5 extern void blah (void); 5 extern void blah (void);
6 union tree_node; 6 union tree_node;
7 typedef union tree_node *tree; 7 typedef union tree_node *tree;
40 } 40 }
41 41
42 /* The call to blah should have been eliminated. If the call is not 42 /* The call to blah should have been eliminated. If the call is not
43 eliminated, then dominator optimizations failed and it'll be 43 eliminated, then dominator optimizations failed and it'll be
44 impossible to delete other unnecessary code. */ 44 impossible to delete other unnecessary code. */
45 /* { dg-final { scan-tree-dump-not "blah \\(\\)" "dom2" } } */ 45 /* { dg-final { scan-tree-dump-not "blah \\(\\)" "phicprop1" } } */
46 46
47 /* There should be two IF conditionals. */ 47 /* There should be two IF conditionals. */
48 /* { dg-final { scan-tree-dump-times "if " 2 "dom2"} } */ 48 /* { dg-final { scan-tree-dump-times "if " 2 "phicprop1"} } */
49 49
50 /* There should be a single load of type.binfo. */ 50 /* There should be a single load of type.binfo. */
51 /* { dg-final { scan-tree-dump-times "type\\.binfo" 1 "dom2"} } */ 51 /* { dg-final { scan-tree-dump-times "type\\.binfo" 1 "phicprop1"} } */
52 52
53 /* There should be two loads of vec.length. */ 53 /* There should be two loads of vec.length. */
54 /* { dg-final { scan-tree-dump-times "vec.length" 2 "dom2"} } */ 54 /* { dg-final { scan-tree-dump-times "vec.length" 2 "phicprop1"} } */
55 55