This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Patch: Fix // comments in cp/init.c


This was noticed when I tried building the compiler using
`-ansi -DXOPEN_SOURCE=500' under i686 linux.

Dave
-- 
J. David Anglin                                  dave.anglin@nrc.ca
National Research Council of Canada              (613) 990-0752 (FAX: 952-6605)

2000-09-13  J. David Anglin  <dave@hiauly1.hia.nrc.ca>

	init.c (begin_init_stmts): Don't use // comments.

--- init.c.orig	Thu Sep  7 00:33:43 2000
+++ init.c	Wed Sep 13 17:48:52 2000
@@ -98,8 +98,10 @@
   
   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

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]