aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard Sandiford <rdsandiford@googlemail.com>2013-06-12 21:31:52 +0000
committerRichard Sandiford <rsandifo@gcc.gnu.org>2013-06-12 21:31:52 +0000
commitef08b035900e8fc1cdcb2648dc6cd85169a43399 (patch)
tree20b434564bcfdbaa940be2ab112a5eb85f7c87c4
parent3ea71f1333e373889e29188612ff5eced66d3e45 (diff)
downloadgcc-ef08b035900e8fc1cdcb2648dc6cd85169a43399.zip
gcc-ef08b035900e8fc1cdcb2648dc6cd85169a43399.tar.gz
gcc-ef08b035900e8fc1cdcb2648dc6cd85169a43399.tar.bz2
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
-rw-r--r--gcc/testsuite/ChangeLog6
-rw-r--r--gcc/testsuite/gcc.target/mips/memcpy-1.c2
-rw-r--r--gcc/testsuite/gcc.target/mips/mips.exp1
3 files changed, 8 insertions, 1 deletions
diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog
index 0593da2..51143cb 100644
--- a/gcc/testsuite/ChangeLog
+++ b/gcc/testsuite/ChangeLog
@@ -1,3 +1,9 @@
+2013-06-12 Richard Sandiford <rdsandiford@googlemail.com>
+
+ * 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 <balaji.v.iyer@intel.com>
* 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 f4e4698..94786a7 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 15b1386..54c97db 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