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
2018-03-08 Richard Biener <rguenther@suse.de>
[official-gcc.git]
/
gcc
/
testsuite
/
gcc.target
/
i386
/
interrupt-7.c
blob
506f61afa853c6a2c527d27c3163f8626fcad3d7
1
/* { dg-do compile } */
2
/* { dg-options "-O2 -mgeneral-regs-only -mno-cld" } */
3
4
extern
int
error
;
5
6
extern
void
fn
(
void
*)
__attribute__
((
interrupt
));
7
8
void
9
foo
(
void
)
10
{
11
fn
(&
error
);
/* { dg-error "interrupt service routine can't be called directly" } */
12
}