From patchwork Sun Nov 21 23:11:32 2010
Content-Type: text/plain; charset="utf-8"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
X-Patchwork-Submitter: Gerald Pfeifer The instead of and some real one) and committed the
thusly updated version.
Pleaes find the patch as committed below.
Good stuff!
Gerald
Index: changes.html
===================================================================
RCS file: /cvs/gcc/wwwdocs/htdocs/gcc-4.6/changes.html,v
retrieving revision 1.63
retrieving revision 1.66
diff -u -3 -p -r1.63 -r1.66
--- changes.html 20 Nov 2010 20:00:13 -0000 1.63
+++ changes.html 21 Nov 2010 23:08:45 -0000 1.66
@@ -51,21 +51,57 @@
General Optimizer Improvements
-
-Ofast
has been
+ -Ofast
has been
introduced. It combines the existing optimization level -O3
with options that can affect standards compliance but result in
better optimized code. For example -Ofast
enables
-ffast-math
.
+
+ -flto=n
(where
+ n specifies the number of compilations to execute in
+ parallel. GCC can also cooperate with a GNU make job server
+ by specifying the -flto=jobserver
option and
+ adding +
to the to the beginning of the of
+ the Makefile rule executing the linker.externally_visible
when
+ the linker plugin is not used.iostream
header.
const
and pure
functions. Newly, noreturn
functions are auto-detected.
-Wsuggest-attribute=[const|pure|noreturn]
flag is available that informs users when adding
attributes to headers might improve code generation.
-O2
and greater. The feature can be
@@ -79,12 +115,27 @@
-Os
) was improved to better handle C++
+ programs with larger abstraction penalty, leading
+ to smaller and faster code.-fstack-usage
has been added. It makes
@@ -124,6 +175,11 @@
float
is implicitly promoted to double
.
This is especially helpful for CPUs that handle the former in
hardware, but emulate the latter in software.leaf
was introduced.
+ This attribute allows better inter-procedural optimization across
+ calls to functions that return to the current unit only via returning
+ or exception handling. This is the case for most library functions
+ that have no callbacks.