diff mbox

[SH,committed] Fix pr64366.c test case

Message ID 1432074676.2625.220.camel@yam-132-YW-E178-FTW
State New
Headers show

Commit Message

Oleg Endo May 19, 2015, 10:31 p.m. UTC
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.
diff mbox

Patch

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