This is the mail archive of the
gcc-cvs@gcc.gnu.org
mailing list for the GCC project.
r227039 - in /trunk/gcc/go/gofrontend: MERGE ex...
- From: ian at gcc dot gnu dot org
- To: gcc-cvs at gcc dot gnu dot org
- Date: Thu, 20 Aug 2015 17:43:55 -0000
- Subject: r227039 - in /trunk/gcc/go/gofrontend: MERGE ex...
Author: ian
Date: Thu Aug 20 17:43:55 2015
New Revision: 227039
URL: https://gcc.gnu.org/viewcvs?rev=227039&root=gcc&view=rev
Log:
compiler: Don't crash on invalid print call.
When the print builtins are called with no arguments, the compiler
issues a warning and crashes when trying to produce the backend
representation for the arguments.
Fixes golang/go#11526.
Reviewed-on: https://go-review.googlesource.com/13131
Modified:
trunk/gcc/go/gofrontend/MERGE
trunk/gcc/go/gofrontend/expressions.cc