------- Comment #6 from pinskia at gcc dot gnu dot org  2009-04-27 19:24 -------
This patch fixes the ppc-darwin failure:
Index: cfgexpand.c
===================================================================
--- cfgexpand.c (revision 146848)
+++ cfgexpand.c (working copy)
@@ -2503,11 +2503,11 @@ gimple_expand_cfg (void)
       gcc_assert (crtl->parm_stack_boundary <= INCOMING_STACK_BOUNDARY);
     }

-  expand_phi_nodes (&SA);
-
   /* Register rtl specific functions for cfg.  */
   rtl_register_cfg_hooks ();

+  expand_phi_nodes (&SA);
+
   init_block = construct_init_block ();

   /* Clear EDGE_EXECUTABLE on the entry edge(s).  It is cleaned from the

--- CUT ---
expand_phi_nodes can and will create RTL code so we need to register the RTL
CFG hooks before calling it.


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39929

Reply via email to