Commit 341e19df by Vladimir Makarov Committed by Vladimir Makarov

re PR rtl-optimization/55396 (-O2 -m32 -fno-omit-frame-pointer: internal…

re PR rtl-optimization/55396 (-O2 -m32 -fno-omit-frame-pointer: internal compiler error: in check_rtl, at lra.c:2007)

2012-11-20  Vladimir Makarov  <vmakarov@redhat.com>

	PR rtl-optimization/55396
	* lra-constraints.c (get_reload_reg): Change class if it is
	different from reg class.

From-SVN: r193678
parent 6e1aa848
2012-11-20 Vladimir Makarov <vmakarov@redhat.com>
PR rtl-optimization/55396
* lra-constraints.c (get_reload_reg): Change class if it is
different from reg class.
2012-11-20 Jakub Jelinek <jakub@redhat.com>
* vec.h (class vec_prefix): Change into struct.
......@@ -425,7 +425,7 @@ get_reload_reg (enum op_type type, enum machine_mode mode, rtx original,
fprintf (lra_dump_file, " Reuse r%d for reload ", regno);
print_value_slim (lra_dump_file, original, 1);
}
if (rclass != new_class)
if (new_class != lra_get_allocno_class (regno))
change_class (regno, new_class, ", change", false);
if (lra_dump_file != NULL)
fprintf (lra_dump_file, "\n");
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment