mirror of
https://github.com/gcc-mirror/gcc.git
synced 2026-05-06 14:59:39 +02:00
flow.c (print_rtl_and_abort_fcn): Renamed from print_rtl_and_abort.
* flow.c (print_rtl_and_abort_fcn): Renamed from print_rtl_and_abort. Call fancy_abort directly, passing args. (print_rtl_and_abort): Now a macro, like fancy_abort. From-SVN: r39852
This commit is contained in:
committed by
Richard Kenner
parent
651a788e3b
commit
63c499dc55
@@ -1,5 +1,9 @@
|
||||
Sun Feb 18 15:45:17 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
|
||||
|
||||
* flow.c (print_rtl_and_abort_fcn): Renamed from print_rtl_and_abort.
|
||||
Call fancy_abort directly, passing args.
|
||||
(print_rtl_and_abort): Now a macro, like fancy_abort.
|
||||
|
||||
* final.c (output_operand_lossage): Use internal_error, not error.
|
||||
|
||||
2001-02-18 Shane Nay <shane@agendacomputing.com>
|
||||
|
||||
18
gcc/flow.c
18
gcc/flow.c
@@ -344,6 +344,11 @@ struct depth_first_search_dsS {
|
||||
};
|
||||
typedef struct depth_first_search_dsS *depth_first_search_ds;
|
||||
|
||||
/* Have print_rtl_and_abort give the same information that fancy_abort
|
||||
does. */
|
||||
#define print_rtl_and_abort() \
|
||||
print_rtl_and_abort_fcn (__FILE__, __LINE__, __FUNCTION__)
|
||||
|
||||
/* Forward declarations */
|
||||
static int count_basic_blocks PARAMS ((rtx));
|
||||
static void find_basic_blocks_1 PARAMS ((rtx));
|
||||
@@ -424,7 +429,9 @@ static void mark_used_regs PARAMS ((struct propagate_block_info *,
|
||||
void dump_flow_info PARAMS ((FILE *));
|
||||
void debug_flow_info PARAMS ((void));
|
||||
static void dump_edge_info PARAMS ((FILE *, edge, int));
|
||||
static void print_rtl_and_abort PARAMS ((void));
|
||||
static void print_rtl_and_abort_fcn PARAMS ((const char *, int,
|
||||
const char *))
|
||||
ATTRIBUTE_NORETURN;
|
||||
|
||||
static void invalidate_mems_from_autoinc PARAMS ((struct propagate_block_info *,
|
||||
rtx));
|
||||
@@ -6586,15 +6593,20 @@ print_rtl_with_bb (outf, rtx_first)
|
||||
}
|
||||
|
||||
/* Dump the rtl into the current debugging dump file, then abort. */
|
||||
|
||||
static void
|
||||
print_rtl_and_abort ()
|
||||
print_rtl_and_abort_fcn (file, line, function)
|
||||
const char *file;
|
||||
int line;
|
||||
const char *function;
|
||||
{
|
||||
if (rtl_dump_file)
|
||||
{
|
||||
print_rtl_with_bb (rtl_dump_file, get_insns ());
|
||||
fclose (rtl_dump_file);
|
||||
}
|
||||
abort ();
|
||||
|
||||
fancy_abort (file, line, function);
|
||||
}
|
||||
|
||||
/* Recompute register set/reference counts immediately prior to register
|
||||
|
||||
Reference in New Issue
Block a user