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
* cfgloopmanip.c (duplicate_loop_to_header_edge): Cleanup profile
[official-gcc.git]
/
gcc
/
testsuite
/
gcc.dg
/
pr77587a.c
blob
12e144560cb737f388a78d8b8417b6015191e5e5
1
/* PR target/77587 */
2
/* { dg-do compile } */
3
/* { dg-require-alias "" } */
4
/* { dg-require-weak-override "" } */
5
6
void
7
foo
(
long
x
,
long
y
,
long
z
)
8
{
9
}
10
11
void
bar
(
long
x
,
long
y
,
long
z
)
__attribute__
((
weak
,
alias
(
"foo"
)));
12
13
void
14
baz
(
long
x
,
long
y
,
long
z
)
15
{
16
bar
(
0
,
0
,
0
);
17
}
18
19
int
20
main
()
21
{
22
baz
(
0
,
0
,
0
);
23
return
0
;
24
}