* [patch commited SH] Remove extra colon from subtarget specs
@ 2016-05-08 23:03 Kaz Kojima
0 siblings, 0 replies; only message in thread
From: Kaz Kojima @ 2016-05-08 23:03 UTC (permalink / raw)
To: gcc-patches
Hi,
I've committed the attached obvious patch to fix some failures
Assembler messages:
Error: can't open :-isa=sh4-up for reading: No such file or directory
with testcases which specify -mrelax on sh4-unknown-linux-gnu.
Tested with "make -k check" on sh4-unknown-linux-gnu.
Regards,
kaz
--
2016-05-08 Kaz Kojima <kkojima@gcc.gnu.org>
* config/sh/sh.h (SUBTARGET_ASM_RELAX_SPEC): Remove extra colon.
(SUBTARGET_ASM_ISA_SPEC): Likewise.
diff --git a/config/sh/sh.h b/config/sh/sh.h
index 16b4a8e..548a084 100644
--- a/config/sh/sh.h
+++ b/config/sh/sh.h
@@ -201,7 +201,7 @@ extern int code_for_indirect_jump_scratch;
SUBTARGET_EXTRA_SPECS
#if TARGET_CPU_DEFAULT & MASK_HARD_SH4
-#define SUBTARGET_ASM_RELAX_SPEC "%{!m1:%{!m2:%{!m3*::-isa=sh4-up}}}"
+#define SUBTARGET_ASM_RELAX_SPEC "%{!m1:%{!m2:%{!m3*:-isa=sh4-up}}}"
#else
#define SUBTARGET_ASM_RELAX_SPEC "%{m4*:-isa=sh4-up}"
#endif
@@ -245,7 +245,7 @@ extern int code_for_indirect_jump_scratch;
/* Strict nofpu means that the compiler should tell the assembler
to reject FPU instructions. E.g. from ASM inserts. */
#if TARGET_CPU_DEFAULT & MASK_HARD_SH4 && !(TARGET_CPU_DEFAULT & MASK_SH_E)
-#define SUBTARGET_ASM_ISA_SPEC "%{!m1:%{!m2:%{!m3*:%{m4-nofpu|!m4*::-isa=sh4-nofpu}}}}"
+#define SUBTARGET_ASM_ISA_SPEC "%{!m1:%{!m2:%{!m3*:%{m4-nofpu|!m4*:-isa=sh4-nofpu}}}}"
#else
#define SUBTARGET_ASM_ISA_SPEC \
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2016-05-08 23:03 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-05-08 23:03 [patch commited SH] Remove extra colon from subtarget specs Kaz Kojima
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).