Commit a56e69da by H.J. Lu Committed by H.J. Lu

Add a testcase for PR target/63534

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

From-SVN: r218062
parent 55026b4c
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
* gcc.target/i386/pr63527.c: New test.
......
/* 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" } } */
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment