This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug middle-end/68117] [6 Regression] error: invalid PHI argument <<< Unknown tree: <invalid tree code> >>>
- From: "gary at intrepid dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Wed, 18 Nov 2015 14:57:04 +0000
- Subject: [Bug middle-end/68117] [6 Regression] error: invalid PHI argument <<< Unknown tree: <invalid tree code> >>>
- Auto-submitted: auto-generated
- References: <bug-68117-4 at http dot gcc dot gnu dot org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68117
--- Comment #38 from Gary Funck <gary at intrepid dot com> ---
(In reply to Richard Biener from comment #37)
>
> Does the following help on r230428 or newer?
>
> Index: gcc/tree-ssa.c
> ===================================================================
> --- gcc/tree-ssa.c (revision 230428)
> +++ gcc/tree-ssa.c (working copy)
> @@ -1126,6 +1145,9 @@ delete_tree_ssa (struct function *fn)
> fn->gimple_df->decls_to_pointers = NULL;
> fn->gimple_df->modified_noreturn_calls = NULL;
> fn->gimple_df = NULL;
> +
> + /* We no longer need the edge variable maps. */
> + redirect_edge_var_map_destroy ();
> }
>
> /* Return true if EXPR is a useless type conversion, otherwise return
Yes, was able to do a full bootstrap at -O3 of all languages.