[Bug go/83102] [8 Regression] go bootstrap error in ast-dump.cc due to __is_invocable failure
redi at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Wed Nov 22 11:01:00 GMT 2017
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83102
--- Comment #5 from Jonathan Wakely <redi at gcc dot gnu.org> ---
This is the fix for the Go frontend (untested, but obviously correct):
--- a/gcc/go/gofrontend/gogo.h
+++ b/gcc/go/gofrontend/gogo.h
@@ -117,7 +117,7 @@ class Import_init
// For sorting purposes.
struct Import_init_lt {
- bool operator()(const Import_init* i1, const Import_init* i2)
+ bool operator()(const Import_init* i1, const Import_init* i2) const
{
return i1->init_name() < i2->init_name();
}
More information about the Gcc-bugs
mailing list