URL
https://opencores.org/ocsvn/openrisc_2011-10-31/openrisc_2011-10-31/trunk
Only display areas with differences |
Details |
Blame |
View Log
Rev 298 |
Rev 384 |
/* { dg-do compile } */
|
/* { dg-do compile } */
|
/* { dg-options "-O1 -fdump-tree-optimized" } */
|
/* { dg-options "-O1 -fdump-tree-optimized" } */
|
|
|
static int copying_arguments;
|
static int copying_arguments;
|
|
|
int
|
int
|
foo ()
|
foo ()
|
{
|
{
|
unsigned int regno;
|
unsigned int regno;
|
if (regno < 53 && copying_arguments)
|
if (regno < 53 && copying_arguments)
|
if (regno >= 53)
|
if (regno >= 53)
|
return 1;
|
return 1;
|
}
|
}
|
|
|
/* There should be no IF conditionals. */
|
/* There should be no IF conditionals. */
|
/* { dg-final { scan-tree-dump-times "if " 0 "optimized"} } */
|
/* { dg-final { scan-tree-dump-times "if " 0 "optimized"} } */
|
/* { dg-final { cleanup-tree-dump "optimized" } } */
|
/* { dg-final { cleanup-tree-dump "optimized" } } */
|
|
|
© copyright 1999-2024
OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.