Hi! On Wed, 13 Feb 2019 14:47:36 +0100, Richard Biener <richard.guent...@gmail.com> wrote: > On February 13, 2019 6:53:17 AM GMT+01:00, "Martin Liška" <mli...@suse.cz> > wrote: > >As Honza noticed, there's still some leftover from MPX removal. > >May I remove another bunch of fields now, or should I wait > >for next stage1? > > You can do it now.
I recently stumbled across an additional leftover piece: > 2019-02-13 Martin Liska <mli...@suse.cz> > * ipa-fnsummary.c (compute_fn_summary): Likewise. | --- a/gcc/ipa-fnsummary.c | +++ b/gcc/ipa-fnsummary.c | @@ -2449,13 +2449,7 @@ compute_fn_summary (struct cgraph_node *node, bool early) | info->account_size_time (2 * ipa_fn_summary::size_scale, 0, t, t); | ipa_update_overall_fn_summary (node); | info->self_size = info->size; | - /* We cannot inline instrumentation clones. */ | - if (node->thunk.add_pointer_bounds_args) | - { | - info->inlinable = false; | - node->callees->inline_failed = CIF_CHKP; | - } | - else if (stdarg_p (TREE_TYPE (node->decl))) | + if (stdarg_p (TREE_TYPE (node->decl))) | { This removed the (only) user of 'CIF_CHKP', but didn't remove its definition. (Probably because of that one going by the un-prefixed short-hand name of 'CHKP'?) As obvious, now cleaned up on trunk in r271029, and on gcc-9-branch in r271030, see attached. Grüße Thomas
From 3f81dbf1e299a0966fbc1874255ef8f2ec03bc49 Mon Sep 17 00:00:00 2001 From: tschwinge <tschwinge@138bc75d-0d04-0410-961f-82ee72b054a4> Date: Thu, 9 May 2019 09:52:10 +0000 Subject: [PATCH] Clean up MPX-related stuff: CIF_CHKP ..., which was forgotten in recent r268844. gcc/ * cif-code.def (CHKP): Remove. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@271029 138bc75d-0d04-0410-961f-82ee72b054a4 --- gcc/ChangeLog | 2 ++ gcc/cif-code.def | 4 ---- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index ea96146b5b8..7df4ae671de 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,5 +1,7 @@ 2019-05-09 Thomas Schwinge <tho...@codesourcery.com> + * cif-code.def (CHKP): Remove. + PR target/89221 * configure.ac (--enable-frame-pointer): Disable by default for GNU systems. diff --git a/gcc/cif-code.def b/gcc/cif-code.def index 0fabfebca1c..cee16cf7cb7 100644 --- a/gcc/cif-code.def +++ b/gcc/cif-code.def @@ -141,7 +141,3 @@ DEFCIFCODE(EXTERN_LIVE_ONLY_STATIC, CIF_FINAL_ERROR, /* We proved that the call is unreachable. */ DEFCIFCODE(UNREACHABLE, CIF_FINAL_ERROR, N_("unreachable")) - -/* We can't inline because of instrumentation thunk. */ -DEFCIFCODE(CHKP, CIF_FINAL_ERROR, - N_("caller is instrumentation thunk")) -- 2.17.1
From 3380d3e1bc51edb2d3b6baf6e213d699045f6d3a Mon Sep 17 00:00:00 2001 From: tschwinge <tschwinge@138bc75d-0d04-0410-961f-82ee72b054a4> Date: Thu, 9 May 2019 09:52:53 +0000 Subject: [PATCH] Clean up MPX-related stuff: CIF_CHKP ..., which was forgotten in recent r268844. gcc/ * cif-code.def (CHKP): Remove. trunk r271029 git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-9-branch@271030 138bc75d-0d04-0410-961f-82ee72b054a4 --- gcc/ChangeLog | 4 ++++ gcc/cif-code.def | 4 ---- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index b7791f10e3c..3d66d8e4df4 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,7 @@ +2019-05-09 Thomas Schwinge <tho...@codesourcery.com> + + * cif-code.def (CHKP): Remove. + 2019-05-07 Kelvin Nilsen <kel...@gcc.gnu.org> Backport from mainline. diff --git a/gcc/cif-code.def b/gcc/cif-code.def index 0fabfebca1c..cee16cf7cb7 100644 --- a/gcc/cif-code.def +++ b/gcc/cif-code.def @@ -141,7 +141,3 @@ DEFCIFCODE(EXTERN_LIVE_ONLY_STATIC, CIF_FINAL_ERROR, /* We proved that the call is unreachable. */ DEFCIFCODE(UNREACHABLE, CIF_FINAL_ERROR, N_("unreachable")) - -/* We can't inline because of instrumentation thunk. */ -DEFCIFCODE(CHKP, CIF_FINAL_ERROR, - N_("caller is instrumentation thunk")) -- 2.17.1
signature.asc
Description: PGP signature