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

Subversion Repositories openrisc_me

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

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 298 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.