This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Go patch committed: Provide index information on bounds check failure


This patch to the Go frontend and libgo changes the panic message
reported for an out of bounds index or slice operation to include the
invalid values.  This makes it easier for the user to see what the
problem is.  This implements https://golang.org/cl/161477 in the
gofrontend, for https://golang.org/issue/30116.  Bootstrapped and ran
Go testsuite on x86_64-pc-linux-gnu.  Committed to mainline.

Unfortunately, GMail has once again blocked the patch attachment.  So
if you want to see the patch, see
https://gcc.gnu.org/viewcvs/gcc?view=revision&revision=274998 .

Ian


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]