From 588c67333a8732cf1bd560c880e6146b3fb1ddf0 Mon Sep 17 00:00:00 2001 From: vmakarov Date: Wed, 20 Oct 2010 13:51:31 +0000 Subject: [PATCH] 2010-10-20 Vladimir Makarov PR fortran/42169 * ira-emit.c (store_can_be_removed_p): Return false instead of gcc_unreachable. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@165722 138bc75d-0d04-0410-961f-82ee72b054a4 --- gcc/ChangeLog | 6 ++++++ gcc/ira-emit.c | 3 ++- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 3db8d6e3446..9845453b2f2 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,9 @@ +2010-10-20 Vladimir Makarov + + PR fortran/42169 + * ira-emit.c (store_can_be_removed_p): Return false instead of + gcc_unreachable. + 2010-10-20 Dmitry Melnik * fold-const.c (fold_binary_loc): New transformation. diff --git a/gcc/ira-emit.c b/gcc/ira-emit.c index 7221e444b0d..b90adb71da3 100644 --- a/gcc/ira-emit.c +++ b/gcc/ira-emit.c @@ -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 -- 2.11.0