aboutsummaryrefslogtreecommitdiff
path: root/gcc/cppmain.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/cppmain.c')
-rw-r--r--gcc/cppmain.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/gcc/cppmain.c b/gcc/cppmain.c
index edfc853..b2f1ddb 100644
--- a/gcc/cppmain.c
+++ b/gcc/cppmain.c
@@ -46,6 +46,8 @@ main (argc, argv)
while (p != argv[0] && p[-1] != '/') --p;
progname = p;
+ xmalloc_set_program_name (progname);
+
#ifdef HAVE_LC_MESSAGES
setlocale (LC_MESSAGES, "");
#endif