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:
parent
6dcc4f31c2
commit
467fd7909a
@ -1,4 +1,9 @@
|
||||
2011-01-26 Mikael Pettersson <mikpe@it.uu.se>
|
||||
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
|
||||
* gcc.c-torture/compile/pr46856.c: New test.
|
||||
|
16
gcc/testsuite/gcc.target/i386/asm-6.c
Normal file
16
gcc/testsuite/gcc.target/i386/asm-6.c
Normal 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);
|
||||
}
|
Loading…
Reference in New Issue
Block a user