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]
Other format: [Raw text]

[gccgo] Initialize field


This patch from Vinu Rajashekhar adds a field initialization that I
forgot.  Committed to gccgo branch.

Ian

diff -r a4586bbc83ad go/gogo.cc
--- a/go/gogo.cc	Mon Jul 12 01:38:42 2010 -0700
+++ b/go/gogo.cc	Tue Jul 13 02:45:23 2010 -0700
@@ -4233,7 +4233,8 @@
 Package::Package(const std::string& name, const std::string& unique_prefix,
 		 source_location location)
   : name_(name), unique_prefix_(unique_prefix), bindings_(new Bindings(NULL)),
-    priority_(0), location_(location), used_(false), is_imported_(false)
+    priority_(0), location_(location), used_(false), is_imported_(false),
+    uses_sink_alias_(false)
 {
   gcc_assert(!name.empty() && !unique_prefix.empty());
 }

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