mirror of
https://gcc.gnu.org/git/gcc.git
synced 2024-12-20 09:35:05 +08:00
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:
parent
55026b4cf9
commit
a56e69dae3
@ -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
|
||||
|
15
gcc/testsuite/gcc.target/i386/pr63534.c
Normal file
15
gcc/testsuite/gcc.target/i386/pr63534.c
Normal 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" } } */
|
Loading…
Reference in New Issue
Block a user