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
/
pr80210-2.c
blob
455f7d6e31f3946080ce330374c789b20807ebef
1
/* Test for ICE arising from GCC target pragma. */
2
/* { dg-do compile } */
3
/* { dg-options "-O2" } */
4
5
#pragma GCC target
"no-powerpc-gpopt"
6
double
7
foo
(
double
a
)
8
{
9
return
__builtin_sqrt
(
a
);
10
}
11
/* { dg-final { scan-assembler-not "fsqrt" } } */