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
* gcc.dg/const-elim-1.c: xfail for xtensa.
[official-gcc.git]
/
gcc
/
testsuite
/
gcc.c-torture
/
compile
/
981001-2.c
blob
9ade1d92aefa88238f23c3fe4dd5691426546862
1
#define weak_alias(func, aliasname) \
2
extern __typeof (func) aliasname __attribute__ ((weak, alias (#func)));
3
4
#define add3(d, m, c) ((d) + (m) + (c))
5
6
int
7
__add3
(
int
d
,
int
m
,
int
c
)
8
{
9
return
d
+
m
+
c
;
10
}
11
12
weak_alias
(
__add3
,
add3
)