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
This commit is contained in:
parent
78d5a34be5
commit
e59ba1bccd
2 changed files with 10 additions and 2 deletions
|
@ -1,3 +1,8 @@
|
|||
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>
|
||||
|
||||
PR rtl-optimization/20017.
|
||||
|
|
|
@ -1954,8 +1954,6 @@ process_options (void)
|
|||
static void
|
||||
backend_init (void)
|
||||
{
|
||||
init_adjust_machine_modes ();
|
||||
|
||||
init_emit_once (debug_info_level == DINFO_LEVEL_NORMAL
|
||||
|| debug_info_level == DINFO_LEVEL_VERBOSE
|
||||
#ifdef VMS_DEBUGGING_INFO
|
||||
|
@ -2092,6 +2090,11 @@ do_compile (void)
|
|||
/* Don't do any more if an error has already occurred. */
|
||||
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. */
|
||||
if (!no_backend)
|
||||
backend_init ();
|
||||
|
|
Loading…
Add table
Reference in a new issue