diff options
author | Ian Lance Taylor <iant@golang.org> | 2018-02-02 15:19:44 +0000 |
---|---|---|
committer | Ian Lance Taylor <ian@gcc.gnu.org> | 2018-02-02 15:19:44 +0000 |
commit | c2a0fe5690900ec4534eab5afe61dd0d63b8e797 (patch) | |
tree | 37dde9cfd8e1e3b89f35af1120912a2718521e1c /libcpp | |
parent | 584d9d585bf041ec45fa1a8c2c4e30f015b29f1a (diff) | |
download | gcc-c2a0fe5690900ec4534eab5afe61dd0d63b8e797.zip gcc-c2a0fe5690900ec4534eab5afe61dd0d63b8e797.tar.gz gcc-c2a0fe5690900ec4534eab5afe61dd0d63b8e797.tar.bz2 |
go-gcc.cc (Gcc_backend::type_size): Return 0 for void_type_node.
* go-gcc.cc (Gcc_backend::type_size): Return 0 for
void_type_node.
(Gcc_backend::convert_expression): Don't convert if the type of
expr_tree is void_type_node.
(Gcc_backend::array_index_expression): Don't index if the type of
the array expression is void_type_node.
(Gcc_backend::init_statement): Don't initialize if the type of the
initializer expression is void_type_node.
(Gcc_backend::assignment_statement): Don't assign if the type of
either the left or right hand side is void_type_node.
(Gcc_backend::temporary_variable): Don't initialize if the type of
the initializer expression is void_type_node.
From-SVN: r257334
Diffstat (limited to 'libcpp')
0 files changed, 0 insertions, 0 deletions