[lto] fix reading bogosities

Nathan Froyd froydnj@codesourcery.com
Thu Dec 6 22:14:00 GMT 2007


This patch just does what Danny told me to do a couple of days ago. :)

Committed to the LTO branch.

-Nathan

2007-12-06  Nathan Froyd  <froydnj@codesourcery.com>

	* lto-read.c (input_expr_operand): Don't check for MTAGs.
	(lto_read_body): Don't declare PROP_alias.

Index: lto-read.c
===================================================================
--- lto-read.c	(revision 130658)
+++ lto-read.c	(working copy)
@@ -1166,8 +1166,6 @@ input_expr_operand (struct input_block *
 
       recompute_tree_invariant_for_addr_expr (result);
     }
-  else if (MTAG_P (result))
-    add_referenced_var (result);
   return result;
 }
 
@@ -1948,7 +1946,7 @@ lto_read_body (lto_info_fd *fd,
       /* We should now be in SSA.  */
       cfun->gimple_df->in_ssa_p = true;
       /* Fill in properties we know hold for the rebuilt CFG.  */
-      cfun->curr_properties = PROP_ssa | PROP_alias;
+      cfun->curr_properties = PROP_ssa;
 
       pop_cfun ();
     }



More information about the Gcc-patches mailing list