This is the mail archive of the gcc-cvs@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]

r227276 - in /trunk/gcc/go/gofrontend: MERGE go...


Author: ian
Date: Thu Aug 27 19:06:59 2015
New Revision: 227276

URL: https://gcc.gnu.org/viewcvs?rev=227276&root=gcc&view=rev
Log:
    compiler: Don't record dependencies of invalid redefinitions.
    
    The gofrontend would crash when trying to find the initialization
    order of a variable list where one of the listed variables was an
    invalid redefinition of another in a call statement.  This patch
    fixes initialization from call statements to consider invalid
    redefinitions before recording dependency information.
    
    Fixes golang/go#11543.
    
    Reviewed-on: https://go-review.googlesource.com/13895

Modified:
    trunk/gcc/go/gofrontend/MERGE
    trunk/gcc/go/gofrontend/gogo.cc
    trunk/gcc/go/gofrontend/gogo.h
    trunk/gcc/go/gofrontend/parse.cc


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