emit-rtl.c (change_address): Don't abort if invalid address while reload is in progress.
* emit-rtl.c (change_address): Don't abort if invalid address while reload is in progress. From-SVN: r43765
This commit is contained in:
parent
98aff0b52e
commit
2b1b6bf903
2 changed files with 16 additions and 5 deletions
|
@ -1,3 +1,8 @@
|
|||
Wed Jul 4 13:40:02 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
|
||||
|
||||
* emit-rtl.c (change_address): Don't abort if invalid address while
|
||||
reload is in progress.
|
||||
|
||||
2001-07-04 Daniel Berlin <dan@cgsoftware.com>
|
||||
|
||||
* c-lex.c (cb_file_change): Pass line number to
|
||||
|
@ -14,14 +19,16 @@
|
|||
* toplev.h (debug_start_source_file): Add line number to
|
||||
parameters.
|
||||
|
||||
* dwarf2out.h (dwarf2out_start_source_file): Add line number to parameters.
|
||||
* dwarf2out.h (dwarf2out_start_source_file): Add line number to
|
||||
parameters.
|
||||
|
||||
* dwarf2out.c (dwarf2out_start_source_file): Add line number to
|
||||
parameters.
|
||||
Output debug_macinfo data for starting file if requested.
|
||||
(dwarf2out_end_source_file): Output debug_macinfo data for ending
|
||||
file if requested.
|
||||
(dwarf2out_define): Output debug_macinfo data for defining a macro if requested.
|
||||
(dwarf2out_define): Output debug_macinfo data for defining a macro
|
||||
if requested.
|
||||
(dwarf2out_undef): Output debug_macinfo data for undefining a
|
||||
macro if requested.
|
||||
(DEBUG_MACINFO_SECTION): New. DWARF2 macro info section name.
|
||||
|
|
|
@ -1584,9 +1584,13 @@ change_address (memref, mode, addr)
|
|||
if (addr == 0)
|
||||
addr = XEXP (memref, 0);
|
||||
|
||||
/* If reload is in progress or has completed, ADDR must be valid.
|
||||
Otherwise, we can call memory_address to make it valid. */
|
||||
if (reload_completed || reload_in_progress)
|
||||
/* If reload is in progress, don't check for validity of the address since we
|
||||
assume the caller knows what they are doing. If reload has completed, the
|
||||
address must be valid. Otherwise, we call memory_address to make it
|
||||
valid. */
|
||||
if (reload_in_progress)
|
||||
;
|
||||
else if (reload_completed)
|
||||
{
|
||||
if (! memory_address_p (mode, addr))
|
||||
abort ();
|
||||
|
|
Loading…
Add table
Reference in a new issue