comparison gcc/testsuite/gcc.dg/gimplefe-17.c @ 145:1830386684a0

gcc-9.2.0
author anatofuz
date Thu, 13 Feb 2020 11:34:05 +0900
parents 04ced10e8804
children
comparison
equal deleted inserted replaced
131:84e7813d76e9 145:1830386684a0
1 /* { dg-do compile } */ 1 /* { dg-do compile } */
2 /* { dg-options "-fgimple -fdump-tree-ssa" } */ 2 /* { dg-options "-fgimple -fdump-tree-fixup_cfg2" } */
3 3
4 int 4 int
5 __GIMPLE () * 5 __GIMPLE (ssa) *
6 foo () 6 foo ()
7 { 7 {
8 int _1; 8 int _1;
9 int j; 9 int j;
10 int *b; 10 int *b;
11
12 __BB(5):
11 _1 = 1; 13 _1 = 1;
12 bb1: 14 goto __BB2;
15
16 __BB(2):
13 if (_1) 17 if (_1)
14 goto bb3; 18 goto __BB4;
15 else 19 else
16 goto bb2; 20 goto __BB3;
17 21
18 bb2: 22 __BB(3):
19 b_2 = (int *)0; 23 b_2 = (int *)0;
24 goto __BB4;
20 25
21 bb3: 26 __BB(4):
22 b_4 = __PHI (bb1: b_3(D), bb2: b_2); 27 b_4 = __PHI (__BB2: b_3(D), __BB3: b_2);
23 return b_4; 28 return b_4;
24 } 29 }
25 30
26 /* { dg-final { scan-tree-dump-not "_1_" "ssa" } } */ 31 /* { dg-final { scan-tree-dump-not "_1_" "fixup_cfg2" } } */