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