]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
ira.c (split_live_ranges_for_shrink_wrap): Remove bailout on subreg uses.
authorMartin Jambor <mjambor@suse.cz>
Mon, 26 May 2014 15:36:00 +0000 (17:36 +0200)
committerMartin Jambor <jamborm@gcc.gnu.org>
Mon, 26 May 2014 15:36:00 +0000 (17:36 +0200)
2014-05-26  Martin Jambor  <mjambor@suse.cz>

* ira.c (split_live_ranges_for_shrink_wrap): Remove bailout on
subreg uses.

From-SVN: r210936

gcc/ChangeLog
gcc/ira.c

index c696a516475fc5a1184ffeb697e0f3a5bf2c0bc1..c64d83343b72baa0d716931ad2e33e9538ef17ca 100644 (file)
@@ -1,3 +1,8 @@
+2014-05-26  Martin Jambor  <mjambor@suse.cz>
+
+       * ira.c (split_live_ranges_for_shrink_wrap): Remove bailout on
+       subreg uses.
+
 2014-05-26  Richard Biener  <rguenther@suse.de>
 
        * wide-int.h (wi::int_traits <long>, wi::int_traits <unsigned long>,
index b9caad7da357e70ecc99eed434facb22622ac234..00d95fb2f5c6e736e3c63d7c70f5373d89689190 100644 (file)
--- a/gcc/ira.c
+++ b/gcc/ira.c
@@ -4979,17 +4979,6 @@ split_live_ranges_for_shrink_wrap (void)
           use;
           use = DF_REF_NEXT_REG (use))
        {
-         if (NONDEBUG_INSN_P (DF_REF_INSN (use))
-             && GET_CODE (DF_REF_REG (use)) == SUBREG)
-           {
-             /* This is necessary to avoid hitting an assert at
-                postreload.c:2294 in libstc++ testcases on x86_64-linux.  I'm
-                not really sure what the probblem actually is there.  */
-             bitmap_clear (&need_new);
-             bitmap_clear (&reachable);
-             return false;
-           }
-
          int ubbi = DF_REF_BB (use)->index;
          if (bitmap_bit_p (&reachable, ubbi))
            bitmap_set_bit (&need_new, ubbi);