r266532 - in /trunk/gcc/go/gofrontend: MERGE go...
ian@gcc.gnu.org
ian@gcc.gnu.org
Tue Nov 27 21:40:00 GMT 2018
Author: ian
Date: Tue Nov 27 21:40:56 2018
New Revision: 266532
URL: https://gcc.gnu.org/viewcvs?rev=266532&root=gcc&view=rev
Log:
compiler: add result parameter names for inlinable functions
An inlinable function body may need to refer to result parameters, so
each result parameter needs a name. We already give them all names in
start_function (via create_result_variables). Change the export data
so that for an inlinable function we use those names for the function
declaration's result parameters.
Reviewed-on: https://go-review.googlesource.com/c/150070
Modified:
trunk/gcc/go/gofrontend/MERGE
trunk/gcc/go/gofrontend/gogo.cc
trunk/gcc/go/gofrontend/gogo.h
More information about the Gcc-cvs
mailing list