20101009-1_0.c (bar): Fix asm constraints.

* gcc.dg/lto/20101009-1_0.c (bar): Fix asm constraints.

From-SVN: r165257
This commit is contained in:
Uros Bizjak 2010-10-10 20:02:44 +02:00 committed by Uros Bizjak
parent e4d508663e
commit 54cb20b3ad
2 changed files with 5 additions and 1 deletions

View File

@ -1,3 +1,7 @@
2010-10-10 Uros Bizjak <ubizjak@gmail.com>
* gcc.dg/lto/20101009-1_0.c (bar): Fix asm constraints.
2010-10-09 Thomas Koenig <tkoenig@gcc.gnu.org>
* gfortran.dg/character_comparison_4.f90: New test.

View File

@ -3,7 +3,7 @@
static inline void
bar (unsigned *u)
{
__asm__ ("":"=d" (*u));
__asm__ ("":"=r" (*u));
}
void