cselib.c (dump_cselib_val): Don't assume l->setting_insn is non-NULL.

* cselib.c (dump_cselib_val): Don't assume l->setting_insn is
	non-NULL.

From-SVN: r184168
This commit is contained in:
Jakub Jelinek 2012-02-13 21:13:49 +01:00 committed by Jakub Jelinek
parent e3793c6fb9
commit 4228697645
2 changed files with 8 additions and 2 deletions

View File

@ -1,5 +1,8 @@
2012-02-13 Jakub Jelinek <jakub@redhat.com>
* cselib.c (dump_cselib_val): Don't assume l->setting_insn is
non-NULL.
PR middle-end/52230
* omp-low.c (expand_omp_for): If a static schedule without
chunk size has NULL region->cont, force fd.chunk_size to be

View File

@ -2688,8 +2688,11 @@ dump_cselib_val (void **x, void *info)
fputs (" locs:", out);
do
{
fprintf (out, "\n from insn %i ",
INSN_UID (l->setting_insn));
if (l->setting_insn)
fprintf (out, "\n from insn %i ",
INSN_UID (l->setting_insn));
else
fprintf (out, "\n ");
print_inline_rtx (out, l->loc, 4);
}
while ((l = l->next));