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
Rebase.
[official-gcc.git]
/
gcc
/
testsuite
/
gcc.target
/
microblaze
/
others
/
break_handler.c
blob
1ccafd0640810ab7391392fb26670124a5332db8
1
int
func
()
__attribute__
((
break_handler
));
2
volatile
int
intr_occurred
;
3
4
int
func
()
5
{
6
7
/* { dg-final { scan-assembler "rtbd\tr(\[0-9]\|\[1-2]\[0-9]\|3\[0-1]),8" } } */
8
intr_occurred
+=
1
;
9
}
10
int
main
()
11
{
12
/* { dg-final { scan-assembler "brki\tr16" } } */
13
func
();
14
return
0
;
15
}