aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorJ. David Anglin <dave@hiauly1.hia.nrc.ca>2000-09-14 01:03:24 +0000
committerJeff Law <law@gcc.gnu.org>2000-09-13 19:03:24 -0600
commitf903ebb1d5a56c850f8269b5a143598cc740fc0a (patch)
tree8d8eb139cfa60d3db52a62c111c26744375fde68 /gcc
parent2979107801062274996feb3bb609c0b2f9d6a2a3 (diff)
downloadgcc-f903ebb1d5a56c850f8269b5a143598cc740fc0a.zip
gcc-f903ebb1d5a56c850f8269b5a143598cc740fc0a.tar.gz
gcc-f903ebb1d5a56c850f8269b5a143598cc740fc0a.tar.bz2
* init.c (begin_init_stmts): Don't use // comments.
From-SVN: r36399
Diffstat (limited to 'gcc')
-rw-r--r--gcc/cp/ChangeLog4
-rw-r--r--gcc/cp/init.c6
2 files changed, 8 insertions, 2 deletions
diff --git a/gcc/cp/ChangeLog b/gcc/cp/ChangeLog
index ddf6086..4a75cb66 100644
--- a/gcc/cp/ChangeLog
+++ b/gcc/cp/ChangeLog
@@ -1,3 +1,7 @@
+2000-09-13 J. David Anglin <dave@hiauly1.hia.nrc.ca>
+
+ * init.c (begin_init_stmts): Don't use // comments.
+
2000-09-12 Jason Merrill <jason@redhat.com>
* decl.c (maybe_deduce_size_from_array_init): Set do_default for
diff --git a/gcc/cp/init.c b/gcc/cp/init.c
index f39f37f..5a86965 100644
--- a/gcc/cp/init.c
+++ b/gcc/cp/init.c
@@ -98,8 +98,10 @@ begin_init_stmts (stmt_expr_p, compound_stmt_p)
if (building_stmt_tree ())
*compound_stmt_p = begin_compound_stmt (/*has_no_scope=*/1);
- // else
- // *compound_stmt_p = genrtl_begin_compound_stmt (has_no_scope=1);
+ /*
+ else
+ *compound_stmt_p = genrtl_begin_compound_stmt (has_no_scope=1);
+ */
}
/* Finish out the statement-expression begun by the previous call to