]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
re PR target/41399 (Scheduler gives huge dependence graph compiling fortran/intrinsic...
authorVladimir Makarov <vmakarov@redhat.com>
Mon, 1 Feb 2010 19:52:42 +0000 (19:52 +0000)
committerVladimir Makarov <vmakarov@gcc.gnu.org>
Mon, 1 Feb 2010 19:52:42 +0000 (19:52 +0000)
2010-02-01  Vladimir Makarov  <vmakarov@redhat.com>

PR target/41399
* sched-deps.c (sched_analyze_insn): Ignore fixed registers for
implicitly set registers.

From-SVN: r156431

gcc/ChangeLog
gcc/sched-deps.c

index c52c23b72424255234ab5e7f7aa69616b88c42b0..0755576afa69fe04ec4a2ead695c98c299064b8f 100644 (file)
@@ -1,3 +1,9 @@
+2010-02-01  Vladimir Makarov  <vmakarov@redhat.com>
+
+       PR target/41399
+       * sched-deps.c (sched_analyze_insn): Ignore fixed registers for
+       implicitly set registers.
+
 2010-02-01  Richard Earnshaw  <rearnsha@arm.com>
 
        * arm.c (FL_FOR_ARCH_7A): is also a superset of ARMv6K.
index 21632c3b5ed9ac1d0818c90e9474a3bac24175ff..8a6a860ec923d8161df7813e6bd0c3ee7c6257f4 100644 (file)
@@ -2623,6 +2623,7 @@ sched_analyze_insn (struct deps *deps, rtx x, rtx insn)
       extract_insn (insn);
       preprocess_constraints ();
       ira_implicitly_set_insn_hard_regs (&temp);
+      AND_COMPL_HARD_REG_SET (temp, ira_no_alloc_regs);
       IOR_HARD_REG_SET (implicit_reg_pending_clobbers, temp);
     }