Re: [PATCH] Do not dereference NULL pointer in resolve_ref (PR fortran/89185).

2019-02-04 Thread Thomas König
Hi Martin, > Patch can bootstrap on x86_64-linux-gnu and survives regression tests. > > Ready to be installed? > Thanks, > Martin Ok. Thanks for the very quick fix! Regards Thomas

[PATCH] Do not dereference NULL pointer in resolve_ref (PR fortran/89185).

2019-02-04 Thread Martin Liška
Hi. In r268092 there was added a code that guard the loop in resolve_ref. Unfortunately, one needs to prevent execution of 'prev = &(*prev)->next' that happens before the loop guard check. Patch can bootstrap on x86_64-linux-gnu and survives regression tests. Ready to be installed? Thanks, Marti