Commit e59ba1bc by James E Wilson Committed by Jim Wilson

Fix FreeBSD __LDBL_MAX__ -pedantic -save-temps bug.

* toplev.c (backend_init): Don't call init_adjust_machine_modes here.
(do_compile): Do call it here.

From-SVN: r95432
parent 78d5a34b
2005-02-22 James E Wilson <wilson@specifixinc.com>
* toplev.c (backend_init): Don't call init_adjust_machine_modes here.
(do_compile): Do call it here.
2005-02-22 Kazu Hirata <kazu@cs.umass.edu> 2005-02-22 Kazu Hirata <kazu@cs.umass.edu>
PR rtl-optimization/20017. PR rtl-optimization/20017.
......
...@@ -1954,8 +1954,6 @@ process_options (void) ...@@ -1954,8 +1954,6 @@ process_options (void)
static void static void
backend_init (void) backend_init (void)
{ {
init_adjust_machine_modes ();
init_emit_once (debug_info_level == DINFO_LEVEL_NORMAL init_emit_once (debug_info_level == DINFO_LEVEL_NORMAL
|| debug_info_level == DINFO_LEVEL_VERBOSE || debug_info_level == DINFO_LEVEL_VERBOSE
#ifdef VMS_DEBUGGING_INFO #ifdef VMS_DEBUGGING_INFO
...@@ -2092,6 +2090,11 @@ do_compile (void) ...@@ -2092,6 +2090,11 @@ do_compile (void)
/* Don't do any more if an error has already occurred. */ /* Don't do any more if an error has already occurred. */
if (!errorcount) if (!errorcount)
{ {
/* This must be run always, because it is needed to compute the FP
predefined macros, such as __LDBL_MAX__, for targets using non
default FP formats. */
init_adjust_machine_modes ();
/* Set up the back-end if requested. */ /* Set up the back-end if requested. */
if (!no_backend) if (!no_backend)
backend_init (); backend_init ();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment