mirror of
git://gcc.gnu.org/git/gcc.git
synced 2025-01-27 10:54:14 +08:00
New test: gcc.dg/991129-1.c
From-SVN: r30703
This commit is contained in:
parent
96b42f4c8c
commit
97c1c80b37
@ -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.
|
||||
|
15
gcc/testsuite/gcc.dg/991129-1.c
Normal file
15
gcc/testsuite/gcc.dg/991129-1.c
Normal 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;
|
||||
}
|
Loading…
Reference in New Issue
Block a user