]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
re PR fortran/42169 (gfortran.dg/pr41928.f90:47: internal compiler error: in store_ca...
authorVladimir Makarov <vmakarov@redhat.com>
Wed, 20 Oct 2010 14:06:08 +0000 (14:06 +0000)
committerVladimir Makarov <vmakarov@gcc.gnu.org>
Wed, 20 Oct 2010 14:06:08 +0000 (14:06 +0000)
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: r165724

gcc/ChangeLog
gcc/ira-emit.c

index aff534d49fde39676bfd55a5639457b0aadcd00a..063345d43fa083e379c55347cd41e2ca275220d8 100644 (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-18  Jakub Jelinek  <jakub@redhat.com>
 
        PR middle-end/46019
index 1d4d8ea224ff0fae85991cdb6d4ae04f86246e5d..fdf07d269d3c08d572326a75ecc7c7a4cf43f7df 100644 (file)
@@ -368,7 +368,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