Mercurial > hg > CbC > CbC_gcc
annotate gcc/testsuite/g++.dg/tree-ssa/pr30738.C @ 152:2b5abeee2509
update gcc11
author | anatofuz |
---|---|
date | Mon, 25 May 2020 07:50:57 +0900 |
parents | 84e7813d76e9 |
children |
rev | line source |
---|---|
111 | 1 /* { dg-do compile } */ |
131 | 2 /* { dg-options "-O -fdump-tree-phiopt2" } */ |
111 | 3 |
4 template <class T> | |
5 static inline const T& | |
6 min_ref (const T &x, const T &y) | |
7 { | |
8 return x < y ? x : y; | |
9 } | |
10 | |
11 int test_min_ref (int x, int y) | |
12 { | |
13 return min_ref (x, y); | |
14 } | |
15 | |
131 | 16 /* { dg-final { scan-tree-dump "MIN_EXPR" "phiopt2" } } */ |