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]

r249595 - in /trunk: gcc/go/gofrontend/MERGE li...


Author: ian
Date: Fri Jun 23 16:05:44 2017
New Revision: 249595

URL: https://gcc.gnu.org/viewcvs?rev=249595&root=gcc&view=rev
Log:
    runtime: don't crash if no p in kickoff
    
    The kickoff function for g0 can be invoked without a p, for example
    from mcall(exitsyscall0) in exitsyscall after exitsyscall has cleared
    the p field. The assignment gp.param = nil will invoke a write barrier.
    If gp.param is not already nil, this will require a p. Avoid the problem
    for a specific case that is known to be OK: when the value in gp.param
    is a *g.
    
    Reviewed-on: https://go-review.googlesource.com/46512

Modified:
    trunk/gcc/go/gofrontend/MERGE
    trunk/libgo/go/runtime/proc.go


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