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
2016-11-21 Thomas Preud'homme <thomas.preudhomme@arm.com>
[official-gcc.git]
/
gcc
/
testsuite
/
gcc.target
/
arm
/
pr43404.c
blob
4f2291df6a8793623919d4d0c6865d74af44d708
1
/* { dg-do compile } */
2
/* { dg-require-effective-target naked_functions } */
3
/* { dg-options "-O0" } */
4
5
__attribute__
((
naked
))
6
void
__data_abort
(
void
)
7
{
8
long
foo
;
/* { dg-error "cannot allocate stack for variable" } */
9
long
*
bar
= &
foo
;
10
}