I've committed this patch to fix a df verify crash Thomas pointed me at. Thomas, I think this means you can revert the workaround you just committed?

nathan
2015-07-10  Nathan Sidwell  <nat...@codesourcery.com>

        * config/nvptx/nvptx.c (nvptx_reorg): Move df problem setting, set
        dirty flags.

Index: config/nvptx/nvptx.c
===================================================================
--- config/nvptx/nvptx.c        (revision 225647)
+++ config/nvptx/nvptx.c        (working copy)
@@ -2923,16 +2923,16 @@ nvptx_reorg (void)
 
   thread_prologue_and_epilogue_insns ();
 
-  df_clear_flags (DF_LR_RUN_DCE);
-  df_set_flags (DF_NO_INSN_RESCAN | DF_NO_HARD_REGS);
-  df_live_add_problem ();
-  
   /* Split blocks and record interesting unspecs.  */
   bb_insn_map_t bb_insn_map;
 
-    nvptx_split_blocks (&bb_insn_map);
+  nvptx_split_blocks (&bb_insn_map);
 
   /* Compute live regs */
+  df_clear_flags (DF_LR_RUN_DCE);
+  df_set_flags (DF_NO_INSN_RESCAN | DF_NO_HARD_REGS);
+  df_live_add_problem ();
+  df_live_set_all_dirty ();
   df_analyze ();
   regstat_init_n_sets_and_refs ();
 

Reply via email to