From Fedora Project Wiki

(fixing formatting error)
Line 7: Line 7:
http://gcc.gnu.org/gcc-4.3/
http://gcc.gnu.org/gcc-4.3/


===== Code Generation =====
== Target-Specific Improvements ==


Starting with <code>gcc-4.1.2-25</code> and <code>glibc-2.6.90-14</code>, the <code>-D_FORTIFY_SOURCE=2</code> option protects not only C code, but also C++.  There have been several security
=== IA-32/x86-64 ===
issues already which would not have been exploitable if this checking was in place earlier. Refer to this [https://www.redhat.com/archives/fedora-devel-announce/2007-September/msg00015.html announcement]  for more details.
 
'''ABI changes'''
 
* Starting with GCC 4.3.1, decimal floating point variables are aligned to their natural boundaries when they are passed on the stack for i386.
 
'''Command-line changes'''
 
* Starting with GCC 4.3.1, the <code>-mcld</code> option has been added to automatically generate a cld instruction in the prologue of functions that use string instructions. This option is used for backward compatibility on some operating systems and can be enabled by default for 32-bit x86 targets by configuring GCC with the <code>--enable-cld</code> configure option.

Revision as of 02:07, 30 August 2008

GCC Compiler Collection

This release of Fedora has been built with GCC 4.3.2, which is included with the distribution.

For more information on GCC 4.3, refer to:

http://gcc.gnu.org/gcc-4.3/

Target-Specific Improvements

IA-32/x86-64

ABI changes

  • Starting with GCC 4.3.1, decimal floating point variables are aligned to their natural boundaries when they are passed on the stack for i386.

Command-line changes

  • Starting with GCC 4.3.1, the -mcld option has been added to automatically generate a cld instruction in the prologue of functions that use string instructions. This option is used for backward compatibility on some operating systems and can be enabled by default for 32-bit x86 targets by configuring GCC with the --enable-cld configure option.