toplev.c (main): Call xmalloc_set_program_name.
authorRichard Kenner <kenner@vlsi1.ultra.nyu.edu>
Fri, 29 Dec 2000 13:09:35 +0000 (13:09 +0000)
committerRichard Kenner <kenner@gcc.gnu.org>
Fri, 29 Dec 2000 13:09:35 +0000 (08:09 -0500)
* toplev.c (main): Call xmalloc_set_program_name.
* gcc.c (main): Likewise.

From-SVN: r38535

gcc/ChangeLog
gcc/gcc.c
gcc/toplev.c

index e7095422857a87837d3c5e73e27362ec4a67cb8c..7718ec75e2921952010074f0051ce9c6cef3f8a3 100644 (file)
@@ -1,3 +1,8 @@
+2000-12-29  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
+
+       * toplev.c (main): Call xmalloc_set_program_name.
+       * gcc.c (main): Likewise.
+
 2000-12-29  Philip Blundell  <philb@gnu.org>
 
        * config/arm/arm.c (arm_override_options): Fix typo in warning
index 33b8a8936526e32836a6993ed2cb03c87088362f..70cb6bee06f3fa6546127cccd2b1ed42fc094d15 100644 (file)
--- a/gcc/gcc.c
+++ b/gcc/gcc.c
@@ -5243,6 +5243,8 @@ main (argc, argv)
     --p;
   programname = p;
 
+  xmalloc_set_program_name (programname);
+
 #ifdef GCC_DRIVER_HOST_INITIALIZATION
   /* Perform host dependant initialization when needed.  */
   GCC_DRIVER_HOST_INITIALIZATION;
index 01439573b7938e4a2388dc4fdd64e0cbc63f8174..7d4a347a1dbaa78c7509fbb8b4d478025741fb60 100644 (file)
@@ -4525,6 +4525,8 @@ main (argc, argv)
     --p;
   progname = p;
 
+  xmalloc_set_program_name (progname);
+
 /* LC_CTYPE determines the character set used by the terminal so it has be set
    to output messages correctly.  */