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
Fix warning with -Wsign-compare -Wsystem-headers
[official-gcc.git]
/
gcc
/
testsuite
/
gcc.target
/
arm
/
pr48470.c
blob
20343e71bb92a109b209c6d8d5f131e75ef9d930
1
/* { dg-do compile } */
2
/* { dg-require-effective-target naked_functions } */
3
/* { dg-options "-O0" } */
4
5
extern
void
g
(
int
*
x
);
6
7
void
__attribute__
((
naked
))
f
(
void
)
8
{
9
int
x
=
0
;
/* { dg-error "cannot allocate stack for variable" } */
10
g
(&
x
);
11
}