diff options
author | Nikhil Benesch <nikhil.benesch@gmail.com> | 2020-12-09 18:46:02 -0800 |
---|---|---|
committer | Ian Lance Taylor <iant@golang.org> | 2020-12-09 18:46:02 -0800 |
commit | 73cf5da233b4cd0f140dd997270e88de63e27db7 (patch) | |
tree | 1d7f5273f95025f950822427d7966a11ccdf0625 /gcc/rtl.c | |
parent | 2fe4f000ad113e44a8d68794013b7c751a3bc05d (diff) | |
download | gcc-73cf5da233b4cd0f140dd997270e88de63e27db7.zip gcc-73cf5da233b4cd0f140dd997270e88de63e27db7.tar.gz gcc-73cf5da233b4cd0f140dd997270e88de63e27db7.tar.bz2 |
-fdump-go-spec: ignore type ordering of incomplete types
gcc/:
* godump.c (go_format_type): Don't consider whether a type has
been seen when determining whether to output a type by name.
Consider only the use_type_name parameter.
(go_output_typedef): When outputting a typedef, format the
declaration's original type, which contains the name of the
underlying type rather than the name of the typedef.
gcc/testsuite:
* gcc.misc-tests/godump-1.c: Add test case.
Diffstat (limited to 'gcc/rtl.c')
0 files changed, 0 insertions, 0 deletions