URL
https://opencores.org/ocsvn/openrisc/openrisc/trunk
Only display areas with differences |
Details |
Blame |
View Log
Rev 816 |
Rev 826 |
/* { dg-do compile } */
|
/* { dg-do compile } */
|
/* { dg-options "-O1 -fdump-tree-dce2" } */
|
/* { dg-options "-O1 -fdump-tree-dce2" } */
|
|
|
int t() __attribute__ ((const));
|
int t() __attribute__ ((const));
|
q()
|
q()
|
{
|
{
|
int i = t();
|
int i = t();
|
if (!i)
|
if (!i)
|
i = t();
|
i = t();
|
}
|
}
|
/* There should be no IF conditionals. */
|
/* There should be no IF conditionals. */
|
/* { dg-final { scan-tree-dump-times "if " 0 "dce2"} } */
|
/* { dg-final { scan-tree-dump-times "if " 0 "dce2"} } */
|
/* { dg-final { cleanup-tree-dump "dce2" } } */
|
/* { dg-final { cleanup-tree-dump "dce2" } } */
|
|
|
© copyright 1999-2024
OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.