This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Patch for bug 17135
- From: "Joseph S. Myers" <joseph at codesourcery dot com>
- To: gcc-patches at gcc dot gnu dot org
- Date: Mon, 7 Feb 2005 01:54:51 +0000 (UTC)
- Subject: Patch for bug 17135
This patch fixes bug 17135. It passes "make info" and "make dvi".
Applied to mainline.
--
Joseph S. Myers http://www.srcf.ucam.org/~jsm28/gcc/
jsm@polyomino.org.uk (personal mail)
joseph@codesourcery.com (CodeSourcery mail)
jsm28@gcc.gnu.org (Bugzilla assignments and CCs)
Index: ChangeLog
===================================================================
RCS file: /cvs/gcc/gcc/gcc/ChangeLog,v
retrieving revision 2.7400
diff -u -r2.7400 ChangeLog
--- ChangeLog 7 Feb 2005 01:09:50 -0000 2.7400
+++ ChangeLog 7 Feb 2005 01:51:23 -0000
@@ -1,3 +1,8 @@
+2005-02-07 Joseph S. Myers <joseph@codesourcery.com>
+
+ PR other/17135
+ * doc/invoke.texi: Correct documentation of -freorder-functions.
+
2005-02-06 Joseph S. Myers <joseph@codesourcery.com>
PR other/14402
Index: doc/invoke.texi
===================================================================
RCS file: /cvs/gcc/gcc/gcc/doc/invoke.texi,v
retrieving revision 1.575
diff -u -r1.575 invoke.texi
--- doc/invoke.texi 7 Feb 2005 01:10:12 -0000 1.575
+++ doc/invoke.texi 7 Feb 2005 01:51:27 -0000
@@ -4837,8 +4837,8 @@
@item -freorder-functions
@opindex freorder-functions
-Reorder basic blocks in the compiled function in order to reduce number of
-taken branches and improve code locality. This is implemented by using special
+Reorder functions in the object file in order to
+improve code locality. This is implemented by using special
subsections @code{.text.hot} for most frequently executed functions and
@code{.text.unlikely} for unlikely executed functions. Reordering is done by
the linker so object file format must support named sections and linker must