re PR middle-end/44454 (Many new failures)

PR middle-end/44454
	(df_lr_top_dump, df_lr_bottom_dump): Check that in/out bitmaps
	are allocated.

From-SVN: r160410
This commit is contained in:
Jan Hubicka 2010-06-08 00:48:32 +02:00 committed by Jan Hubicka
parent 10575b5dc4
commit f2eff9f86a
2 changed files with 16 additions and 4 deletions

View File

@ -1,3 +1,9 @@
2010-06-07 Jan Hubicka <jh@suse.cz>
PR middle-end/44454
(df_lr_top_dump, df_lr_bottom_dump): Check that in/out bitmaps
are allocated.
2010-06-07 Kaz Kojima <kkojima@gcc.gnu.org>
* config/sh/sh.c (sh_build_builtin_va_list): Set tree type

View File

@ -1120,8 +1120,11 @@ df_lr_top_dump (basic_block bb, FILE *file)
if (df_lr->problem_data)
{
problem_data = (struct df_lr_problem_data *)df_lr->problem_data;
fprintf (file, ";; old in \t");
df_print_regset (file, &problem_data->in[bb->index]);
if (problem_data->in)
{
fprintf (file, ";; old in \t");
df_print_regset (file, &problem_data->in[bb->index]);
}
}
fprintf (file, ";; lr use \t");
df_print_regset (file, &bb_info->use);
@ -1145,8 +1148,11 @@ df_lr_bottom_dump (basic_block bb, FILE *file)
if (df_lr->problem_data)
{
problem_data = (struct df_lr_problem_data *)df_lr->problem_data;
fprintf (file, ";; old out \t");
df_print_regset (file, &problem_data->out[bb->index]);
if (problem_data->out)
{
fprintf (file, ";; old out \t");
df_print_regset (file, &problem_data->out[bb->index]);
}
}
}