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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [gcc.dg/] [pr44194-1.c] - Blame information for rev 689

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 689 jeremybenn
/* { dg-do compile { target { { { { i?86-*-* x86_64-*-* } && x32 } || lp64 } && { ! s390*-*-* } } } } */
2
/* { dg-options "-O2 -fdump-rtl-dse1" } */
3
/* Restricting to 64-bit targets since 32-bit targets return
4
   structures in memory.  */
5
 
6
struct ints { int a, b, c; } foo();
7
void bar(int a, int b);
8
 
9
void func() {
10
  struct ints s = foo();
11
  bar(s.a, s.b);
12
}
13
/* { dg-final { scan-rtl-dump "global deletions = 2"  "dse1" } } */
14
/* { dg-final { cleanup-rtl-dump "dse1" } } */

powered by: WebSVN 2.1.0

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