URL
https://opencores.org/ocsvn/openrisc_me/openrisc_me/trunk
Only display areas with differences |
Details |
Blame |
View Log
Rev 149 |
Rev 154 |
/* Origin: PR c/2618 from Cesar Eduardo Barros <cesarb@nitnet.com.br>,
|
/* Origin: PR c/2618 from Cesar Eduardo Barros <cesarb@nitnet.com.br>,
|
adapted to a testcase by Joseph Myers <jsm28@cam.ac.uk>.
|
adapted to a testcase by Joseph Myers <jsm28@cam.ac.uk>.
|
|
|
Boolean conversions were causing infinite recursion between convert
|
Boolean conversions were causing infinite recursion between convert
|
and fold in certain cases. */
|
and fold in certain cases. */
|
|
|
#include <stdbool.h>
|
#include <stdbool.h>
|
|
|
bool x;
|
bool x;
|
unsigned char y;
|
unsigned char y;
|
|
|
void
|
void
|
fn (void)
|
fn (void)
|
{
|
{
|
x = y & 0x1 ? 1 : 0;
|
x = y & 0x1 ? 1 : 0;
|
}
|
}
|
|
|
© copyright 1999-2024
OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.