URL
https://opencores.org/ocsvn/openrisc/openrisc/trunk
Only display areas with differences |
Details |
Blame |
View Log
Rev 298 |
Rev 338 |
/* PR rtl-optimization/27671.
|
/* PR rtl-optimization/27671.
|
The combiner used to simplify "a ^ b == a" to "a" via
|
The combiner used to simplify "a ^ b == a" to "a" via
|
simplify_relational_operation_1 in simplify-rtx.c. */
|
simplify_relational_operation_1 in simplify-rtx.c. */
|
/* { dg-do run } */
|
/* { dg-do run } */
|
/* { dg-options "-O1" } */
|
/* { dg-options "-O1" } */
|
/* { dg-options "-O1 -march=pentium4" { target { { i?86-*-* x86_64-*-* } && ilp32 } } } */
|
/* { dg-options "-O1 -march=pentium4" { target { { i?86-*-* x86_64-*-* } && ilp32 } } } */
|
|
|
extern void abort (void) __attribute__ ((noreturn));
|
extern void abort (void) __attribute__ ((noreturn));
|
extern void exit (int) __attribute__ ((noreturn));
|
extern void exit (int) __attribute__ ((noreturn));
|
|
|
static void __attribute__ ((noinline))
|
static void __attribute__ ((noinline))
|
bar (int k)
|
bar (int k)
|
{
|
{
|
int n = k % 2;
|
int n = k % 2;
|
if (n == 0)
|
if (n == 0)
|
abort ();
|
abort ();
|
}
|
}
|
|
|
int
|
int
|
main (void)
|
main (void)
|
{
|
{
|
bar (1);
|
bar (1);
|
exit (0);
|
exit (0);
|
}
|
}
|
|
|
© copyright 1999-2024
OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.