Re: Fix PR50638 (segfault with emutls)

2011-10-08 Thread Richard Guenther
On Fri, Oct 7, 2011 at 6:34 PM, Michael Matz wrote: > Hi, > > tree-emutls.c missed to called add_referenced_var for a variable that is > referenced.  That always was a bug, but meanwhile is fatal (causing a > segfault).  This fixes the problem.  Okay for trunk if regstrapping > succeeds? Ok (qual

Fix PR50638 (segfault with emutls)

2011-10-07 Thread Michael Matz
Hi, tree-emutls.c missed to called add_referenced_var for a variable that is referenced. That always was a bug, but meanwhile is fatal (causing a segfault). This fixes the problem. Okay for trunk if regstrapping succeeds? The related bugreport PR50640 (fortran segfaults for similar reasons)