OSDN Git Service

* config/c4x/c4x.c (c4x_emit_libcall): Use ggc_alloc_string.
authorm.hayes <m.hayes@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 15 Oct 1999 23:46:06 +0000 (23:46 +0000)
committerm.hayes <m.hayes@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 15 Oct 1999 23:46:06 +0000 (23:46 +0000)
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@30028 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/ChangeLog
gcc/config/c4x/c4x.c

index d80b7fc..9b044e4 100644 (file)
@@ -1,3 +1,7 @@
+Sat Oct 16 12:42:12 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
+
+       * config/c4x/c4x.c (c4x_emit_libcall): Use ggc_alloc_string.
+
 Sat Oct 16 12:34:44 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
 
        * config/c4x/c4x.c (c4x_rptb_insert): Emit rpts_top pattern
index b927413..dd493c7 100644 (file)
@@ -1210,6 +1210,8 @@ c4x_emit_libcall (name, code, dmode, smode, noperands, operands)
   rtx equiv;
 
   start_sequence ();
+  if (ggc_p)
+    name = ggc_alloc_string (name, -1);
   libcall = gen_rtx_SYMBOL_REF (Pmode, name);
   switch (noperands)
     {