To help support multiple platforms when using function body
scans, there is support for adding target-specific options via
"dg-add-options dg-add-options check_function_bodies".
However this call has been ommitted from a number of the function body
tests.
Fixed by adding them.
gcc/testsuite/ChangeLog:
* gcc.target/i386/auto-init-padding-9.c: Add a call to
dg-add-options check_function_bodies.
* gcc.target/i386/builtin-fabs-2.c: Likewise.
* gcc.target/i386/memset-strategy-31.c: Likewise.
* gcc.target/i386/no-callee-saved-19a.c: Likewise.
* gcc.target/i386/no-callee-saved-19b.c: Likewise.
* gcc.target/i386/no-callee-saved-19c.c: Likewise.
* gcc.target/i386/no-callee-saved-19d.c: Likewise.
* gcc.target/i386/no-callee-saved-19e.c: Likewise.
* gcc.target/i386/pr111657-1.c: Likewise.
* gcc.target/i386/pr116174.c: Likewise.
* gcc.target/i386/pr119784a.c: Likewise.
* gcc.target/i386/pr119784b.c: Likewise.
* gcc.target/i386/pr120840-1a.c: Likewise.
* gcc.target/i386/pr120840-1b.c: Likewise.
* gcc.target/i386/pr120840-1c.c: Likewise.
* gcc.target/i386/pr120840-1d.c: Likewise.
* gcc.target/i386/pr120881-2a.c: Likewise.
* gcc.target/i386/pr120936-10.c: Likewise.
* gcc.target/i386/pr120936-12.c: Likewise.
* gcc.target/i386/pr120936-3.c: Likewise.
* gcc.target/i386/pr120936-6.c: Likewise.
* gcc.target/i386/pr120936-7.c: Likewise.
* gcc.target/i386/pr120936-8.c: Likewise.
* gcc.target/i386/pr120941-1.c: Likewise.
* gcc.target/i386/pr121572-1a.c: Likewise.
* gcc.target/i386/pr121572-1b.c: Likewise.
* gcc.target/i386/pr81501-4a.c: Likewise.
* gcc.target/i386/pr81501-6a.c: Likewise.
* gcc.target/i386/pr81501-6b.c: Likewise.
* gcc.target/i386/pr81501-8a.c: Likewise.
* gcc.target/i386/pr81501-8b.c: Likewise.
* gcc.target/i386/pr81501-9a.c: Likewise.
* gcc.target/i386/pr81501-9b.c: Likewise.
* gcc.target/i386/pr93492-1.c: Likewise.
* gcc.target/i386/preserve-none-25.c: Likewise.
* gcc.target/i386/preserve-none-26.c: Likewise.
* gcc.target/i386/preserve-none-27.c: Likewise.
* gcc.target/i386/preserve-none-30a.c: Likewise.
* gcc.target/i386/preserve-none-30b.c: Likewise.
Signed-off-by: Iain Sandoe <[email protected]>
---
gcc/testsuite/gcc.target/i386/auto-init-padding-9.c | 5 +++--
gcc/testsuite/gcc.target/i386/builtin-fabs-2.c | 1 +
gcc/testsuite/gcc.target/i386/memset-strategy-31.c | 1 +
gcc/testsuite/gcc.target/i386/no-callee-saved-19a.c | 5 +++--
gcc/testsuite/gcc.target/i386/no-callee-saved-19b.c | 1 +
gcc/testsuite/gcc.target/i386/no-callee-saved-19c.c | 1 +
gcc/testsuite/gcc.target/i386/no-callee-saved-19d.c | 1 +
gcc/testsuite/gcc.target/i386/no-callee-saved-19e.c | 1 +
gcc/testsuite/gcc.target/i386/pr111657-1.c | 1 +
gcc/testsuite/gcc.target/i386/pr116174.c | 1 +
gcc/testsuite/gcc.target/i386/pr119784a.c | 3 ++-
gcc/testsuite/gcc.target/i386/pr119784b.c | 1 +
gcc/testsuite/gcc.target/i386/pr120840-1a.c | 1 +
gcc/testsuite/gcc.target/i386/pr120840-1b.c | 1 +
gcc/testsuite/gcc.target/i386/pr120840-1c.c | 1 +
gcc/testsuite/gcc.target/i386/pr120840-1d.c | 1 +
gcc/testsuite/gcc.target/i386/pr120881-2a.c | 1 +
gcc/testsuite/gcc.target/i386/pr120936-10.c | 1 +
gcc/testsuite/gcc.target/i386/pr120936-12.c | 1 +
gcc/testsuite/gcc.target/i386/pr120936-3.c | 1 +
gcc/testsuite/gcc.target/i386/pr120936-6.c | 1 +
gcc/testsuite/gcc.target/i386/pr120936-7.c | 1 +
gcc/testsuite/gcc.target/i386/pr120936-8.c | 1 +
gcc/testsuite/gcc.target/i386/pr120941-1.c | 1 +
gcc/testsuite/gcc.target/i386/pr121572-1a.c | 1 +
gcc/testsuite/gcc.target/i386/pr121572-1b.c | 1 +
gcc/testsuite/gcc.target/i386/pr81501-4a.c | 1 +
gcc/testsuite/gcc.target/i386/pr81501-6a.c | 1 +
gcc/testsuite/gcc.target/i386/pr81501-6b.c | 1 +
gcc/testsuite/gcc.target/i386/pr81501-8a.c | 1 +
gcc/testsuite/gcc.target/i386/pr81501-8b.c | 1 +
gcc/testsuite/gcc.target/i386/pr81501-9a.c | 1 +
gcc/testsuite/gcc.target/i386/pr81501-9b.c | 2 +-
gcc/testsuite/gcc.target/i386/pr93492-1.c | 1 +
gcc/testsuite/gcc.target/i386/preserve-none-25.c | 1 +
gcc/testsuite/gcc.target/i386/preserve-none-26.c | 1 +
gcc/testsuite/gcc.target/i386/preserve-none-27.c | 1 +
gcc/testsuite/gcc.target/i386/preserve-none-30a.c | 1 +
gcc/testsuite/gcc.target/i386/preserve-none-30b.c | 1 +
39 files changed, 44 insertions(+), 6 deletions(-)
diff --git a/gcc/testsuite/gcc.target/i386/auto-init-padding-9.c
b/gcc/testsuite/gcc.target/i386/auto-init-padding-9.c
index 8cbf67a902d..374255052e1 100644
--- a/gcc/testsuite/gcc.target/i386/auto-init-padding-9.c
+++ b/gcc/testsuite/gcc.target/i386/auto-init-padding-9.c
@@ -1,7 +1,8 @@
/* Verify zero initialization for array type with structure element with
- padding. */
+ padding. */
/* { dg-do compile } */
/* { dg-options "-ftrivial-auto-var-init=zero -march=x86-64
-fno-stack-protector" } */
+/* { dg-add-options check_function_bodies } */
/* Keep labels and directives ('.cfi_startproc', '.cfi_endproc'). */
/* { dg-final { check-function-bodies "**" "" "" { target lp64 } {^\t?\.} } }
*/
@@ -44,7 +45,7 @@ struct test_trailing_hole {
int foo ()
{
- struct test_trailing_hole var[10];
+ struct test_trailing_hole var[10];
return var[2].four;
}
diff --git a/gcc/testsuite/gcc.target/i386/builtin-fabs-2.c
b/gcc/testsuite/gcc.target/i386/builtin-fabs-2.c
index dba3f8f4b53..f9d5fc0bee6 100644
--- a/gcc/testsuite/gcc.target/i386/builtin-fabs-2.c
+++ b/gcc/testsuite/gcc.target/i386/builtin-fabs-2.c
@@ -1,6 +1,7 @@
/* PR target/99930 */
/* { dg-do compile } */
/* { dg-options "-O2 -mno-avx -msse2" } */
+/* { dg-add-options check_function_bodies } */
/* Keep labels and directives ('.cfi_startproc', '.cfi_endproc'). */
/* { dg-final { check-function-bodies "**" "" "" { target { ! ia32 } }
{^\t?\.} } } */
diff --git a/gcc/testsuite/gcc.target/i386/memset-strategy-31.c
b/gcc/testsuite/gcc.target/i386/memset-strategy-31.c
index 4791c4dd17c..6886f550081 100644
--- a/gcc/testsuite/gcc.target/i386/memset-strategy-31.c
+++ b/gcc/testsuite/gcc.target/i386/memset-strategy-31.c
@@ -1,5 +1,6 @@
/* { dg-do compile } */
/* { dg-options "-O2 -mtune=generic -mno-avx -msse2" } */
+/* { dg-add-options check_function_bodies } */
/* Keep labels and directives ('.cfi_startproc', '.cfi_endproc'). */
/* { dg-final { check-function-bodies "**" "" "" { target lp64 } {^\t?\.} } }
*/
diff --git a/gcc/testsuite/gcc.target/i386/no-callee-saved-19a.c
b/gcc/testsuite/gcc.target/i386/no-callee-saved-19a.c
index 3ba578df8c2..2e90dc1319a 100644
--- a/gcc/testsuite/gcc.target/i386/no-callee-saved-19a.c
+++ b/gcc/testsuite/gcc.target/i386/no-callee-saved-19a.c
@@ -1,5 +1,6 @@
/* { dg-do compile { target { *-*-linux* && lp64 } } } */
/* { dg-options "-O2 -fno-pic -mtune=generic -msse2 -mno-avx -mno-mmx
-mno-80387 -mno-apxf -mtune-ctrl=prologue_using_move,epilogue_using_move" } */
+/* { dg-add-options check_function_bodies } */
/* Keep labels and directives ('.cfi_startproc', '.cfi_endproc'). */
/* { dg-final { check-function-bodies "**" "" "" { target "*-*-*" } {^\t?\.}
} } */
@@ -23,7 +24,7 @@
#define DONT_SAVE_REGS __attribute__((no_callee_saved_registers))
#define SAVE_REGS __attribute__((no_caller_saved_registers))
-typedef DONT_SAVE_REGS void (*op_t)(void *next);
+typedef DONT_SAVE_REGS void (*op_t)(void *next);
extern int accumulator;
@@ -46,7 +47,7 @@ static DONT_SAVE_REGS void end(void *next)
*/
static DONT_SAVE_REGS void inc(void *next)
-{
+{
accumulator += 1;
CLOBBER;
NEXT;
diff --git a/gcc/testsuite/gcc.target/i386/no-callee-saved-19b.c
b/gcc/testsuite/gcc.target/i386/no-callee-saved-19b.c
index dc38936a61a..f9d4ac58a7e 100644
--- a/gcc/testsuite/gcc.target/i386/no-callee-saved-19b.c
+++ b/gcc/testsuite/gcc.target/i386/no-callee-saved-19b.c
@@ -1,5 +1,6 @@
/* { dg-do compile { target { *-*-linux* && maybe_x32 } } } */
/* { dg-options "-O2 -mx32 -fno-pic -mtune=generic -msse2 -mno-avx -mno-mmx
-mno-80387 -mno-apxf -mtune-ctrl=prologue_using_move,epilogue_using_move" } */
+/* { dg-add-options check_function_bodies } */
/* Keep labels and directives ('.cfi_startproc', '.cfi_endproc'). */
/* { dg-final { check-function-bodies "**" "" "" { target "*-*-*" } {^\t?\.}
} } */
diff --git a/gcc/testsuite/gcc.target/i386/no-callee-saved-19c.c
b/gcc/testsuite/gcc.target/i386/no-callee-saved-19c.c
index e7f247b723c..00a5c682d5b 100644
--- a/gcc/testsuite/gcc.target/i386/no-callee-saved-19c.c
+++ b/gcc/testsuite/gcc.target/i386/no-callee-saved-19c.c
@@ -1,5 +1,6 @@
/* { dg-do compile { target { *-*-linux* && ia32 } } } */
/* { dg-options "-O2 -fno-pic -mtune=generic -msse2 -mno-avx -mno-mmx
-mno-80387 -mtune-ctrl=prologue_using_move,epilogue_using_move" } */
+/* { dg-add-options check_function_bodies } */
/* Keep labels and directives ('.cfi_startproc', '.cfi_endproc'). */
/* { dg-final { check-function-bodies "**" "" "" { target "*-*-*" } {^\t?\.}
} } */
diff --git a/gcc/testsuite/gcc.target/i386/no-callee-saved-19d.c
b/gcc/testsuite/gcc.target/i386/no-callee-saved-19d.c
index 4657e170350..a5913de8cfd 100644
--- a/gcc/testsuite/gcc.target/i386/no-callee-saved-19d.c
+++ b/gcc/testsuite/gcc.target/i386/no-callee-saved-19d.c
@@ -1,5 +1,6 @@
/* { dg-do compile { target { *-*-linux* && lp64 } } } */
/* { dg-options "-O2 -fno-pic -mtune=generic -msse2 -mno-avx -mno-mmx
-mno-80387 -mapxf -mtune-ctrl=prologue_using_move,epilogue_using_move" } */
+/* { dg-add-options check_function_bodies } */
/* Keep labels and directives ('.cfi_startproc', '.cfi_endproc'). */
/* { dg-final { check-function-bodies "**" "" "" { target "*-*-*" } {^\t?\.}
} } */
diff --git a/gcc/testsuite/gcc.target/i386/no-callee-saved-19e.c
b/gcc/testsuite/gcc.target/i386/no-callee-saved-19e.c
index 8e0bbe82eae..7eb49017270 100644
--- a/gcc/testsuite/gcc.target/i386/no-callee-saved-19e.c
+++ b/gcc/testsuite/gcc.target/i386/no-callee-saved-19e.c
@@ -1,5 +1,6 @@
/* { dg-do compile { target { *-*-linux* && maybe_x32 } } } */
/* { dg-options "-O2 -mx32 -fno-pic -mtune=generic -msse2 -mno-avx -mno-mmx
-mno-80387 -mapxf -mtune-ctrl=prologue_using_move,epilogue_using_move" } */
+/* { dg-add-options check_function_bodies } */
/* Keep labels and directives ('.cfi_startproc', '.cfi_endproc'). */
/* { dg-final { check-function-bodies "**" "" "" { target "*-*-*" } {^\t?\.}
} } */
diff --git a/gcc/testsuite/gcc.target/i386/pr111657-1.c
b/gcc/testsuite/gcc.target/i386/pr111657-1.c
index 6e8516a3083..b80662c2e0a 100644
--- a/gcc/testsuite/gcc.target/i386/pr111657-1.c
+++ b/gcc/testsuite/gcc.target/i386/pr111657-1.c
@@ -1,5 +1,6 @@
/* { dg-do assemble } */
/* { dg-options "-O2 -mno-sse -mtune=generic -save-temps -fno-pie" } */
+/* { dg-add-options check_function_bodies } */
/* Keep labels and directives ('.cfi_startproc', '.cfi_endproc'). */
/* { dg-final { check-function-bodies "**" "" "" { target lp64 } {^\t?\.} } }
*/
diff --git a/gcc/testsuite/gcc.target/i386/pr116174.c
b/gcc/testsuite/gcc.target/i386/pr116174.c
index 3c8000f2aad..1b4fba6c80d 100644
--- a/gcc/testsuite/gcc.target/i386/pr116174.c
+++ b/gcc/testsuite/gcc.target/i386/pr116174.c
@@ -1,5 +1,6 @@
/* { dg-do compile { target *-*-linux* } } */
/* { dg-options "-O2 -g0 -fcf-protection=branch" } */
+/* { dg-add-options check_function_bodies } */
/* Keep labels and directives ('.p2align', '.cfi_startproc'). */
/* { dg-final { check-function-bodies "**" "" "" { target "*-*-*" } {^\t?\.}
} } */
diff --git a/gcc/testsuite/gcc.target/i386/pr119784a.c
b/gcc/testsuite/gcc.target/i386/pr119784a.c
index a3b7e4aa7cc..7887bc01d02 100644
--- a/gcc/testsuite/gcc.target/i386/pr119784a.c
+++ b/gcc/testsuite/gcc.target/i386/pr119784a.c
@@ -1,5 +1,6 @@
/* { dg-do compile { target { *-*-linux* && lp64 } } } */
/* { dg-options "-O2 -fno-pic -mtune=generic -mgeneral-regs-only -mapxf
-mtune-ctrl=prologue_using_move,epilogue_using_move" } */
+/* { dg-add-options check_function_bodies } */
/* Keep labels and directives ('.cfi_startproc', '.cfi_endproc'). */
/* { dg-final { check-function-bodies "**" "" "" { target "*-*-*" } {^\t?\.}
} } */
@@ -83,7 +84,7 @@
#define DONT_SAVE_REGS __attribute__((no_callee_saved_registers))
#define SAVE_REGS __attribute__((no_caller_saved_registers))
-typedef DONT_SAVE_REGS void (*op_t)(void);
+typedef DONT_SAVE_REGS void (*op_t)(void);
extern op_t code[];
diff --git a/gcc/testsuite/gcc.target/i386/pr119784b.c
b/gcc/testsuite/gcc.target/i386/pr119784b.c
index c6761976ed6..b8fde76fd09 100644
--- a/gcc/testsuite/gcc.target/i386/pr119784b.c
+++ b/gcc/testsuite/gcc.target/i386/pr119784b.c
@@ -1,5 +1,6 @@
/* { dg-do compile { target { *-*-linux* && x32 } } } */
/* { dg-options "-O2 -fno-pic -mtune=generic -mgeneral-regs-only -mapxf
-mtune-ctrl=prologue_using_move,epilogue_using_move" } */
+/* { dg-add-options check_function_bodies } */
/* Keep labels and directives ('.cfi_startproc', '.cfi_endproc'). */
/* { dg-final { check-function-bodies "**" "" "" { target "*-*-*" } {^\t?\.}
} } */
diff --git a/gcc/testsuite/gcc.target/i386/pr120840-1a.c
b/gcc/testsuite/gcc.target/i386/pr120840-1a.c
index cc5800311b3..801fc2c86ac 100644
--- a/gcc/testsuite/gcc.target/i386/pr120840-1a.c
+++ b/gcc/testsuite/gcc.target/i386/pr120840-1a.c
@@ -1,5 +1,6 @@
/* { dg-do run } */
/* { dg-options "-save-temps -O2 -fno-omit-frame-pointer
-mtune-ctrl=prologue_using_move,epilogue_using_move,use_leave" } */
+/* { dg-add-options check_function_bodies } */
#ifndef DONT_SAVE_REGS1
# define DONT_SAVE_REGS1 __attribute__((no_callee_saved_registers))
diff --git a/gcc/testsuite/gcc.target/i386/pr120840-1b.c
b/gcc/testsuite/gcc.target/i386/pr120840-1b.c
index a759e3402b5..e3269d24945 100644
--- a/gcc/testsuite/gcc.target/i386/pr120840-1b.c
+++ b/gcc/testsuite/gcc.target/i386/pr120840-1b.c
@@ -1,5 +1,6 @@
/* { dg-do run } */
/* { dg-options "-save-temps -O2 -fno-omit-frame-pointer
-mtune-ctrl=prologue_using_move,epilogue_using_move,use_leave" } */
+/* { dg-add-options check_function_bodies } */
#define DONT_SAVE_REGS1 __attribute__((preserve_none))
#define DONT_SAVE_REGS2 __attribute__((no_callee_saved_registers))
diff --git a/gcc/testsuite/gcc.target/i386/pr120840-1c.c
b/gcc/testsuite/gcc.target/i386/pr120840-1c.c
index 84aa353d705..5a065abca5f 100644
--- a/gcc/testsuite/gcc.target/i386/pr120840-1c.c
+++ b/gcc/testsuite/gcc.target/i386/pr120840-1c.c
@@ -1,5 +1,6 @@
/* { dg-do run } */
/* { dg-options "-save-temps -O2 -fno-omit-frame-pointer
-mtune-ctrl=prologue_using_move,epilogue_using_move,use_leave" } */
+/* { dg-add-options check_function_bodies } */
#define DONT_SAVE_REGS1 __attribute__((no_callee_saved_registers))
#define DONT_SAVE_REGS2 __attribute__((preserve_none))
diff --git a/gcc/testsuite/gcc.target/i386/pr120840-1d.c
b/gcc/testsuite/gcc.target/i386/pr120840-1d.c
index a6b38a6aff1..7338860da72 100644
--- a/gcc/testsuite/gcc.target/i386/pr120840-1d.c
+++ b/gcc/testsuite/gcc.target/i386/pr120840-1d.c
@@ -1,5 +1,6 @@
/* { dg-do run } */
/* { dg-options "-save-temps -O2 -fno-omit-frame-pointer
-mtune-ctrl=prologue_using_move,epilogue_using_move,use_leave" } */
+/* { dg-add-options check_function_bodies } */
#define DONT_SAVE_REGS1 __attribute__((preserve_none))
#define DONT_SAVE_REGS2 __attribute__((preserve_none))
diff --git a/gcc/testsuite/gcc.target/i386/pr120881-2a.c
b/gcc/testsuite/gcc.target/i386/pr120881-2a.c
index 760c39f8b80..ff56106116b 100644
--- a/gcc/testsuite/gcc.target/i386/pr120881-2a.c
+++ b/gcc/testsuite/gcc.target/i386/pr120881-2a.c
@@ -1,5 +1,6 @@
/* { dg-do compile { target fentry } } */
/* { dg-options "-O2 -pg -fno-pie" } */
+/* { dg-add-options check_function_bodies } */
/* Keep labels and directives ('.cfi_startproc', '.cfi_endproc'). */
/* { dg-final { check-function-bodies "**" "" "" { target "*-*-*" } {^\t?\.} }
} */
diff --git a/gcc/testsuite/gcc.target/i386/pr120936-10.c
b/gcc/testsuite/gcc.target/i386/pr120936-10.c
index 6107a5ccabc..d4c3a1ce193 100644
--- a/gcc/testsuite/gcc.target/i386/pr120936-10.c
+++ b/gcc/testsuite/gcc.target/i386/pr120936-10.c
@@ -1,5 +1,6 @@
/* { dg-do compile { target { { *-*-linux* && lp64 } && fpic } } } */
/* { dg-options "-O2 -mcmodel=large -pg -mno-fentry -fpic -fno-shrink-wrap" }
*/
+/* { dg-add-options check_function_bodies } */
/* Keep labels and directives ('.cfi_startproc', '.cfi_endproc'). */
/* { dg-final { check-function-bodies "**" "" "" { target "*-*-*" }
{^(1|\t?\.)} } } */
diff --git a/gcc/testsuite/gcc.target/i386/pr120936-12.c
b/gcc/testsuite/gcc.target/i386/pr120936-12.c
index fdeaf675556..3106963c372 100644
--- a/gcc/testsuite/gcc.target/i386/pr120936-12.c
+++ b/gcc/testsuite/gcc.target/i386/pr120936-12.c
@@ -1,5 +1,6 @@
/* { dg-do compile { target { { *-*-linux* && lp64 } && fpic } } } */
/* { dg-options "-O2 -mcmodel=large -mrecord-mcount -pg -mno-fentry -fpic
-fno-shrink-wrap" } */
+/* { dg-add-options check_function_bodies } */
/* Keep labels and directives ('.cfi_startproc', '.cfi_endproc'). */
/* { dg-final { check-function-bodies "**" "" "" { target "*-*-*" }
{^(1|\t?\.)} } } */
diff --git a/gcc/testsuite/gcc.target/i386/pr120936-3.c
b/gcc/testsuite/gcc.target/i386/pr120936-3.c
index 44a117345bb..13a5ba7b2e2 100644
--- a/gcc/testsuite/gcc.target/i386/pr120936-3.c
+++ b/gcc/testsuite/gcc.target/i386/pr120936-3.c
@@ -1,5 +1,6 @@
/* { dg-do compile { target { *-*-linux* && fpic } } } */
/* { dg-options "-O2 -mnop-mcount -pg -mno-fentry -fno-pic -fno-shrink-wrap" }
*/
+/* { dg-add-options check_function_bodies } */
/* Keep labels and directives ('.cfi_startproc', '.cfi_endproc'). */
/* { dg-final { check-function-bodies "**" "" "" { target "*-*-*" } {^\t?\.} }
} */
diff --git a/gcc/testsuite/gcc.target/i386/pr120936-6.c
b/gcc/testsuite/gcc.target/i386/pr120936-6.c
index 013b5e89cab..b509befa74b 100644
--- a/gcc/testsuite/gcc.target/i386/pr120936-6.c
+++ b/gcc/testsuite/gcc.target/i386/pr120936-6.c
@@ -1,5 +1,6 @@
/* { dg-do compile { target { *-*-linux* && fpic } } } */
/* { dg-options "-O2 -mrecord-mcount -mnop-mcount -pg -mno-fentry -fno-pic
-fno-shrink-wrap" } */
+/* { dg-add-options check_function_bodies } */
/* Keep labels and directives ('.cfi_startproc', '.cfi_endproc'). */
/* { dg-final { check-function-bodies "**" "" "" { target "*-*-*" }
{^(1|\t?\.)} } } */
diff --git a/gcc/testsuite/gcc.target/i386/pr120936-7.c
b/gcc/testsuite/gcc.target/i386/pr120936-7.c
index 0c864671b06..14525f94a6f 100644
--- a/gcc/testsuite/gcc.target/i386/pr120936-7.c
+++ b/gcc/testsuite/gcc.target/i386/pr120936-7.c
@@ -1,5 +1,6 @@
/* { dg-do compile { target { *-*-linux* && { ! ia32 } } } } */
/* { dg-options "-O2 -pg -mno-fentry -fpic -fno-plt -fno-shrink-wrap" } */
+/* { dg-add-options check_function_bodies } */
/* Keep labels and directives ('.cfi_startproc', '.cfi_endproc'). */
/* { dg-final { check-function-bodies "**" "" "" { target "*-*-*" } {^\t?\.} }
} */
diff --git a/gcc/testsuite/gcc.target/i386/pr120936-8.c
b/gcc/testsuite/gcc.target/i386/pr120936-8.c
index 3f86781bcbd..8e9214d53b2 100644
--- a/gcc/testsuite/gcc.target/i386/pr120936-8.c
+++ b/gcc/testsuite/gcc.target/i386/pr120936-8.c
@@ -1,5 +1,6 @@
/* { dg-do compile { target { *-*-linux* && { ! ia32 } } } } */
/* { dg-options "-O2 -pg -mrecord-mcount -mno-fentry -fpic -fno-plt
-fno-shrink-wrap" } */
+/* { dg-add-options check_function_bodies } */
/* Keep labels and directives ('.cfi_startproc', '.cfi_endproc'). */
/* { dg-final { check-function-bodies "**" "" "" { target "*-*-*" }
{^(1|\t?\.)} } } */
diff --git a/gcc/testsuite/gcc.target/i386/pr120941-1.c
b/gcc/testsuite/gcc.target/i386/pr120941-1.c
index b4fc6ac97fc..28dae89a020 100644
--- a/gcc/testsuite/gcc.target/i386/pr120941-1.c
+++ b/gcc/testsuite/gcc.target/i386/pr120941-1.c
@@ -1,5 +1,6 @@
/* { dg-do compile } */
/* { dg-options "-Ofast -march=x86-64-v3" } */
+/* { dg-add-options check_function_bodies } */
/* Keep labels and directives ('.cfi_startproc', '.cfi_endproc'). */
/* { dg-final { check-function-bodies "**" "" "" { target lp64 } {^\t?\.} } }
*/
diff --git a/gcc/testsuite/gcc.target/i386/pr121572-1a.c
b/gcc/testsuite/gcc.target/i386/pr121572-1a.c
index c96c3f046a5..a49eb1d7908 100644
--- a/gcc/testsuite/gcc.target/i386/pr121572-1a.c
+++ b/gcc/testsuite/gcc.target/i386/pr121572-1a.c
@@ -1,5 +1,6 @@
/* { dg-do compile { target *-*-linux* } } */
/* { dg-options "-O0 -fpic -fplt -mtls-dialect=gnu" } */
+/* { dg-add-options check_function_bodies } */
/* Keep labels and directives ('.cfi_startproc', '.cfi_endproc'). */
/* { dg-final { check-function-bodies "**" "" "" { target { ! ia32 } }
{^\t?\.} } } */
diff --git a/gcc/testsuite/gcc.target/i386/pr121572-1b.c
b/gcc/testsuite/gcc.target/i386/pr121572-1b.c
index 8a6089109f5..15d872ed88d 100644
--- a/gcc/testsuite/gcc.target/i386/pr121572-1b.c
+++ b/gcc/testsuite/gcc.target/i386/pr121572-1b.c
@@ -1,5 +1,6 @@
/* { dg-do compile { target *-*-linux* } } */
/* { dg-options "-O0 -fpic -fplt -mtls-dialect=gnu2" } */
+/* { dg-add-options check_function_bodies } */
/* Keep labels and directives ('.cfi_startproc', '.cfi_endproc'). */
/* { dg-final { check-function-bodies "**" "" "" { target { ! ia32 } }
{^\t?\.} } } */
diff --git a/gcc/testsuite/gcc.target/i386/pr81501-4a.c
b/gcc/testsuite/gcc.target/i386/pr81501-4a.c
index 0c655e259ff..b3b61c7f5c4 100644
--- a/gcc/testsuite/gcc.target/i386/pr81501-4a.c
+++ b/gcc/testsuite/gcc.target/i386/pr81501-4a.c
@@ -1,5 +1,6 @@
/* { dg-do compile { target *-*-linux* } } */
/* { dg-options "-O2 -march=x86-64 -fpic -fplt -mtls-dialect=gnu" } */
+/* { dg-add-options check_function_bodies } */
/* Keep labels and directives ('.cfi_startproc', '.cfi_endproc'). */
/* { dg-final { check-function-bodies "**" "" "" { target { ! ia32 } }
{^\t?\.} } } */
diff --git a/gcc/testsuite/gcc.target/i386/pr81501-6a.c
b/gcc/testsuite/gcc.target/i386/pr81501-6a.c
index db8acf82883..423e849e67d 100644
--- a/gcc/testsuite/gcc.target/i386/pr81501-6a.c
+++ b/gcc/testsuite/gcc.target/i386/pr81501-6a.c
@@ -1,5 +1,6 @@
/* { dg-do compile { target *-*-linux* } } */
/* { dg-options "-O2 -march=x86-64 -fpic -fplt -mtls-dialect=gnu" } */
+/* { dg-add-options check_function_bodies } */
/* Keep labels and directives ('.cfi_startproc', '.cfi_endproc'). */
/* { dg-final { check-function-bodies "**" "" "" { target { ! ia32 } }
{^\t?\.} } } */
diff --git a/gcc/testsuite/gcc.target/i386/pr81501-6b.c
b/gcc/testsuite/gcc.target/i386/pr81501-6b.c
index 0b71f0a9039..d57712e8e24 100644
--- a/gcc/testsuite/gcc.target/i386/pr81501-6b.c
+++ b/gcc/testsuite/gcc.target/i386/pr81501-6b.c
@@ -1,5 +1,6 @@
/* { dg-do compile { target *-*-linux* } } */
/* { dg-options "-O2 -march=x86-64 -fpic -fplt -mtls-dialect=gnu2" } */
+/* { dg-add-options check_function_bodies } */
/* Keep labels and directives ('.cfi_startproc', '.cfi_endproc'). */
/* { dg-final { check-function-bodies "**" "" "" { target { ! ia32 } }
{^\t?\.} } } */
diff --git a/gcc/testsuite/gcc.target/i386/pr81501-8a.c
b/gcc/testsuite/gcc.target/i386/pr81501-8a.c
index 7e14ef5cd4f..15cee63b55f 100644
--- a/gcc/testsuite/gcc.target/i386/pr81501-8a.c
+++ b/gcc/testsuite/gcc.target/i386/pr81501-8a.c
@@ -1,5 +1,6 @@
/* { dg-do compile { target *-*-linux* } } */
/* { dg-options "-O2 -march=x86-64 -fpic -fplt -mtls-dialect=gnu" } */
+/* { dg-add-options check_function_bodies } */
/* Keep labels and directives ('.cfi_startproc', '.cfi_endproc'). */
/* { dg-final { check-function-bodies "**" "" "" { target { ! ia32 } }
{^\t?\.} } } */
diff --git a/gcc/testsuite/gcc.target/i386/pr81501-8b.c
b/gcc/testsuite/gcc.target/i386/pr81501-8b.c
index 778b2fb3507..a4df4c80515 100644
--- a/gcc/testsuite/gcc.target/i386/pr81501-8b.c
+++ b/gcc/testsuite/gcc.target/i386/pr81501-8b.c
@@ -1,5 +1,6 @@
/* { dg-do compile { target *-*-linux* } } */
/* { dg-options "-O2 -march=x86-64 -fpic -fplt -mtls-dialect=gnu2" } */
+/* { dg-add-options check_function_bodies } */
/* Keep labels and directives ('.cfi_startproc', '.cfi_endproc'). */
/* { dg-final { check-function-bodies "**" "" "" { target { ! ia32 } }
{^\t?\.} } } */
diff --git a/gcc/testsuite/gcc.target/i386/pr81501-9a.c
b/gcc/testsuite/gcc.target/i386/pr81501-9a.c
index 66a2768a22c..bf184a2f828 100644
--- a/gcc/testsuite/gcc.target/i386/pr81501-9a.c
+++ b/gcc/testsuite/gcc.target/i386/pr81501-9a.c
@@ -1,5 +1,6 @@
/* { dg-do compile { target *-*-linux* } } */
/* { dg-options "-O2 -march=x86-64-v4 -fpic -fplt -mtls-dialect=gnu" } */
+/* { dg-add-options check_function_bodies } */
/* Keep labels and directives ('.cfi_startproc', '.cfi_endproc'). */
/* { dg-final { check-function-bodies "**" "" "" { target { ! ia32 } }
{^\t?\.} } } */
diff --git a/gcc/testsuite/gcc.target/i386/pr81501-9b.c
b/gcc/testsuite/gcc.target/i386/pr81501-9b.c
index 711b177bc1e..0a90a6a5d43 100644
--- a/gcc/testsuite/gcc.target/i386/pr81501-9b.c
+++ b/gcc/testsuite/gcc.target/i386/pr81501-9b.c
@@ -1,8 +1,8 @@
/* { dg-do compile { target *-*-linux* } } */
/* { dg-options "-O2 -march=x86-64-v4 -fpic -fplt -mtls-dialect=gnu2" } */
+/* { dg-add-options check_function_bodies } */
/* Keep labels and directives ('.cfi_startproc', '.cfi_endproc'). */
/* { dg-final { check-function-bodies "**" "" "" { target { ! ia32 } }
{^\t?\.} } } */
-/* Keep labels and directives ('.cfi_startproc', '.cfi_endproc'). */
/*
**foo:
diff --git a/gcc/testsuite/gcc.target/i386/pr93492-1.c
b/gcc/testsuite/gcc.target/i386/pr93492-1.c
index 7a82d0c68e1..ecc933f19e9 100644
--- a/gcc/testsuite/gcc.target/i386/pr93492-1.c
+++ b/gcc/testsuite/gcc.target/i386/pr93492-1.c
@@ -1,5 +1,6 @@
/* { dg-do "compile" { target *-*-linux* } } */
/* { dg-options "-O1 -fcf-protection -mmanual-endbr" } */
+/* { dg-add-options check_function_bodies } */
/* { dg-final { check-function-bodies "**" "" } } */
/* Note: this test only checks the instructions in the function bodies,
diff --git a/gcc/testsuite/gcc.target/i386/preserve-none-25.c
b/gcc/testsuite/gcc.target/i386/preserve-none-25.c
index e22da50427f..08e2bedca41 100644
--- a/gcc/testsuite/gcc.target/i386/preserve-none-25.c
+++ b/gcc/testsuite/gcc.target/i386/preserve-none-25.c
@@ -1,5 +1,6 @@
/* { dg-do compile { target { *-*-linux* && { ! ia32 } } } } */
/* { dg-options "-O2 -fno-pic -mtune=generic -msse2 -mno-apxf
-mtune-ctrl=prologue_using_move,epilogue_using_move" } */
+/* { dg-add-options check_function_bodies } */
/* Keep labels and directives ('.cfi_startproc', '.cfi_endproc'). */
/* { dg-final { check-function-bodies "**" "" "" { target "*-*-*" } {^\t?\.}
} } */
diff --git a/gcc/testsuite/gcc.target/i386/preserve-none-26.c
b/gcc/testsuite/gcc.target/i386/preserve-none-26.c
index 926d127b576..e740a71029d 100644
--- a/gcc/testsuite/gcc.target/i386/preserve-none-26.c
+++ b/gcc/testsuite/gcc.target/i386/preserve-none-26.c
@@ -1,5 +1,6 @@
/* { dg-do compile { target { *-*-linux* && { ! ia32 } } } } */
/* { dg-options "-O2 -fno-pic -mtune=generic -msse2 -mno-apxf
-mtune-ctrl=prologue_using_move,epilogue_using_move" } */
+/* { dg-add-options check_function_bodies } */
/* Keep labels and directives ('.cfi_startproc', '.cfi_endproc'). */
/* { dg-final { check-function-bodies "**" "" "" { target "*-*-*" } {^\t?\.}
} } */
diff --git a/gcc/testsuite/gcc.target/i386/preserve-none-27.c
b/gcc/testsuite/gcc.target/i386/preserve-none-27.c
index 17aa57d60ed..2b3747db792 100644
--- a/gcc/testsuite/gcc.target/i386/preserve-none-27.c
+++ b/gcc/testsuite/gcc.target/i386/preserve-none-27.c
@@ -1,5 +1,6 @@
/* { dg-do compile { target { *-*-linux* && { ! ia32 } } } } */
/* { dg-options "-O2 -fno-pic -mtune=generic -msse2 -mno-apxf
-mtune-ctrl=prologue_using_move,epilogue_using_move" } */
+/* { dg-add-options check_function_bodies } */
/* Keep labels and directives ('.cfi_startproc', '.cfi_endproc'). */
/* { dg-final { check-function-bodies "**" "" "" { target "*-*-*" } {^\t?\.}
} } */
diff --git a/gcc/testsuite/gcc.target/i386/preserve-none-30a.c
b/gcc/testsuite/gcc.target/i386/preserve-none-30a.c
index 2a21ef52708..ce35e432e44 100644
--- a/gcc/testsuite/gcc.target/i386/preserve-none-30a.c
+++ b/gcc/testsuite/gcc.target/i386/preserve-none-30a.c
@@ -1,5 +1,6 @@
/* { dg-do compile { target { *-*-linux* && lp64 } } } */
/* { dg-options "-O2 -fno-pic -mtune=generic -msse2 -mno-apxf
-mtune-ctrl=prologue_using_move,epilogue_using_move" } */
+/* { dg-add-options check_function_bodies } */
/* Keep labels and directives ('.cfi_startproc', '.cfi_endproc'). */
/* { dg-final { check-function-bodies "**" "" "" { target "*-*-*" } {^\t?\.}
} } */
diff --git a/gcc/testsuite/gcc.target/i386/preserve-none-30b.c
b/gcc/testsuite/gcc.target/i386/preserve-none-30b.c
index 425d0aa24a6..bc48c332d5c 100644
--- a/gcc/testsuite/gcc.target/i386/preserve-none-30b.c
+++ b/gcc/testsuite/gcc.target/i386/preserve-none-30b.c
@@ -1,5 +1,6 @@
/* { dg-do compile { target { *-*-linux* && maybe_x32 } } } */
/* { dg-options "-O2 -mx32 -fno-pic -mtune=generic -msse2 -mno-apxf
-mtune-ctrl=prologue_using_move,epilogue_using_move" } */
+/* { dg-add-options check_function_bodies } */
/* Keep labels and directives ('.cfi_startproc', '.cfi_endproc'). */
/* { dg-final { check-function-bodies "**" "" "" { target "*-*-*" } {^\t?\.}
} } */
--
2.50.1 (Apple Git-155)