mmix.c (mmix_encode_section_info): Remove duplicate line in my edit of the last change.
authorHans-Peter Nilsson <hp@bitrange.com>
Thu, 22 Nov 2007 22:29:40 +0000 (22:29 +0000)
committerHans-Peter Nilsson <hp@gcc.gnu.org>
Thu, 22 Nov 2007 22:29:40 +0000 (22:29 +0000)
* config/mmix/mmix.c (mmix_encode_section_info): Remove duplicate
line in my edit of the last change.

From-SVN: r130360

gcc/ChangeLog
gcc/config/mmix/mmix.c

index 7f9f80975644880cd9617308c0c4fbfb5d8195e5..66700253a1caa113cb6473a1d42f57a9551a2264 100644 (file)
@@ -1,3 +1,8 @@
+2007-11-22  Hans-Peter Nilsson  <hp@bitrange.com>
+
+       * config/mmix/mmix.c (mmix_encode_section_info): Remove duplicate
+       line in my edit of last commit.
+
 2007-11-22  Jakub Jelinek  <jakub@redhat.com>
 
        PR target/33947
index 271b3d21a6a0920e5c02f3f738437667d8dbc39f..fa6566b147d74bfdb8b0508d391655f25ee4bf44 100644 (file)
@@ -1161,7 +1161,6 @@ mmix_encode_section_info (tree decl, rtx rtl, int first)
       char *newstr = alloca (len + 2);
       newstr[0] = '@';
       strcpy (newstr + 1, str);
-      *newstr = '@';
       XSTR (XEXP (rtl, 0), 0) = ggc_alloc_string (newstr, len + 1);
     }