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.dg
/
warn-1.c
blob
9d0080171d22ee2ef7aa2c45dab39cfe87fa0180
1
/* The compiler used to say passing arg 0 of, which is wrong. */
2
/* Radar 3069179 */
3
4
/* { dg-options "-O3" } */
5
6
static void
foo
(
p
)
7
int
p
;
8
{
/* { dg-warning "passing arg 1 of" } */
9
}
10
11
void
bar
(
void
)
12
{
13
void
*
vp
;
14
15
foo
(
vp
);
/* { dg-warning "" } */
16
}