lra: fix spill_hard_reg_in_range clobber check
[gcc.git] / libiberty / d-demangle.c
index 829050bc0b8428be581b92c8a56096d0347930ef..fe29618f60f79fb3580f8519cdc49c2168aba575 100644 (file)
@@ -1,5 +1,5 @@
 /* Demangler for the D programming language
-   Copyright (C) 2014-2017 Free Software Foundation, Inc.
+   Copyright (C) 2014-2018 Free Software Foundation, Inc.
    Written by Iain Buclaw (ibuclaw@gdcproject.org)
 
 This file is part of the libiberty library.
@@ -864,7 +864,8 @@ dlang_identifier (string *decl, const char *mangled,
          else if (strncmp (mangled, "__initZ", len+1) == 0)
            {
              /* The static initialiser for a given symbol.  */
-             string_append (decl, "init$");
+             string_prepend (decl, "initializer for ");
+             string_setlength (decl, string_length (decl) - 1);
              mangled += len;
              return mangled;
            }