From ef08b035900e8fc1cdcb2648dc6cd85169a43399 Mon Sep 17 00:00:00 2001 From: Richard Sandiford Date: Wed, 12 Jun 2013 21:31:52 +0000 Subject: [PATCH] mips.exp: Handle -f{no-,}common. gcc/testsuite/ * gcc.target/mips/mips.exp: Handle -f{no-,}common. * gcc.target/mips/memcpy-1.c: Remove redundant dg-do. Run with -fno-common. From-SVN: r200041 --- gcc/testsuite/ChangeLog | 6 ++++++ gcc/testsuite/gcc.target/mips/memcpy-1.c | 2 +- gcc/testsuite/gcc.target/mips/mips.exp | 1 + 3 files changed, 8 insertions(+), 1 deletion(-) diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 0593da28384..51143cbdad1 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,9 @@ +2013-06-12 Richard Sandiford + + * gcc.target/mips/mips.exp: Handle -f{no-,}common. + * gcc.target/mips/memcpy-1.c: Remove redundant dg-do. + Run with -fno-common. + 2013-06-12 Balaji V. Iyer * c-c++-common/cilk-plus/AN/sec_implicit_ex.c (main): Replaced abort diff --git a/gcc/testsuite/gcc.target/mips/memcpy-1.c b/gcc/testsuite/gcc.target/mips/memcpy-1.c index f4e4698141e..94786a7371f 100644 --- a/gcc/testsuite/gcc.target/mips/memcpy-1.c +++ b/gcc/testsuite/gcc.target/mips/memcpy-1.c @@ -1,4 +1,4 @@ -/* { dg-do compile } */ +/* { dg-options "-fno-common" } */ /* { dg-skip-if "code quality test" { *-*-* } { "-O0" } { "" } } */ /* { dg-final { scan-assembler-not "\tlbu\t" } } */ diff --git a/gcc/testsuite/gcc.target/mips/mips.exp b/gcc/testsuite/gcc.target/mips/mips.exp index 15b1386bd9e..54c97db2481 100644 --- a/gcc/testsuite/gcc.target/mips/mips.exp +++ b/gcc/testsuite/gcc.target/mips/mips.exp @@ -286,6 +286,7 @@ foreach option { # Add -ffoo/-fno-foo options to mips_option_groups. foreach option { + common delayed-branch expensive-optimizations fast-math -- 2.30.2