This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[lto] Bootstrap fixlet


I had forgotten that my build tree was configured with bootstrap
disabled.

Diego.

	* lto-function-out.c (output_function_decl): Fix type of STR.

Index: lto-function-out.c
===================================================================
--- lto-function-out.c	(revision 148028)
+++ lto-function-out.c	(working copy)
@@ -2755,7 +2755,7 @@ output_function_decl (struct output_bloc
 	     the new name is always prefixed with '*' by
 	     set_builtin_user_assembler_name.  So, to prevent the
 	     reader side from adding a second '*', we omit it here.  */
-	  char *str = (char *) IDENTIFIER_POINTER (DECL_ASSEMBLER_NAME (decl));
+	  const char *str = IDENTIFIER_POINTER (DECL_ASSEMBLER_NAME (decl));
 	  if (strlen (str) > 1 && str[0] == '*')
 	    output_string (ob, ob->main_stream, &str[1]);
 	  else


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]