diff options
author | Ian Lance Taylor <ian@gcc.gnu.org> | 2019-06-07 00:07:50 +0000 |
---|---|---|
committer | Ian Lance Taylor <ian@gcc.gnu.org> | 2019-06-07 00:07:50 +0000 |
commit | ffaa3a1c7433742373c2a71257d573d234428270 (patch) | |
tree | b7dc46662e228320e2254df24d28d28ce6fd2f53 /gcc | |
parent | 93cbebde76ac7de2d69b223d99acb39e0370687f (diff) | |
download | gcc-ffaa3a1c7433742373c2a71257d573d234428270.zip gcc-ffaa3a1c7433742373c2a71257d573d234428270.tar.gz gcc-ffaa3a1c7433742373c2a71257d573d234428270.tar.bz2 |
go/internal/gccgoimporter: ignore unexported and imported names
Due to inlining, we can now see unexported functions and variables,
and functions and variables imported from different packages.
Ignore them rather than reporting them from this package.
Handle $hash and $equal functions consistently, so that we discard the
inline body if there is one.
Ignore names created for result parameters for inlining purposes.
Reviewed-on: https://go-review.googlesource.com/c/gofrontend/+/180758
From-SVN: r272023
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/go/gofrontend/MERGE | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/go/gofrontend/MERGE b/gcc/go/gofrontend/MERGE index 4d455ea..7f687c8 100644 --- a/gcc/go/gofrontend/MERGE +++ b/gcc/go/gofrontend/MERGE @@ -1,4 +1,4 @@ -015785baa74629baafe520367b9c71707366c6eb +e76c26059585433ce44e50cd7f8f504c6676f453 The first line of this file holds the git revision number of the last merge done from the gofrontend repository. |