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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-old/] [gcc-4.2.2/] [gcc/] [testsuite/] [gcc.dg/] [tree-ssa/] [20040518-2.c] - Blame information for rev 816

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 149 jeremybenn
/* { dg-do compile } */
2
/* { dg-options "-O1 -fdump-tree-phiopt1-details" } */
3
 
4
int t( int i)
5
{
6
   int j;
7
   if(i>=0)
8
    j = i;
9
   else
10
    j = -i;
11
   return j;
12
}
13
 
14
/* We should convert one COND_EXPRs into straightline code with ABS.  */
15
/* { dg-final { scan-tree-dump-times "straightline" 1 "phiopt1"} } */
16
/* { dg-final { scan-tree-dump-times "ABS_EXPR" 1 "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.