comparison gcc/testsuite/g++.dg/tree-ssa/pr30738.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 "-O -fdump-tree-phiopt1" } */ 2 /* { dg-options "-O -fdump-tree-phiopt2" } */
3 3
4 template <class T> 4 template <class T>
5 static inline const T& 5 static inline const T&
6 min_ref (const T &x, const T &y) 6 min_ref (const T &x, const T &y)
7 { 7 {
11 int test_min_ref (int x, int y) 11 int test_min_ref (int x, int y)
12 { 12 {
13 return min_ref (x, y); 13 return min_ref (x, y);
14 } 14 }
15 15
16 /* { dg-final { scan-tree-dump "MIN_EXPR" "phiopt1" } } */ 16 /* { dg-final { scan-tree-dump "MIN_EXPR" "phiopt2" } } */