This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[lto] fix reading bogosities


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 ();
     }


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]