From d5d3781a0d0934ad401412cd5471adc8519e463d Mon Sep 17 00:00:00 2001 From: Steven Bosscher Date: Sun, 6 Feb 2011 12:35:10 +0000 Subject: [PATCH] invoke.texi: Remove reference to compiler internals from user documentation. * doc/invoke.texi: Remove reference to compiler internals from user documentation. * reg-notes.def: Remove REG_VALUE_PROFILE. * combine.c (distribute_notes): Do not handle REG_VALUE_PROFILE. From-SVN: r169861 --- gcc/ChangeLog | 8 ++++++++ gcc/combine.c | 4 ---- gcc/doc/invoke.texi | 3 +-- gcc/reg-notes.def | 5 ----- 4 files changed, 9 insertions(+), 11 deletions(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index ecabe7c3356..0166dc02c6a 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,11 @@ +2011-02-06 Steven Bosscher + + * doc/invoke.texi: Remove reference to compiler internals from + user documentation. + + * reg-notes.def: Remove REG_VALUE_PROFILE. + * combine.c (distribute_notes): Do not handle REG_VALUE_PROFILE. + 2011-02-05 Jakub Jelinek PR middle-end/47610 diff --git a/gcc/combine.c b/gcc/combine.c index 4fe71f33417..07ff0d4e9d9 100644 --- a/gcc/combine.c +++ b/gcc/combine.c @@ -13148,10 +13148,6 @@ distribute_notes (rtx notes, rtx from_insn, rtx i3, rtx i2, rtx elim_i2, place = i3; break; - case REG_VALUE_PROFILE: - /* Just get rid of this note, as it is unused later anyway. */ - break; - case REG_NON_LOCAL_GOTO: if (JUMP_P (i3)) place = i3; diff --git a/gcc/doc/invoke.texi b/gcc/doc/invoke.texi index da226dc0c76..92320b0159a 100644 --- a/gcc/doc/invoke.texi +++ b/gcc/doc/invoke.texi @@ -8029,8 +8029,7 @@ If combined with @option{-fprofile-arcs}, it adds code so that some data about values of expressions in the program is gathered. With @option{-fbranch-probabilities}, it reads back the data gathered -from profiling values of expressions and adds @samp{REG_VALUE_PROFILE} -notes to instructions for their later usage in optimizations. +from profiling values of expressions for usage in optimizations. Enabled with @option{-fprofile-generate} and @option{-fprofile-use}. diff --git a/gcc/reg-notes.def b/gcc/reg-notes.def index f82e7b741a0..329cd6799d5 100644 --- a/gcc/reg-notes.def +++ b/gcc/reg-notes.def @@ -99,11 +99,6 @@ REG_NOTE (DEP_ANTI) won't return. */ REG_NOTE (BR_PROB) -/* REG_VALUE_PROFILE is attached when the profile is read in to an - insn before that the code to profile the value is inserted. It - contains the results of profiling. */ -REG_NOTE (VALUE_PROFILE) - /* Attached to a call insn; indicates that the call is malloc-like and that the pointer returned cannot alias anything else. */ REG_NOTE (NOALIAS) -- 2.30.2