OpenCores
URL https://opencores.org/ocsvn/openrisc_2011-10-31/openrisc_2011-10-31/trunk

Subversion Repositories openrisc_2011-10-31

[/] [openrisc/] [trunk/] [gnu-src/] [gcc-4.2.2/] [gcc/] [testsuite/] [gcc.dg/] [20040217-1.c] - Blame information for rev 154

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 149 jeremybenn
/* This used to ICE on s390x due to a bug in simplify_if_then_else.  */
2
/* { dg-do compile } */
3
/* { dg-options "-O2" } */
4
 
5
extern void use (int);
6
void test (void)
7
{
8
  union
9
   {
10
     unsigned long ul;
11
     signed char sc;
12
   } u;
13
 
14
  u.sc = 8;
15
  u.sc &= 25;
16
 
17
  use (u.sc);
18
}
19
 

powered by: WebSVN 2.1.0

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