This is the mail archive of the
gcc-cvs@gcc.gnu.org
mailing list for the GCC project.
r185929 - in /branches/gcc-4_7-branch/gcc/go/go...
- From: ian at gcc dot gnu dot org
- To: gcc-cvs at gcc dot gnu dot org
- Date: Wed, 28 Mar 2012 21:33:37 -0000
- Subject: r185929 - in /branches/gcc-4_7-branch/gcc/go/go...
Author: ian
Date: Wed Mar 28 21:33:37 2012
New Revision: 185929
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=185929
Log:
compiler: fix crashes.
The compiler would crash on:
if true || x, y := 1, 2 {}
and
var s string
s = append(s, "hello")
Reported in issue 3186.
Modified:
branches/gcc-4_7-branch/gcc/go/gofrontend/expressions.cc
branches/gcc-4_7-branch/gcc/go/gofrontend/parse.cc