godump.c (go_format_type): Rewrite RECORD_TYPE nad UNION_TYPE support with -fdump...
commit57ab0915777a2764bec37969dc709b20bf4a048e
authorDominik Vogt <vogt@linux.vnet.ibm.com>
Tue, 4 Nov 2014 00:00:14 +0000 (4 00:00 +0000)
committerIan Lance Taylor <ian@gcc.gnu.org>
Tue, 4 Nov 2014 00:00:14 +0000 (4 00:00 +0000)
tree9d03ae1e22beee0a3a9a62eeb1dcca050aab4b55
parente1f0c17813565bdbecd57df766363e67c8a9b950
godump.c (go_format_type): Rewrite RECORD_TYPE nad UNION_TYPE support with -fdump-go-spec.

gcc/:
* godump.c (go_format_type): Rewrite RECORD_TYPE nad UNION_TYPE support
with -fdump-go-spec.  Anonymous substructures are now flattened and
replaced by their fields (record) or the first named, non-bitfield
field (union).
gcc/testsuite/:
* build-go/gcc/testsuite/gcc/godump-1.out: Update godump tests.

From-SVN: r217058
gcc/ChangeLog
gcc/godump.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.misc-tests/godump-1.c