diff mbox

[SH] Use more braced strings in MD

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

Commit Message

Oleg Endo Sept. 18, 2012, 6:50 p.m. UTC
Hello,

Like the topic says.  No functional change, just cosmetics.
Tested on rev 191342 with 
make -k check RUNTESTFLAGS="--target_board=sh-sim
\{-m2/-ml,-m2/-mb,-m2a/-mb,-m4/-ml,-m4/-mb,-m4a/-ml,-m4a/-mb}"

and no new failures.
OK to install?

Cheers,
Oleg

ChangeLog:

	* config/sh/sh.md (prologue, epilogue): Use braced strings.

Comments

Kaz Kojima Sept. 19, 2012, 11:55 a.m. UTC | #1
Oleg Endo <oleg.endo@t-online.de> wrote:
> Like the topic says.  No functional change, just cosmetics.
> Tested on rev 191342 with 
> make -k check RUNTESTFLAGS="--target_board=sh-sim
> \{-m2/-ml,-m2/-mb,-m2a/-mb,-m4/-ml,-m4/-mb,-m4a/-ml,-m4a/-mb}"
> 
> and no new failures.
> OK to install?

OK.

Regards,
	kaz
diff mbox

Patch

Index: gcc/config/sh/sh.md
===================================================================
--- gcc/config/sh/sh.md	(revision 191342)
+++ gcc/config/sh/sh.md	(working copy)
@@ -10303,12 +10303,17 @@ 
 (define_expand "prologue"
   [(const_int 0)]
   ""
-  "sh_expand_prologue (); DONE;")
+{
+  sh_expand_prologue ();
+  DONE;
+})
 
 (define_expand "epilogue"
   [(return)]
   ""
-  "sh_expand_epilogue (false);")
+{
+  sh_expand_epilogue (false);
+})
 
 (define_expand "eh_return"
   [(use (match_operand 0 "register_operand" ""))]