diff options
author | Ian Lance Taylor <iant@golang.org> | 2022-07-15 08:02:13 -0700 |
---|---|---|
committer | Ian Lance Taylor <iant@golang.org> | 2022-07-15 08:04:42 -0700 |
commit | 5054bc001d9b66fe68d938790f08f48621c6b976 (patch) | |
tree | 736f2252353b2721e4675ba856cd73c0e0a26b13 /gcc/fortran/trans-decl.cc | |
parent | 91259dd850bcbf4c0b5bdcd8304d67b883b73cc0 (diff) | |
download | gcc-5054bc001d9b66fe68d938790f08f48621c6b976.zip gcc-5054bc001d9b66fe68d938790f08f48621c6b976.tar.gz gcc-5054bc001d9b66fe68d938790f08f48621c6b976.tar.bz2 |
go: fix f(g()) where g returns zero-sized type
Test case is https://go.dev/cl/417481.
Fixes golang/go#23868
* go-gcc.cc (Gcc_backend::call_expression): Handle a void
argument, as for f(g()) where g returns a zero-sized type.
Diffstat (limited to 'gcc/fortran/trans-decl.cc')
0 files changed, 0 insertions, 0 deletions