[PATCH] Correct -fdump-go-spec's handling of incomplete types

Ian Lance Taylor iant@golang.org
Mon Dec 14 07:39:45 GMT 2020


On Sun, Dec 13, 2020 at 3:30 PM Nikhil Benesch <nikhil.benesch@gmail.com> wrote:
>
> On 12/13/20 4:55 PM, Nikhil Benesch wrote:
> > There are a few more hurdles before this patch is ready for commit. The
> > changes to godump.c deserve new test cases. [...]
>
> Updated patch attached, as promised, and is ready for review.
>
> gcc/:
>         * godump.c (go_output_typedef): Suppress typedefs whose name
>         matches the tag of the underlying struct, union, or enum.
>         Output declarations for enums that do not appear in typedefs.
> gcc/testsuite:
>         * gcc.misc-tests/godump-1.c: Add test cases.
>
> I don't have write access, so whoever reviews, please commit if approved.

Thanks.  Committed.

Ian


More information about the Gcc-patches mailing list