re PR rtl-optimization/44174 (can't find a register in class 'CLOBBERED_REGS' while reloading 'asm')

PR rtl-optimization/44174
	* gcc.target/i386/asm-6.c: New test.

From-SVN: r169325
This commit is contained in:
Eric Botcazou 2011-01-27 08:39:33 +00:00
parent 6dcc4f31c2
commit 467fd7909a
2 changed files with 22 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2011-01-27 Eric Botcazou <ebotcazou@adacore.com>
PR rtl-optimization/44174
* gcc.target/i386/asm-6.c: New test.
2011-01-26 Mikael Pettersson <mikpe@it.uu.se>
PR rtl-optimization/46856

View File

@ -0,0 +1,16 @@
/* PR rtl-optimization/44174 */
/* Testcase by Jakub Jelinek <jakub@gcc.gnu.org> */
/* { dg-do compile } */
/* { dg-options "-O2 -fpic" { target fpic } } */
int f0 (int, int, int, int, int);
int f1 (void);
void
f2 (void)
{
unsigned v1, v2, v3, v4;
__asm__ ("" : "=a" (v1), "=d" (v2), "=c" (v3), "=r" (v4));
f0 (f1 (), f1 (), f1 (), f1 (), (v4 >> 8) & 0xff);
}