New test: gcc.dg/991129-1.c

From-SVN: r30703
This commit is contained in:
Bernd Schmidt 1999-11-29 12:18:56 +00:00 committed by Bernd Schmidt
parent 96b42f4c8c
commit 97c1c80b37
2 changed files with 19 additions and 0 deletions

View File

@ -1,3 +1,7 @@
1999-11-29 Bernd Schmidt <bernds@cygnus.co.uk>
* gcc.dg/991129-1.c: New test.
1999-11-22 Nathan Sidwell <nathan@acm.org>
* g++.old-deja/g++.other/warn4.C: New test.

View File

@ -0,0 +1,15 @@
/* Test against a problem in push_reload. */
/* { dg-do compile { target i?86-*-* } } */
/* { dg-options "-O2" } */
unsigned long foo (unsigned long long x, unsigned long y)
{
unsigned long a;
x += y;
asm ("" : "=a" (a) : "A" (x), "rm" (y));
return a;
}