re PR debug/47620 (Profiledbootstrap failure on powerpc-linux)
authorAlexandre Oliva <aoliva@redhat.com>
Sat, 19 Feb 2011 20:59:23 +0000 (20:59 +0000)
committerAlexandre Oliva <aoliva@gcc.gnu.org>
Sat, 19 Feb 2011 20:59:23 +0000 (20:59 +0000)
PR debug/47620
PR debug/47630
* haifa-sched.c (fix_tick_ready): Skip tick computation
for debug insns.

From-SVN: r170324

gcc/ChangeLog
gcc/haifa-sched.c

index 92416b15665edecd618eb493541f81207e55b2a9..f5885f8a9fbede86bc16f56fa47ccf24fe71591e 100644 (file)
@@ -1,3 +1,10 @@
+2011-02-19  Alexandre Oliva  <aoliva@redhat.com>
+
+       PR debug/47620
+       PR debug/47630
+       * haifa-sched.c (fix_tick_ready): Skip tick computation
+       for debug insns.
+
 2011-02-19  Richard Guenther  <rguenther@suse.de>
 
        PR lto/47647
index 9f7d06af6d54c001b06a9ea35fdadf46547a038a..e16561f4cb9c0446f5889ce5abe479936d8b6df4 100644 (file)
@@ -3903,7 +3903,7 @@ fix_tick_ready (rtx next)
 {
   int tick, delay;
 
-  if (!sd_lists_empty_p (next, SD_LIST_RES_BACK))
+  if (!DEBUG_INSN_P (next) && !sd_lists_empty_p (next, SD_LIST_RES_BACK))
     {
       int full_p;
       sd_iterator_def sd_it;