aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMark Mitchell <mark@codesourcery.com>2003-06-18 06:29:58 +0000
committerMark Mitchell <mmitchel@gcc.gnu.org>2003-06-18 06:29:58 +0000
commita26574f5bc076a72b29fa9e9b861d9acd7549add (patch)
tree49e8bc1d20ce61561a572dbc52530a62f6b47f88
parentb9599e46750a224af6a6ed88da8e2abb5acee9ee (diff)
downloadgcc-a26574f5bc076a72b29fa9e9b861d9acd7549add.zip
gcc-a26574f5bc076a72b29fa9e9b861d9acd7549add.tar.gz
gcc-a26574f5bc076a72b29fa9e9b861d9acd7549add.tar.bz2
mangle.c (mangle_conv_op_name_for_type): Correct sprintf format string again.
* mangle.c (mangle_conv_op_name_for_type): Correct sprintf format string again. From-SVN: r68141
-rw-r--r--gcc/cp/ChangeLog5
-rw-r--r--gcc/cp/mangle.c2
2 files changed, 6 insertions, 1 deletions
diff --git a/gcc/cp/ChangeLog b/gcc/cp/ChangeLog
index 96b21ff..b817cca 100644
--- a/gcc/cp/ChangeLog
+++ b/gcc/cp/ChangeLog
@@ -1,3 +1,8 @@
+2003-06-17 Mark Mitchell <mark@codesourcery.com>
+
+ * mangle.c (mangle_conv_op_name_for_type): Correct sprintf format
+ string again.
+
2003-06-17 Robert Abeles <rabeles@archaelogic.com>
* optimize.c (dump_function): Form complete flag name by
diff --git a/gcc/cp/mangle.c b/gcc/cp/mangle.c
index 63a8bd7..2040ae9 100644
--- a/gcc/cp/mangle.c
+++ b/gcc/cp/mangle.c
@@ -2628,7 +2628,7 @@ mangle_conv_op_name_for_type (const tree type)
return TREE_VALUE ((tree) *slot);
/* Create a unique name corresponding to TYPE. */
- sprintf (buffer, "operator %lu\n",
+ sprintf (buffer, "operator %lu",
(unsigned long) htab_elements (conv_type_names));
identifier = get_identifier (buffer);
*slot = build_tree_list (type, identifier);