re PR fortran/42169 (gfortran.dg/pr41928.f90:47: internal compiler error: in store_can_be_removed_p, at ira-emit.c:371)

2010-10-20  Vladimir Makarov  <vmakarov@redhat.com>

	PR fortran/42169
	* ira-emit.c (store_can_be_removed_p): Return false instead of
	gcc_unreachable.

From-SVN: r165722
This commit is contained in:
Vladimir Makarov 2010-10-20 13:51:31 +00:00 committed by Vladimir Makarov
parent 703cdce3f5
commit 519345901b
2 changed files with 8 additions and 1 deletions

View File

@ -1,3 +1,9 @@
2010-10-20 Vladimir Makarov <vmakarov@redhat.com>
PR fortran/42169
* ira-emit.c (store_can_be_removed_p): Return false instead of
gcc_unreachable.
2010-10-20 Dmitry Melnik <dm@ispras.ru>
* fold-const.c (fold_binary_loc): New transformation.

View File

@ -367,7 +367,8 @@ store_can_be_removed_p (ira_allocno_t src_allocno, ira_allocno_t dest_allocno)
prohibit removal of the store in such complicated case. */
return false;
}
gcc_unreachable ();
/* It is actually a loop entry -- do not remove the store. */
return false;
}
/* Generate and attach moves to the edge E. This looks at the final