Fix build breakage on darwin introduced by me in r215861

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
This commit is contained in:
David Malcolm 2014-10-03 20:25:30 +00:00 committed by David Malcolm
parent 91e50b2d84
commit acbb0489b6
2 changed files with 8 additions and 2 deletions

View 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

View File

@ -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 ();