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
rs6000.c (rs6000_function_arg): Remove CALL_LIBCALL when returning call_cookie.
[official-gcc.git]
/
gcc
/
testsuite
/
gcc.dg
/
pr46130-1.c
blob
a0a582d2784c7a93e110916b329641b39619fa9e
1
/* PR tree-optimization/46130 */
2
/* { dg-do compile } */
3
/* { dg-options "-O2 -fno-tree-dce" } */
4
5
#include <stdarg.h>
6
7
static void
8
foo
(
va_list
ap
)
9
{
10
va_arg
(
ap
,
char
*)[
0
];
11
}
12
13
void
14
bar
(
va_list
ap
)
15
{
16
foo
(
ap
);
17
}
18
19
void
20
baz
(
va_list
ap
)
21
{
22
foo
(
ap
);
23
}