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

Subversion Repositories openrisc_me

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

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 149 jeremybenn
/* This used to ICE due to a backend problem on s390.  */
2
 
3
/* { dg-do compile } */
4
/* { dg-options "-O2" } */
5
 
6
struct rgba
7
{
8
  unsigned char r;
9
  unsigned char g;
10
  unsigned char b;
11
  unsigned char a;
12
};
13
 
14
void g (struct rgba);
15
 
16
void f (void)
17
{
18
  struct rgba x;
19
 
20
  x.r = 0;
21
  x.g = 128;
22
  x.b = 128;
23
  x.a = 26;
24
 
25
  g (x);
26
}
27
 

powered by: WebSVN 2.1.0

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