aboutsummaryrefslogtreecommitdiff
path: root/libcpp
diff options
context:
space:
mode:
authorIan Lance Taylor <iant@golang.org>2018-02-02 15:19:44 +0000
committerIan Lance Taylor <ian@gcc.gnu.org>2018-02-02 15:19:44 +0000
commitc2a0fe5690900ec4534eab5afe61dd0d63b8e797 (patch)
tree37dde9cfd8e1e3b89f35af1120912a2718521e1c /libcpp
parent584d9d585bf041ec45fa1a8c2c4e30f015b29f1a (diff)
downloadgcc-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