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
PR c++/85553
[official-gcc.git]
/
gcc
/
testsuite
/
g++.dg
/
ext
/
pr84683.C
blob
3c66bcf59ba286a4430e1243d592ee839390e9fe
1
// PR inline-asm/84683
2
// { dg-do compile { target i?86-*-* x86_64-*-* } }
3
// { dg-options "-O2" }
4
5
void
6
foo (float b, double c)
7
{
8
for (int e = 0; e < 2; e++)
9
{
10
asm volatile ("" : "+f" (c)); // { dg-error "must specify a single register" }
11
asm ("" : "+rm" (c = b));
12
}
13
}