This Go frontend patch by Cherry Zhang fixes the type debug dump code to add a newline after the function receiver type. Bootstrapped and ran Go tests on x86_64-pc-linux-gnu. Committed to mainline.
Ian
Index: gcc/go/gofrontend/MERGE =================================================================== --- gcc/go/gofrontend/MERGE (revision 269811) +++ gcc/go/gofrontend/MERGE (working copy) @@ -1,4 +1,4 @@ -6e5ff227d4e77d340e86bd2c5e045d5532c2d7d7 +392e9b3da473070f24dbe6c12c282a0e06e73b54 The first line of this file holds the git revision number of the last merge done from the gofrontend repository. Index: gcc/go/gofrontend/ast-dump.cc =================================================================== --- gcc/go/gofrontend/ast-dump.cc (revision 269805) +++ gcc/go/gofrontend/ast-dump.cc (working copy) @@ -766,7 +766,7 @@ void Type_dumper::visit_function_type(co if (rec != NULL) { this->emitpre(notag, NULL); - this->typeref("receiver ", rec->type(), NULL); + this->typeref("receiver ", rec->type(), "\n"); } const Typed_identifier_list* parameters = ft->parameters(); if (parameters != NULL)