This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
[www] Document C++ -O0 improvements
- From: "Giovanni Bajo" <giovannibajo at libero dot it>
- To: "Gerald Pfeifer" <gerald at pfeifer dot com>
- Cc: <gcc-patches at gcc dot gnu dot org>
- Date: Thu, 28 Oct 2004 04:01:50 +0200
- Subject: [www] Document C++ -O0 improvements
Gerald,
this patch documents the improvements in the C++ frontend, which are visible
at -O0.
Tested with XTML 1.0 validator, OK to commit?
Giovanni Bajo
Index: changes.html
===================================================================
RCS file: /cvs/gcc/wwwdocs/htdocs/gcc-4.0/changes.html,v
retrieving revision 1.13
diff -c -3 -p -r1.13 changes.html
*** changes.html 12 Oct 2004 07:11:52 -0000 1.13
--- changes.html 28 Oct 2004 01:57:14 -0000
***************
*** 105,110 ****
--- 105,116 ----
<h3>C++</h3>
<ul>
+ <li>When compiling without optimizations (-O0), the C++ frontend is
+ <strong>much</strong> faster than in any previous versions of GCC.
+ Independent testers have measured speed-ups up to 25% in real-world
+ production code, compared to the 3.4 family (which was already the
+ fastest version to date). Upgrading from older versions might show
+ even bigger improvements.</li>
<li>ELF visibility attributes can now be applied to a class type,
so that it affects every member function of a class at once,
without having to specify each individually: