aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorHans-Peter Nilsson <hp@bitrange.com>2007-11-22 22:29:40 +0000
committerHans-Peter Nilsson <hp@gcc.gnu.org>2007-11-22 22:29:40 +0000
commit760d23eaa6be3942f78c9b2be123671f2c4b0d0b (patch)
treefc22f1b85ae7a78572e6150f871ae3b5a344f969 /gcc
parentebfe65a3be8a7b694970236b214d5d1f1d3d3312 (diff)
downloadgcc-760d23eaa6be3942f78c9b2be123671f2c4b0d0b.zip
gcc-760d23eaa6be3942f78c9b2be123671f2c4b0d0b.tar.gz
gcc-760d23eaa6be3942f78c9b2be123671f2c4b0d0b.tar.bz2
mmix.c (mmix_encode_section_info): Remove duplicate line in my edit of the last change.
* config/mmix/mmix.c (mmix_encode_section_info): Remove duplicate line in my edit of the last change. From-SVN: r130360
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ChangeLog5
-rw-r--r--gcc/config/mmix/mmix.c1
2 files changed, 5 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 7f9f809..6670025 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -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
diff --git a/gcc/config/mmix/mmix.c b/gcc/config/mmix/mmix.c
index 271b3d2..fa6566b 100644
--- a/gcc/config/mmix/mmix.c
+++ b/gcc/config/mmix/mmix.c
@@ -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);
}