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
[testsuite] require sqrt_insn effective target where needed
[official-gcc.git]
/
gcc
/
testsuite
/
gcc.target
/
powerpc
/
pr87466.c
blob
2bb292cfed1f8658e473d067a8a9db887a4772ca
1
/* { dg-do compile { target powerpc*-*-* } } */
2
/* { dg-options "-O2" } */
3
4
#include <stdlib.h>
5
#include <setjmp.h>
6
7
extern
void
foo
(
jmp_buf
);
8
9
long
10
c
(
long
var
)
11
{
12
jmp_buf
env
;
13
if
(
setjmp
(
env
) !=
0
)
14
abort
();
15
foo
(
env
);
16
return
var
;
17
}
18
19
/* { dg-final { scan-assembler {\mmr\M} } } */