OpenCores
URL https://opencores.org/ocsvn/openrisc/openrisc/trunk

Subversion Repositories openrisc

[/] [openrisc/] [tags/] [gnu-src/] [gcc-4.5.1/] [gcc-4.5.1-or32-1.0rc1/] [gcc/] [testsuite/] [g++.dg/] [tree-ssa/] [pr30738.C] - Blame information for rev 338

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 301 jeremybenn
/* { dg-do compile } */
2
/* { dg-options "-O -fdump-tree-phiopt1" } */
3
 
4
template 
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
 
16
/* { dg-final { scan-tree-dump "MIN_EXPR" "phiopt1" } } */
17
/* { dg-final { cleanup-tree-dump "phiopt1" } } */

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.