+2014-02-24 Andrey Belevantsev <abel@ispras.ru>
+
+ PR rtl-optimization/60268
+ * sched-rgn.c (haifa_find_rgns): Move the nr_regions_initial variable
+ initialization to ...
+ (sched_rgn_init): ... here.
+ (schedule_region): Check for SCHED_PRESSURE_NONE earlier.
+
2014-02-23 David Holsgrove <david.holsgrove@xilinx.com>
- * config/microblaze/microblaze.md: Correct ashrsi_reg / lshrsi_reg names
+ * config/microblaze/microblaze.md: Correct ashrsi_reg / lshrsi_reg
+ names.
2014-02-23 Edgar E. Iglesias <edgar.iglesias@xilinx.com>
BLOCK_TO_BB (bb->index) = 0;
}
- nr_regions_initial = nr_regions;
free (max_hdr);
free (degree);
free (stack);
/* Do not support register pressure sensitive scheduling for the new regions
as we don't update the liveness info for them. */
- if (rgn >= nr_regions_initial)
+ if (sched_pressure != SCHED_PRESSURE_NONE
+ && rgn >= nr_regions_initial)
{
- if (sched_pressure != SCHED_PRESSURE_NONE)
- free_global_sched_pressure_data ();
+ free_global_sched_pressure_data ();
sched_pressure = SCHED_PRESSURE_NONE;
}
RGN_BLOCKS (nr_regions) = (RGN_BLOCKS (nr_regions - 1) +
RGN_NR_BLOCKS (nr_regions - 1));
+ nr_regions_initial = nr_regions;
}
/* Free data structures for region scheduling. */
+2014-02-24 Andrey Belevantsev <abel@ispras.ru>
+
+ PR rtl-optimization/60268
+ * gcc.c-torture/compile/pr60268.c: New test.
+
2014-02-23 David Holsgrove <david.holsgrove@xilinx.com>
- * gcc/testsuite/gcc.target/microblaze/others/mem_reload.c: New test.
+ * gcc.target/microblaze/others/mem_reload.c: New test.
2014-02-23 Bill Schmidt <wschmidt@linux.vnet.ibm.com>
--- /dev/null
+/* { dg-options "-flive-range-shrinkage" } */
+void f()
+{
+ int i = 0;
+ void *p = 0;
+}