diff options
author | Vladimir Makarov <vmakarov@redhat.com> | 2010-10-20 13:51:31 +0000 |
---|---|---|
committer | Vladimir Makarov <vmakarov@gcc.gnu.org> | 2010-10-20 13:51:31 +0000 |
commit | 519345901bc8ee08de2ea9c450aa56594724f4e7 (patch) | |
tree | 53d4e3e04456e435bad6b701e3065070f6c36722 /gcc/ira-emit.c | |
parent | 703cdce3f5a2a37d63f53e4602c86b4c4bfcad2e (diff) | |
download | gcc-519345901bc8ee08de2ea9c450aa56594724f4e7.zip gcc-519345901bc8ee08de2ea9c450aa56594724f4e7.tar.gz gcc-519345901bc8ee08de2ea9c450aa56594724f4e7.tar.bz2 |
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
Diffstat (limited to 'gcc/ira-emit.c')
-rw-r--r-- | gcc/ira-emit.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/gcc/ira-emit.c b/gcc/ira-emit.c index 7221e44..b90adb7 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 |