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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-old/] [gcc-4.2.2/] [gcc/] [testsuite/] [gcc.c-torture/] [compile/] [20010423-1.c] - Blame information for rev 816

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 149 jeremybenn
/* Origin: PR c/2618 from Cesar Eduardo Barros <cesarb@nitnet.com.br>,
2
   adapted to a testcase by Joseph Myers <jsm28@cam.ac.uk>.
3
 
4
   Boolean conversions were causing infinite recursion between convert
5
   and fold in certain cases.  */
6
 
7
#include <stdbool.h>
8
 
9
bool x;
10
unsigned char y;
11
 
12
void
13
fn (void)
14
{
15
  x = y & 0x1 ? 1 : 0;
16
}

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.