mirror of git://gcc.gnu.org/git/gcc.git
Invoke GCC_DRIVER_HOST_INITIALIZATION after diagnostic_initialize
* gcc.c (main): Move GCC_DRIVER_HOST_INITIALIZATION after diagnostic_initialize. From-SVN: r189918
This commit is contained in:
parent
ebe0dd3802
commit
ccbc132f87
|
|
@ -1,3 +1,8 @@
|
||||||
|
2012-07-20 Ryan Mansfield <rmansfield@qnx.com>
|
||||||
|
|
||||||
|
* gcc.c (main): Move GCC_DRIVER_HOST_INITIALIZATION after
|
||||||
|
diagnostic_initialize.
|
||||||
|
|
||||||
2012-07-27 Oleg Endo <olegendo@gcc.gnu.org>
|
2012-07-27 Oleg Endo <olegendo@gcc.gnu.org>
|
||||||
|
|
||||||
PR target/54089
|
PR target/54089
|
||||||
|
|
|
||||||
11
gcc/gcc.c
11
gcc/gcc.c
|
|
@ -6189,17 +6189,18 @@ main (int argc, char **argv)
|
||||||
CL_DRIVER,
|
CL_DRIVER,
|
||||||
&decoded_options, &decoded_options_count);
|
&decoded_options, &decoded_options_count);
|
||||||
|
|
||||||
#ifdef GCC_DRIVER_HOST_INITIALIZATION
|
|
||||||
/* Perform host dependent initialization when needed. */
|
|
||||||
GCC_DRIVER_HOST_INITIALIZATION;
|
|
||||||
#endif
|
|
||||||
|
|
||||||
/* Unlock the stdio streams. */
|
/* Unlock the stdio streams. */
|
||||||
unlock_std_streams ();
|
unlock_std_streams ();
|
||||||
|
|
||||||
gcc_init_libintl ();
|
gcc_init_libintl ();
|
||||||
|
|
||||||
diagnostic_initialize (global_dc, 0);
|
diagnostic_initialize (global_dc, 0);
|
||||||
|
|
||||||
|
#ifdef GCC_DRIVER_HOST_INITIALIZATION
|
||||||
|
/* Perform host dependent initialization when needed. */
|
||||||
|
GCC_DRIVER_HOST_INITIALIZATION;
|
||||||
|
#endif
|
||||||
|
|
||||||
if (atexit (delete_temp_files) != 0)
|
if (atexit (delete_temp_files) != 0)
|
||||||
fatal_error ("atexit failed");
|
fatal_error ("atexit failed");
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue