repo.or.cz
/
official-gcc.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Be careful about comdat boundary in ICF (PR ipa/82352).
[official-gcc.git]
/
gcc
/
testsuite
/
g++.dg
/
abi
/
param2.C
blob
d28387ab3ccfb7ea67be0fb4ebe6e0b3f6757978
1
// 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
}