This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Add testcase for PR rtl-optimization/44174
- From: Eric Botcazou <ebotcazou at adacore dot com>
- To: gcc-patches at gcc dot gnu dot org
- Date: Thu, 27 Jan 2011 09:36:54 +0100
- Subject: Add testcase for PR rtl-optimization/44174
The regression is fixed on the mainline.
Tested on i586-suse-linux, applied on the mainline
2011-01-27 Eric Botcazou <ebotcazou@adacore.com>
PR rtl-optimization/44174
* gcc.target/i386/asm-6.c: New test.
--
Eric Botcazou
/* 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);
}