* gcc.c (pfatal_pexecute): Remove unused local function.
authorAndreas Jaeger <aj@gcc.gnu.org>
Sun, 15 May 2005 17:06:19 +0000 (19:06 +0200)
committerAndreas Jaeger <aj@gcc.gnu.org>
Sun, 15 May 2005 17:06:19 +0000 (19:06 +0200)
From-SVN: r99732

gcc/ChangeLog
gcc/gcc.c

index c87d4d7..2e341ec 100644 (file)
@@ -1,3 +1,7 @@
+2005-05-15  Andreas Jaeger  <aj@suse.de>
+
+       * gcc.c (pfatal_pexecute): Remove unused local function.
+
 2005-05-15  Richard Sandiford  <rsandifo@redhat.com>
 
        * optc-gen.awk: Remove excess indentation.
 2005-05-13  Richard Henderson  <rth@redhat.com>
 
        * 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  <hp@axis.com>
 2005-05-12  Steven Bosscher  <stevenb@suse.de>
            Stuart Hastings <stuart@apple.com>
            Jan Hubicka  <jh@suse.cz>
-           
+
        * except.c  (duplicate_eh_region_1, duplicate_eh_region_2,
        duplicate_eh_regions): New functions, based on old
        implementation removed with RTL inliner.
 
        * 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)
 
 2005-04-13  Matt Thomas  <matt@3am-software.com>
 
-       * 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  <kazu@cs.umass.edu>
 
        * 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
index e131eb6..0820bd7 100644 (file)
--- 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