* config/c4x/c4x.c (c4x_emit_libcall): Use ggc_alloc_string.
authorMichael Hayes <m.hayes@elec.canterbury.ac.nz>
Fri, 15 Oct 1999 23:46:06 +0000 (23:46 +0000)
committerMichael Hayes <m.hayes@gcc.gnu.org>
Fri, 15 Oct 1999 23:46:06 +0000 (23:46 +0000)
From-SVN: r30028

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

index d80b7fc716b38fbf457dba44755f29a770017ef9..9b044e45722cef18e626c2d5f759174efae8ece2 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 b927413e4b46f8781848b86262b6ea2a18bd0f92..dd493c7d7fd979a092e978e6e11aae27b6a4be50 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)
     {