This patch to the Go frontend gives a better error message for an
unknown package name, saying "undefined reference" rather than
"expected package". This requires updating a test. This fixes
https://go.dev/issue/51237. Bootstrapped and ran Go testsuite on
x86_64-pc-linux-gnu. Committed to main
My understanding of shifts of constants in Go has improved. This patch
more accurately reflects the language spec when it comes to reporting
errors for invalid shifts. Bootstrapped and ran Go testsuite on
x86_64-unknown-linux-gnu. Committed to mainline.
Ian
diff -r 9be532343312 go/expressions.
This patch to the Go frontend gives a better error message for a missing
comma in a composite literal. Bootstrapped and ran Go testsuite on
x86_64-unknown-linux-gnu. Committed to mainline and 4.7 branch.
Ian
diff -r f47f5449a663 go/parse.cc
--- a/go/parse.cc Mon Sep 24 15:20:45 2012 -0700
+++ b
This patch to the Go frontend adds some missing dashes to error
messages. Bootstrapped and ran Go testsuite on
x86_64-unknown-linux-gnu. Committed to mainline and 4.7 branch.
Ian
diff -r fb59d6712068 go/gogo.cc
--- a/go/gogo.cc Fri Sep 21 14:06:10 2012 -0700
+++ b/go/gogo.cc Fri Sep 21 15:05:27
This patch to the Go compiler gives a better error message if a method
that requires a pointer receiver is invoked with a non-pointer value.
Bootstrapped and ran Go testsuite on x86_64-unknown-linux-gnu.
Committed to mainline and 4.7 branch.
Ian
diff -r cb56a10e8798 go/types.cc
--- a/go/types.cc
This patch to the Go frontend generates a better error message when an
invalid variable name is used in a switch statement. Bootstrapped and
ran Go testsuite on x86_64-unknown-linux-gnu. Committed to mainline.
Ian
diff -r 9f4bdd962616 go/parse.cc
--- a/go/parse.cc Mon Mar 28 15:57:46 2011 -0700
This patch to the Go frontend gives a better error message when the
condition is omitted from an if statement. Bootstrapped and ran Go
testsuite on x86_64-unknown-linux-gnu. Committed to mainline.
Ian
diff -r a05deef47b01 go/parse.cc
--- a/go/parse.cc Mon Mar 28 15:48:35 2011 -0700
+++ b/go/par
This patch to gccgo makes it emit better a error message when using the
now obsolete syntax of a send expression as a value. Bootstrapped and
ran Go testsuite on x86_64-unknown-linux-gnu. Committed to mainline.
Ian
diff -r 60aecfe6ad83 go/parse.cc
--- a/go/parse.cc Mon Mar 28 14:49:45 2011 -070