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

Subversion Repositories openrisc

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

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 689 jeremybenn
/* { dg-do compile } */
2
/* { dg-options "-O2 -fdump-rtl-dse1" } */
3
 
4
struct ints { int a, b, c; } foo();
5
void bar(int a, int b);
6
 
7
void func() {
8
  volatile struct ints s = foo();
9
  bar(s.a, s.b);
10
}
11
/* { dg-final { scan-rtl-dump "global deletions = 0"  "dse1" } } */
12
/* { 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.