]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
Fix build breakage on darwin introduced by me in r215861
authorDavid Malcolm <dmalcolm@redhat.com>
Fri, 3 Oct 2014 20:25:30 +0000 (20:25 +0000)
committerDavid Malcolm <dmalcolm@gcc.gnu.org>
Fri, 3 Oct 2014 20:25:30 +0000 (20:25 +0000)
gcc/ChangeLog:
* gcc.c (driver::global_initializations): Remove "const" so
that GCC_DRIVER_HOST_INITIALIZATION can modify decoded_options
and decoded_options_count.

From-SVN: r215877

gcc/ChangeLog
gcc/gcc.c

index e3d54cde017e0142ef20bc60da267cc8fffdcb57..f7c424057736ef197fab3e90db299f23e7a9670c 100644 (file)
@@ -1,3 +1,9 @@
+2014-10-03  David Malcolm  <dmalcolm@redhat.com>
+
+       * gcc.c (driver::global_initializations): Remove "const" so
+       that GCC_DRIVER_HOST_INITIALIZATION can modify decoded_options
+       and decoded_options_count.
+
 2014-10-03  Maciej W. Rozycki  <macro@codesourcery.com>
 
        * config/rs6000/e500.h (HARD_REGNO_CALLER_SAVE_MODE): Remove
index f53b92ffd1276c4bfd8b42bff33de90b80dbfbe8..71c76f844d1a758c96fe522e8256a9a3da82f837 100644 (file)
--- a/gcc/gcc.c
+++ b/gcc/gcc.c
@@ -6737,7 +6737,7 @@ class driver
   void set_progname (const char *argv0) const;
   void expand_at_files (int *argc, char ***argv) const;
   void decode_argv (int argc, const char **argv);
-  void global_initializations () const;
+  void global_initializations ();
   void build_multilib_strings () const;
   void set_up_specs () const;
   void putenv_COLLECT_GCC (const char *argv0) const;
@@ -6848,7 +6848,7 @@ driver::decode_argv (int argc, const char **argv)
 /* Perform various initializations and setup.  */
 
 void
-driver::global_initializations () const
+driver::global_initializations ()
 {
   /* Unlock the stdio streams.  */
   unlock_std_streams ();