PR target/63534
* gcc.target/i386/pr63534.c: New test.
From-SVN: r218062
+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
--- /dev/null
+/* 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" } } */