re PR bootstrap/81033 (there are cases where ld64 is not able to determine correct...
authorDominique d'Humieres <dominiq@lps.ens.fr>
Mon, 3 Jul 2017 17:42:54 +0000 (19:42 +0200)
committerDominique d'Humieres <dominiq@gcc.gnu.org>
Mon, 3 Jul 2017 17:42:54 +0000 (19:42 +0200)
2017-07-03  Dominique d'Humieres  <dominiq@lps.ens.fr>

PR target/81033
* config/darwin.c (darwin_function_switched_text_sections):
Fix spaces.

From-SVN: r249930

gcc/ChangeLog
gcc/config/darwin.c

index be3b09418b016571c4ee5593ba1c1279135ae2d6..89c16e4bbcc98092d508be0fde22ca4bc3182b78 100644 (file)
@@ -1,3 +1,9 @@
+2017-07-03  Dominique d'Humieres  <dominiq@lps.ens.fr>
+
+       PR target/81033
+       * config/darwin.c (darwin_function_switched_text_sections):
+       Fix spaces.
+
 2017-07-03  Jan Hubicka  <hubicka@ucw.cz>
 
        * tree-vect-loop-manip.c (vect_do_peeling): Fix scaling up.
index 4010ed31e48174330065e5f65659d5b7c9b92ee6..9a8cf31d400bd50360b8c20bc1a73761383c1d2e 100644 (file)
@@ -3684,7 +3684,7 @@ void
 darwin_function_switched_text_sections (FILE *fp, tree decl, bool new_is_cold)
 {
   /* Make sure we pick up all the relevant quotes etc.  */
-  assemble_name_raw (fp, new_is_cold?"__cold_sect_of_":"__hot_sect_of_");
+  assemble_name_raw (fp, new_is_cold ? "__cold_sect_of_" : "__hot_sect_of_");
   assemble_name_raw (fp, IDENTIFIER_POINTER (DECL_ASSEMBLER_NAME (decl)));
   fputs (":\n", fp);
 }