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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [gcc.target/] [i386/] [pr38151-1.c] - Blame information for rev 691

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 691 jeremybenn
/* { dg-do run } */
2
/* { dg-options "-O2" } */
3
 
4
void abort (void);
5
 
6
struct S2848
7
{
8
  unsigned int a;
9
  _Complex int b;
10
};
11
 
12
struct S2848 s2848;
13
 
14
void __attribute__((noinline))
15
check2848 (struct S2848 arg0)
16
{
17
  if (arg0.b != s2848.b)
18
    abort ();
19
}
20
 
21
int main()
22
{
23
  s2848.a = 4027477739U;
24
  s2848.b = (723419448 + -218144346 * __extension__ 1i);
25
 
26
  check2848 (s2848);
27
 
28
  return 0;
29
}

powered by: WebSVN 2.1.0

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