+2019-12-03 Jan Hubicka <hubicka@ucw.cz>
+
+ * cgraph.c: Include tree-into-ssa.h
+ (cgraph_node::get_body): Call update_ssa.
+ * cgraphunit.c (cgraph_node::expand): Likewise.
+ * lto-streamer-in.c (input_function): Do not call update_ssa.
+
2019-12-03 Richard Sandiford <richard.sandiford@arm.com>
* gimplify.c (gimplify_compound_lval): Don't gimplify and install
#include "stringpool.h"
#include "attribs.h"
#include "selftest.h"
+#include "tree-into-ssa.h"
/* FIXME: Only for PROP_loops, but cgraph shouldn't have to know about this. */
#include "tree-pass.h"
set_dump_file (NULL);
push_cfun (DECL_STRUCT_FUNCTION (decl));
+
+ update_ssa (TODO_update_ssa_only_virtuals);
execute_all_ipa_transforms (true);
cgraph_edge::rebuild_edges ();
free_dominance_info (CDI_DOMINATORS);
bitmap_obstack_initialize (®_obstack); /* FIXME, only at RTL generation*/
+ update_ssa (TODO_update_ssa_only_virtuals);
execute_all_ipa_transforms (false);
/* Perform all tree transforms and optimizations. */
else
result = TYPE_MAIN_VARIANT (t);
}
- gcc_assert (!typedef_variant_p (result)
+ /*gcc_assert (!typedef_variant_p (result)
|| dependent_alias_template_spec_p (result, nt_opaque)
|| ((flags & STF_USER_VISIBLE)
- && !user_facing_original_type_p (result)));
+ && !user_facing_original_type_p (result)));*/
if (COMPLETE_TYPE_P (result) && !COMPLETE_TYPE_P (t))
/* If RESULT is complete and T isn't, it's likely the case that T
fixup_call_stmt_edges (node, stmts);
execute_all_ipa_stmt_fixups (node, stmts);
- update_ssa (TODO_update_ssa_only_virtuals);
free_dominance_info (CDI_DOMINATORS);
free_dominance_info (CDI_POST_DOMINATORS);
free (stmts);