aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSteven Bosscher <steven@gcc.gnu.org>2011-02-06 12:35:10 +0000
committerSteven Bosscher <steven@gcc.gnu.org>2011-02-06 12:35:10 +0000
commitd5d3781a0d0934ad401412cd5471adc8519e463d (patch)
tree219503deeaf06a033886736204dbf15377da7235
parentbbc19a6373e28a1a64c592994bc8adc32d878673 (diff)
downloadgcc-d5d3781a0d0934ad401412cd5471adc8519e463d.zip
gcc-d5d3781a0d0934ad401412cd5471adc8519e463d.tar.gz
gcc-d5d3781a0d0934ad401412cd5471adc8519e463d.tar.bz2
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
-rw-r--r--gcc/ChangeLog8
-rw-r--r--gcc/combine.c4
-rw-r--r--gcc/doc/invoke.texi3
-rw-r--r--gcc/reg-notes.def5
4 files changed, 9 insertions, 11 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index ecabe7c..0166dc0 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,11 @@
+2011-02-06 Steven Bosscher <steven@gcc.gnu.org>
+
+ * 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 <jakub@redhat.com>
PR middle-end/47610
diff --git a/gcc/combine.c b/gcc/combine.c
index 4fe71f3..07ff0d4 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 da226dc..92320b0 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 f82e7b7..329cd67 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)