On Jun 20, 2012, Alexandre Oliva <aol...@redhat.com> wrote: > When promote_debug_loc was first introduced, it would never be called > with a NULL loc list. However, because of the strategy of temporarily > resetting loc lists before recursion introduced a few months ago in > alias.c, the earlier assumption no longer holds.
> This patch adusts promote_debug_loc to deal with this case. > Ok to install? Unless there are objections in the next 24 hours, I'm going to install this in the 4.7 branch too. Regstrapped on x86_64-linux-gnu and i686-linux-gnu. > for gcc/ChangeLog > from Alexandre Oliva <aol...@redhat.com> > PR debug/53682 > * cselib.c (promote_debug_loc): Don't crash on NULL argument. -- Alexandre Oliva, freedom fighter http://FSFLA.org/~lxoliva/ You must be the change you wish to see in the world. -- Gandhi Be Free! -- http://FSFLA.org/ FSF Latin America board member Free Software Evangelist Red Hat Brazil Compiler Engineer