forked from gcc-mirror/gcc
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* gcc.target/i386/force-indirect-call-1.c: Merge scan strings.
* gcc.target/i386/force-indirect-call-2.c: Ditto. Require fpic effective target. * gcc.target/i386/force-indirect-call-3.c: Ditto. Require lp64 effective target. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@254635 138bc75d-0d04-0410-961f-82ee72b054a4
- Loading branch information
uros
committed
Nov 10, 2017
1 parent
3b9c531
commit 8e6ad9b
Showing
4 changed files
with
26 additions
and
16 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,6 @@ | ||
/* { dg-do compile } */ | ||
/* { dg-options "-O2 -mforce-indirect-call -fPIC" } */ | ||
/* { dg-final { scan-assembler-times "call\[ \\t\]+\\*%" 2 } } */ | ||
/* { dg-final { scan-assembler-times "jmp\[ \\t\]+\\*%" 1 } } */ | ||
/* { dg-require-effective-target fpic } */ | ||
/* { dg-final { scan-assembler-times "(?:call|jmp)\[ \\t\]+\\*%" 3 } } */ | ||
|
||
#include "force-indirect-call-1.c" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,6 @@ | ||
/* { dg-do compile } */ | ||
/* { dg-options "-O2 -mforce-indirect-call -mcmodel=medium" } */ | ||
/* { dg-final { scan-assembler-times "call\[ \\t\]+\\*%" 2 } } */ | ||
/* { dg-final { scan-assembler-times "jmp\[ \\t\]+\\*%" 1 } } */ | ||
/* { dg-require-effective-target lp64 } */ | ||
/* { dg-final { scan-assembler-times "(?:call|jmp)\[ \\t\]+\\*%" 3 } } */ | ||
|
||
#include "force-indirect-call-1.c" |