Hi,

The SH testcase pr64366 would fail on SH2A because -m4 -ml is specified
in dg-options of the test case.  Target options such as CPU and
endianness are usually not specified in the test cases directly, but
when invoking the test suite.  Fixed with the attached patch.  Committed
as r223417.

Cheers,
Oleg

testsuite/ChangeLog:
        * gcc.target/sh/pr64366.c: Remove -m4 -ml from dg-options.
Index: gcc/testsuite/gcc.target/sh/pr64366.c
===================================================================
--- gcc/testsuite/gcc.target/sh/pr64366.c	(revision 223416)
+++ gcc/testsuite/gcc.target/sh/pr64366.c	(working copy)
@@ -1,5 +1,5 @@
 /* { dg-do compile } */
-/* { dg-options "-O2 -m4 -ml -mlra" } */
+/* { dg-options "-O2 -mlra" } */
 
 typedef int int8_t __attribute__ ((__mode__ (__QI__)));
 typedef int int16_t __attribute__ ((__mode__ (__HI__)));

Reply via email to