Patchwork [SH] Use more braced strings in MD

login
register
mail settings
Submitter Oleg Endo
Date Sept. 18, 2012, 6:50 p.m.
Message ID <1347994258.2136.16.camel@yam-132-YW-E178-FTW>
Download mbox | patch
Permalink /patch/184797/
State New
Headers show

Comments

Oleg Endo - Sept. 18, 2012, 6:50 p.m.
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.
Kaz Kojima - Sept. 19, 2012, 11:55 a.m.
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

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" ""))]