aboutsummaryrefslogtreecommitdiff
path: root/gcc/go/ChangeLog
diff options
context:
space:
mode:
authorIan Lance Taylor <iant@google.com>2015-12-22 01:58:17 +0000
committerIan Lance Taylor <ian@gcc.gnu.org>2015-12-22 01:58:17 +0000
commit399f5feb92e4c588ec230d4a0b8ac9b0fa95d7ed (patch)
treea8c1bae049e51a32ca8a424d0e68ee92fff9152e /gcc/go/ChangeLog
parent18fb580c1e9e378448f202a818ff9f5aa1596574 (diff)
downloadgcc-399f5feb92e4c588ec230d4a0b8ac9b0fa95d7ed.zip
gcc-399f5feb92e4c588ec230d4a0b8ac9b0fa95d7ed.tar.gz
gcc-399f5feb92e4c588ec230d4a0b8ac9b0fa95d7ed.tar.bz2
go-gcc.cc (class Bvariable): Remove Gcc_tree parent class.
* go-gcc.cc (class Bvariable): Remove Gcc_tree parent class. Add t_ and orig_type_ fields. Add new two parameter constructor. Add get_tree and get_decl methods. (Gcc_backend::var_expression): Pass location to var get_tree. (Gcc_backend::global_variable): Don't add VIEW_CONVERT_EXPR. Use two parameter constructor for Bvariable. (Gcc_backend::global_variable_set_init): Don't remove VIEW_CONVERT_EXPR. Use var get_decl, not get_tree. (Gcc_backend::write_global_definitions): Likewise. (Gcc_backend::init_statement): Call var get_decl, not get_tree. (Gcc_backend::block): Likewise. (Gcc_backend::implicit_variable_set_init): Likewise. (Gcc_backend::immutable_struct_set_init): Likewise. (Gcc_backend::function_set_parameters): Likewise. From-SVN: r231894
Diffstat (limited to 'gcc/go/ChangeLog')
-rw-r--r--gcc/go/ChangeLog17
1 files changed, 17 insertions, 0 deletions
diff --git a/gcc/go/ChangeLog b/gcc/go/ChangeLog
index 2a011dd..a6a0aad 100644
--- a/gcc/go/ChangeLog
+++ b/gcc/go/ChangeLog
@@ -1,5 +1,22 @@
2015-12-21 Ian Lance Taylor <iant@google.com>
+ * go-gcc.cc (class Bvariable): Remove Gcc_tree parent class. Add
+ t_ and orig_type_ fields. Add new two parameter constructor. Add
+ get_tree and get_decl methods.
+ (Gcc_backend::var_expression): Pass location to var get_tree.
+ (Gcc_backend::global_variable): Don't add VIEW_CONVERT_EXPR. Use
+ two parameter constructor for Bvariable.
+ (Gcc_backend::global_variable_set_init): Don't remove
+ VIEW_CONVERT_EXPR. Use var get_decl, not get_tree.
+ (Gcc_backend::write_global_definitions): Likewise.
+ (Gcc_backend::init_statement): Call var get_decl, not get_tree.
+ (Gcc_backend::block): Likewise.
+ (Gcc_backend::implicit_variable_set_init): Likewise.
+ (Gcc_backend::immutable_struct_set_init): Likewise.
+ (Gcc_backend::function_set_parameters): Likewise.
+
+2015-12-21 Ian Lance Taylor <iant@google.com>
+
* go-gcc.cc (Gcc_backend::global_variable): If type is zero-sized,
add a VIEW_CONVERT_EXPR to the tree.
(Gcc_backend::global_variable_set_init): Remove any