Commit 900bcda3 by Jakub Jelinek Committed by Jakub Jelinek

re PR inline-asm/68843 (ICE with "u" input constraint)

	PR inline-asm/68843
	* gcc.target/i386/pr68843-2.c: Add dg-do run and empty dg-options.
	(test): Add -masm=intel alternatives.

From-SVN: r237315
parent 4d926e34
2016-06-10 Jakub Jelinek <jakub@redhat.com>
PR inline-asm/68843
* gcc.target/i386/pr68843-2.c: Add dg-do run and empty dg-options.
(test): Add -masm=intel alternatives.
2016-06-10 Martin Sebor <msebor@redhat.com> 2016-06-10 Martin Sebor <msebor@redhat.com>
PR c/71392 PR c/71392
......
/* { dg-do run } */
/* { dg-options "" } */
int int
__attribute__((noinline, noclone)) __attribute__((noinline, noclone))
test (double y) test (double y)
{ {
int a, b; int a, b;
asm ("fistpl (%1)\n\t" asm ("fistp{l (%1)| DWORD PTR [%1]}\n\t"
"movl (%1), %0" "mov{l (%1), %0| %0, DWORD PTR [%1]}"
: "=r" (a) : "=r" (a)
: "r" (&b), "t" (y) : "r" (&b), "t" (y)
: "st"); : "st");
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment