r275238 - in /trunk/gcc/go/gofrontend: MERGE ex...
ian@gcc.gnu.org
ian@gcc.gnu.org
Sat Aug 31 02:56:00 GMT 2019
Author: ian
Date: Sat Aug 31 02:56:55 2019
New Revision: 275238
URL: https://gcc.gnu.org/viewcvs?rev=275238&root=gcc&view=rev
Log:
compiler: don't report runtime escapes if we've seen errors
If we get errors during compilation, we skip the escape analysis pass.
If we are compiling the runtime package, we report an error if a bound
method expression escapes. The effect is that if we get an error
while compiling the runtime package, we would report confusing and
meaningless errors about bound method expressions escaping.
This CL stops doing that.
Reviewed-on: https://go-review.googlesource.com/c/gofrontend/+/192720
Modified:
trunk/gcc/go/gofrontend/MERGE
trunk/gcc/go/gofrontend/expressions.cc
More information about the Gcc-cvs
mailing list