public inbox for gcc-patches@gcc.gnu.org
 help / color / mirror / Atom feed
* [obvious, ARM] Fix typos.
@ 2016-02-04  9:09 Christian Bruel
  0 siblings, 0 replies; only message in thread
From: Christian Bruel @ 2016-02-04  9:09 UTC (permalink / raw)
  To: gcc-patches

[-- Attachment #1: Type: text/plain, Size: 46 bytes --]

Committed as obvious style typos of mine.





[-- Attachment #2: ob.patch --]
[-- Type: text/x-patch, Size: 2233 bytes --]

2016-02-04  Christian Bruel  <christian.bruel@st.com>

	* config/arm/arm-c.c (arm_reset_previous_fndecl): Coding style fix.
	* config/arm/arm.c (arm_set_current_function): Likewise.

Index: arm-c.c
===================================================================
--- arm-c.c	(revision 233126)
+++ arm-c.c	(working copy)
@@ -195,6 +195,7 @@ arm_cpu_cpp_builtins (struct cpp_reader * pfile)
 /* Hook to validate the current #pragma GCC target and set the arch custom
    mode state.  If ARGS is NULL, then POP_TARGET is used to reset
    the options.  */
+
 static bool
 arm_pragma_target_parse (tree args, tree pop_target)
 {
@@ -243,7 +244,7 @@ arm_pragma_target_parse (tree args, tree pop_targe
 
       /* Don't warn for macros that have context sensitive values depending on
 	 other attributes.
-	 See warn_of_redefinition, Reset after cpp_create_definition.  */
+	 See warn_of_redefinition, reset after cpp_create_definition.  */
       tree acond_macro = get_identifier ("__ARM_NEON_FP");
       C_CPP_HASHNODE (acond_macro)->flags |= NODE_CONDITIONAL ;
 
@@ -267,7 +268,6 @@ arm_pragma_target_parse (tree args, tree pop_targe
 	 function basis in arm_set_current_function.  */
       if (cur_tree == target_option_default_node)
 	save_restore_target_globals (cur_tree);
-
     }
 
   return true;
Index: arm.c
===================================================================
--- arm.c	(revision 233126)
+++ arm.c	(working copy)
@@ -29769,6 +29769,7 @@ save_restore_target_globals (tree new_tree)
 }
 
 /* Invalidate arm_previous_fndecl.  */
+
 void
 arm_reset_previous_fndecl (void)
 {
@@ -29778,6 +29779,7 @@ arm_reset_previous_fndecl (void)
 /* Establish appropriate back-end context for processing the function
    FNDECL.  The argument might be NULL to indicate processing at top
    level, outside of any function scope.  */
+
 static void
 arm_set_current_function (tree fndecl)
 {
@@ -29791,7 +29793,7 @@ arm_set_current_function (tree fndecl)
   tree new_tree = DECL_FUNCTION_SPECIFIC_TARGET (fndecl);
 
   /* If current function has no attributes but previous one did,
-     use the default node."  */
+     use the default node.  */
   if (! new_tree && old_tree)
     new_tree = target_option_default_node;
 

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2016-02-04  9:09 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-02-04  9:09 [obvious, ARM] Fix typos Christian Bruel

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).