* 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
+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.
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 */
{
file *f;
- putenv ("COMPILER_PATH");
- putenv ("LIBRARY_PATH");
+ putenv (xstrdup ("COMPILER_PATH"));
+ putenv (xstrdup ("LIBRARY_PATH"));
while ((f = file_pop ()) != NULL)
{