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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [g++.dg/] [abi/] [param2.C] - Blame information for rev 749

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

Line No. Rev Author Line
1 693 jeremybenn
// PR target/20795
2
// Test passing aligned empty aggregate
3
// { dg-do compile }
4
// { dg-options "-Wno-psabi" { target { { i?86-*-* x86_64-*-* } && ilp32 } } }
5
 
6
struct S { union {} a; } __attribute__((aligned));
7
 
8
S
9
foo (S arg)
10
{
11
  return arg;
12
}
13
 
14
void
15
bar (void)
16
{
17
  S arg;
18
  foo (arg);
19
}

powered by: WebSVN 2.1.0

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