aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSteve Ellcey <sellcey@imgtec.com>2015-06-11 21:53:44 +0000
committerSteve Ellcey <sje@gcc.gnu.org>2015-06-11 21:53:44 +0000
commit91234054f7e3c8d5787c84510966f733e02dc693 (patch)
tree1d8a177dcb2e76c82fcfdc386c6450ec4ba5d685
parent270224592539fed425abfefd50114e6856345476 (diff)
downloadgcc-91234054f7e3c8d5787c84510966f733e02dc693.zip
gcc-91234054f7e3c8d5787c84510966f733e02dc693.tar.gz
gcc-91234054f7e3c8d5787c84510966f733e02dc693.tar.bz2
stringop-2.c: Fix ifdef __mips.
2015-06-11 Steve Ellcey <sellcey@imgtec.com> * gcc.dg/tree-prof/stringop-2.c: Fix ifdef __mips. From-SVN: r224394
-rw-r--r--gcc/testsuite/ChangeLog4
-rw-r--r--gcc/testsuite/gcc.dg/tree-prof/stringop-2.c3
2 files changed, 6 insertions, 1 deletions
diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog
index d46ba74..0e59ac2 100644
--- a/gcc/testsuite/ChangeLog
+++ b/gcc/testsuite/ChangeLog
@@ -1,3 +1,7 @@
+2015-06-11 Steve Ellcey <sellcey@imgtec.com>
+
+ * gcc.dg/tree-prof/stringop-2.c: Fix ifdef __mips.
+
2015-06-11 Paul Thomas <pault@gcc.gnu.org>
PR fortran/66079
diff --git a/gcc/testsuite/gcc.dg/tree-prof/stringop-2.c b/gcc/testsuite/gcc.dg/tree-prof/stringop-2.c
index bad185e..66f8d29 100644
--- a/gcc/testsuite/gcc.dg/tree-prof/stringop-2.c
+++ b/gcc/testsuite/gcc.dg/tree-prof/stringop-2.c
@@ -6,8 +6,9 @@ int max=10000;
#ifdef __mips
/* We allow short memcpy()s for MIPS16. */
int __attribute__((nomips16))
-#endif
+#else
int
+#endif
main()
{
int i;