From 099ff66cd205b20f5040360015af23b9b11502cf Mon Sep 17 00:00:00 2001 From: Andreas Jaeger Date: Sun, 15 May 2005 19:06:19 +0200 Subject: [PATCH] * gcc.c (pfatal_pexecute): Remove unused local function. From-SVN: r99732 --- gcc/ChangeLog | 16 ++++++++++------ gcc/gcc.c | 19 ------------------- 2 files changed, 10 insertions(+), 25 deletions(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index c87d4d70da9..2e341ec7608 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,7 @@ +2005-05-15 Andreas Jaeger + + * gcc.c (pfatal_pexecute): Remove unused local function. + 2005-05-15 Richard Sandiford * optc-gen.awk: Remove excess indentation. @@ -229,7 +233,7 @@ 2005-05-13 Richard Henderson * function.c (instantiate_virtual_regs_in_insn): Do not simplify - addition to move unless dest is a register. Do not skip + addition to move unless dest is a register. Do not skip instantiation in dest on addition simplification. 2005-05-13 Hans-Peter Nilsson @@ -275,7 +279,7 @@ 2005-05-12 Steven Bosscher Stuart Hastings Jan Hubicka - + * except.c (duplicate_eh_region_1, duplicate_eh_region_2, duplicate_eh_regions): New functions, based on old implementation removed with RTL inliner. @@ -2270,7 +2274,7 @@ * config/mmix/mmix.opt: New file. * config/mmix/mmix.h: Move options-related comments to mmix.opt. - (mmix_cc1_ignored_option): Don't declare. + (mmix_cc1_ignored_option): Don't declare. (TARGET_OPTIONS, TARGET_MASK_LIBFUNCS, TARGET_MASK_ABI_GNU) (TARGET_MASK_FCMP_EPSILON, TARGET_MASK_ZERO_EXTEND) (TARGET_MASK_KNUTH_DIVISION, TARGET_MASK_TOPLEVEL_SYMBOLS) @@ -5424,8 +5428,8 @@ 2005-04-13 Matt Thomas - * config/rs6000/sysv4.h (NO_IMPLICIT_EXTERN_C): undefine before - defining. + * config/rs6000/sysv4.h (NO_IMPLICIT_EXTERN_C): undefine before + defining. 2005-04-13 Kazu Hirata @@ -7569,7 +7573,7 @@ * modulo-sched.c (undo_replace_buff_elem): New structure. (kernel_number_of_cycles, ps_unschedule_node, undo_generate_reg_moves,free_undo_replace_buff, - undo_permute_partial_schedule, loop_single_full_bb_p, + undo_permute_partial_schedule, loop_single_full_bb_p, SIMPLE_SMS_LOOP_P, loop_canon_p, canon_loop, build_loops_structure, get_sched_window): New. (generate_reg_moves): Return undo_replace_buff_elem and other diff --git a/gcc/gcc.c b/gcc/gcc.c index e131eb6f8ef..0820bd7cac0 100644 --- a/gcc/gcc.c +++ b/gcc/gcc.c @@ -328,7 +328,6 @@ static int default_arg (const char *, int); static void set_multilib_dir (void); static void print_multilib_info (void); static void perror_with_name (const char *); -static void pfatal_pexecute (const char *, const char *) ATTRIBUTE_NORETURN; static void notice (const char *, ...) ATTRIBUTE_PRINTF_1; static void display_help (void); static void add_preprocessor_option (const char *, int); @@ -6706,24 +6705,6 @@ perror_with_name (const char *name) error ("%s: %s", name, xstrerror (errno)); } -static void -pfatal_pexecute (const char *errmsg_fmt, const char *errmsg_arg) -{ - if (errmsg_arg) - { - int save_errno = errno; - - /* Space for trailing '\0' is in %s. */ - char *msg = xmalloc (strlen (errmsg_fmt) + strlen (errmsg_arg)); - sprintf (msg, errmsg_fmt, errmsg_arg); - errmsg_fmt = msg; - - errno = save_errno; - } - - pfatal_with_name (errmsg_fmt); -} - /* Output an error message and exit. */ void -- 2.30.2