OSDN Git Service

* clipper.h (ASM_OUTPUT_REG_POP): Fix typo.
authorghazi <ghazi@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 9 Nov 2001 23:13:22 +0000 (23:13 +0000)
committerghazi <ghazi@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 9 Nov 2001 23:13:22 +0000 (23:13 +0000)
* tlink.c (recompile_files): Copy strings passed to `putenv'.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@46904 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/ChangeLog
gcc/config/clipper/clipper.h
gcc/tlink.c

index e490598..06881f4 100644 (file)
@@ -1,3 +1,9 @@
+2001-11-09  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
+
+       * clipper.h (ASM_OUTPUT_REG_POP): Fix typo.
+
+       * tlink.c (recompile_files): Copy strings passed to `putenv'.
+
 2001-11-09  Geoffrey Keating  <geoffk@redhat.com>
 
        * tree.h (TYPE_VOLATILE): Trap use not on TYPEs.
index ca67ee8..c7c1dbd 100644 (file)
@@ -1020,7 +1020,7 @@ do                                                                              \
    It need not be very fast code.  */
 
 #define ASM_OUTPUT_REG_POP(FILE,REGNO)  \
-  fprintf (FILE, "\t%s  (sp),%s\n\t\addq  $8,sp\n",    \
+  fprintf (FILE, "\t%s  (sp),%s\n\taddq  $8,sp\n",     \
           (REGNO) < 16 ? "loadw" : "loadd", reg_names[REGNO])
 /* This is how to output an element of a case-vector that is absolute */
 
index 4a669b4..78840ca 100644 (file)
@@ -495,8 +495,8 @@ recompile_files ()
 {
   file *f;
 
-  putenv ("COMPILER_PATH");
-  putenv ("LIBRARY_PATH");
+  putenv (xstrdup ("COMPILER_PATH"));
+  putenv (xstrdup ("LIBRARY_PATH"));
   
   while ((f = file_pop ()) != NULL)
     {