comparison gcc/testsuite/g++.dg/tree-ssa/pr57380.C @ 131:84e7813d76e9

gcc-8.2
author mir3636
date Thu, 25 Oct 2018 07:37:49 +0900
parents 04ced10e8804
children
comparison
equal deleted inserted replaced
111:04ced10e8804 131:84e7813d76e9
1 /* { dg-do compile } */ 1 /* { dg-do compile } */
2 /* { dg-options "-O2 -fdump-tree-phiopt1" } */ 2 /* { dg-options "-O2 -fdump-tree-phiopt2" } */
3 /* { dg-add-options bind_pic_locally } */ 3 /* { dg-add-options bind_pic_locally } */
4 4
5 struct my_array { 5 struct my_array {
6 int data[4]; 6 int data[4];
7 }; 7 };
16 res += my_max(a.data[i], b.data[i]); 16 res += my_max(a.data[i], b.data[i]);
17 } 17 }
18 return res; 18 return res;
19 } 19 }
20 20
21 /* { dg-final { scan-tree-dump "MAX_EXPR" "phiopt1" } } */ 21 /* { dg-final { scan-tree-dump "MAX_EXPR" "phiopt2" } } */