This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
[testsuite, committed] Fix spurious long-long-compare-1.c failure on sh4-*-*.
- From: Oleg Endo <oleg dot endo at t-online dot de>
- To: gcc-patches <gcc-patches at gcc dot gnu dot org>
- Date: Thu, 19 Dec 2013 16:49:11 +0100
- Subject: [testsuite, committed] Fix spurious long-long-compare-1.c failure on sh4-*-*.
- Authentication-results: sourceware.org; auth=none
Hi,
The gcc.dg/long-long-compare-1.c test case was using -mcbranchdi for
sh4-*-* targets. The option has been deprecated in 4.9 and now outputs
a warning which causes the test case to fail.
Committed as obvious as rev 206121.
Cheers,
Oleg
testsuite/ChangeLog:
* gcc.dg/long-long-compare-1.c: Don't use deprecated -mcbranchdi option
for target sh4-*-*.
Index: gcc/testsuite/gcc.dg/long-long-compare-1.c
===================================================================
--- gcc/testsuite/gcc.dg/long-long-compare-1.c (revision 206120)
+++ gcc/testsuite/gcc.dg/long-long-compare-1.c (working copy)
@@ -1,8 +1,6 @@
-/* Problem only noticed on SH for -mcbranchdi DImode comparison with constants.
- * Target dependent failure but test valid for alls. */
+/* Problem noticed on SH for DImode comparison with constants.
/* { dg-do run } */
/* { dg-options "-O0" } */
-/* { dg-options "-O0 -mcbranchdi" { target sh4-*-* } } */
extern void abort(void);
extern void exit(int);