re PR rtl-optimization/70902 (GCC freezes while compiling for 'skylake-avx512' target)
authorUros Bizjak <ubizjak@gmail.com>
Sun, 26 Jun 2016 20:56:34 +0000 (22:56 +0200)
committerUros Bizjak <uros@gcc.gnu.org>
Sun, 26 Jun 2016 20:56:34 +0000 (22:56 +0200)
PR target/70902
PR target/71453
PR target/71555
PR target/71596
PR target/71657
* config/i386/i386.c (TARGET_SPILL_CLASS): #if 0 out the definition.
(ix86_spill_class): Disable to always return NO_REGS.

From-SVN: r237792

gcc/ChangeLog
gcc/config/i386/i386.c

index e153a890e1db9799c033d29cf011c3d344170a60..70b771999a33f87ce59e01b61664ee217c03117e 100644 (file)
@@ -1,3 +1,13 @@
+2016-06-26  Uros Bizjak  <ubizjak@gmail.com>
+
+       PR target/70902
+       PR target/71453
+       PR target/71555
+       PR target/71596
+       PR target/71657
+       * config/i386/i386.c (TARGET_SPILL_CLASS): #if 0 out the definition.
+       (ix86_spill_class): Disable to always return NO_REGS.
+
 2016-06-26  Jan Hubicka  <hubicka@ucw.cz>
 
        * predict.c: Include gimple-pretty-print.h
index f7944f994ebc2b6733d346f6ee66ab47939d0da5..c9595fa308d1885ccd2ee2d6cb48d6ab39fd0fac 100644 (file)
@@ -54583,10 +54583,13 @@ ix86_get_mask_mode (unsigned nunits, unsigned vector_size)
 /* Return class of registers which could be used for pseudo of MODE
    and of class RCLASS for spilling instead of memory.  Return NO_REGS
    if it is not possible or non-profitable.  */
+
+/* Disabled due to PRs 70902, 71453, 71555, 71596 and 71657.  */
+
 static reg_class_t
 ix86_spill_class (reg_class_t rclass, machine_mode mode)
 {
-  if (TARGET_GENERAL_REGS_SSE_SPILL
+  if (0 && TARGET_GENERAL_REGS_SSE_SPILL
       && TARGET_SSE2
       && TARGET_INTER_UNIT_MOVES_TO_VEC
       && TARGET_INTER_UNIT_MOVES_FROM_VEC
@@ -55700,8 +55703,11 @@ ix86_addr_space_zero_address_valid (addr_space_t as)
 #undef TARGET_LOOP_UNROLL_ADJUST
 #define TARGET_LOOP_UNROLL_ADJUST ix86_loop_unroll_adjust
 
+#if 0
+/* Disabled due to PRs 70902, 71453, 71555, 71596 and 71657.  */
 #undef TARGET_SPILL_CLASS
 #define TARGET_SPILL_CLASS ix86_spill_class
+#endif
 
 #undef TARGET_SIMD_CLONE_COMPUTE_VECSIZE_AND_SIMDLEN
 #define TARGET_SIMD_CLONE_COMPUTE_VECSIZE_AND_SIMDLEN \