This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[testsuite, committed] Fix spurious long-long-compare-1.c failure on sh4-*-*.


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);

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]