Add a testcase for PR target/63534

PR target/63534
	* gcc.target/i386/pr63534.c: New test.

From-SVN: r218062
This commit is contained in:
H.J. Lu 2014-11-25 21:07:43 +00:00 committed by H.J. Lu
parent 55026b4cf9
commit a56e69dae3
2 changed files with 20 additions and 0 deletions

View File

@ -1,3 +1,8 @@
2014-11-25 H.J. Lu <hongjiu.lu@intel.com>
PR target/63534
* gcc.target/i386/pr63534.c: New test.
2014-11-25 H.J. Lu <hongjiu.lu@intel.com>
PR target/63527

View File

@ -0,0 +1,15 @@
/* PR target/pr63534 */
/* { dg-do compile { target { ia32 && fpic } } } */
/* { dg-options "-O2 -fPIC" } */
extern void bar (void);
void
foo (void)
{
bar ();
bar ();
}
/* We shouldn't load EBX again. */
/* { dg-final { scan-assembler-not "movl\[ \t\]%\[^,\]+, %ebx" } } */