URL
https://opencores.org/ocsvn/openrisc_me/openrisc_me/trunk
Subversion Repositories openrisc_me
[/] [openrisc/] [trunk/] [gnu-src/] [gcc-4.5.1/] [NEWS] - Rev 476
Go to most recent revision | Compare with Previous | Blame | View Log
This file contains information about GCC releases which has been generatedautomatically from the online release notes. It covers releases of GCC(and the former EGCS project) since EGCS 1.0, on the line of developmentthat led to GCC 3. For information on GCC 2.8.1 and older releases of GCC 2,see ONEWS.======================================================================http://gcc.gnu.org/gcc-4.5/index.htmlGCC 4.5 Release SeriesJuly 31, 2010The [1]GNU project and the GCC developers are pleased to announce therelease of GCC 4.5.1.This release is a bug-fix release, containing fixes for regressions inGCC 4.5.0 relative to previous releases of GCC.Release HistoryGCC 4.5.1Jul 31, 2010 ([2]changes)GCC 4.5.0April 14, 2010 ([3]changes)References and AcknowledgementsGCC used to stand for the GNU C Compiler, but since the compilersupports several other languages aside from C, it now stands for theGNU Compiler Collection.A list of [4]successful builds is updated as new information becomesavailable.The GCC developers would like to thank the numerous people that havecontributed new features, improvements, bug fixes, and other changes aswell as test results to GCC. This [5]amazing group of volunteers iswhat makes GCC successful.For additional information about GCC please refer to the [6]GCC projectweb site or contact the [7]GCC development mailing list.To obtain GCC please use [8]our mirror sites or [9]our SVN server.Please send FSF & GNU inquiries & questions to [10]gnu@gnu.org. Thereare also [11]other ways to contact the FSF.These pages are [12]maintained by the GCC team.For questions related to the use of GCC, please consult these webpages and the [13]GCC manuals. If that fails, the[14]gcc-help@gcc.gnu.org mailing list might help.Please send comments on these web pages and the development of GCC toour developer mailing list at [15]gcc@gnu.org or [16]gcc@gcc.gnu.org.All of our lists have [17]public archives.Copyright (C) Free Software Foundation, Inc., 51 Franklin St, FifthFloor, Boston, MA 02110, USA.Verbatim copying and distribution of this entire article is permittedin any medium, provided this notice is preserved.Last modified 2010-07-31 [18]Valid XHTML 1.0References1. http://www.gnu.org/2. http://gcc.gnu.org/gcc-4.5/changes.html3. http://gcc.gnu.org/gcc-4.5/changes.html4. http://gcc.gnu.org/gcc-4.5/buildstat.html5. http://gcc.gnu.org/onlinedocs/gcc/Contributors.html6. http://gcc.gnu.org/index.html7. mailto:gcc@gcc.gnu.org8. http://gcc.gnu.org/mirrors.html9. http://gcc.gnu.org/svn.html10. mailto:gnu@gnu.org11. http://www.gnu.org/home.html#ContactInfo12. http://gcc.gnu.org/about.html13. http://gcc.gnu.org/onlinedocs/14. mailto:gcc-help@gcc.gnu.org15. mailto:gcc@gnu.org16. mailto:gcc@gcc.gnu.org17. http://gcc.gnu.org/lists.html18. http://validator.w3.org/check/referer======================================================================http://gcc.gnu.org/gcc-4.5/changes.htmlGCC 4.5 Release SeriesChanges, New Features, and FixesCaveats* GCC now requires the [1]MPC library in order to build. See the[2]prerequisites page for version requirements.* Support for a number of older systems and recently unmaintained oruntested target ports of GCC has been declared obsolete in GCC 4.5.Unless there is activity to revive them, the next release of GCCwill have their sources permanently removed.The following ports for individual systems on particulararchitectures have been obsoleted:+ IRIX releases before 6.5 (mips-sgi-irix5*,mips-sgi-irix6.[0-4])+ Solaris 7 (*-*-solaris2.7)+ Tru64 UNIX releases before V5.1 (alpha*-dec-osf4*,alpha-dec-osf5.0*)+ Details for the IRIX, Solaris 7, and Tru64 UNIX obsoletionscan be found in the [3]announcement.Support for the classic POWER architecture implemented in theoriginal RIOS and RIOS2 processors of the old IBM RS/6000 productline has been obsoleted in the rs6000 port. This does not affectthe new generation Power and PowerPC architectures.* Support has been removed for all the [4]configurations obsoleted inGCC 4.4.* Support has been removed for the protoize and unprotoize utilities,obsoleted in GCC 4.4.* Support has been removed for tuning for Itanium1 (Merced) variants.Note that code tuned for Itanium2 should also run correctly onItanium1.* GCC now generates unwind info also for epilogues. DWARF debuginfogenerated by GCC now uses more features of DWARF3 than it used todo and also some DWARF4 features. GDB older than 7.0 is not able tohandle either of these, so to debug GCC 4.5 generated binaries orlibraries GDB 7.0 or later is needed. You can disable use of DWARF4features with -gdwarf-3 -gstrict-dwarf options, or with -gdwarf-2-gstrict-dwarf restrict GCC to just DWARF2 standard, but epilogueunwind info is emitted unconditionally whenever unwind info isemitted.* On x86 targets, code containing floating-point calculations may runsignificantly slower when compiled with GCC 4.5 in strict C99conformance mode than they did with earlier GCC versions. This isdue to stricter standard conformance of the compiler and can beavoided by using the option -fexcess-precision=fast; also see[5]below.* The function attribute noinline no longer prevents GCC from cloningthe function. A new attribute noclone has been introduced for thispurpose. Cloning a function means that it is duplicated and the newcopy is specialized for certain contexts (for example when aparameter is a known constant).General Optimizer Improvements* The -save-temps now takes an optional argument. The -save-temps and-save-temps=cwd switches write the temporary files in the currentworking directory based on the original source file. The-save-temps=obj switch will write files into the directoryspecified with the -o option, and the intermediate filenames arebased on the output file. This will allow the user to get thecompiler intermediate files when doing parallel builds without twobuilds of the same filename located in different directories frominterfering with each other.* Debugging dumps are now created in the same directory as the objectfile rather than in the current working directory. This allows theuser to get debugging dumps when doing parallel builds without twobuilds of the same filename interfering with each other.* GCC has been integrated with the [6]MPC library. This allows GCC toevaluate complex arithmetic at compile time [7]more accurately. Italso allows GCC to evaluate calls to complex built-in mathfunctions having constant arguments and replace them at compiletime with their mathematically equivalent results. In doing so, GCCcan generate correct results regardless of the math libraryimplementation or floating point precision of the host platform.This also allows GCC to generate identical results regardless ofwhether one compiles in native or cross-compile configurations to aparticular target. The following built-in functions take advantageof this new capability: cacos, cacosh, casin, casinh, catan,catanh, ccos, ccosh, cexp, clog, cpow, csin, csinh, csqrt, ctan,and ctanh. The float and long double variants of these functions(e.g. csinf and csinl) are also handled.* A new link-time optimizer has been added ([8]-flto). When thisoption is used, GCC generates a bytecode representation of eachinput file and writes it to special ELF sections in each objectfile. When the object files are linked together, all the functionbodies are read from these ELF sections and instantiated as if theyhad been part of the same translation unit. This enablesinterprocedural optimizations to work across different files (andeven different languages), potentially improving the performance ofthe generated code. To use the link-timer optimizer, -flto needs tobe specified at compile time and during the final link. If theprogram does not require any symbols to be exported, it is possibleto combine -flto and the experimental [9]-fwhopr with[10]-fwhole-program to allow the interprocedural optimizers to usemore aggressive assumptions.* The automatic parallelization pass was enhanced to supportparallelization of outer loops.* Automatic parallelization can be enabled as part of Graphite. Inaddition to -ftree-parallelize-loops=, specify-floop-parallelize-all to enable the Graphite-based optimization.* The infrastructure for optimizing based on [11]restrict qualifiedpointers has been rewritten and should result in code generationimprovements. Optimizations based on restrict qualified pointersare now also available when using -fno-strict-aliasing.* There is a new optimization pass that attempts to change prototypeof functions to avoid unused parameters, pass only relevant partsof structures and turn arguments passed by reference to argumentspassed by value when possible. It is enabled by -O2 and above aswell as -Os and can be manually invoked using the new command-lineswitch -fipa-sra.* GCC now optimize exception handling code. In particular cleanupregions that are proved to not have any effect are optimized out.New Languages and Language specific improvementsAll languages* The -fshow-column option is now on by default. This means errormessages now have a column associated with them.Ada* Compilation of programs heavily using discriminated record typeswith variant parts has been sped up and generates more compactcode.* Stack checking now works reasonably well on most plaforms. In somespecific cases, stack overflows may still fail to be detected, buta compile-time warning will be issued for these cases.C family* If a header named in a #include directive is not found, thecompiler exits immediately. This avoids a cascade of errors arisingfrom declarations expected to be found in that header beingmissing.* A new built-in function __builtin_unreachable() has been added thattells the compiler that control will never reach that point. It maybe used after asm statements that terminate by transferring controlelsewhere, and in other places that are known to be unreachable.* The -Wlogical-op option now warns for logical expressions such as(c == 1 && c == 2) and (c != 1 || c != 2), which are likely to bemistakes. This option is disabled by default.* An asm goto feature has been added to allow asm statements thatjump to C labels.* C++0x raw strings are supported for C++ and for C with -std=gnu99.* The deprecated attribute now takes an optional string argument, forexample, __attribute__((deprecated("text string"))), that will beprinted together with the deprecation warning.C* The -Wenum-compare option, which warns when comparing values ofdifferent enum types, now works for C. It formerly only worked forC++. This warning is enabled by -Wall. It may be avoided by using atype cast.* The -Wcast-qual option now warns about casts which are unsafe inthat they permit const-correctness to be violated without furtherwarnings. Specifically, it warns about cases where a qualifier isadded when all the lower types are not const. For example, it warnsabout a cast from char ** to const char **.* The -Wc++-compat option is significantly improved. It issues newwarnings for:+ Using C++ reserved operator names as identifiers.+ Conversions to enum types without explicit casts.+ Using va_arg with an enum type.+ Using different enum types in the two branches of ?:.+ Using ++ or -- on a variable of enum type.+ Using the same name as both a struct, union or enum tag and atypedef, unless the typedef refers to the tagged type itself.+ Using a struct, union, or enum which is defined within anotherstruct or union.+ A struct field defined using a typedef if there is a field inthe struct, or an enclosing struct, whose name is the typedefname.+ Duplicate definitions at file scope.+ Uninitialized const variables.+ A global variable with an anonymous struct, union, or enumtype.+ Using a string constant to initialize a char array whose sizeis the length of the string.* The new -Wjump-misses-init option warns about cases where a goto orswitch skips the initialization of a variable. This sort of branchis an error in C++ but not in C. This warning is enabled by-Wc++-compat.* GCC now ensures that a C99-conforming <stdint.h> is present on mosttargets, and uses information about the types in this header toimplement the Fortran bindings to those types. GCC does not ensurethe presence of such a header, and does not implement the Fortranbindings, on the following targets: NetBSD, VxWorks, VMS,SymbianOS, WinCE, LynxOS, Netware, QNX, Interix, TPF.* GCC now implements C90- and C99-conforming rules for constantexpressions. This may cause warnings or errors for some code usingexpressions that can be folded to a constant but are not constantexpressions as defined by ISO C.* All known target-independent C90 and C90 Amendment 1 conformancebugs, and all known target-independent C99 conformance bugs notrelated to floating point or extended identifiers, have been fixed.* The C decimal floating point support now includes support for theFLOAT_CONST_DECIMAL64 pragma.* The named address space feature from ISO/IEC TR 18037 is nowsupported. This is currently only implemented for the SPUprocessor.C++* Improved [12]experimental support for the upcoming C++0x ISO C++standard, including support for raw strings, lambda expressions andexplicit type conversion operators.* When printing the name of a class template specialization, G++ willnow omit any template arguments which come from default templatearguments. This behavior (and the pretty-printing of functiontemplate specializations as template signature and arguments) canbe disabled with the -fno-pretty-templates option.* Access control is now applied to typedef names used in a template,which may cause G++ to reject some ill-formed code that wasaccepted by earlier releases. The -fno-access-control option can beused as a temporary workaround until the code is corrected.* Compilation time for code that uses templates should now scalelinearly with the number of instantiations rather thanquadratically, as template instantiations are now looked up usinghash tables.* Declarations of functions that look like builtin declarations oflibrary functions are only considered to be redeclarations if theyare declared with extern "C". This may cause problems with codethat omits extern "C" on hand-written declarations of C libraryfunctions such as abort or memcpy. Such code is ill-formed, but wasaccepted by earlier releases.* Diagnostics that used to complain about passing non-POD types to... or jumping past the declaration of a non-POD variable now checkfor triviality rather than PODness, as per C++0x.* In C++0x mode local and anonymous classes are now allowed astemplate arguments, and in declarations of variables and functionswith linkage, so long as any such declaration that is used is alsodefined ([13]DR 757).* Labels may now have attributes, as has been permitted for a whilein C. This is only permitted when the label definition and theattribute specifier is followed by a semicolon--i.e., the labelapplies to an empty statement. The only useful attribute for alabel is unused.* G++ now implements [14]DR 176. Previously G++ did not support usingthe injected-class-name of a template base class as a type name,and lookup of the name found the declaration of the template in theenclosing scope. Now lookup of the name finds theinjected-class-name, which can be used either as a type or as atemplate, depending on whether or not the name is followed by atemplate argument list. As a result of this change, some code thatwas previously accepted may be ill-formed because1. The injected-class-name is not accessible because it's from aprivate base, or2. The injected-class-name cannot be used as an argument for atemplate template parameter.In either of these cases, the code can be fixed by adding anested-name-specifier to explicitly name the template. The firstcan be worked around with -fno-access-control; the second is onlyrejected with -pedantic.* A new standard mangling for SIMD vector types has been added, toavoid name clashes on systems with vectors of varying length. Bydefault the compiler still uses the old mangling, but emits aliaseswith the new mangling on targets that support strong aliases. Userscan switch over entirely to the new mangling with -fabi-version=4or -fabi-version=0. -Wabi will now warn about code that uses theold mangling.* The command-line option -ftemplate-depth-N is now written as-ftemplate-depth=N and the old form is deprecated.* Conversions between NULL and non-pointer types are now warned bydefault. The new option -Wno-conversion-null disables thesewarnings. Previously these warnings were only available when using-Wconversion explicitly.Runtime Library (libstdc++)* [15]Improved experimental support for the upcoming ISO C++standard, C++0x, including:+ Support for <future>, <functional>, and <random>.+ Existing facilities now exploit explicit operators and thenewly implemented core C++0x features.* An experimental [16]profile mode has been added. This is animplementation of many C++ standard library constructs with anadditional analysis layer that gives performance improvement advicebased on recognition of suboptimal usage patterns. For example,#include <vector>int main(){std::vector<int> v;for (int k = 0; k < 1024; ++k)v.insert(v.begin(), k);}When instrumented via the profile mode, can return suggestionsabout the initial size and choice of the container used as follows:vector-to-list: improvement = 5: call stack = 0x804842c ...: advice = change std::vector to std::listvector-size: improvement = 3: call stack = 0x804842c ...: advice = change initial container size from 0 to 1024These constructs can be substituted for the normal libstdc++constructs on a piecemeal basis, or all existing components can betransformed via the -D_GLIBCXX_PROFILE macro.* [17]Support for decimal floating-point arithmetic (aka ISO C++ TR24733) has been added. This support is in header file<decimal/decimal>, uses namespace std::decimal, and includesclasses decimal32, decimal64, and decimal128.* Sources have been audited for application of function attributesnothrow, const, pure, and noreturn.* Python pretty-printers have been added for many standard librarycomponents that simplify the internal representation and present amore intuitive view of components when used withappropriately-advanced versions of GDB. For more information,please consult the more [18]detailed description.* The default behavior for comparing typeinfo names has changed, soin <typeinfo>, __GXX_MERGED_TYPEINFO_NAMES now defaults to zero.* The new -static-libstdc++ option directs g++ to link the C++library statically, even if the default would normally be to linkit dynamically.Fortran* The COMMON default padding has been changed - instead of adding thepadding before a variable it is now added afterwards, whichincreases the compatibility with other vendors and helps to obtainthe correct output in some cases. Cf. also the -falign-commonsoption ([19]added in 4.4).* The -finit-real= option now also supports the value snan forsignalling not-a-number; to be effective, one additionally needs toenable trapping (e.g. via -ffpe-trap=). Note: Compile-timeoptimizations can turn a signalling NaN into a quiet one.* The new option -fcheck= has been added with the options bounds,array-temps, do, pointer, and recursive. The bounds and array-tempsoptions are equivalent to -fbounds-check and-fcheck-array-temporaries. The do option checks for invalidmodification of loop iteration variables, and the recursive optiontests for recursive calls to subroutines/functions which are notmarked as recursive. With pointer pointer association checks incalls are performed; however, neither undefined pointers norpointers in expressions are handled. Using -fcheck=all enables allthese run-time checks.* The run-time checking -fcheck=bounds now warns about invalid stringlengths of character dummy arguments. Additionally, morecompile-time checks have been added.* The new option [20]-fno-protect-parens has been added; if set, thecompiler may reorder REAL and COMPLEX expressions without regard toparentheses.* GNU Fortran no longer links against libgfortranbegin. As before,MAIN__ (assembler symbol name) is the actual Fortran main program,which is invoked by the main function. However, main is nowgenerated and put in the same object file as MAIN__. For the timebeing, libgfortranbegin still exists for backward compatibility.For details see the new [21]Mixed-Language Programming chapter inthe manual.* The I/O library was restructured for performance and cleaner code.* Array assignments and WHERE are now run in parallel when OpenMP'sWORKSHARE is used.* The experimental option -fwhole-file was added. The option allowswhole-file checking of procedure arguments and allows for betteroptimizations. It can also be used with -fwhole-program, which isnow also supported in gfortran.* More Fortran 2003 and Fortran 2008 mathematical functions can nowbe used as initialization expressions.* Some extended attributes such as STDCALL are now supported via the[22]GCC$ compiler directive.* For Fortran 77 compatibility: If -fno-sign-zero is used, the SIGNintrinsic behaves now as if zero were always positive.* For legacy compatibiliy: On Cygwin and MinGW, the special filesCONOUT$ and CONIN$ (and CONERR$ which maps to CONOUT$) are nowsupported.* Fortran 2003 support has been extended:+ Procedure-pointer function results and procedure-pointercomponents (including PASS),+ allocatable scalars (experimental),+ DEFERRED type-bound procedures,+ the ERRMSG= argument of the ALLOCATE and DEALLOCATE statementshave been implemented.+ The ALLOCATE statement supports type-specs and the SOURCE=argument.+ OPERATOR(*) and ASSIGNMENT(=) are now allowed as GENERICtype-bound procedure (i.e. as type-bound operators).+ Rounding (ROUND=, RZ, ...) for output is now supported.+ The INT_FAST{8,16,32,64,128}_T kind type parameters of theintrinsic module ISO_C_BINDING are now supported, except forthe targets listed above as ones where GCC does not have<stdint.h> type information.+ Extensible derived types with type-bound procedure orprocedure pointer with PASS attribute now have to use CLASS inline with the Fortran 2003 standard; the workaround to useTYPE is no longer supported.+ [23]Experimental, incomplete support for polymorphism,including CLASS, SELECT TYPE and dynamic dispatch oftype-bound procedure calls. Some features do not work yet suchas unlimited polymorphism (CLASS(*)).* Fortran 2008 support has been extended:+ The OPEN statement now supports the NEWUNIT= option, whichreturns a unique file unit, thus preventing inadvertent use ofthe same unit in different parts of the program.+ Support for unlimited format items has been added.+ The INT{8,16,32} and REAL{32,64,128} kind type parameters ofthe intrinsic module ISO_FORTRAN_ENV are now supported.+ Using complex arguments with TAN, SINH, COSH, TANH, ASIN,ACOS, and ATAN is now possible; the functions ASINH, ACOSH,and ATANH have been added (for real and complex arguments) andATAN(Y,X) is now an alias for ATAN2(Y,X).+ The BLOCK construct has been implemented.Java (GCJ)New Targets and Target Specific ImprovementsAIX* Full cross-toolchain support now available with GNU BinutilsARM* GCC now supports the Cortex-M0 and Cortex-A5 processors.* GCC now supports the ARM v7E-M architecture.* GCC now supports VFPv4-based FPUs and FPUs withsingle-precision-only VFP.* GCC has many improvements to optimization for other ARM processors,including scheduling support for the integer pipeline on Cortex-A9.* GCC now supports the IEEE 754-2008 half-precision floating-pointtype, and a variant ARM-specific half-precision type. This type isspecified using __fp16, with the layout determined by-mfp16-format. With appropriate -mfpu options, the Cortex-A9 andVFPv4 half-precision instructions will be used.* GCC now supports the variant of AAPCS that uses VFP registers forparameter passing and return values.AVR* The -mno-tablejump option has been removed because it has the sameeffect as the -fno-jump-tables option.* Added support for these new AVR devices:+ ATmega8U2+ ATmega16U2+ ATmega32U2IA-32/x86-64* GCC now will set the default for -march= based on the configuretarget.* GCC now supports handling floating-point excess precision arisingfrom use of the x87 floating-point unit in a way that conforms toISO C99. This is enabled with -fexcess-precision=standard and withstandards conformance options such as -std=c99, and may be disabledusing -fexcess-precision=fast.* Support for the Intel Atom processor is now available through the-march=atom and -mtune=atom options.* A new -mcrc32 option is now available to enable crc32 intrinsics.* A new -mmovbe option is now available to enable GCC to use themovbe instruction to implement __builtin_bswap32 and__builtin_bswap64.* SSE math now can be enabled by default at configure time with thenew --with-fpmath=sse option.* There is a new intrinsic header file, <x86intrin.h>. It should beincluded before using any IA-32/x86-64 intrinsics.* Support for the XOP, FMA4, and LWP instruction sets for the AMDOrochi processors are now available with the -mxop, -mfma4, and-mlwp options.* The -mabm option enables GCC to use the popcnt and lzcntinstructions on AMD processors.* The -mpopcnt option enables GCC to use the popcnt instructions onboth AMD and Intel processors.M68K/ColdFire* GCC now supports ColdFire 51xx, 5221x, 5225x, 52274, 52277, 5301xand 5441x devices.* GCC now supports thread-local storage (TLS) on M68K and ColdFireprocessors.MePSupport has been added for the Toshiba Media embedded Processor (MeP,or mep-elf) embedded target.MIPS* GCC now supports MIPS 1004K processors.* GCC can now be configured with options --with-arch-32,--with-arch-64, --with-tune-32 and --with-tune-64 to control thedefault optimization separately for 32-bit and 64-bit modes.* MIPS targets now support an alternative _mcount interface, in whichregister $12 points to the function's save slot for register $31.This interface is selected by the -mcount-ra-address option; seethe documentation for more details.* GNU/Linux targets can now generate read-only .eh_frame sections.This optimization requires GNU binutils 2.20 or above, and is onlyavailable if GCC is configured with a suitable version of binutils.* GNU/Linux targets can now attach special relocations to indirectcalls, so that the linker can turn them into direct jumps orbranches. This optimization requires GNU binutils 2.20 or later,and is automatically selected if GCC is configured with anappropriate version of binutils. It can be explicitly enabled ordisabled using the -mrelax-pic-calls command-line option.* GCC now generates more heavily-optimized atomic operations onOcteon processors.* MIPS targets now support the -fstack-protector option.* GCC now supports an -msynci option, which specifies that synci isenough to flush the instruction cache, without help from theoperating system. GCC uses this information to optimizeautomatically-generated cache flush operations, such as those usedfor nested functions in C. There is also a --with-synciconfigure-time option, which makes -msynci the default.* GCC supports four new function attributes for interrupt handlers:interrupt, use_shadow_register_set, keep_interrupts_masked anduse_debug_exception_return. See the documentation for more detailsabout these attributes.OpenRISC 1000* GCC now generates global variables and functions without a leadingunderscore.* GCC now generates DWARF 2 debugging output by default (with -g).* -mhard-mul is enabled by default.* The -mor32-newlib and -mor32-newlib-uart options enable support for theOpenRISC newlib library implementations.picochipRS/6000 (POWER/PowerPC)* GCC now supports the Power ISA 2.06, which includes the VSXinstructions that add vector 64-bit floating point support, newpopulation count instructions, and conversions between floatingpoint and unsigned types.* Support for the power7 processor is now available through the-mcpu=power7 and -mtune=power7.* GCC will now vectorize loops that contain simple math functionslike copysign when generating code for altivec or VSX targets.* Support for the A2 processor is now available through the -mcpu=a2and -mtune=a2 options.* Support for the 476 processor is now available through the-mcpu={476,476fp} and -mtune={476,476fp} options.* Support for the e500mc64 processor is now available through the-mcpu=e500mc64 and -mtune=e500mc64 options.* GCC can now be configured with options --with-cpu-32,--with-cpu-64, --with-tune-32 and --with-tune-64 to control thedefault optimization separately for 32-bit and 64-bit modes.RXSupport has been added for the Renesas RX Processor (rx-elf) target.Operating SystemsWindows (Cygwin and MinGW)* GCC now installs all the major language runtime libraries as DLLswhen configured with the --enable-shared option.* GCC now makes use of the new support for aligned common variablesin versions of binutils >= 2.20 to fix bugs in the support for SSEdata types.* Improvements to the libffi support library increase the reliabilityof code generated by GCJ on all Windows platforms. Libgcj isenabled by default for the first time.* Libtool improvements simplify installation by placing the generatedDLLs in the correct binaries directory.* Numerous other minor bugfixes and improvements, and substantialenhancements to the Fortran language support library.Documentation improvementsOther significant improvementsPlugins* It is now possible to extend the compiler without having to modifyits source code. A new option -fplugin=file.so tells GCC to loadthe shared object file.so and execute it as part of the compiler.The internal documentation describes the details on how plugins caninteract with the compiler.Installation changes* The move to newer autotools changed default installationdirectories and switches to control them: The --with-datarootdir,--with-docdir, --with-pdfdir, and --with-htmldir switches are notused any more. Instead, you can now use --datarootdir, --docdir,--htmldir, and --pdfdir. The default installation directories havechanged as follows according to the GNU Coding Standards:datarootdir read-only architecture-independent data root [PREFIX/share]localedir locale-specific message catalogs [DATAROOTDIR/locale]docdir documentation root [DATAROOTDIR/doc/PACKAGE]htmldir html documentation [DOCDIR]dvidir dvi documentation [DOCDIR]pdfdir pdf documentation [DOCDIR]psdir ps documentation [DOCDIR]The following variables have new default values:datadir read-only architecture-independent data [DATAROOTDIR]infodir info documentation [DATAROOTDIR/info]mandir man documentation [DATAROOTDIR/man]GCC 4.5.1This is the [24]list of problem reports (PRs) from GCC's bug trackingsystem that are known to be fixed in the 4.5.1 release. This list mightnot be complete (that is, it is possible that some PRs that have beenfixed are not listed here).All languages* GCC's new link-time optimizer ([25]-flto) now also works on a fewnon-ELF targets:+ Cygwin (*-cygwin*)+ MinGW (*-mingw*)+ Darwin on x86-64 (x86_64-apple-darwin*)LTO is not enabled by default for these targets. To enable LTO, youshould configure with the --enable-lto option.Please send FSF & GNU inquiries & questions to [26]gnu@gnu.org. Thereare also [27]other ways to contact the FSF.These pages are [28]maintained by the GCC team.For questions related to the use of GCC, please consult these webpages and the [29]GCC manuals. If that fails, the[30]gcc-help@gcc.gnu.org mailing list might help.Please send comments on these web pages and the development of GCC toour developer mailing list at [31]gcc@gnu.org or [32]gcc@gcc.gnu.org.All of our lists have [33]public archives.Copyright (C) Free Software Foundation, Inc., 51 Franklin St, FifthFloor, Boston, MA 02110, USA.Verbatim copying and distribution of this entire article is permittedin any medium, provided this notice is preserved.Last modified 2010-07-31 [34]Valid XHTML 1.0References1. http://www.multiprecision.org/2. http://gcc.gnu.org/install/prerequisites.html3. http://gcc.gnu.org/ml/gcc/2010-01/msg00510.html4. http://gcc.gnu.org/gcc-4.4/changes.html#obsoleted5. http://gcc.gnu.org/gcc-4.5/changes.html#x866. http://www.multiprecision.org/7. http://gcc.gnu.org/bugzilla/show_bug.cgi?id=307898. http://gcc.gnu.org/onlinedocs/gcc/Optimize-Options.html#index-flto-8019. http://gcc.gnu.org/onlinedocs/gcc/Optimize-Options.html#index-fwhopr-80210. http://gcc.gnu.org/onlinedocs/gcc/Optimize-Options.html#index-fwhole-program-80011. http://gcc.gnu.org/onlinedocs/gcc/Restricted-Pointers.html12. http://gcc.gnu.org/gcc-4.5/cxx0x_status.html13. http://www.open-std.org/jtc1/sc22/wg21/docs/cwg_defects.html#75714. http://www.open-std.org/jtc1/sc22/wg21/docs/cwg_defects.html#17615. http://gcc.gnu.org/onlinedocs/libstdc++/manual/status.html#status.iso.200x16. http://gcc.gnu.org/onlinedocs/libstdc++/manual/profile_mode.html17. http://gcc.gnu.org/onlinedocs/libstdc++/manual/status.html#status.iso.tr2473318. http://sourceware.org/gdb/wiki/STLSupport19. http://gcc.gnu.org/gcc-4.4/changes.html20. http://gcc.gnu.org/onlinedocs/gfortran/Code-Gen-Options.html21. http://gcc.gnu.org/onlinedocs/gfortran/Mixed-Language-Programming.html22. http://gcc.gnu.org/onlinedocs/gfortran/GNU-Fortran-Compiler-Directives.html23. http://gcc.gnu.org/wiki/OOP24. http://gcc.gnu.org/bugzilla/buglist.cgi?bug_status=RESOLVED&resolution=FIXED&target_milestone=4.5.125. http://gcc.gnu.org/onlinedocs/gcc/Optimize-Options.html#index-flto-80126. mailto:gnu@gnu.org27. http://www.gnu.org/home.html#ContactInfo28. http://gcc.gnu.org/about.html29. http://gcc.gnu.org/onlinedocs/30. mailto:gcc-help@gcc.gnu.org31. mailto:gcc@gnu.org32. mailto:gcc@gcc.gnu.org33. http://gcc.gnu.org/lists.html34. http://validator.w3.org/check/referer======================================================================http://gcc.gnu.org/gcc-4.4/index.htmlGCC 4.4 Release SeriesApril 29, 2010The [1]GNU project and the GCC developers are pleased to announce therelease of GCC 4.4.4.This release is a bug-fix release, containing fixes for regressions inGCC 4.4.3 relative to previous releases of GCC.Release HistoryGCC 4.4.4April 29, 2010 ([2]changes)GCC 4.4.3January 21, 2010 ([3]changes)GCC 4.4.2October 15, 2009 ([4]changes)GCC 4.4.1July 22, 2009 ([5]changes)GCC 4.4.0April 21, 2009 ([6]changes)References and AcknowledgementsGCC used to stand for the GNU C Compiler, but since the compilersupports several other languages aside from C, it now stands for theGNU Compiler Collection.A list of [7]successful builds is updated as new information becomesavailable.The GCC developers would like to thank the numerous people that havecontributed new features, improvements, bug fixes, and other changes aswell as test results to GCC. This [8]amazing group of volunteers iswhat makes GCC successful.For additional information about GCC please refer to the [9]GCC projectweb site or contact the [10]GCC development mailing list.To obtain GCC please use [11]our mirror sites or [12]our SVN server.Please send FSF & GNU inquiries & questions to [13]gnu@gnu.org. Thereare also [14]other ways to contact the FSF.These pages are [15]maintained by the GCC team.For questions related to the use of GCC, please consult these webpages and the [16]GCC manuals. If that fails, the[17]gcc-help@gcc.gnu.org mailing list might help.Please send comments on these web pages and the development of GCC toour developer mailing list at [18]gcc@gnu.org or [19]gcc@gcc.gnu.org.All of our lists have [20]public archives.Copyright (C) Free Software Foundation, Inc., 51 Franklin St, FifthFloor, Boston, MA 02110, USA.Verbatim copying and distribution of this entire article is permittedin any medium, provided this notice is preserved.Last modified 2010-07-01 [21]Valid XHTML 1.0References1. http://www.gnu.org/2. http://gcc.gnu.org/gcc-4.4/changes.html3. http://gcc.gnu.org/gcc-4.4/changes.html4. http://gcc.gnu.org/gcc-4.4/changes.html5. http://gcc.gnu.org/gcc-4.4/changes.html6. http://gcc.gnu.org/gcc-4.4/changes.html7. http://gcc.gnu.org/gcc-4.4/buildstat.html8. http://gcc.gnu.org/onlinedocs/gcc/Contributors.html9. http://gcc.gnu.org/index.html10. mailto:gcc@gcc.gnu.org11. http://gcc.gnu.org/mirrors.html12. http://gcc.gnu.org/svn.html13. mailto:gnu@gnu.org14. http://www.gnu.org/home.html#ContactInfo15. http://gcc.gnu.org/about.html16. http://gcc.gnu.org/onlinedocs/17. mailto:gcc-help@gcc.gnu.org18. mailto:gcc@gnu.org19. mailto:gcc@gcc.gnu.org20. http://gcc.gnu.org/lists.html21. http://validator.w3.org/check/referer======================================================================http://gcc.gnu.org/gcc-4.4/changes.htmlGCC 4.4 Release SeriesChanges, New Features, and FixesThe latest release in the 4.4 release series is [1]GCC 4.4.4.Caveats* __builtin_stdarg_start has been completely removed from GCC.Support for <varargs.h> had been deprecated since GCC 4.0. Use__builtin_va_start as a replacement.* Some of the errors issued by the C++ front end that could bedowngraded to warnings in previous releases by using -fpermissiveare now warnings by default. They can be converted into errors byusing -pedantic-errors.* Use of the cpp assertion extension will now emit a warning when-Wdeprecated or -pedantic is used. This extension has beendeprecated for many years, but never warned about.* Packed bit-fields of type char were not properly bit-packed on manytargets prior to GCC 4.4. On these targets, the fix in GCC 4.4causes an ABI change. For example there is no longer a 4-bitpadding between field a and b in this structure:struct foo{char a:4;char b:8;} __attribute__ ((packed));There is a new warning to help identify fields that are affected:foo.c:5: note: Offset of packed bit-field 'b' has changed in GCC 4.4The warning can be disabled with -Wno-packed-bitfield-compat.* On ARM EABI targets, the C++ mangling of the va_list type has beenchanged to conform to the current revision of the EABI. This doesnot affect the libstdc++ library included with GCC.* The SCOUNT and POS bits of the MIPS DSP control register are nowtreated as global. Previous versions of GCC treated these fields ascall-clobbered instead.* The MIPS port no longer recognizes the h asm constraint. It wasnecessary to remove this constraint in order to avoid generatingunpredictable code sequences.One of the main uses of the h constraint was to extract the highpart of a multiplication on 64-bit targets. For example:asm ("dmultu\t%1,%2" : "=h" (result) : "r" (x), "r" (y));You can now achieve the same effect using 128-bit types:typedef unsigned int uint128_t __attribute__((mode(TI)));result = ((uint128_t) x * y) >> 64;The second sequence is better in many ways. For example, if x and yare constants, the compiler can perform the multiplication atcompile time. If x and y are not constants, the compiler canschedule the runtime multiplication better than it can schedule anasm statement.* Support for a number of older systems and recently unmaintained oruntested target ports of GCC has been declared obsolete in GCC 4.4.Unless there is activity to revive them, the next release of GCCwill have their sources permanently removed.The following ports for individual systems on particulararchitectures have been obsoleted:+ Generic a.out on IA32 and m68k (i[34567]86-*-aout*,m68k-*-aout*)+ Generic COFF on ARM, H8300, IA32, m68k and SH (arm-*-coff*,armel-*-coff*, h8300-*-*, i[34567]86-*-coff*, m68k-*-coff*,sh-*-*). This does not affect other more specific targetsusing the COFF object format on those architectures, or themore specific H8300 and SH targets (h8300-*-rtems*,h8300-*-elf*, sh-*-elf*, sh-*-symbianelf*, sh-*-linux*,sh-*-netbsdelf*, sh-*-rtems*, sh-wrs-vxworks).+ 2BSD on PDP-11 (pdp11-*-bsd)+ AIX 4.1 and 4.2 on PowerPC (rs6000-ibm-aix4.[12]*,powerpc-ibm-aix4.[12]*)+ Tuning support for Itanium1 (Merced) variants. Note that codetuned for Itanium2 should also run correctly on Itanium1.* The protoize and unprotoize utilities have been obsoleted and willbe removed in GCC 4.5. These utilities have not been installed bydefault since GCC 3.0.* Support has been removed for all the [2]configurations obsoleted inGCC 4.3.* Unknown -Wno-* options are now silently ignored by GCC if no otherdiagnostics are issued. If other diagnostics are issued, then GCCwarns about the unknown options.* More information on porting to GCC 4.4 from previous versions ofGCC can be found in the [3]porting guide for this release.General Optimizer Improvements* A new command-line switch -findirect-inlining has been added. Whenturned on it allows the inliner to also inline indirect calls thatare discovered to have known targets at compile time thanks toprevious inlining.* A new command-line switch -ftree-switch-conversion has been added.This new pass turns simple initializations of scalar variables inswitch statements into initializations from a static array, giventhat all the values are known at compile time and the ratio betweenthe new array size and the original switch branches does not exceedthe parameter --param switch-conversion-max-branch-ratio (defaultis eight).* A new command-line switch -ftree-builtin-call-dce has been added.This optimization eliminates unnecessary calls to certain builtinfunctions when the return value is not used, in cases where thecalls can not be eliminated entirely because the function may seterrno. This optimization is on by default at -O2 and above.* A new command-line switch -fconserve-stack directs the compiler tominimize stack usage even if it makes the generated code slower.This affects inlining decisions.* When the assembler supports it, the compiler will now emit unwindinformation using assembler .cfi directives. This makes it possibleto use such directives in inline assembler code. The new option-fno-dwarf2-cfi-asm directs the compiler to not use .cfidirectives.* The [4]Graphite branch has been merged. This merge has brought in anew framework for loop optimizations based on a polyhedralintermediate representation. These optimizations apply to all thelanguages supported by GCC. The following new code transformationsare available in GCC 4.4:+ -floop-interchange performs loop interchange transformationson loops. Interchanging two nested loops switches the innerand outer loops. For example, given a loop like:DO J = 1, MDO I = 1, NA(J, I) = A(J, I) * CENDDOENDDOloop interchange will transform the loop as if the user hadwritten:DO I = 1, NDO J = 1, MA(J, I) = A(J, I) * CENDDOENDDOwhich can be beneficial when N is larger than the caches,because in Fortran, the elements of an array are stored inmemory contiguously by column, and the original loop iteratesover rows, potentially creating at each access a cache miss.+ -floop-strip-mine performs loop strip mining transformationson loops. Strip mining splits a loop into two nested loops.The outer loop has strides equal to the strip size and theinner loop has strides of the original loop within a strip.For example, given a loop like:DO I = 1, NA(I) = A(I) + CENDDOloop strip mining will transform the loop as if the user hadwritten:DO II = 1, N, 4DO I = II, min (II + 3, N)A(I) = A(I) + CENDDOENDDO+ -floop-block performs loop blocking transformations on loops.Blocking strip mines each loop in the loop nest such that thememory accesses of the element loops fit inside caches. Forexample, given a loop like:DO I = 1, NDO J = 1, MA(J, I) = B(I) + C(J)ENDDOENDDOloop blocking will transform the loop as if the user hadwritten:DO II = 1, N, 64DO JJ = 1, M, 64DO I = II, min (II + 63, N)DO J = JJ, min (JJ + 63, M)A(J, I) = B(I) + C(J)ENDDOENDDOENDDOENDDOwhich can be beneficial when M is larger than the caches,because the innermost loop will iterate over a smaller amountof data that can be kept in the caches.* A new register allocator has replaced the old one. It is calledintegrated register allocator (IRA) because coalescing, registerlive range splitting, and hard register preferencing are doneon-the-fly during coloring. It also has better integration with thereload pass. IRA is a regional register allocator which uses modernChaitin-Briggs coloring instead of Chow's priority coloring used inthe old register allocator. More info about IRA internals andoptions can be found in the GCC manuals.* A new instruction scheduler and software pipeliner, based on theselective scheduling approach, has been added. The new passperforms instruction unification, register renaming, substitutionthrough register copies, and speculation during scheduling. Thesoftware pipeliner is able to pipeline non-countable loops. The newpass is targeted at scheduling-eager in-order platforms. In GCC 4.4it is available for the Intel Itanium platform working by defaultas the second scheduling pass (after register allocation) at the-O3 optimization level.* When using -fprofile-generate with a multi-threaded program, theprofile counts may be slightly wrong due to race conditions. Thenew -fprofile-correction option directs the compiler to applyheuristics to smooth out the inconsistencies. By default thecompiler will give an error message when it finds an inconsistentprofile.* The new -fprofile-dir=PATH option permits setting the directorywhere profile data files are stored when using -fprofile-generateand friends, and the directory used when reading profile data filesusing -fprofile-use and friends.New warning options* The new -Wframe-larger-than=NUMBER option directs GCC to emit awarning if any stack frame is larger than NUMBER bytes. This may beused to help ensure that code fits within a limited amount of stackspace.* The command-line option -Wlarger-than-N is now written as-Wlarger-than=N and the old form is deprecated.* The new -Wno-mudflap option disables warnings about constructswhich can not be instrumented when using -fmudflap.New Languages and Language specific improvements* Version 3.0 of the [5]OpenMP specification is now supported for theC, C++, and Fortran compilers.* New character data types, per [6]TR 19769: New character types inC, are now supported for the C compiler in -std=gnu99 mode, as__CHAR16_TYPE__ and __CHAR32_TYPE__, and for the C++ compiler in-std=c++0x and -std=gnu++0x modes, as char16_t and char32_t too.C family* A new optimize attribute was added to allow programmers to changethe optimization level and particular optimization options for anindividual function. You can also change the optimization optionsvia the GCC optimize pragma for functions defined after the pragma.The GCC push_options pragma and the GCC pop_options pragma allowyou temporarily save and restore the options used. The GCCreset_options pragma restores the options to what was specified onthe command line.* Uninitialized warnings do not require enabling optimizationanymore, that is, -Wuninitialized can be used together with -O0.Nonetheless, the warnings given by -Wuninitialized will probably bemore accurate if optimization is enabled.* -Wparentheses now warns about expressions such as (!x | y) and (!x& y). Using explicit parentheses, such as in ((!x) | y), silencesthis warning.* -Wsequence-point now warns within if, while,do while and forconditions, and within for begin/end expressions.* A new option -dU is available to dump definitions of preprocessormacros that are tested or expanded.C++* [7]Improved experimental support for the upcoming ISO C++ standard,C++0x. Including support for auto, inline namespaces, generalizedinitializer lists, defaulted and deleted functions, new charactertypes, and scoped enums.* Those errors that may be downgraded to warnings to build legacycode now mention -fpermissive when -fdiagnostics-show-option isenabled.* -Wconversion now warns if the result of a static_cast to enumeraltype is unspecified because the value is outside the range of theenumeral type.* -Wuninitialized now warns if a non-static reference or non-staticconst member appears in a class without constructors.* G++ now properly implements value-initialization, so objects withan initializer of () and an implicitly defined default constructorwill be zero-initialized before the default constructor is called.Runtime Library (libstdc++)* [8]Improved experimental support for the upcoming ISO C++ standard,C++0x, including:+ Support for <chrono>, <condition_variable>, <cstdatomic>,<forward_list>, <initializer_list>, <mutex>, <ratio>,<system_error>, and <thread>.+ unique_ptr, <algorithm> additions, exception propagation, andsupport for the new character types in <string> and <limits>.+ Existing facilities now exploit initializer lists, defaultedand deleted functions, and the newly implemented core C++0xfeatures.+ Some standard containers are more efficient together withstateful allocators, i.e., no allocator is constructed on thefly at element construction time.* Experimental support for non-standard pointer types in containers.* The long standing libstdc++/30928 has been fixed for targetsrunning glibc 2.10 or later.* As usual, many small and larger bug fixes, in particular quite afew corner cases in <locale>.Fortran* GNU Fortran now employs libcpp directly instead of using cc1 as anexternal preprocessor. The [9]-cpp option was added to allow manualinvocation of the preprocessor without relying on filenameextensions.* The [10]-Warray-temporaries option warns about array temporariesgenerated by the compiler, as an aid to optimization.* The [11]-fcheck-array-temporaries option has been added, printing anotification at run time, when an array temporary had to be createdfor an function argument. Contrary to -Warray-temporaries thewarning is only printed if the array is noncontiguous.* Improved generation of DWARF debugging symbols* If using an intrinsic not part of the selected standard (via -std=and -fall-intrinsics) gfortran will now treat it as if thisprocedure were declared EXTERNAL and try to link to a user-suppliedprocedure. -Wintrinsics-std will warn whenever this happens. Thenow-useless option -Wnonstd-intrinsic was removed.* The flag -falign-commons has been added to control the alignment ofvariables in COMMON blocks, which is enabled by default in linewith previous GCC version. Using -fno-align-commons one can forcecommons to be contiguous in memory as required by the Fortranstandard, however, this slows down the memory access. The option-Walign-commons, which is enabled by default, warns when paddingbytes were added for alignment. The proper solution is to sort thecommon objects by decreasing storage size, which avoids thealignment problems.* Fortran 2003 support has been extended:+ Wide characters (ISO 10646, UCS-4, kind=4) and UTF-8 I/O isnow supported (except internal reads from/writes to widestrings). [12]-fbackslash now supports also \unnnn and\Unnnnnnnn to enter Unicode characters.+ Asynchronous I/O (implemented as synchronous I/O) and thedecimal=, size=, sign=, pad=, blank=, and delim= specifiersare now supported in I/O statements.+ Support for Fortran 2003 structure constructors and for arrayconstructor with typespec has been added.+ Procedure Pointers (but not yet as component in derived typesand as function results) are now supported.+ Abstract types, type extension, and type-bound procedures(both PROCEDURE and GENERIC but not as operators). Note: AsCLASS/polymorphyic types are not implemented, type-boundprocedures with PASS accept as non-standard extension TYPEarguments.* Fortran 2008 support has been added:+ The -std=f2008 option and support for the file extensions.f2008 and .F2008 has been added.+ The g0 format descriptor is now supported.+ The Fortran 2008 mathematical intrinsics ASINH, ACOSH, ATANH,ERF, ERFC, GAMMA, LOG_GAMMA, BESSEL_*, HYPOT, and ERFC_SCALEDare now available (some of them existed as GNU extensionbefore). Note: The hyperbolic functions are not yet supportingcomplex arguments and the three- argument version of BESSEL_*Nis not available.+ The bit intrinsics LEADZ and TRAILZ have been added.Java (GCJ)Ada* The Ada runtime now supports multilibs on many platforms includingx86_64, SPARC and PowerPC. Their build is enabled by default.New Targets and Target Specific ImprovementsARM* GCC now supports optimizing for the Cortex-A9, Cortex-R4 andCortex-R4F processors and has many other improvements tooptimization for ARM processors.* GCC now supports the VFPv3 variant with 16 double-precisionregisters with -mfpu=vfpv3-d16. The option -mfpu=vfp3 has beenrenamed to -mfpu=vfpv3.* GCC now supports the -mfix-cortex-m3-ldrd option to work around anerratum on Cortex-M3 processors.* GCC now supports the __sync_* atomic operations for ARM EABIGNU/Linux.* The section anchors optimization is now enabled by default whenoptimizing for ARM.* GCC now uses a new EABI-compatible profiling interface for EABItargets. This requires a function __gnu_mcount_nc, which isprovided by GNU libc versions 2.8 and later.AVR* The -mno-tablejump option has been deprecated because it has thesame effect as the -fno-jump-tables option.* Added support for these new AVR devices:+ ATA6289+ ATtiny13A+ ATtiny87+ ATtiny167+ ATtiny327+ ATmega8C1+ ATmega16C1+ ATmega32C1+ ATmega8M1+ ATmega16M1+ ATmega32M1+ ATmega32U4+ ATmega16HVB+ ATmega4HVD+ ATmega8HVD+ ATmega64C1+ ATmega64M1+ ATmega16U4+ ATmega32U6+ ATmega128RFA1+ AT90PWM81+ AT90SCR100+ M3000F+ M3000S+ M3001BIA-32/x86-64* Support for Intel AES built-in functions and code generation isavailable via -maes.* Support for Intel PCLMUL built-in function and code generation isavailable via -mpclmul.* Support for Intel AVX built-in functions and code generation isavailable via -mavx.* Automatically align the stack for local variables with alignmentrequirement.* GCC can now utilize the SVML library for vectorizing calls to a setof C99 functions if -mveclibabi=svml is specified and you link toan SVML ABI compatible library.* On x86-64, the ABI has been changed in the following cases toconform to the x86-64 ABI:+ Passing/returning structures with flexible array member:struct foo{int i;int flex[];};+ Passing/returning structures with complex float member:struct foo{int i;__complex__ float f;};+ Passing/returning unions with long double member:union foo{int x;long double ld;};Code built with previous versions of GCC that uses any of these isnot compatible with code built with GCC 4.4.0 or later.* A new target attribute was added to allow programmers to change thetarget options like -msse2 or -march=k8 for an individual function.You can also change the target options via the GCC target pragmafor functions defined after the pragma.* GCC can now be configured with options --with-arch-32,--with-arch-64, --with-cpu-32, --with-cpu-64, --with-tune-32 and--with-tune-64 to control the default optimization separately for32-bit and 64-bit modes.IA-32/IA64* Support for __float128 (TFmode) IEEE quad type and correspondingTCmode IEEE complex quad type is available via the soft-fp libraryon IA-32/IA64 targets. This includes basic arithmetic operations(addition, subtraction, negation, multiplication and division) on__float128 real and TCmode complex values, the full set of IEEEcomparisons between __float128 values, conversions to and fromfloat, double and long double floating point types, as well asconversions to and from signed or unsigned integer, signed orunsigned long integer and signed or unsigned quad (TImode, IA64only) integer types. Additionally, all operations generate the fullset of IEEE exceptions and support the full set of IEEE roundingmodes.M68K/ColdFire* GCC now supports instruction scheduling for ColdFire V1, V3 and V4processors. (Scheduling support for ColdFire V2 processors wasadded in GCC 4.3.)* GCC now supports the -mxgot option to support programs requiringmany GOT entries on ColdFire.* The m68k-*-linux-gnu target now builds multilibs by default.MIPS* MIPS Technologies have extended the original MIPS SVR4 ABI toinclude support for procedure linkage tables (PLTs) and copyrelocations. These extensions allow GNU/Linux executables to use asignificantly more efficient code model than the one defined by theoriginal ABI.GCC support for this code model is available via a new command-lineoption, -mplt. There is also a new configure-time option,--with-mips-plt, to make -mplt the default.The new code model requires support from the assembler, the linker,and the runtime C library. This support is available in binutils2.19 and GLIBC 2.9.* GCC can now generate MIPS16 code for 32-bit GNU/Linux executablesand 32-bit GNU/Linux shared libraries. This feature requires GNUbinutils 2.19 or above.* Support for RMI's XLR processor is now available through the-march=xlr and -mtune=xlr options.* 64-bit targets can now perform 128-bit multiplications inline,instead of relying on a libgcc function.* Native GNU/Linux toolchains now support -march=native and-mtune=native, which select the host processor.* GCC now supports the R10K, R12K, R14K and R16K processors. Thecanonical -march= and -mtune= names for these processors arer10000, r12000, r14000 and r16000 respectively.* GCC can now work around the side effects of speculative executionon R10K processors. Please see the documentation of the-mr10k-cache-barrier option for details.* Support for the MIPS64 Release 2 instruction set has been added.The option -march=mips64r2 enables generation of theseinstructions.* GCC now supports Cavium Networks' Octeon processor. This support isavailable through the -march=octeon and -mtune=octeon options.* GCC now supports STMicroelectronics' Loongson 2E/2F processors. Thecanonical -march= and -mtune= names for these processors areloongson2e and loongson2f.picochipPicochip is a 16-bit processor. A typical picoChip contains over 250small cores, each with small amounts of memory. There are threeprocessor variants (STAN, MEM and CTRL) with different instruction setsand memory configurations and they can be chosen using the -mae option.This port is intended to be a "C" only port.Power Architecture and PowerPC* GCC now supports the e300c2, e300c3 and e500mc processors.* GCC now supports Xilinx processors with a single-precision FPU.* Decimal floating point is now supported for e500 processors.S/390, zSeries and System z9/z10* Support for the IBM System z10 EC/BC processor has been added. Whenusing the -march=z10 option, the compiler will generate code makinguse of instructions provided by the General-Instruction-ExtensionFacility and the Execute-Extension Facility.VxWorks* GCC now supports the thread-local storage mechanism used onVxWorks.Xtensa* GCC now supports thread-local storage (TLS) for Xtensa processorconfigurations that include the Thread Pointer option. TLS alsorequires support from the assembler and linker; this support isprovided in the GNU binutils beginning with version 2.19.Documentation improvementsOther significant improvementsGCC 4.4.1This is the [13]list of problem reports (PRs) from GCC's bug trackingsystem that are known to be fixed in the 4.4.1 release. This list mightnot be complete (that is, it is possible that some PRs that have beenfixed are not listed here).GCC 4.4.2This is the [14]list of problem reports (PRs) from GCC's bug trackingsystem that are known to be fixed in the 4.4.2 release. This list mightnot be complete (that is, it is possible that some PRs that have beenfixed are not listed here).GCC 4.4.3This is the [15]list of problem reports (PRs) from GCC's bug trackingsystem that are known to be fixed in the 4.4.3 release. This list mightnot be complete (that is, it is possible that some PRs that have beenfixed are not listed here).GCC 4.4.4This is the [16]list of problem reports (PRs) from GCC's bug trackingsystem that are known to be fixed in the 4.4.4 release. This list mightnot be complete (that is, it is possible that some PRs that have beenfixed are not listed here).Please send FSF & GNU inquiries & questions to [17]gnu@gnu.org. Thereare also [18]other ways to contact the FSF.These pages are [19]maintained by the GCC team.For questions related to the use of GCC, please consult these webpages and the [20]GCC manuals. If that fails, the[21]gcc-help@gcc.gnu.org mailing list might help.Please send comments on these web pages and the development of GCC toour developer mailing list at [22]gcc@gnu.org or [23]gcc@gcc.gnu.org.All of our lists have [24]public archives.Copyright (C) Free Software Foundation, Inc., 51 Franklin St, FifthFloor, Boston, MA 02110, USA.Verbatim copying and distribution of this entire article is permittedin any medium, provided this notice is preserved.Last modified 2010-07-10 [25]Valid XHTML 1.0References1. http://gcc.gnu.org/gcc-4.4/changes.html#4.4.42. http://gcc.gnu.org/gcc-4.3/changes.html#obsoleted3. http://gcc.gnu.org/gcc-4.4/porting_to.html4. http://gcc.gnu.org/wiki/Graphite5. http://openmp.org/wp/openmp-specifications/6. http://www.open-std.org/jtc1/sc22/wg14/www/docs/n1040.pdf7. http://gcc.gnu.org/gcc-4.4/cxx0x_status.html8. http://gcc.gnu.org/onlinedocs/libstdc++/manual/status.html#id4763439. http://gcc.gnu.org/onlinedocs/gfortran/Preprocessing-Options.html10. http://gcc.gnu.org/onlinedocs/gfortran/Error-and-Warning-Options.html#index-g_t_0040code_007bWarray-temporaries_007d-12511. http://gcc.gnu.org/onlinedocs/gfortran/Code-Gen-Options.html#index-g_t_0040code_007bfcheck-array-temporaries_007d-22112. http://gcc.gnu.org/onlinedocs/gfortran/Fortran-Dialect-Options.html#index-g_t_0040code_007bbackslash_007d-3413. http://gcc.gnu.org/bugzilla/buglist.cgi?bug_status=RESOLVED&resolution=FIXED&target_milestone=4.4.114. http://gcc.gnu.org/bugzilla/buglist.cgi?bug_status=RESOLVED&resolution=FIXED&target_milestone=4.4.215. http://gcc.gnu.org/bugzilla/buglist.cgi?bug_status=RESOLVED&resolution=FIXED&target_milestone=4.4.316. http://gcc.gnu.org/bugzilla/buglist.cgi?bug_status=RESOLVED&resolution=FIXED&target_milestone=4.4.417. mailto:gnu@gnu.org18. http://www.gnu.org/home.html#ContactInfo19. http://gcc.gnu.org/about.html20. http://gcc.gnu.org/onlinedocs/21. mailto:gcc-help@gcc.gnu.org22. mailto:gcc@gnu.org23. mailto:gcc@gcc.gnu.org24. http://gcc.gnu.org/lists.html25. http://validator.w3.org/check/referer======================================================================http://gcc.gnu.org/gcc-4.3/index.htmlGCC 4.3 Release SeriesMay 22, 2010The [1]GNU project and the GCC developers are pleased to announce therelease of GCC 4.3.5.This release is a bug-fix release, containing fixes for regressions inGCC 4.3.4 relative to previous releases of GCC.Release HistoryGCC 4.3.5May 22, 2010 ([2]changes)GCC 4.3.4August 4, 2009 ([3]changes)GCC 4.3.3January 24, 2009 ([4]changes)GCC 4.3.2August 27, 2008 ([5]changes)GCC 4.3.1June 6, 2008 ([6]changes)GCC 4.3.0March 5, 2008 ([7]changes)References and AcknowledgementsGCC used to stand for the GNU C Compiler, but since the compilersupports several other languages aside from C, it now stands for theGNU Compiler Collection.A list of [8]successful builds is updated as new information becomesavailable.The GCC developers would like to thank the numerous people that havecontributed new features, improvements, bug fixes, and other changes aswell as test results to GCC. This [9]amazing group of volunteers iswhat makes GCC successful.For additional information about GCC please refer to the [10]GCCproject web site or contact the [11]GCC development mailing list.To obtain GCC please use [12]our mirror sites or [13]our SVN server.Please send FSF & GNU inquiries & questions to [14]gnu@gnu.org. Thereare also [15]other ways to contact the FSF.These pages are [16]maintained by the GCC team.For questions related to the use of GCC, please consult these webpages and the [17]GCC manuals. If that fails, the[18]gcc-help@gcc.gnu.org mailing list might help.Please send comments on these web pages and the development of GCC toour developer mailing list at [19]gcc@gnu.org or [20]gcc@gcc.gnu.org.All of our lists have [21]public archives.Copyright (C) Free Software Foundation, Inc., 51 Franklin St, FifthFloor, Boston, MA 02110, USA.Verbatim copying and distribution of this entire article is permittedin any medium, provided this notice is preserved.Last modified 2010-07-01 [22]Valid XHTML 1.0References1. http://www.gnu.org/2. http://gcc.gnu.org/gcc-4.3/changes.html3. http://gcc.gnu.org/gcc-4.3/changes.html4. http://gcc.gnu.org/gcc-4.3/changes.html5. http://gcc.gnu.org/gcc-4.3/changes.html6. http://gcc.gnu.org/gcc-4.3/changes.html7. http://gcc.gnu.org/gcc-4.3/changes.html8. http://gcc.gnu.org/gcc-4.3/buildstat.html9. http://gcc.gnu.org/onlinedocs/gcc/Contributors.html10. http://gcc.gnu.org/index.html11. mailto:gcc@gcc.gnu.org12. http://gcc.gnu.org/mirrors.html13. http://gcc.gnu.org/svn.html14. mailto:gnu@gnu.org15. http://www.gnu.org/home.html#ContactInfo16. http://gcc.gnu.org/about.html17. http://gcc.gnu.org/onlinedocs/18. mailto:gcc-help@gcc.gnu.org19. mailto:gcc@gnu.org20. mailto:gcc@gcc.gnu.org21. http://gcc.gnu.org/lists.html22. http://validator.w3.org/check/referer======================================================================http://gcc.gnu.org/gcc-4.3/changes.htmlGCC 4.3 Release SeriesChanges, New Features, and FixesThe latest release in the 4.3 release series is [1]GCC 4.3.5.Caveats* GCC requires the [2]GMP and [3]MPFR libraries for building all thevarious front-end languages it supports. See the [4]prerequisitespage for version requirements.* ColdFire targets now treat long double as having the same format asdouble. In earlier versions of GCC, they used the 68881 long doubleformat instead.* The m68k-uclinux target now uses the same calling conventions asm68k-linux-gnu. You can select the original calling conventions byconfiguring for m68k-uclinuxoldabi instead. Note thatm68k-uclinuxoldabi also retains the original 80-bit long double onColdFire targets.* The -fforce-mem option has been removed because it has had noeffect in the last few GCC releases.* The i386 -msvr3-shlib option has been removed since it is no longerused.* Fastcall for i386 has been changed not to pass aggregate argumentsin registers, following Microsoft compilers.* Support for the AOF assembler has been removed from the ARM backend; this affects only the targets arm-semi-aof and armel-semi-aof,which are no longer recognized. We removed these targets without adeprecation period because we discovered that they have beenunusable since GCC 4.0.0.* Support for the TMS320C3x/C4x processor (targets c4x-* and tic4x-*)has been removed. This support had been deprecated since GCC 4.0.0.* Support for a number of older systems and recently unmaintained oruntested target ports of GCC has been declared obsolete in GCC 4.3.Unless there is activity to revive them, the next release of GCCwill have their sources permanently removed.All GCC ports for the following processor architectures have beendeclared obsolete:+ Morpho MT (mt-*)The following aliases for processor architectures have beendeclared obsolete. Users should use the indicated generic targetnames instead, with compile-time options such as -mcpu orconfigure-time options such as --with-cpu to control theconfiguration more precisely.+ strongarm*-*-*, ep9312*-*-*, xscale*-*-* (use arm*-*-*instead).+ parisc*-*-* (use hppa*-*-* instead).+ m680[012]0-*-* (use m68k-*-* instead).All GCC ports for the following operating systems have beendeclared obsolete:+ BeOS (*-*-beos*)+ kaOS (*-*-kaos*)+ GNU/Linux using the a.out object format (*-*-linux*aout*)+ GNU/Linux using version 1 of the GNU C Library(*-*-linux*libc1*)+ Solaris versions before Solaris 7 (*-*-solaris2.[0-6],*-*-solaris2.[0-6].*)+ Miscellaneous System V (*-*-sysv*)+ WindISS (*-*-windiss*)Also, those for some individual systems on particular architectureshave been obsoleted:+ UNICOS/mk on DEC Alpha (alpha*-*-unicosmk*)+ CRIS with a.out object format (cris-*-aout)+ BSD 4.3 on PA-RISC (hppa1.1-*-bsd*)+ OSF/1 on PA-RISC (hppa1.1-*-osf*)+ PRO on PA-RISC (hppa1.1-*-pro*)+ Sequent PTX on IA32 (i[34567]86-sequent-ptx4*,i[34567]86-sequent-sysv4*)+ SCO Open Server 5 on IA32 (i[34567]86-*-sco3.2v5*)+ UWIN on IA32 (i[34567]86-*-uwin*) (support for UWIN as a hostwas previously [5]removed in 2001, leaving only the supportfor UWIN as a target now being deprecated)+ ChorusOS on PowerPC (powerpc-*-chorusos*)+ All VAX configurations apart from NetBSD and OpenBSD(vax-*-bsd*, vax-*-sysv*, vax-*-ultrix*)* The [6]-Wconversion option has been modified. Its purpose now is towarn for implicit conversions that may alter a value. This newbehavior is available for both C and C++. Warnings aboutconversions between signed and unsigned integers can be disabled byusing -Wno-sign-conversion. In C++, they are disabled by defaultunless -Wsign-conversion is explicitly requested. The old behaviorof -Wconversion, that is, warn for prototypes causing a typeconversion that is different from what would happen to the sameargument in the absence of a prototype, has been moved to a newoption -Wtraditional-conversion, which is only available for C.* The -m386, -m486, -mpentium and -mpentiumpro tuning options havebeen removed because they were deprecated for more than 3 GCC majorreleases. Use -mtune=i386, -mtune=i486, -mtune=pentium or-mtune=pentiumpro as a replacement.* The -funsafe-math-optimizations option now automatically turns on-fno-trapping-math in addition to -fno-signed-zeros, as it enablesreassociation and thus may introduce or remove traps.* The -ftree-vectorize option is now on by default under -O3. Inorder to generate code for a SIMD extension, it has to be enabledas well: use -maltivec for PowerPC platforms and -msse/-msse2 fori?86 and x86_64.* More information on porting to GCC 4.3 from previous versions ofGCC can be found in the [7]porting guide for this release.General Optimizer Improvements* The GCC middle-end has been integrated with the [8]MPFR library.This allows GCC to evaluate and replace at compile-time calls tobuilt-in math functions having constant arguments with theirmathematically equivalent results. In making use of [9]MPFR, GCCcan generate correct results regardless of the math libraryimplementation or floating point precision of the host platform.This also allows GCC to generate identical results regardless ofwhether one compiles in native or cross-compile configurations to aparticular target. The following built-in functions take advantageof this new capability: acos, acosh, asin, asinh, atan2, atan,atanh, cbrt, cos, cosh, drem, erf, erfc, exp10, exp2, exp, expm1,fdim, fma, fmax, fmin, gamma_r, hypot, j0, j1, jn, lgamma_r, log10,log1p, log2, log, pow10, pow, remainder, remquo, sin, sincos, sinh,tan, tanh, tgamma, y0, y1 and yn. The float and long doublevariants of these functions (e.g. sinf and sinl) are also handled.The sqrt and cabs functions with constant arguments were alreadyoptimized in prior GCC releases. Now they also use [10]MPFR.* A new forward propagation pass on RTL was added. The new passreplaces several slower transformations, resulting in compile-timeimprovements as well as better code generation in some cases.* A new command-line switch -frecord-gcc-switches has been added toGCC, although it is only enabled for some targets. The switchcauses the command line that was used to invoke the compiler to berecorded into the object file that is being created. The exactformat of this recording is target and binary file formatdependent, but it usually takes the form of a note sectioncontaining ASCII text. The switch is related to the -fverbose-asmswitch, but that one only records the information in the assembleroutput file as comments, so the information never reaches theobject file.* The inliner heuristic is now aware of stack frame consumption. Newcommand-line parameters --param large-stack-frame and --paramlarge-stack-frame-growth can be used to limit stack frame sizegrowth caused by inlining.* During feedback directed optimizations, the expected block size thememcpy, memset and bzero functions operate on is discovered and forcases of commonly used small sizes, specialized inline code isgenerated.* __builtin_expect no longer requires its argument to be a compiletime constant.* Interprocedural optimization was reorganized to work on functionsin SSA form. This enables more precise and cheaper dataflowanalysis and makes writing interprocedural optimizations easier.The following improvements have been implemented on top of thisframework:+ Pre-inline optimization: Selected local optimization passesare run before the inliner (and other interprocedural passes)are executed. This significantly improves the accuracy of codegrowth estimates used by the inliner and reduces the overallmemory footprint for large compilation units.+ Early inlining (a simple bottom-up inliner pass inlining onlyfunctions whose body is smaller than the expected calloverhead) is now executed with the early optimization passes,thus inlining already optimized function bodies into anunoptimized function that is subsequently optimized by earlyoptimizers. This enables the compiler to quickly eliminateabstraction penalty in C++ programs.+ Interprocedural constant propagation now operate on SSA formincreasing accuracy of the analysis.* A new internal representation for GIMPLE statements has beencontributed, resulting in compile-time memory savings.* The vectorizer was enhanced to support vectorization of outerloops, intra-iteration parallelism (loop-aware SLP), vectorizationof strided accesses and loops with multiple data-types. Run-timedependency testing using loop versioning was added. The cost model,turned on by -fvect-cost-model, was developed.New Languages and Language specific improvements* We have added new command-line options-finstrument-functions-exclude-function-list and-finstrument-functions-exclude-file-list. They provide more controlover which functions are annotated by the -finstrument-functionsoption.C family* Implicit conversions between generic vector types are now onlypermitted when the two vectors in question have the same number ofelements and compatible element types. (Note that the restrictioninvolves compatible element types, not implicitly-convertibleelement types: thus, a vector type with element type int may not beimplicitly converted to a vector type with element type unsignedint.) This restriction, which is in line with specifications forSIMD architectures such as AltiVec, may be relaxed using the flag-flax-vector-conversions. This flag is intended only as acompatibility measure and should not be used for new code.* -Warray-bounds has been added and is now enabled by default for-Wall . It produces warnings for array subscripts that can bedetermined at compile time to be always out of bounds.-Wno-array-bounds will disable the warning.* The constructor and destructor function attributes now acceptoptional priority arguments which control the order in which theconstructor and destructor functions are run.* New [11]command-line options -Wtype-limits,-Wold-style-declaration, -Wmissing-parameter-type, -Wempty-body,-Wclobbered and -Wignored-qualifiers have been added for finercontrol of the diverse warnings enabled by -Wextra.* A new function attribute alloc_size has been added to mark upmalloc style functions. For constant sized allocations this can beused to find out the size of the returned pointer using the__builtin_object_size() function for buffer overflow checking andsimilar. This supplements the already built-in malloc and callocconstant size handling.* Integer constants written in binary are now supported as a GCCextension. They consist of a prefix 0b or 0B, followed by asequence of 0 and 1 digits.* A new predefined macro __COUNTER__ has been added. It expands tosequential integral values starting from 0. In conjunction with the## operator, this provides a convenient means to generate uniqueidentifiers.* A new command-line option -fdirectives-only has been added. Itenables a special preprocessing mode which improves the performanceof applications like distcc and ccache.* Fixed-point data types and operators have been added. They arebased on Chapter 4 of the Embedded-C specification (n1169.pdf).Currently, only MIPS targets are supported.* Decimal floating-point arithmetic based on draft ISO/IEC TR 24732,N1241, is now supported as a GCC extension to C for targetsi[34567]86-*-linux-gnu, powerpc*-*-linux-gnu, s390*-ibm-linux-gnu,and x86_64-*-linux-gnu. The feature introduces new data types_Decimal32, _Decimal64, and _Decimal128 with constant suffixes DF,DD, and DL.C++* [12]Experimental support for the upcoming ISO C++ standard, C++0x.* -Wc++0x-compat has been added and is now enabled by default for-Wall. It produces warnings for constructs whose meaning differsbetween ISO C++ 1998 and C++0x.* The -Wparentheses option now works for C++ as it does for C. Itwarns if parentheses are omitted when operators with confusingprecedence are nested. It also warns about ambiguous elsestatements. Since -Wparentheses is enabled by -Wall, this may causeadditional warnings with existing C++ code which uses -Wall. Thesenew warnings may be disabled by using -Wall -Wno-parentheses.* The -Wmissing-declarations now works for C++ as it does for C.* The -fvisibility-ms-compat flag was added, to make it easier toport larger projects using shared libraries from Microsoft's VisualStudio to ELF and Mach-O systems.* C++ attribute handling has been overhauled for template arguments(ie dependent types). In particular, __attribute__((aligned(T)));works for C++ types.Runtime Library (libstdc++)* [13]Experimental support for the upcoming ISO C++ standard, C++0x.* Support for TR1 mathematical special functions and regularexpressions. ([14]Implementation status of TR1)* Default what implementations give more elaborate exception stringsfor bad_cast, bad_typeid, bad_exception, and bad_alloc.* Header dependencies have been streamlined, reducing unnecessaryincludes and pre-processed bloat.* Variadic template implementations of items in <tuple> and<functional>.* An experimental [15]parallel mode has been added. This is aparallel implementation of many C++ Standard library algorithms,like std::accumulate, std::for_each, std::transform, or std::sort,to give but four examples. These algorithms can be substituted forthe normal (sequential) libstdc++ algorithms on a piecemeal basis,or all existing algorithms can be transformed via the-D_GLIBCXX_PARALLEL macro.* Debug mode versions of classes in <unordered_set> and<unordered_map>.* Formal deprecation of <ext/hash_set> and <ext/hash_map>, which arenow <backward/hash_set> and <backward/hash_map>. This code:#include <ext/hash_set>__gnu_cxx::hash_set<int> s;Can be transformed (in order of preference) to:#include <tr1/unordered_set>std::tr1::unordered_set<int> s;or#include <backward/hash_set>__gnu_cxx::hash_set<int> s;Similar transformations apply to __gnu_cxx::hash_map,__gnu_cxx::hash_multimap, __gnu_cxx::hash_set,__gnu_cxx::hash_multiset.Fortran* Due to the fact that the [16]GMP and [17]MPFR libraries arerequired for all languages, Fortran is no longer special in thisregard and is available by default.* The [18]-fexternal-blas option has been added, which generatescalls to BLAS routines for intrinsic matrix operations such asmatmul rather than using the built-in algorithms.* Support to give a backtrace (compiler flag -fbacktrace orenvironment variable GFORTRAN_ERROR_BACKTRACE; on glibc systemsonly) or a core dump (-fdump-core, GFORTRAN_ERROR_DUMPCORE) when arun-time error occured.* GNU Fortran now defines __GFORTRAN__ when it runs the Cpreprocessor (CPP).* The [19]-finit-local-zero, -finit-real, -finit-integer,-finit-character, and -finit-logical options have been added, whichcan be used to initialize local variables.* The intrinsic procedures [20]GAMMA and [21]LGAMMA have been added,which calculate the Gamma function and its logarithm. Use EXTERNALgamma if you want to use your own gamma function.* GNU Fortran now regards the backslash character as literal (asrequired by the Fortran 2003 standard); using [22]-fbackslash GNUFortran interprets backslashes as C-style escape characters.* The [23]interpretation of binary, octal and hexadecimal (BOZ)literal constants has been changed. Before they were alwaysinterpreted as integer; now they are bit-wise transferred asargument of INT, REAL, DBLE and CMPLX as required by the Fortran2003 standard, and for real and complex variables in DATAstatements or when directly assigned to real and complex variables.Everywhere else and especially in expressions they are stillregarded as integer constants.* Fortran 2003 support has been extended:+ Intrinsic statements IMPORT, PROTECTED, VALUE and VOLATILE+ Pointer intent+ Intrinsic module ISO_ENV_FORTRAN+ Interoperability with C (ISO C Bindings)+ ABSTRACT INTERFACES and PROCEDURE statements (without POINTERattribute)+ Fortran 2003 BOZJava (GCJ)* GCJ now uses the Eclipse Java compiler for its Java parsing needs.This enables the use of all 1.5 language features, and fixes mostexisting front end bugs.* libgcj now supports all 1.5 language features which require runtimesupport: foreach, enum, annotations, generics, and auto-boxing.* We've made many changes to the tools shipped with gcj.+ The old jv-scan tool has been removed. This tool never reallyworked properly. There is no replacement.+ gcjh has been rewritten. Some of its more obscure options nolonger work, but are still recognized in an attempt atcompatibility. gjavah is a new program with similarfunctionality but different command-line options.+ grmic and grmiregistry have been rewritten. grmid has beenadded.+ gjar replaces the old fastjar.+ gjarsigner (used for signing jars), gkeytool (used for keymanagement), gorbd (for CORBA), gserialver (computesserialization UIDs), and gtnameserv (also for CORBA) are nowinstalled.* The ability to dump the contents of the java run time heap to afile for off-line analysis has been added. The heap dumps may beanalyzed with the new gc-analyze tool. They may be generated onout-of-memory conditions or on demand and are controlled by the newrun time class gnu.gcj.util.GCInfo.* java.util.TimeZone can now read files from /usr/share/zoneinfo toprovide correct, updated, timezone information. This means thatpackagers no longer have to update libgcj when a time zone changeis published.New Targets and Target Specific ImprovementsIA-32/x86-64* Tuning for Intel Core 2 processors is available via -mtune=core2and -march=core2.* Tuning for AMD Geode processors is available via -mtune=geode and-march=geode.* Code generation of block move (memcpy) and block set (memset) wasrewritten. GCC can now pick the best algorithm (loop, unrolledloop, instruction with rep prefix or a library call) based on thesize of the block being copied and the CPU being optimized for. Anew option -minline-stringops-dynamically has been added. With thisoption string operations of unknown size are expanded such thatsmall blocks are copied by in-line code, while for large blocks alibrary call is used. This results in faster code than-minline-all-stringops when the library implementation is capableof using cache hierarchy hints. The heuristic choosing theparticular algorithm can be overwritten via -mstringop-strategy.Newly also memset of values different from 0 is inlined.* GCC no longer places the cld instruction before string operations.Both i386 and x86-64 ABI documents mandate the direction flag to beclear at the entry of a function. It is now invalid to set the flagin asm statement without reseting it afterward.* Support for SSSE3 built-in functions and code generation areavailable via -mssse3.* Support for SSE4.1 built-in functions and code generation areavailable via -msse4.1.* Support for SSE4.2 built-in functions and code generation areavailable via -msse4.2.* Both SSE4.1 and SSE4.2 support can be enabled via -msse4.* A new set of options -mpc32, -mpc64 and -mpc80 have been added toallow explicit control of x87 floating point precision.* Support for __float128 (TFmode) IEEE quad type and correspondingTCmode IEEE complex quad type is available via the soft-fp libraryon x86_64 targets. This includes basic arithmetic operations(addition, subtraction, negation, multiplication and division) on__float128 real and TCmode complex values, the full set of IEEEcomparisons between __float128 values, conversions to and fromfloat, double and long double floating point types, as well asconversions to and from signed or unsigned integer, signed orunsigned long integer and signed or unsigned quad (TImode) integertypes. Additionally, all operations generate the full set of IEEEexceptions and support the full set of IEEE rounding modes.* GCC can now utilize the ACML library for vectorizing calls to a setof C99 functions on x86_64 if -mveclibabi=acml is specified and youlink to an ACML ABI compatible library.ARM* Compiler and Library support for Thumb-2 and the ARMv7 architecturehas been added.CRISNew features* Compiler and Library support for the CRIS v32 architecture, asfound in Axis Communications ETRAX FS and ARTPEC-3 chips, has beenadded.Configuration changes* The cris-*-elf target now includes support for CRIS v32, includinglibraries, through the -march=v32 option.* A new crisv32-*-elf target defaults to generate code for CRIS v32.* A new crisv32-*-linux* target defaults to generate code for CRISv32.* The cris-*-aout target has been obsoleted.Improved support for built-in functions* GCC can now use the lz and swapwbr instructions to implement the__builtin_clz, __builtin_ctz and __builtin_ffs family of functions.* __builtin_bswap32 is now implemented using the swapwb instruction,when available.m68k and ColdFireNew features* Support for several new ColdFire processors has been added. You cangenerate code for them using the new -mcpu option.* All targets now support ColdFire processors.* m68k-uclinux targets have improved support for C++ constructors anddestructors, and for shared libraries.* It is now possible to set breakpoints on the first or last line ofa function, even if there are no statements on that line.Optimizations* Support for sibling calls has been added.* More use is now made of the ColdFire mov3q instruction.* __builtin_clz is now implemented using the ff1 ColdFireinstruction, when available.* GCC now honors the -m68010 option. 68010 code now uses clr ratherthan move to zero volatile memory.* 68020 targets and above can now use symbol(index.size*scale)addresses for indexed array accesses. Earlier compilers wouldalways load the symbol into a base register first.Configuration changes* All m68k and ColdFire targets now allow the default processor to beset at configure time using --with-cpu.* A --with-arch configuration option has been added. This optionallows you to restrict a target to ColdFire or non-ColdFireprocessors.Preprocessor macros* An __mcfv*__ macro is now defined for all ColdFire targets.(Earlier versions of GCC only defined __mcfv4e__.)* __mcf_cpu_*, __mcf_family_* and __mcffpu__ macros have been added.* All targets now define __mc68010 and __mc68010__ when generating68010 code.Command-line changes* New command-line options -march, -mcpu, -mtune and -mhard-floathave been added. These options apply to both m68k and ColdFiretargets.* -mno-short, -mno-bitfield and -mno-rtd are now accepted as negativeversions of -mshort, etc.* -fforce-addr has been removed. It is now ignored by the compiler.Other improvements* ColdFire targets now try to maintain a 4-byte-aligned stack wherepossible.* m68k-uclinux targets now try to avoid situations that lead to theload-time error: BINFMT_FLAT: reloc outside program.MIPSChanges to existing configurations* libffi and libjava now support all three GNU/Linux ABIs: o32, n32and n64. Every GNU/Linux configuration now builds these librariesby default.* GNU/Linux configurations now generate -mno-shared code unlessoverridden by -fpic, -fPIC, -fpie or -fPIE.* mipsisa32*-linux-gnu configurations now generate hard-float code bydefault, just like other mipsisa32* and mips*-linux-gnuconfigurations. You can build a soft-float version of anymips*-linux-gnu configuration by passing --with-float=soft toconfigure.* mips-wrs-vxworks now supports run-time processes (RTPs).Changes to existing command-line options* The -march and -mtune options no longer accept 24k as a processorname. Please use 24kc, 24kf2_1 or 24kf1_1 instead.* The -march and -mtune options now accept 24kf2_1, 24kef2_1 and34kf2_1 as synonyms for 24kf, 24kef and 34kf respectively. Theoptions also accept 24kf1_1, 24kef1_1 and 34kf1_1 as synonyms for24kx, 24kex and 34kx.New configurationsGCC now supports the following configurations:* mipsisa32r2*-linux-gnu*, which generates MIPS32 revision 2 code bydefault. Earlier releases also recognized this configuration, butthey treated it in the same way as mipsisa32*-linux-gnu*. Note thatyou can customize any mips*-linux-gnu* configuration to aparticular ISA or processor by passing an appropriate --with-archoption to configure.* mipsisa*-sde-elf*, which provides compatibility with MIPSTechnologies' SDE toolchains. The configuration uses the SDElibraries by default, but you can use it like other newlib-basedELF configurations by passing --with-newlib to configure. It is theonly configuration besides mips64vr*-elf* to build MIPS16 as wellas non-MIPS16 libraries.* mipsisa*-elfoabi*, which is similar to the general mipsisa*-elf*configuration, but uses the o32 and o64 ABIs instead of the 32-bitand 64-bit forms of the EABI.New processors and application-specific extensions* Support for the SmartMIPS ASE is available through the new-msmartmips option.* Support for revision 2 of the DSP ASE is available through the new-mdspr2 option. A new preprocessor macro called __mips_dsp_revindicates the revision of the ASE in use.* Support for the 4KS and 74K families of processors is availablethrough the -march and -mtune options.Improved support for built-in functions* GCC can now use load-linked, store-conditional and syncinstructions to implement atomic built-in functions such as__sync_fetch_and_add. The memory reference must be 4 bytes wide for32-bit targets and either 4 or 8 bytes wide for 64-bit targets.* GCC can now use the clz and dclz instructions to implement the__builtin_ctz and __builtin_ffs families of functions.* There is a new __builtin___clear_cache function for flushing theinstruction cache. GCC expands this function inline on MIPS32revision 2 targets, otherwise it calls the function specified by-mcache-flush-func.MIPS16 improvements* GCC can now compile objects that contain a mixture of MIPS16 andnon-MIPS16 code. There are two new attributes, mips16 and nomips16,for specifying which mode a function should use.* A new option called -minterlink-mips16 makes non-MIPS16 codelink-compatible with MIPS16 code.* After many bug fixes, the long-standing MIPS16 -mhard-float supportshould now work fairly reliably.* GCC can now use the MIPS16e save and restore instructions.* -fsection-anchors now works in MIPS16 mode. MIPS16 code compiledwith -G0 -fsection-anchors is often smaller than code compiled with-G8. However, please note that you must usually compile all objectsin your application with the same -G option; see the documentationof -G for details.* A new option called-mcode-readable specifies which instructions areallowed to load from the code segment. -mcode-readable=yes is thedefault and says that any instruction may load from the codesegment. The other alternatives are -mcode-readable=pcrel, whichsays that only PC-relative MIPS16 instructions may load from thecode segment, and -mcode-readable=no, which says that noinstruction may do so. Please see the documentation for moredetails, including example uses.Small-data improvementsThere are three new options for controlling small data:* -mno-extern-sdata, which disables small-data accesses forexternally-defined variables. Code compiled with -Gn-mno-extern-sdata will be link-compatible with any -G settingbetween -G0 and -Gn inclusive.* -mno-local-sdata, which disables the use of small-data sections fordata that is not externally visible. This option can be a usefulway of reducing small-data usage in less performance-critical partsof an application.* -mno-gpopt, which disables the use of the $gp register while stillhonoring the -G limit when placing externally-visible data. Thisoption implies -mno-extern-sdata and -mno-local-sdata and it can beuseful in situations where $gp does not necessarily hold theexpected value.Miscellaneous improvements* There is a new option called -mbranch-cost for tweaking theperceived cost of branches.* If GCC is configured to use a version of GAS that supports the.gnu_attribute directive, it will use that directive to recordcertain properties of the output code. .gnu_attribute is new to GAS2.18.* There are two new function attributes, near and far, for overridingthe command-line setting of -mlong-calls on a function-by-functionbasis.* -mfp64, which previously required a 64-bit target, now works withMIPS32 revision 2 targets as well. The mipsisa*-elfoabi* andmipsisa*-sde-elf* configurations provide suitable library support.* GCC now recognizes the -mdmx and -mmt options and passes them downto the assembler. It does nothing else with the options at present.SPU (Synergistic Processor Unit) of the Cell Broadband Engine Architecture(BEA)* Support has been added for this new architecture.RS6000 (POWER/PowerPC)* Support for the PowerPC 750CL paired-single instructions has beenadded with a new powerpc-*-linux*paired* target configuration. Itis enabled by an associated -mpaired option and can be accessedusing new built-in functions.* Support for auto-detecting architecture and system configuration toauto-select processor optimization tuning.* Support for VMX on AIX 5.3 has been added.* Support for AIX Version 6.1 has been added.S/390, zSeries and System z9* Support for the IBM System z9 EC/BC processor (z9 GA3) has beenadded. When using the -march=z9-ec option, the compiler willgenerate code making use of instructions provided by the decimalfloating point facility and the floating point conversion facility(pfpo). Besides the instructions used to implement decimal floatingpoint operations these facilities also contain instructions to movebetween general purpose and floating point registers and to modifyand copy the sign-bit of floating point values.* When the -march=z9-ec option is used the new-mhard-dfp/-mno-hard-dfp options can be used to specify whether thedecimal floating point hardware instructions will be used or not.If none of them is given the hardware support is enabled bydefault.* The -mstack-guard option can now be omitted when using stackchecking via -mstack-size in order to let GCC choose a sensiblestack guard value according to the frame size of each function.* Various changes to improve performance of generated code have beenimplemented, including:+ The condition code set by an add logical with carryinstruction is now available for overflow checks like: a + b +carry < b.+ The test data class instruction is now used to implementsign-bit and infinity checks of binary and decimal floatingpoint numbers.Xtensa* Stack unwinding for exception handling now uses by default aspecialized version of DWARF unwinding. This is notbinary-compatible with the setjmp/longjmp (sjlj) unwinding used forXtensa with previous versions of GCC.* For Xtensa processors that include the Conditional Store option,the built-in functions for atomic memory access are now implementedusing S32C1I instructions.* If the Xtensa NSA option is available, GCC will use it to implementthe __builtin_ctz and __builtin_clz functions.Documentation improvements* Existing libstdc++ documentation has been edited and restructuredinto a single DocBook XML manual. The results can be viewed online[24]here.Other significant improvements* The compiler's --help command-line option has been extended so thatit now takes an optional set of arguments. These arguments restrictthe information displayed to specific classes of command-lineoptions, and possibly only a subset of those options. It is alsonow possible to replace the descriptive text associated with eachdisplayed option with an indication of its current value, or forbinary options, whether it has been enabled or disabled.Here are some examples. The following will display all the optionscontrolling warning messages:--help=warningsWhereas this will display all the undocumented, target specificoptions:--help=target,undocumentedThis sequence of commands will display the binary optimizationsthat are enabled by -O3:gcc -c -Q -O3 --help=optimizers > /tmp/O3-optsgcc -c -Q -O2 --help=optimizers > /tmp/O2-optsdiff /tmp/O2-opts /tmp/O3-opts | grep enabled* The configure options --with-pkgversion and --with-bugurl have beenadded. These allow distributors of GCC to include adistributor-specific string in manuals and --version output and tospecify the URL for reporting bugs in their versions of GCC.GCC 4.3.1This is the [25]list of problem reports (PRs) from GCC's bug trackingsystem that are known to be fixed in the 4.3.1 release. This list mightnot be complete (that is, it is possible that some PRs that have beenfixed are not listed here).Target Specific ChangesIA-32/x86-64ABI changes* Starting with GCC 4.3.1, decimal floating point variables arealigned to their natural boundaries when they are passed on thestack for i386.Command-line changes* Starting with GCC 4.3.1, the -mcld option has been added toautomatically generate a cld instruction in the prologue offunctions that use string instructions. This option is used forbackward compatibility on some operating systems and can be enabledby default for 32-bit x86 targets by configuring GCC with the--enable-cld configure option.GCC 4.3.2This is the [26]list of problem reports (PRs) from GCC's bug trackingsystem that are known to be fixed in the 4.3.2 release. This list mightnot be complete (that is, it is possible that some PRs that have beenfixed are not listed here).GCC 4.3.3This is the [27]list of problem reports (PRs) from GCC's bug trackingsystem that are known to be fixed in the 4.3.3 release. This list mightnot be complete (that is, it is possible that some PRs that have beenfixed are not listed here).GCC 4.3.4This is the [28]list of problem reports (PRs) from GCC's bug trackingsystem that are known to be fixed in the 4.3.4 release. This list mightnot be complete (that is, it is possible that some PRs that have beenfixed are not listed here).GCC 4.3.5This is the [29]list of problem reports (PRs) from GCC's bug trackingsystem that are known to be fixed in the 4.3.5 release. This list mightnot be complete (that is, it is possible that some PRs that have beenfixed are not listed here).Please send FSF & GNU inquiries & questions to [30]gnu@gnu.org. Thereare also [31]other ways to contact the FSF.These pages are [32]maintained by the GCC team.For questions related to the use of GCC, please consult these webpages and the [33]GCC manuals. If that fails, the[34]gcc-help@gcc.gnu.org mailing list might help.Please send comments on these web pages and the development of GCC toour developer mailing list at [35]gcc@gnu.org or [36]gcc@gcc.gnu.org.All of our lists have [37]public archives.Copyright (C) Free Software Foundation, Inc., 51 Franklin St, FifthFloor, Boston, MA 02110, USA.Verbatim copying and distribution of this entire article is permittedin any medium, provided this notice is preserved.Last modified 2010-07-10 [38]Valid XHTML 1.0References1. http://gcc.gnu.org/gcc-4.3/changes.html#4.3.52. http://gmplib.org/3. http://www.mpfr.org/4. http://gcc.gnu.org/install/prerequisites.html5. http://gcc.gnu.org/ml/gcc-announce/2001/msg00000.html6. http://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#Warning-Options7. http://gcc.gnu.org/gcc-4.3/porting_to.html8. http://www.mpfr.org/9. http://www.mpfr.org/10. http://www.mpfr.org/11. http://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html12. http://gcc.gnu.org/gcc-4.3/cxx0x_status.html13. http://gcc.gnu.org/gcc-4.3/cxx0x_status.html14. http://gcc.gnu.org/onlinedocs/libstdc++/manual/bk01pt01ch01.html#m anual.intro.status.standard.tr115. http://gcc.gnu.org/onlinedocs/libstdc++/manual/parallel_mode.html16. http://gmplib.org/17. http://www.mpfr.org/18. http://gcc.gnu.org/onlinedocs/gfortran/Code-Gen-Options.html#Code-Gen-Options19. http://gcc.gnu.org/onlinedocs/gfortran/Code-Gen-Options.html#index-g_t_0040code_007bfinit-local-zero_007d-16720. http://gcc.gnu.org/onlinedocs/gcc-4.3.0/gfortran/GAMMA.html21. http://gcc.gnu.org/onlinedocs/gcc-4.3.0/gfortran/LGAMMA.html22. http://gcc.gnu.org/onlinedocs/gfortran/Fortran-Dialect-Options.html23. http://gcc.gnu.org/onlinedocs/gfortran/BOZ-literal-constants.html24. http://gcc.gnu.org/onlinedocs/libstdc++/25. http://gcc.gnu.org/bugzilla/buglist.cgi?bug_status=RESOLVED&resolution=FIXED&target_milestone=4.3.126. http://gcc.gnu.org/bugzilla/buglist.cgi?bug_status=RESOLVED&resolution=FIXED&target_milestone=4.3.227. http://gcc.gnu.org/bugzilla/buglist.cgi?bug_status=RESOLVED&resolution=FIXED&target_milestone=4.3.328. http://gcc.gnu.org/bugzilla/buglist.cgi?bug_status=RESOLVED&resolution=FIXED&target_milestone=4.3.429. http://gcc.gnu.org/bugzilla/buglist.cgi?bug_status=RESOLVED&resolution=FIXED&target_milestone=4.3.530. mailto:gnu@gnu.org31. http://www.gnu.org/home.html#ContactInfo32. http://gcc.gnu.org/about.html33. http://gcc.gnu.org/onlinedocs/34. mailto:gcc-help@gcc.gnu.org35. mailto:gcc@gnu.org36. mailto:gcc@gcc.gnu.org37. http://gcc.gnu.org/lists.html38. http://validator.w3.org/check/referer======================================================================http://gcc.gnu.org/gcc-4.2/index.htmlGCC 4.2 Release SeriesMay 19, 2008The [1]GNU project and the GCC developers are pleased to announce therelease of GCC 4.2.4.This release is a bug-fix release, containing fixes for regressions inGCC 4.2.3 relative to previous releases of GCC.Release HistoryGCC 4.2.4May 19, 2008 ([2]changes)GCC 4.2.3February 1, 2008 ([3]changes)GCC 4.2.2October 7, 2007 ([4]changes)GCC 4.2.1July 18, 2007 ([5]changes)GCC 4.2.0May 13, 2007 ([6]changes)References and AcknowledgementsGCC used to stand for the GNU C Compiler, but since the compilersupports several other languages aside from C, it now stands for theGNU Compiler Collection.A list of [7]successful builds is updated as new information becomesavailable.The GCC developers would like to thank the numerous people that havecontributed new features, improvements, bug fixes, and other changes aswell as test results to GCC. This [8]amazing group of volunteers iswhat makes GCC successful.For additional information about GCC please refer to the [9]GCC projectweb site or contact the [10]GCC development mailing list.To obtain GCC please use [11]our mirror sites or [12]our SVN server.Please send FSF & GNU inquiries & questions to [13]gnu@gnu.org. Thereare also [14]other ways to contact the FSF.These pages are [15]maintained by the GCC team.For questions related to the use of GCC, please consult these webpages and the [16]GCC manuals. If that fails, the[17]gcc-help@gcc.gnu.org mailing list might help.Please send comments on these web pages and the development of GCC toour developer mailing list at [18]gcc@gnu.org or [19]gcc@gcc.gnu.org.All of our lists have [20]public archives.Copyright (C) Free Software Foundation, Inc., 51 Franklin St, FifthFloor, Boston, MA 02110, USA.Verbatim copying and distribution of this entire article is permittedin any medium, provided this notice is preserved.Last modified 2010-07-01 [21]Valid XHTML 1.0References1. http://www.gnu.org/2. http://gcc.gnu.org/gcc-4.2/changes.html3. http://gcc.gnu.org/gcc-4.2/changes.html4. http://gcc.gnu.org/gcc-4.2/changes.html5. http://gcc.gnu.org/gcc-4.2/changes.html6. http://gcc.gnu.org/gcc-4.2/changes.html7. http://gcc.gnu.org/gcc-4.2/buildstat.html8. http://gcc.gnu.org/onlinedocs/gcc/Contributors.html9. http://gcc.gnu.org/index.html10. mailto:gcc@gcc.gnu.org11. http://gcc.gnu.org/mirrors.html12. http://gcc.gnu.org/svn.html13. mailto:gnu@gnu.org14. http://www.gnu.org/home.html#ContactInfo15. http://gcc.gnu.org/about.html16. http://gcc.gnu.org/onlinedocs/17. mailto:gcc-help@gcc.gnu.org18. mailto:gcc@gnu.org19. mailto:gcc@gcc.gnu.org20. http://gcc.gnu.org/lists.html21. http://validator.w3.org/check/referer======================================================================http://gcc.gnu.org/gcc-4.2/changes.htmlGCC 4.2 Release SeriesChanges, New Features, and FixesCaveats* GCC no longer accepts the -fshared-data option. This option has hadno effect in any GCC 4 release; the targets to which the optionused to apply had been removed before GCC 4.0.General Optimizer Improvements* New command-line options specify the possible relationships amongparameters and between parameters and global data. For example,-fargument-noalias-anything specifies that arguments do not aliasany other storage.Each language will automatically use whatever option is required bythe language standard. You should not need to use these optionsyourself.New Languages and Language specific improvements* [1]OpenMP is now supported for the C, C++ and Fortran compilers.* New command-line options -fstrict-overflow and -Wstrict-overflowhave been added. -fstrict-overflow tells the compiler that it mayassume that the program follows the strict signed overflowsemantics permitted for the language: for C and C++ this means thatthe compiler may assume that signed overflow does not occur. Forexample, a loop likefor (i = 1; i > 0; i *= 2)is presumably intended to continue looping until i overflows. With-fstrict-overflow, the compiler may assume that signed overflowwill not occur, and transform this into an infinite loop.-fstrict-overflow is turned on by default at -O2, and may bedisabled via -fno-strict-overflow. The -Wstrict-overflow option maybe used to warn about cases where the compiler assumes that signedoverflow will not occur. It takes five different levels:-Wstrict-overflow=1 to 5. See the [2]documentation for details.-Wstrict-overflow=1 is enabled by -Wall.* The new command-line option -fno-toplevel-reorder directs GCC toemit top-level functions, variables, and asm statements in the sameorder that they appear in the input file. This is intended tosupport existing code which relies on a particular ordering (forexample, code which uses top-level asm statements to switchsections). For new code, it is generally better to use function andvariable attributes. The -fno-toplevel-reorder option may be usedfor most cases which currently use -fno-unit-at-a-time. The-fno-unit-at-a-time option will be removed in some future versionof GCC. If you know of a case which requires -fno-unit-at-a-timewhich is not fixed by -fno-toplevel-reorder, please open a bugreport.C family* The pragma redefine_extname will now macro expand its tokens forcompatibility with SunPRO.* In the next release of GCC, 4.3, -std=c99 or -std=gnu99 will directGCC to handle inline functions as specified in the C99 standard. Inpreparation for this, GCC 4.2 will warn about any use of non-staticinline functions in gnu99 or c99 mode. This new warning may bedisabled with the new gnu_inline function attribute or the new-fgnu89-inline command-line option. Also, GCC 4.2 and later willdefine one of the preprocessor macros __GNUC_GNU_INLINE__ or__GNUC_STDC_INLINE__ to indicate the semantics of inline functionsin the current compilation.* A new command-line option -Waddress has been added to warn aboutsuspicious uses of memory addresses as, for example, using theaddress of a function in a conditional expression, and comparisonsagainst the memory address of a string literal. This warning isenabled by -Wall.C++* C++ visibility handling has been overhauled.Restricted visiblity is propagated from classes to members, fromfunctions to local statics, and from templates and templatearguments to instantiations, unless the latter has explicitlydeclared visibility.The visibility attribute for a class must come between theclass-key and the name, not after the closing brace.Attributes are now allowed for enums and elaborated-type-specifiersthat only declare a type.Members of the anonymous namespace are now local to a particulartranslation unit, along with any other declarations which use them,though they are still treated as having external linkage forlanguage semantics.* The (undocumented) extension which permitted templates with defaultarguments to be bound to template template parameters with fewerparameters has been removed. For example:template <template <typename> class C>void f(C<double>) {}template <typename T, typename U = int>struct S {};template void f(S<double>);is no longer accepted by G++. The reason this code is not acceptedis that S is a template with two parameters; therefore, it cannotbe bound to C which has only one parameter.* The <?, >?, <?=, and >?= operators, deprecated in previous GCCreleases, have been removed.* The command-line option -fconst-strings, deprecated in previous GCCreleases, has been removed.* The configure variable enable-__cxa_atexit is now enabled bydefault for more targets. Enabling this variable is necessary inorder for static destructors to be executed in the correct order,but it depends upon the presence of a non-standard C library in thetarget library in order to work. The variable is now enabled formore targets which are known to have suitable C libraries.* -Wextra will produce warnings for if statements with a semicolon asthe only body, to catch code like:if (a);return 1;return 0;To suppress the warning in valid cases, use { } instead.* The C++ frontend now also produces strict aliasing warnings when-fstrict-aliasing -Wstrict-aliasing is in effect.Runtime Library (libstdc++)* Added support for TR1 <random>, <complex>, and C compatibilityheaders. In addition, a lock-free version of shared_ptr wascontributed as part of Phillip Jordan's Google Summer of Codeproject on lock-free containers. ([3]Implementation status of TR1)* In association with the Summer of Code work on lock-freecontainers, the interface for atomic builtins was adjusted,creating simpler alternatives for non-threaded code paths. Also,usage was consolidated and all elements were moved from namespacestd to namespace__gnu_cxx. Affected interfaces are the functions__exchange_and_add, __atomic_add, and the objects __mutex,__recursive_mutex, and __scoped_lock.* Support for versioning weak symbol names via namespace associationwas added. However, as this changes the names of exported symbols,this is turned off by default in the current ABI. Intrepid userscan enable this feature by using--enable-symvers=gnu-versioned-namespace during configuration.* Revised, simplified, and expanded policy-based associativecontainers, including data types for tree and trie forms(basic_tree, tree, trie), lists (list_update), and bothcollision-chaining and probing hash-based containers(basic_hash_table, cc_hash_table, gp_hash_table). More details perthe [4]documentation.* The implementation of the debug mode was modified, whereby thedebug namespaces were nested inside of namespace std and namespace__gnu_cxx in order to resolve some long standing corner casesinvolving name lookup. Debug functionality from the policy-baseddata structures was consolidated and enabled with the single macro,_GLIBCXX_DEBUG. See PR 26142 for more information.* Added extensions for type traits: __conditional_type,__numeric_traits, __add_unsigned, __removed_unsigned, __enable_if.* Added a typelist implementation for compile-time meta-programming.Elements for typelist construction and operation can be foundwithin namespace __gnu_cxx::typelist.* Added a new allocator, __gnu_cxx::throw_allocator, for testingexception-safety.* Enabled library-wide visibility control, allowing -fvisibility tobe used.* Consolidated all nested namespaces and the conversion of__gnu_internal implementation-private details to anonymousnamespaces whenever possible.* Implemented LWG resolutions DR 431 and DR 538.Fortran* Support for allocatable components has been added (TR 15581 andFortran 2003).* Support for the Fortran 2003 streaming IO extension has been added.* The GNU Fortran compiler now uses 4-byte record markers by defaultfor unformatted files to be compatible with g77 and most othercompilers. The implementation allows for records greater than 2 GBand is compatible with several other compilers. Older versions ofgfortran used 8-byte record markers by default (on most systems).In order to change the length of the record markers, e.g. to readunformatted files created by older gfortran versions, the[5]-frecord-marker=8 option can be used.Java (GCJ)* A new command-line option -static-libgcj has been added for targetsthat use a linker compatible with GNU Binutils. As its nameimplies, this causes libgcj to be linked statically. In some casesthis causes the resulting executable to start faster and use lessmemory than if the shared version of libgcj were used. Howevercaution should be used as it can also cause essential parts of thelibrary to be omitted. Some of these issues are discussed in:[6]http://gcc.gnu.org/wiki/Statically_linking_libgcj* fastjar is no longer bundled with GCC. To build libgcj, you willneed either InfoZIP (both zip and unzip) or an external jarprogram. In the former case, the GCC build will install a jar shellscript that is based on InfoZIP and provides the same functionalityas fastjar.New Targets and Target Specific ImprovementsIA-32/x86-64* -mtune=generic can now be used to generate code running well oncommon x86 chips. This includes AMD Athlon, AMD Opteron, IntelPentium-M, Intel Pentium 4 and Intel Core 2.* -mtune=native and -march=native will produce code optimized for thehost architecture as detected using the cpuid instruction.* Added a new command-line option -fstackrealign and and__attribute__ ((force_align_arg_pointer)) to realign the stack atruntime. This allows functions compiled with a vector-aligned stackto be invoked from legacy objects that keep only word-alignment.SPARC* The default CPU setting has been changed from V7 to V9 in 32-bitmode on Solaris 7 and above. This is already the case in 64-bitmode. It can be overridden by specifying --with-cpu at configuretime.* Back-end support of built-in functions for atomic memory access hasbeen implemented.* Support for the Sun UltraSPARC T1 (Niagara) processor has beenadded.M32C* Various bug fixes have made some functions (notably, functionsreturning structures) incompatible with previous releases.Recompiling all libraries is recommended. Note that code qualityhas considerably improved since 4.1, making a recompile even morebeneficial.MIPS* Added support for the Broadcom SB-1A core.IA-64* Added support for IA-64 data and control speculation. By defaultspeculation is enabled only during second scheduler pass. A numberof machine flags was introduced to control the usage of speculationfor both scheduler passes.HPPA* Added Java language support (libffi and libjava) for 32-bit HP-UX11 target.Obsolete SystemsDocumentation improvementsPDF Documentation* A make pdf target has been added to the top-level makefile,enabling automated production of PDF documentation files.(Front-ends external to GCC should modify their Make-lang.in fileto add a lang.pdf: target.)Other significant improvementsBuild system improvements* All the components of the compiler are now bootstrapped by default.This improves the resilience to bugs in the system compiler orbinary compatibility problems, as well as providing better testingof GCC 4.2 itself. In addition, if you build the compiler from acombined tree, the assembler, linker, etc. will also bebootstrapped (i.e. built with themselves).You can disable this behavior, and go back to the pre-GCC 4.2 setup, by configuring GCC with --disable-bootstrap.* The rules that configure follows to find target tools resemble moreclosely the locations that the built compiler will search. Inaddition, you can use the new configure option --with-target-toolsto specify where to find the target tools used during the build,without affecting what the built compiler will use.This can be especially useful when building packages of GCC. Forexample, you may want to build GCC with GNU as or ld, even if theresulting compiler to work with the native assembler and linker. Todo so, you can use --with-target-tools to point to the nativetools.Incompatible changes to the build system* Front-ends external to GCC should modify their Make-lang.in file toreplace double-colon rules (e.g. dvi::) with normal rules (likelang.dvi:). Front-end makefile hooks do not use double-colon rulesanymore.* Up to GCC 4.1, a popular way to specify the target tools usedduring the build was to create directories named gas, binutils,etc. in the build tree, and create links to the tools from there.This does not work any more when the compiler is bootstrapped. Thenew configure option --with-target-tools provides a better way toachieve the same effect, and works for all native and crosssettings.Please send FSF & GNU inquiries & questions to [7]gnu@gnu.org. Thereare also [8]other ways to contact the FSF.These pages are [9]maintained by the GCC team.For questions related to the use of GCC, please consult these webpages and the [10]GCC manuals. If that fails, the[11]gcc-help@gcc.gnu.org mailing list might help.Please send comments on these web pages and the development of GCC toour developer mailing list at [12]gcc@gnu.org or [13]gcc@gcc.gnu.org.All of our lists have [14]public archives.Copyright (C) Free Software Foundation, Inc., 51 Franklin St, FifthFloor, Boston, MA 02110, USA.Verbatim copying and distribution of this entire article is permittedin any medium, provided this notice is preserved.Last modified 2010-07-10 [15]Valid XHTML 1.0References1. http://gcc.gnu.org/projects/gomp/2. http://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html3. http://gcc.gnu.org/onlinedocs/libstdc++/manual/bk01pt01ch01.html#manual.intro.status.standard.tr14. http://gcc.gnu.org/onlinedocs/libstdc++/ext/pb_ds/index.html5. http://gcc.gnu.org/onlinedocs/gfortran/Runtime-Options.html6. http://gcc.gnu.org/wiki/Statically_linking_libgcj7. mailto:gnu@gnu.org8. http://www.gnu.org/home.html#ContactInfo9. http://gcc.gnu.org/about.html10. http://gcc.gnu.org/onlinedocs/11. mailto:gcc-help@gcc.gnu.org12. mailto:gcc@gnu.org13. mailto:gcc@gcc.gnu.org14. http://gcc.gnu.org/lists.html15. http://validator.w3.org/check/referer======================================================================http://gcc.gnu.org/gcc-4.1/index.htmlGCC 4.1 Release SeriesFebruary 13, 2007The [1]GNU project and the GCC developers are pleased to announce therelease of GCC 4.1.2.This release is a bug-fix release, containing fixes for regressions inGCC 4.1.1 relative to previous releases of GCC.Release HistoryGCC 4.1.2February 13, 2007 ([2]changes)GCC 4.1.1May 24, 2006 ([3]changes)GCC 4.1.0February 28, 2006 ([4]changes)References and AcknowledgementsGCC used to stand for the GNU C Compiler, but since the compilersupports several other languages aside from C, it now stands for theGNU Compiler Collection.A list of [5]successful builds is updated as new information becomesavailable.The GCC developers would like to thank the numerous people that havecontributed new features, improvements, bug fixes, and other changes aswell as test results to GCC. This [6]amazing group of volunteers iswhat makes GCC successful.For additional information about GCC please refer to the [7]GCC projectweb site or contact the [8]GCC development mailing list.To obtain GCC please use [9]our mirror sites or [10]our SVN server.Please send FSF & GNU inquiries & questions to [11]gnu@gnu.org. Thereare also [12]other ways to contact the FSF.These pages are [13]maintained by the GCC team.For questions related to the use of GCC, please consult these webpages and the [14]GCC manuals. If that fails, the[15]gcc-help@gcc.gnu.org mailing list might help.Please send comments on these web pages and the development of GCC toour developer mailing list at [16]gcc@gnu.org or [17]gcc@gcc.gnu.org.All of our lists have [18]public archives.Copyright (C) Free Software Foundation, Inc., 51 Franklin St, FifthFloor, Boston, MA 02110, USA.Verbatim copying and distribution of this entire article is permittedin any medium, provided this notice is preserved.Last modified 2010-07-01 [19]Valid XHTML 1.0References1. http://www.gnu.org/2. http://gcc.gnu.org/gcc-4.1/changes.html#4.1.23. http://gcc.gnu.org/gcc-4.1/changes.html4. http://gcc.gnu.org/gcc-4.1/changes.html5. http://gcc.gnu.org/gcc-4.1/buildstat.html6. http://gcc.gnu.org/onlinedocs/gcc/Contributors.html7. http://gcc.gnu.org/index.html8. mailto:gcc@gcc.gnu.org9. http://gcc.gnu.org/mirrors.html10. http://gcc.gnu.org/svn.html11. mailto:gnu@gnu.org12. http://www.gnu.org/home.html#ContactInfo13. http://gcc.gnu.org/about.html14. http://gcc.gnu.org/onlinedocs/15. mailto:gcc-help@gcc.gnu.org16. mailto:gcc@gnu.org17. mailto:gcc@gcc.gnu.org18. http://gcc.gnu.org/lists.html19. http://validator.w3.org/check/referer======================================================================http://gcc.gnu.org/gcc-4.1/changes.htmlGCC 4.1 Release SeriesChanges, New Features, and FixesThe latest release in the 4.1 release series is [1]GCC 4.1.2.CaveatsGeneral Optimizer Improvements* GCC now has infrastructure for inter-procedural optimizations andthe following inter-procedural optimizations are implemented:+ Profile guided inlining. When doing profile feedback guidedoptimization, GCC can now use the profile to make betterinformed decisions on whether inlining of a function isprofitable or not. This means that GCC will no longer inlinefunctions at call sites that are not executed very often, andthat functions at hot call sites are more likely to beinlined.A new parameter min-inline-recursive-probability is also nowavailable to throttle recursive inlining of functions withsmall average recursive depths.+ Discovery of pure and const functions, a form of side-effectsanalysis. While older GCC releases could also discover suchspecial functions, the new IPA-based pass runs earlier so thatthe results are available to more optimizers. The pass is alsosimply more powerful than the old one.+ Analysis of references to static variables and type escapeanalysis, also forms of side-effects analysis. The results ofthese passes allow the compiler to be less conservative aboutcall-clobbered variables and references. This results in moreredundant loads being eliminated and in making staticvariables candidates for register promotion.+ Improvement of RTL-based alias analysis. The results of typeescape analysis are fed to the RTL type-based alias analyzer,allowing it to disambiguate more memory references.+ Interprocedural constant propagation and function versioning.This pass looks for functions that are always called with thesame constant value for one or more of the function arguments,and propagates those constants into those functions.+ GCC will now eliminate static variables whose usage wasoptimized out.+ -fwhole-program --combine can now be used to make allfunctions in program static allowing whole programoptimization. As an exception, the main function and allfunctions marked with the new externally_visible attribute arekept global so that programs can link with runtime libraries.* GCC can now do a form of partial dead code elimination (PDCE) thatallows code motion of expressions to the paths where the result ofthe expression is actually needed. This is not always a win, so thepass has been limited to only consider profitable cases. Here is anexample:int foo (int *, int *);intbar (int d){int a, b, c;b = d + 1;c = d + 2;a = b + c;if (d){foo (&b, &c);a = b + c;}printf ("%d\n", a);}The a = b + c can be sunk to right before the printf. Normal codesinking will not do this, it will sink the first one above into theelse-branch of the conditional jump, which still gives you twocopies of the code.* GCC now has a value range propagation pass. This allows thecompiler to eliminate bounds checks and branches. The results ofthe pass can also be used to accurately compute branchprobabilities.* The pass to convert PHI nodes to straight-line code (a form ofif-conversion for GIMPLE) has been improved significantly. The twomost significant improvements are an improved algorithm todetermine the order in which the PHI nodes are considered, and animprovement that allow the pass to consider if-conversions of basicblocks with more than two predecessors.* Alias analysis improvements. GCC can now differentiate betweendifferent fields of structures in Tree-SSA's virtual operands form.This lets stores/loads from non-overlapping structure fields notconflict. A new algorithm to compute points-to sets was contributedthat can allows GCC to see now that p->a and p->b, where p is apointer to a structure, can never point to the same field.* Various enhancements to auto-vectorization:+ Incrementally preserve SSA form when vectorizing.+ Incrementally preserve loop-closed form when vectorizing.+ Improvements to peeling for alignment: generate better codewhen the misalignment of an access is known at compile time,or when different accesses are known to have the samemisalignment, even if the misalignment amount itself isunknown.+ Consider dependence distance in the vectorizer.+ Externalize generic parts of data reference analysis to makethis analysis available to other passes.+ Vectorization of conditional code.+ Reduction support.* GCC can now partition functions in sections of hot and cold code.This can significantly improve performance due to betterinstruction cache locality. This feature works best together withprofile feedback driven optimization.* A new pass to avoid saving of unneeded arguments to the stack invararg functions if the compiler can prove that they will not beneeded.* Transition of basic block profiling to tree level implementationhas been completed. The new implementation should be considerablymore reliable (hopefully avoiding profile mismatch errors whenusing -fprofile-use or -fbranch-probabilities) and can be used todrive higher level optimizations, such as inlining.The -ftree-based-profiling command-line option was removed and-fprofile-use now implies disabling old RTL level loop optimizer(-fno-loop-optimize). Speculative prefetching optimization(originally enabled by -fspeculative-prefetching) was removed.New Languages and Language specific improvementsC and Objective-C* The old Bison-based C and Objective-C parser has been replaced by anew, faster hand-written recursive-descent parser.Ada* The build infrastructure for the Ada runtime library and tools hasbeen changed to be better integrated with the rest of the buildinfrastructure of GCC. This should make doing cross builds of Ada abit easier.C++* ARM-style name-injection of friend declarations is no longer thedefault. For example:struct S {friend void f();};void g() { f(); }will not be accepted; instead a declaration of f will need to bepresent outside of the scope of S. The new -ffriend-injectionoption will enable the old behavior.* The (undocumented) extension which permitted templates with defaultarguments to be bound to template template parameters with fewerparameters has been deprecated, and will be removed in the nextmajor release of G++. For example:template <template <typename> class C>void f(C<double>) {}template <typename T, typename U = int>struct S {};template void f(S<double>);makes use of the deprecated extension. The reason this code is notvalid ISO C++ is that S is a template with two parameters;therefore, it cannot be bound to C which has only one parameter.Runtime Library (libstdc++)* Optimization work:+ A new implementation of std::search_n is provided, betterperforming in case of random access iterators.+ Added further efficient specializations of istream functions,i.e., character array and string extractors.+ Other smaller improvements throughout.* Policy-based associative containers, designed for high-performance,flexibility and semantic safety are delivered in ext/pb_assoc.* A versatile string class, __gnu_cxx::__versa_string, providingfacilities conforming to the standard requirements forbasic_string, is delivered in <ext/vstring.h>. In particular:+ Two base classes are provided: the default one avoidsreference counting and is optimized for short strings; thealternate one, still uses it while improving in a few lowlevel areas (e.g., alignment). See vstring_fwd.h for someuseful typedefs.+ Various algorithms have been rewritten (e.g., replace), thecode streamlined and simple optimizations added.+ Option 3 of DR 431 is implemented for both available bases,thus improving the support for stateful allocators.* As usual, many bugs have been fixed (e.g., libstdc++/13583,libstdc++/23953) and LWG resolutions put into effect for the firsttime (e.g., DR 280, DR 464, N1780 recommendations for DR 233, TR1Issue 6.19). The implementation status of TR1 is now tracked in thedocs in tr1.html.Objective-C++* A new language front end for Objective-C++ has been added. Thislanguage allows users to mix the object oriented features ofObjective-C with those of C++.Java (GCJ)* Core library (libgcj) updates based on GNU Classpath 0.15 - 0.19features (plus some 0.20 bug-fixes)+ Networkingo The java.net.HttpURLConnection implementation no longerbuffers the entire response body in memory. This meansthat response bodies larger than available memory can nowbe handled.+ (N)IOo NIO FileChannel.map implementation, fast bulk putimplementation for DirectByteBuffer (speeds up thismethod 10x).o FileChannel.lock() and FileChannel.force() implemented.+ XMLo gnu.xml fix for nodes created outside a namespacecontext.o Add support for output indenting andcdata-section-elements output instruction inxml.transform.o xml.xpath corrections for cases where elements/attributesmight have been created in non-namespace-aware mode.Corrections to handling of XSL variables and minorconformance updates.+ AWTo GNU JAWT implementation, the AWT Native Interface, whichallows direct access to native screen resources fromwithin a Canvas's paint method. GNU Classpath Examplescomes with a Demo, see libjava/classpath/examples/README.o awt.datatransfer updated to 1.5 with support forFlavorEvents. The gtk+ awt peers now allow copy/paste oftext, images, URIs/files and serialized objects withother applications and tracking clipboard change eventswith gtk+ 2.6 (for gtk+ 2.4 only text and serializedobjects are supported). A GNU Classpath Examplesdatatransfer Demo was added to show the newfunctionality.o Split gtk+ awt peers event handling in two threads andimprove gdk lock handling (solves several awt lock ups).o Speed up awt Image loading.o Better gtk+ scrollbar peer implementation when using gtk+>= 2.6.o Handle image loading errors correctly for gdkpixbuf andMediaTracker.o Better handle GDK lock. Properly prefix gtkpeer nativefunctions (cp_gtk).o GdkGraphics2D has been updated to use Cairo 0.5.x orhigher.o BufferedImage and GtkImage rewrites. All image drawingoperations should now work correctly (flipping requiresgtk+ >= 2.6)o Future Graphics2D, image and text work is documented at:[2]http://developer.classpath.org/mediation/ClasspathGraphicsImagesTexto When gtk+ 2.6 or higher is installed the default loghandler will produce stack traces whenever a WARNING,CRITICAL or ERROR message is produced.+ Free Swingo The RepaintManager has been reworked for more efficientpainting, especially for large GUIs.o The layout manager OverlayLayout has been implemented,the BoxLayout has been rewritten to make use of theSizeRequirements utility class and caching for moreefficient layout.o Improved accessibility support.o Significant progress has been made in the implementationof the javax.swing.plaf.metal package, with most UIdelegates in a working state now. Please test this withyour own applications and provide feedback that will helpus to improve this package.o The GUI demo (gnu.classpath.examples.swing.Demo) has beenextended to highlight various features in our Free Swingimplementation. And it includes a look and feel switcherfor Metal (default), Ocean and GNU themes.o The javax.swing.plaf.multi package is now implemented.o Editing and several key actions for JTree and JTable wereimplemented.o Lots of icons and look and feel improvements for FreeSwing basic and metal themes were added. Try running theGNU Classpath Swing Demo in examples(gnu.classpath.examples.swing.Demo) with:-Dswing.defaultlaf=javax.swing.plaf.basic.BasicLookAndFeel or-Dswing.defaultlaf=javax.swing.plaf.metal.MetalLookAndFeelo Start of styled text capabilites for java.swing.text.o DefaultMutableTreeNode pre-order, post-order, depth-firstand breadth-first traversal enumerations implemented.o JInternalFrame colors and titlebar draw properly.o JTree is working up to par (icons, selection and keyboardtraversal).o JMenus were made more compatible in visual andprogrammatic behavior.o JTable changeSelection and multiple selectionsimplemented.o JButton and JToggleButton change states work properlynow.o JFileChooser fixes.o revalidate() and repaint() fixes which make Free Swingmuch more responsive.o MetalIconFactory implemented.o Free Swing Top-Level Compatibility. JFrame, JDialog,JApplet, JInternalFrame, and JWindow are now 1.5compatible in the sense that you can call add() andsetLayout() directly on them, which will have the sameeffect as calling getContentPane().add() andgetContentPane().setLayout().o The JTree interface has been completed. JTrees nowrecognizes mouse clicks and selections work.o BoxLayout works properly now.o Fixed GrayFilter to actually work.o Metal SplitPane implemented.o Lots of Free Swing text and editor stuff work now.+ Free RMI and Corbao Andrew Watson, Vice President and Technical Director ofthe Object Management Group, has officially assigned us20 bit Vendor Minor Code Id: 0x47430 ("GC") that willmark remote classpath-specific system exceptions.Obtaining the VMCID means that GNU Classpath now is arecogniseable type of node in a highly interoperableCORBA world.o GNU Classpath now includes the first working draft tosupport the RMI over IIOP protocol. The currentimplementation is capable of remote invocations,transferring various Serializables and Externalizablesvia RMI-IIOP protocol. It can flatten graphs and, atleast for the simple cases, is interoperable with 1.5JDKs.o org.omg.PortableInterceptor and related functionality inother packages is now implemented:# The sever and client interceptors work as requiredsince 1.4.# The IOR interceptor works as needed for 1.5.o The org.omg.DynamicAny package is completed and passesthe prepared tests.o The Portable Object Adapter should now support the outputof the recent IDL to java compilers. These compilers nowgenerate servants and not CORBA objects as before, makingthe output depend on the existing POA implementation.Completing POA means that such code can already be triedto run on Classpath. Our POA is tested for the followingusager scenarios:# POA converts servant to the CORBA object.# Servant provides to the CORBA object.# POA activates new CORBA object with the given ObjectId (byte array) that is later accessible for theservant.# During the first call, the ServantActivator providesservant for this and all subsequent calls on thecurrent object.# During each call, the ServantLocator providesservant for this call only.# ServantLocator or ServantActivator forwards call toanother server.# POA has a single servant, responsible for allobjects.# POA has a default servant, but some objects areexplicitly connected to they specific servants.The POA is verified using tests from the formercost.omg.org.o The CORBA implementation is now a working prototype thatshould support features up to 1.3 inclusive. We invitegroups writing CORBA dependent applications to tryClasspath implementation, reporting any possible bugs.The CORBA prototype is interoperable with Sun'simplementation v 1.4, transferring object references,primitive types, narrow and wide strings, arrays,structures, trees, abstract interfaces and value types(feature of CORBA 2.3) between these two platforms.Remote exceptions are transferred and handled correctly.The stringified object references (IORs) from varioussources are parsed as required. The transient (forcurrent session) and permanent (till jre restart)redirections work. Both Little and Big Endian encodedmessages are accepted. The implementation is verifiedusing tests from the former cost.omg.org. The currentrelease includes working examples (see the examplesdirectory), demonstrating the client-servercommunication, using either CORBA Request or IDL-basedstub (usually generated by a IDL to java compiler). Theseexamples also show how to use the Classpath CORBA namingservice. The IDL to java compiler is not yet written, butas our library must be compatible, it naturally acceptsthe output of other idlj implementations.+ Misco Updated TimeZone data against Olson tzdata2005l.o Make zip and jar packages UTF-8 clean.o "native" code builds and compiles (warning free) onDarwin and Solaris.o java.util.logging.FileHandler now rotates files.o Start of a generic JDWP framework in gnu/classpath/jdwp.This is unfinished, but feedback (at classpath@gnu.org)from runtime hackers is greatly appreciated. Althoughmost of the work is currently being done around gcj/gijwe want this framework to be as VM neutral as possible.Early design is described in:[3]http://gcc.gnu.org/ml/java/2005-05/msg00260.htmlo QT4 AWT peers, enable by giving configure--enable-qt-peer. Included, but not ready for productionyet. They are explicitly disabled and not supported. Butif you want to help with the development of these newfeatures we are interested in feedback. You will have toexplicitly enable them to try them out (and they willmost likely contain bugs).o Documentation fixes all over the place. See[4]http://developer.classpath.org/doc/New Targets and Target Specific ImprovementsIA-32/x86-64* The x86-64 medium model (that allows building applications whosedata segment exceeds 4GB) was redesigned to match latest ABI draft.New implementation split large datastructures into separate segmentimproving performance of accesses to small datastructures and alsoallows linking of small model libraries into medium model programsas long as the libraries are not accessing the large datastructuresdirectly. Medium model is also supported in position independentcode now.The ABI change results in partial incompatibility among mediummodel objects. Linking medium model libraries (or objects) compiledwith new compiler into medium model program compiled with olderwill likely result in exceeding ranges of relocations.Binutils 2.16.91 or newer are required for compiling medium modelnow.RS6000 (POWER/PowerPC)* The AltiVec vector primitives in <altivec.h> are now implemented ina way that puts a smaller burden on the preprocessor, insteadprocessing the "overloading" in the front ends. This should benefitcompilation speed on AltiVec vector code.* AltiVec initializers now are generated more efficiently.* The popcountb instruction available on POWER5 now is generated.* The floating point round to integer instructions available onPOWER5+ now is generated.* Floating point divides can be synthesized using the floating pointreciprocal estimate instructions.* Double precision floating point constants are initialized as singleprecision values if they can be represented exactly.S/390, zSeries and System z9* Support for the IBM System z9 109 processor has been added. Whenusing the -march=z9-109 option, the compiler will generate codemaking use of instructions provided by the extended immediatefacility.* Support for 128-bit IEEE floating point has been added. When usingthe -mlong-double-128 option, the compiler will map the long doubledata type to 128-bit IEEE floating point. Using this optionconstitutes an ABI change, and requires glibc support.* Various changes to improve performance of generated code have beenimplemented, including:+ In functions that do not require a literal pool, register %r13(which is traditionally reserved as literal pool pointer), cannow be freely used for other purposes by the compiler.+ More precise tracking of register use allows the compiler togenerate more efficient function prolog and epilog code incertain cases.+ The SEARCH STRING, COMPARE LOGICAL STRING, and MOVE STRINGinstructions are now used to implement C string functions.+ The MOVE CHARACTER instruction with single byte overlap is nowused to implement the memset function with non-zero fill byte.+ The LOAD ZERO instructions are now used where appropriate.+ The INSERT CHARACTERS UNDER MASK, STORE CHARACTERS UNDER MASK,and INSERT IMMEDIATE instructions are now used more frequentlyto optimize bitfield operations.+ The BRANCH ON COUNT instruction is now used more frequently.In particular, the fact that a loop contains a subroutine callno longer prevents the compiler from using this instruction.+ The compiler is now aware that all shift and rotateinstructions implicitly truncate the shift count to six bits.* Back-end support for the following generic features has beenimplemented:+ The full set of [5]built-in functions for atomic memoryaccess.+ The -fstack-protector feature.+ The optimization pass avoiding unnecessary stores of incomingargument registers in functions with variable argument list.SPARC* The default code model in 64-bit mode has been changed fromMedium/Anywhere to Medium/Middle on Solaris.* TLS support is disabled by default on Solaris prior to release 10.It can be enabled on TLS-capable Solaris 9 versions (4/04 releaseand later) by specifying --enable-tls at configure time.MorphoSys* Support has been added for this new architecture.Obsolete SystemsDocumentation improvementsOther significant improvements* GCC can now emit code for protecting applications fromstack-smashing attacks. The protection is realized by bufferoverflow detection and reordering of stack variables to avoidpointer corruption.* Some built-in functions have been fortified to protect them againstvarious buffer overflow (and format string) vulnerabilities.Compared to the mudflap bounds checking feature, the safe builtinshave far smaller overhead. This means that programs built usingsafe builtins should not experience any measurable slowdown.GCC 4.1.2This is the [6]list of problem reports (PRs) from GCC's bug trackingsystem that are known to be fixed in the 4.1.2 release. This list mightnot be complete (that is, it is possible that some PRs that have beenfixed are not listed here).When generating code for a shared library, GCC now recognizes thatglobal functions may be replaced when the program runs. Therefore, itis now more conservative in deducing information from the bodies offunctions. For example, in this example:void f() {}void g() {try { f(); }catch (...) {cout << "Exception";}}G++ would previously have optimized away the catch clause, since itwould have concluded that f cannot throw exceptions. Because users mayreplace f with another function in the main body of the program, thisoptimization is unsafe, and is no longer performed. If you wish G++ tocontinue to optimize as before, you must add a throw() clause to thedeclaration of f to make clear that it does not throw exceptions.Please send FSF & GNU inquiries & questions to [7]gnu@gnu.org. Thereare also [8]other ways to contact the FSF.These pages are [9]maintained by the GCC team.For questions related to the use of GCC, please consult these webpages and the [10]GCC manuals. If that fails, the[11]gcc-help@gcc.gnu.org mailing list might help.Please send comments on these web pages and the development of GCC toour developer mailing list at [12]gcc@gnu.org or [13]gcc@gcc.gnu.org.All of our lists have [14]public archives.Copyright (C) Free Software Foundation, Inc., 51 Franklin St, FifthFloor, Boston, MA 02110, USA.Verbatim copying and distribution of this entire article is permittedin any medium, provided this notice is preserved.Last modified 2010-07-10 [15]Valid XHTML 1.0References1. http://gcc.gnu.org/gcc-4.1/changes.html#4.1.22. http://developer.classpath.org/mediation/ClasspathGraphicsImagesText3. http://gcc.gnu.org/ml/java/2005-05/msg00260.html4. http://developer.classpath.org/doc/5. http://gcc.gnu.org/onlinedocs/gcc-4.1.0/gcc/Atomic-Builtins.html6. http://gcc.gnu.org/bugzilla/buglist.cgi?bug_status=RESOLVED&resolution=FIXED&target_milestone=4.1.27. mailto:gnu@gnu.org8. http://www.gnu.org/home.html#ContactInfo9. http://gcc.gnu.org/about.html10. http://gcc.gnu.org/onlinedocs/11. mailto:gcc-help@gcc.gnu.org12. mailto:gcc@gnu.org13. mailto:gcc@gcc.gnu.org14. http://gcc.gnu.org/lists.html15. http://validator.w3.org/check/referer======================================================================http://gcc.gnu.org/gcc-4.0/index.htmlGCC 4.0 Release SeriesJanuary 31, 2007The [1]GNU project and the GCC developers are pleased to announce therelease of GCC 4.0.4.This release is a bug-fix release, containing fixes for regressions inGCC 4.0.3 relative to previous releases of GCC.Release HistoryGCC 4.0.4January 31, 2007 ([2]changes)GCC 4.0.3March 10, 2006 ([3]changes)GCC 4.0.2September 28, 2005 ([4]changes)GCC 4.0.1July 7, 2005 ([5]changes)GCC 4.0.0April 20, 2005 ([6]changes)References and AcknowledgementsGCC used to stand for the GNU C Compiler, but since the compilersupports several other languages aside from C, it now stands for theGNU Compiler Collection.A list of [7]successful builds is updated as new information becomesavailable.The GCC developers would like to thank the numerous people that havecontributed new features, improvements, bug fixes, and other changes aswell as test results to GCC. This [8]amazing group of volunteers iswhat makes GCC successful.For additional information about GCC please refer to the [9]GCC projectweb site or contact the [10]GCC development mailing list.To obtain GCC please use [11]our mirror sites, or [12]our SVN server.Please send FSF & GNU inquiries & questions to [13]gnu@gnu.org. Thereare also [14]other ways to contact the FSF.These pages are [15]maintained by the GCC team.For questions related to the use of GCC, please consult these webpages and the [16]GCC manuals. If that fails, the[17]gcc-help@gcc.gnu.org mailing list might help.Please send comments on these web pages and the development of GCC toour developer mailing list at [18]gcc@gnu.org or [19]gcc@gcc.gnu.org.All of our lists have [20]public archives.Copyright (C) Free Software Foundation, Inc., 51 Franklin St, FifthFloor, Boston, MA 02110, USA.Verbatim copying and distribution of this entire article is permittedin any medium, provided this notice is preserved.Last modified 2010-07-01 [21]Valid XHTML 1.0References1. http://www.gnu.org/2. http://gcc.gnu.org/gcc-4.0/changes.html#4.0.43. http://gcc.gnu.org/gcc-4.0/changes.html#4.0.34. http://gcc.gnu.org/gcc-4.0/changes.html#4.0.25. http://gcc.gnu.org/gcc-4.0/changes.html#4.0.16. http://gcc.gnu.org/gcc-4.0/changes.html7. http://gcc.gnu.org/gcc-4.0/buildstat.html8. http://gcc.gnu.org/onlinedocs/gcc/Contributors.html9. http://gcc.gnu.org/index.html10. mailto:gcc@gcc.gnu.org11. http://gcc.gnu.org/mirrors.html12. http://gcc.gnu.org/svn.html13. mailto:gnu@gnu.org14. http://www.gnu.org/home.html#ContactInfo15. http://gcc.gnu.org/about.html16. http://gcc.gnu.org/onlinedocs/17. mailto:gcc-help@gcc.gnu.org18. mailto:gcc@gnu.org19. mailto:gcc@gcc.gnu.org20. http://gcc.gnu.org/lists.html21. http://validator.w3.org/check/referer======================================================================http://gcc.gnu.org/gcc-4.0/changes.htmlGCC 4.0 Release SeriesChanges, New Features, and FixesThe latest release in the 4.0 release series is [1]GCC 4.0.4.Caveats* GCC now generates location lists by default when compiling withdebug info and optimization.+ GDB 6.0 and older crashes when it sees location lists. GDB 6.1or later is needed to debug binaries containing locationlists.+ When you are trying to view a value of a variable in a part ofa function where it has no location (for example when thevariable is no longer used and thus its location was used forsomething else) GDB will say that it is not available.You can disable generating location lists by -fno-var-tracking.* GCC no longer accepts the -fwritable-strings option. Use namedcharacter arrays when you need a writable string.* The options -freduce-all-givs and -fmove-all-movables have beendiscontinued. They were used to circumvent a shortcoming in theheuristics of the old loop optimization code with respect to commonFortran constructs. The new (tree) loop optimizer works differentlyand doesn't need those work-arounds.* The graph-coloring register allocator, formerly enabled by theoption -fnew-ra, has been discontinued.* -I- has been deprecated. -iquote is meant to replace the need forthis option.* The MIPS -membedded-pic and -mrnames options have been removed.* All MIPS targets now require the GNU assembler. In particular, IRIXconfigurations can no longer use the MIPSpro assemblers, althoughthey do still support the MIPSpro linkers.* The SPARC option -mflat has been removed.* English-language diagnostic messages will now use Unicode quotationmarks in UTF-8 locales. (Non-English messages already used thequotes appropriate for the language in previous releases.) If yourterminal does not support UTF-8 but you are using a UTF-8 locale(such locales are the default on many GNU/Linux systems) then youshould set LC_CTYPE=C in the environment to disable that locale.Programs that parse diagnostics and expect plain ASCIIEnglish-language messages should set LC_ALL=C. See [2]Markus Kuhn'sexplanation of Unicode quotation marks for more information.* The specs file is no longer installed on most platforms. Most userswill be totally unaffected. However, if you are accustomed toediting the specs file yourself, you will now have to use the-dumpspecs option to generate the specs file, and then edit theresulting file.General Optimizer Improvements* The [3]tree ssa branch has been merged. This merge has brought in acompletely new optimization framework based on a higher levelintermediate representation than the existing RTL representation.Numerous new code transformations based on the new framework areavailable in GCC 4.0, including:+ Scalar replacement of aggregates+ Constant propagation+ Value range propagation+ Partial redundancy elimination+ Load and store motion+ Strength reduction+ Dead store elimination+ Dead and unreachable code elimination+ [4]Autovectorization+ Loop interchange+ Tail recursion by accumulationMany of these passes outperform their counterparts from previousGCC releases.* [5]Swing Modulo Scheduling (SMS). An RTL level instructionscheduling optimization intended for loops that perform heavycomputations.New Languages and Language specific improvementsC family* The sentinel attribute has been added to GCC. This functionattribute allows GCC to warn when variadic functions such as execlare not NULL terminated. See the GCC manual for a completedescription of its behavior.* Given __attribute__((alias("target"))) it is now an error if targetis not a symbol, defined in the same translation unit. This alsoapplies to aliases created by #pragma weak alias=target. This isbecause it's meaningless to define an alias to an undefined symbol.On Solaris, the native assembler would have caught this error, butGNU as does not.C and Objective-C* The -Wstrict-aliasing=2 option has been added. This warning catchesall unsafe cases, but it may also give a warning for some casesthat are safe.* The cast-as-lvalue, conditional-expression-as-lvalue andcompound-expression-as-lvalue extensions, which were deprecated in3.3.4 and 3.4, have been removed.* The -fwritable-strings option, which was deprecated in 3.4, hasbeen removed.* #pragma pack() semantics have been brought closer to those used byother compilers. This also applies to C++.* Taking the address of a variable with register storage is invalidin C. GCC now issues an error instead of a warning.* Arrays of incomplete element type are invalid in C. GCC now issuesan error for such arrays. Declarations such as extern struct s x[];(where struct s has not been defined) can be moved after thedefinition of struct s. Function parameters declared as arrays ofincomplete type can instead be declared as pointers.C++* When compiling without optimizations (-O0), the C++ frontend ismuch faster than in any previous versions of GCC. Independenttesters have measured speed-ups up to 25% in real-world productioncode, compared to the 3.4 family (which was already the fastestversion to date). Upgrading from older versions might show evenbigger improvements.* ELF visibility attributes can now be applied to a class type, sothat it affects every member function of a class at once, withouthaving to specify each individually:class __attribute__ ((visibility("hidden"))) Foo{int foo1();void foo2();};The syntax is deliberately similar to the __declspec() system usedby Microsoft Windows based compilers, allowing cross-platformprojects to easily reuse their existing macro system for denotingexports and imports. By explicitly marking internal classes neverused outside a binary as hidden, one can completely avoid PLTindirection overheads during their usage by the compiler. You canfind out more about the advantages of this at[6]http://people.redhat.com/drepper/dsohowto.pdf* The -fvisibility-inlines-hidden option has been added which marksall inlineable functions as having hidden ELF visibility, thusremoving their symbol and typeinfo from the exported symbol tableof the output ELF binary. Using this option can reduce the exportedsymbol count of template-heavy code by up to 40% with no codechange at all, thus notably improving link and load times for thebinary as well as a reduction in size of up to 10%. Also, check thenew [7]-fvisibility option.* The compiler now uses the library interface specified by the [8]C++ABI for thread-safe initialization of function-scope staticvariables. Most users should leave this alone, but embeddedprogrammers may want to disable this by specifying-fno-threadsafe-statics for a small savings in code size.* Taking the address of an explicit register variable is no longersupported. Note that C++ allows taking the address of variableswith register storage so this will continue to compile with awarning. For example, assuming that r0 is a machine register:register int foo asm ("r0");register int bar;&foo; // error, no longer accepted&bar; // OK, with a warning* G++ has an undocumented extension to virtual function covariancyrules that allowed the overrider to return a type that wasimplicitly convertable to the overridden function's return type.For instance a function returning void * could be overridden by afunction returning T *. This is now deprecated and will be removedin a future release.* The G++ minimum and maximum operators (<? and >?) and theircompound forms (<?=) and >?=) have been deprecated and will beremoved in a future version. Code using these operators should bemodified to use std::min and std::max instead.* Declaration of nested classes of class templates as friends aresupported:template <typename T> struct A {class B {};};class C {template <typename T> friend class A<T>::B;};This complements the feature member functions of class templates asfriends introduced in GCC 3.4.0.* When declaring a friend class using an unqualified name, classesoutside the innermost non-class scope are not searched:class A;namespace N {class B {friend class A; // Refer to N::A which has not been declared yet// because name outside namespace N are not searchedfriend class ::A; // Refer to ::A};}Hiding the friend name until declaration is still not implemented.* Friends of classes defined outside their namespace are correctlyhandled:namespace N {class A;}class N::A {friend class B; // Refer to N::B in GCC 4.0.0// but ::B in earlier versions of GCC};Runtime Library (libstdc++)* Optimization work:+ Added efficient specializations of istream functions for charand wchar_t.+ Further performance tuning of strings, in particular wrtsingle-char append and getline.+ iter_swap - and therefore most of the mutating algorithms -now makes an unqualified call to swap when the value_type ofthe two iterators is the same.* A large subset of the features in Technical Report 1 (TR1 forshort) is experimentally delivered (i.e., no guarantees about theimplementation are provided. In particular it is not promised thatthe library will remain link-compatible when code using TR1 isused):+ General utilities such as reference_wrapper and shared_ptr.+ Function objects, i.e., result_of, mem_fn, bind, function.+ Support for metaprogramming.+ New containers such as tuple, array, unordered_set,unordered_map, unordered_multiset, unordered_multimap.* As usual, many bugs have been fixed and LWG resolutions implementedfor the first time (e.g., DR 409).Java* In order to prevent naming conflicts with other implementations ofthese tools, some GCJ binaries have been renamed:+ rmic is now grmic,+ rmiregistry is now grmiregistry, and+ jar is now fastjar.In particular, these names were problematic for the jpackage.orgpackaging conventions which install symlinks in /usr/bin that pointto the preferred versions of these tools.* The -findirect-dispatch argument to the compiler now works andgenerates code following a new "binary compatibility" ABI. Codecompiled this way follows the binary compatibility rules of theJava Language Specification.* libgcj now has support for using GCJ as a JIT, using thegnu.gcj.jit family of system properties.* libgcj can now find a shared library corresponding to the bytecoderepresentation of a class. See the documentation for the newgcj-dbtool program, and the new gnu.gcj.precompiled.db.path systemproperty.* There have been many improvements to the class library. Here aresome highlights:+ Much more of AWT and Swing exist.+ Many new packages and classes were added, includingjava.util.regex, java.net.URI, javax.crypto,javax.crypto.interfaces, javax.crypto.spec, javax.net,javax.net.ssl, javax.security.auth,javax.security.auth.callback, javax.security.auth.login,javax.security.auth.x500, javax.security.sasl, org.ietf.jgss,javax.imageio, javax.imageio.event, javax.imageio.spi,javax.print, javax.print.attribute,javax.print.attribute.standard, javax.print.event, andjavax.xml+ Updated SAX and DOM, and imported GNU JAXPFortran* A new [9]Fortran front end has replaced the aging GNU Fortran 77front end. The new front end supports Fortran 90 and Fortran 95. Itmay not yet be as stable as the old Fortran front end.Ada* Ada (with tasking and Zero Cost Exceptions) is now available onmany more targets, including but not limited to: alpha-linux,hppa-hpux, hppa-linux, powerpc-darwin, powerpc-linux, s390-linux,s390x-linux, sparc-linux.* Some of the new Ada 2005 features are now implemented likeWide_Wide_Character and Ada.Containers.* Many bugs have been fixed, tools and documentation improved.* To compile Ada from the sources, install an older working Adacompiler and then use --enable-languages=ada at configuration time,since the Ada frontend is not currently activated by default. Seethe [10]Installing GCC for details.New Targets and Target Specific ImprovementsH8/300* The frame layout has changed. In the new layout, the prologue of afunction first saves registers and then allocate space for locals,resulting in an 1% improvement on code size.IA-32/x86-64 (AMD64)* The acos, asin, drem, exp10, exp2, expm1, fmod, ilogb, log10,log1p, log2, logb and tan mathematical builtins (and their floatand long double variants) are now implemented as inline x87intrinsics when using -ffast-math.* The ceil, floor, nearbyint, rint and trunc mathematical builtins(and their float and long double variants) are now implemented asinline x87 intrinsics when using -ffast-math.* The x87's fsincos instruction is now used automatically with-ffast-math when calculating both the sin and cos of the sameargument.* Instruction selection for multiplication and division by constantshas been improved.IA-64* Floating point division, integer division and sqrt are now inlined,resulting in significant performance improvements on some codes.MIPS* Division by zero checks now use conditional traps if the targetprocessor supports them. This decreases code size by one word perdivision operation. The old behavior (branch and break) can beobtained either at configure time by passing --with-divide=breaksto configure or at runtime by passing -mdivide-breaks to GCC.* Support for MIPS64 paired-single instructions has been added. It isenabled by -mpaired-single and can be accessed using both thetarget-independent vector extensions and new MIPS-specific built-infunctions.* Support for the MIPS-3D ASE has been added. It is enabled by-mips3d and provides new MIPS-3D-specific built-in functions.* The -mexplicit-relocs option now supports static n64 code (as isused, for example, in 64-bit linux kernels). -mexplicit-relocsshould now be feature-complete and is enabled by default when GCCis configured to use a compatible assembler.* Support for the NEC VR4130 series has been added. This supportincludes the use of VR-specific instructions and a new VR4130scheduler. Full VR4130 support can be selected with -march=vr4130while code for any ISA can be tuned for the VR4130 using-mtune=vr4130. There is also a new -mvr4130-align option thatproduces better schedules at the cost of increased code size.* Support for the Broadcom SB-1 has been extended. There is now anSB-1 scheduler as well as support for the SB-1-specificpaired-single instructions. Full SB-1 support can be selected with-march=sb1 while code for any ISA can be optimized for the SB-1using -mtune=sb1.* The compiler can now work around errata in R4000, R4400, VR4120 andVR4130 processors. These workarounds are enabled by -mfix-r4000,-mfix-r4400, -mfix-vr4120 and -mfix-vr4130 respectively. The VR4120and VR4130 workarounds need binutils 2.16 or above.* IRIX shared libraries are now installed into the standard librarydirectories: o32 libraries go into lib/, n32 libraries go intolib32/ and n64 libraries go into lib64/.* The compiler supports a new -msym32 option. It can be used tooptimize n64 code in which all symbols are known to have 32-bitvalues.S/390 and zSeries* New command-line options help to generate code intended to run inan environment where stack space is restricted, e.g. Linux kernelcode:+ -mwarn-framesize and -mwarn-dynamicstack trigger compile-timewarnings for single functions that require large or dynamicstack frames.+ -mstack-size and -mstack-guard generate code that checks forstack overflow at run time.+ -mpacked-stack generates code that reduces the stack framesize of many functions by reusing unneeded parts of the stackbias area.* The -msoft-float option now ensures that generated code neveraccesses floating point registers.* The s390x-ibm-tpf target now fully supports C++, includingexceptions and threads.* Various changes to improve performance of the generated code havebeen implemented, including:+ GCC now uses sibling calls where possible.+ Condition code handling has been optimized, allowing GCC toomit redundant comparisons in certain cases.+ The cost function guiding many optimizations has been refinedto more accurately represent the z900 and z990 processors.+ The ADD LOGICAL WITH CARRY and SUBTRACT LOGICAL WITH BORROWinstructions are now used to avoid conditional branches incertain cases.+ The back end now uses the LEGITIMIZE_RELOAD_ADDRESS feature tooptimize address arithmetic required to access large stackframes.+ GCC now makes more efficient use of memory-to-memory typeinstructions (MVC, CLC, ...).+ More precise tracking of special register use allows betterinstruction scheduling, in particular of the function prologueand epilogue sequences.+ The Java front end now generates inline code to implementinteger division, instead of calling library routines.SPARC* The options -mv8, -msparclite, -mcypress, -msupersparc, -mf930 and-mf934 have been removed. They have been replaced with -mcpu=xxx.* The internal model used to estimate the relative cost of eachinstruction has been updated. It is expected to give better resultson recent UltraSPARC processors.* Code generation for function prologues and epilogues has beenimproved, resulting in better scheduling and allowing multiple exitpoints in functions.* Support for Sun's Visual Instruction Set (VIS) has been enhanced.It is enabled by -mvis and provides new built-in functions for VISinstructions on UltraSPARC processors.* The option -mapp-regs has been turned on by default on Solaris too.NetWare* Novell NetWare (on ix86, no other hardware platform was ever reallysupported by this OS) has been re-enabled and the ABI supported byGCC has been brought into sync with that of MetroWerks CodeWarrior(the ABI previously supported was that of some Unix systems, whichNetWare never tried to support).Obsolete SystemsSupport for a number of older systems has been declared obsolete in GCC4.0. Unless there is activity to revive them, the next release of GCCwill have their sources permanently removed.All GCC ports for the following processor architectures have beendeclared obsolete:* Intel i860* Ubicom IP2022* National Semiconductor NS32K* Texas Instruments TMS320C[34]xAlso, those for some individual systems have been obsoleted:* SPARC family+ SPARClite-based systems (sparclite-*-coff, sparclite-*-elf,sparc86x-*-elf)+ OpenBSD 32-bit (sparc-*-openbsd*)Documentation improvementsOther significant improvements* Location lists are now generated by default when compiling withdebug info and optimization. Location lists provide more accuratedebug info about locations of variables and they allow debuggingcode compiled with -fomit-frame-pointer.* The -fvisibility option has been added which allows the default ELFvisibility of all symbols to be set per compilation and the new#pragma GCC visibility preprocessor command allows the setting ofdefault ELF visibility for a region of code. Using-fvisibility=hidden especially in combination with the new-fvisibility-inlines-hidden can yield substantial improvements inoutput binary quality including avoiding PLT indirection overheads,reduction of the exported symbol count by up to 60% (with resultantimprovements to link and load times), better scope for theoptimizer to improve code and up to a 20% reduction in binary size.Using these options correctly yields a binary with a similar symbolcount to a Windows DLL.Perhaps more importantly, this new feature finally allows (withcareful planning) complete avoidance of symbol clashes whenmanually loading shared objects with RTLD_GLOBAL, thus finallysolving problems many projects such as python were forced to useRTLD_LOCAL for (with its resulting issues for C++ correctness). Youcan find more information about using these options at[11]http://gcc.gnu.org/wiki/Visibility.__________________________________________________________________GCC 4.0.1This is the [12]list of problem reports (PRs) from GCC's bug trackingsystem that are known to be fixed in the 4.0.1 release. This list mightnot be complete (that is, it is possible that some PRs that have beenfixed are not listed here).GCC 4.0.2This is the [13]list of problem reports (PRs) from GCC's bug trackingsystem that are known to be fixed in the 4.0.2 release. This list mightnot be complete (that is, it is possible that some PRs that have beenfixed are not listed here).Unfortunately, due to a release engineering failure, this release has aregression on Solaris that will affect some C++ programs. We suggestthat Solaris users apply a [14]patch that corrects the problem. Userswho do not wish to apply the patch should explicitly link C++ programswith the -pthreads option, even if they do not use threads. Thisproblem has been corrected in the current 4.0 branch sources and willnot be present in GCC 4.0.3.GCC 4.0.3Starting with this release, the function getcontext is recognized bythe compiler as having the same semantics as the setjmp function. Inparticular, the compiler will ensure that all registers are dead beforecalling such a function and will emit a warning about the variablesthat may be clobbered after the second return from the function.GCC 4.0.4This is the [15]list of problem reports (PRs) from GCC's bug trackingsystem that are known to be fixed in the 4.0.4 release. This list mightnot be complete (that is, it is possible that some PRs that have beenfixed are not listed here).The 4.0.4 release is provided for those that require a high degree ofbinary compatibility with previous 4.0.x releases. For most users, theGCC team recommends that version 4.1.1 or later be used instead."Please send FSF & GNU inquiries & questions to [16]gnu@gnu.org. Thereare also [17]other ways to contact the FSF.These pages are [18]maintained by the GCC team.For questions related to the use of GCC, please consult these webpages and the [19]GCC manuals. If that fails, the[20]gcc-help@gcc.gnu.org mailing list might help.Please send comments on these web pages and the development of GCC toour developer mailing list at [21]gcc@gnu.org or [22]gcc@gcc.gnu.org.All of our lists have [23]public archives.Copyright (C) Free Software Foundation, Inc., 51 Franklin St, FifthFloor, Boston, MA 02110, USA.Verbatim copying and distribution of this entire article is permittedin any medium, provided this notice is preserved.Last modified 2010-07-10 [24]Valid XHTML 1.0References1. http://gcc.gnu.org/gcc-4.0/changes.html#4.0.42. http://www.cl.cam.ac.uk/~mgk25/ucs/quotes.html3. http://gcc.gnu.org/projects/tree-ssa/4. http://gcc.gnu.org/projects/tree-ssa/vectorization.html5. http://gcc.gnu.org/news/sms.html6. http://people.redhat.com/drepper/dsohowto.pdf7. http://gcc.gnu.org/gcc-4.0/changes.html#visibility8. http://www.codesourcery.com/public/cxx-abi/9. http://gcc.gnu.org/fortran/10. http://gcc.gnu.org/install/11. http://gcc.gnu.org/wiki/Visibility12. http://gcc.gnu.org/bugzilla/buglist.cgi?bug_status=RESOLVED&resolution=FIXED&target_milestone=4.0.113. http://gcc.gnu.org/bugzilla/buglist.cgi?bug_status=RESOLVED&resolution=FIXED&target_milestone=4.0.214. http://gcc.gnu.org/ml/gcc-cvs/2005-09/msg00984.html15. http://gcc.gnu.org/bugzilla/buglist.cgi?bug_status=RESOLVED&resolution=FIXED&target_milestone=4.0.416. mailto:gnu@gnu.org17. http://www.gnu.org/home.html#ContactInfo18. http://gcc.gnu.org/about.html19. http://gcc.gnu.org/onlinedocs/20. mailto:gcc-help@gcc.gnu.org21. mailto:gcc@gnu.org22. mailto:gcc@gcc.gnu.org23. http://gcc.gnu.org/lists.html24. http://validator.w3.org/check/referer======================================================================http://gcc.gnu.org/gcc-3.4/index.htmlGCC 3.4 Release SeriesMay 26, 2006The [1]GNU project and the GCC developers are pleased to announce therelease of GCC 3.4.6.This release is a bug-fix release, containing fixes for regressions inGCC 3.4.4 relative to previous releases of GCC. This is the last of the3.4.x series.The GCC 3.4 release series includes numerous [2]new features,improvements, bug fixes, and other changes, thanks to an [3]amazinggroup of volunteers.Release HistoryGCC 3.4.6March 6, 2006 ([4]changes)GCC 3.4.5November 30, 2005 ([5]changes)GCC 3.4.4May 18, 2005 ([6]changes)GCC 3.4.3November 4, 2004 ([7]changes)GCC 3.4.2September 6, 2004 ([8]changes)GCC 3.4.1July 1, 2004 ([9]changes)GCC 3.4.0April 18, 2004 ([10]changes)References and AcknowledgementsGCC used to stand for the GNU C Compiler, but since the compilersupports several other languages aside from C, it now stands for theGNU Compiler Collection.A list of [11]successful builds is updated as new information becomesavailable.The GCC developers would like to thank the numerous people that havecontributed new features, improvements, bug fixes, and other changes aswell as test results to GCC. This [12]amazing group of volunteers iswhat makes GCC successful.For additional information about GCC please refer to the [13]GCCproject web site or contact the [14]GCC development mailing list.To obtain GCC please use [15]our mirror sites, or [16]our SVN server.Please send FSF & GNU inquiries & questions to [17]gnu@gnu.org. Thereare also [18]other ways to contact the FSF.These pages are [19]maintained by the GCC team.For questions related to the use of GCC, please consult these webpages and the [20]GCC manuals. If that fails, the[21]gcc-help@gcc.gnu.org mailing list might help.Please send comments on these web pages and the development of GCC toour developer mailing list at [22]gcc@gnu.org or [23]gcc@gcc.gnu.org.All of our lists have [24]public archives.Copyright (C) Free Software Foundation, Inc., 51 Franklin St, FifthFloor, Boston, MA 02110, USA.Verbatim copying and distribution of this entire article is permittedin any medium, provided this notice is preserved.Last modified 2010-07-01 [25]Valid XHTML 1.0References1. http://www.gnu.org/2. http://gcc.gnu.org/gcc-3.4/changes.html3. http://gcc.gnu.org/onlinedocs/gcc/Contributors.html4. http://gcc.gnu.org/gcc-3.4/changes.html#3.4.65. http://gcc.gnu.org/gcc-3.4/changes.html#3.4.56. http://gcc.gnu.org/gcc-3.4/changes.html#3.4.47. http://gcc.gnu.org/gcc-3.4/changes.html#3.4.38. http://gcc.gnu.org/gcc-3.4/changes.html#3.4.29. http://gcc.gnu.org/gcc-3.4/changes.html#3.4.110. http://gcc.gnu.org/gcc-3.4/changes.html11. http://gcc.gnu.org/gcc-3.4/buildstat.html12. http://gcc.gnu.org/onlinedocs/gcc/Contributors.html13. http://gcc.gnu.org/index.html14. mailto:gcc@gcc.gnu.org15. http://gcc.gnu.org/mirrors.html16. http://gcc.gnu.org/svn.html17. mailto:gnu@gnu.org18. http://www.gnu.org/home.html#ContactInfo19. http://gcc.gnu.org/about.html20. http://gcc.gnu.org/onlinedocs/21. mailto:gcc-help@gcc.gnu.org22. mailto:gcc@gnu.org23. mailto:gcc@gcc.gnu.org24. http://gcc.gnu.org/lists.html25. http://validator.w3.org/check/referer======================================================================http://gcc.gnu.org/gcc-3.4/changes.htmlGCC 3.4 Release SeriesChanges, New Features, and FixesThe final release in the 3.4 release series is [1]GCC 3.4.6. The seriesis now closed.GCC 3.4 has [2]many improvements in the C++ frontend. Before reportinga bug, please make sure it's really GCC, and not your code, that isbroken.Caveats* GNU Make is now required to build GCC.* With -nostdinc the preprocessor used to ignore both standardinclude paths and include paths contained in environment variables.It was neither documented nor intended that environment variablepaths be ignored, so this has been corrected.* GCC no longer accepts the options -fvolatile, -fvolatile-global and-fvolatile-static. It is unlikely that they worked correctly in any3.x release.* GCC no longer ships <varargs.h>. Use <stdarg.h> instead.* Support for all the systems [3]obsoleted in GCC 3.3 has beenremoved from GCC 3.4. See below for a [4]list of systems which areobsoleted in this release.* GCC now requires an ISO C90 (ANSI C89) C compiler to build. K&R Ccompilers will not work.* The implementation of the [5]MIPS ABIs has changed. As a result,the code generated for certain MIPS targets will not be binarycompatible with earlier releases.* In previous releases, the MIPS port had a fake "hilo" register withthe user-visible name accum. This register has been removed.* The implementation of the [6]SPARC ABIs has changed. As a result,the code generated will not be binary compatible with earlierreleases in certain cases.* The configure option --enable-threads=pthreads has been removed;use --enable-threads=posix instead, which should have the sameeffect.* Code size estimates used by inlining heuristics for C, Objective-C,C++ and Java have been redesigned significantly. As a result theparameters of -finline-insns, --param max-inline-insns-single and--param max-inline-insns-auto need to be reconsidered.* --param max-inline-slope and --param min-inline-insns have beenremoved; they are not needed for the new bottom-up inliningheuristics.* The new unit-at-a-time compilation scheme has several compatibilityissues:+ The order in which functions, variables, and top-level asmstatements are emitted may have changed. Code relying on someparticular ordering needs to be updated. The majority of suchtop-level asm statements can be replaced by sectionattributes.+ Unreferenced static variables and functions are removed. Thismay result in undefined references when an asm statementrefers to the variable/function directly. In that case eitherthe variable/function shall be listed in asm statement operandor in the case of top-level asm statements the attribute usedshall be used to force function/variable to be always outputand considered as a possibly used by unknown code.For variables the attribute is accepted only by GCC 3.4 andnewer, while for earlier versions it is sufficient to useunused to silence warnings about the variables not beingreferenced. To keep code portable across different GCCversions, you can use appropriate preprocessor conditionals.+ Static functions now can use non-standard passing conventionsthat may break asm statements calling functions directly.Again the attribute used shall be used to prevent thisbehavior.As a temporary workaround, -fno-unit-at-a-time can be used, butthis scheme may not be supported by future releases of GCC.* GCC 3.4 automatically places zero-initialized variables in the .bsssection on some operating systems. Versions of GNU Emacs up to (andincluding) 21.3 will not work correctly when using thisoptimization; you can use -fno-zero-initialized-in-bss to disableit.* If GCC 3.4 is configured with --enable-threads=posix (the defaulton most targets that support pthreads) then _REENTRANT will bedefined unconditionally by some libstdc++ headers. C++ code whichrelies on that macro to detect whether multi-threaded code is beingcompiled might change in meaning, possibly resulting in linkererrors for single-threaded programs. Affected users of [7]Boostshould compile single-threaded code with -DBOOST_DISABLE_THREADS.See Bugzilla for [8]more information.General Optimizer Improvements* Usability of the profile feedback and coverage testing has beenimproved.+ Performance of profiled programs has been improved by fasterprofile merging code.+ Better use of the profile feedback for optimization (loopunrolling and loop peeling).+ File locking support allowing fork() calls and parallel runsof profiled programs.+ Coverage file format has been redesigned.+ gcov coverage tool has been improved.+ make profiledbootstrap available to build a faster compiler.Experiments made on i386 hardware showed an 11% speedup on -O0and a 7.5% speedup on -O2 compilation of a [9]large C++testcase.+ New value profiling pass enabled via -fprofile-values+ New value profile transformations pass enabled via -fvpt aimsto optimize some code sequences by exploiting knowledge aboutvalue ranges or other properties of the operands. At themoment a conversion of expensive divisions into cheaperoperations has been implemented.+ New -fprofile-generate and -fprofile-use command-line optionsto simplify the use of profile feedback.* A new unit-at-a-time compilation scheme for C, Objective-C, C++ andJava which is enabled via -funit-at-a-time (and implied by -O2). Inthis scheme a whole file is parsed first and optimized later. Thefollowing basic inter-procedural optimizations are implemented:+ Removal of unreachable functions and variables+ Discovery of local functions (functions with static linkagewhose address is never taken)+ On i386, these local functions use register parameter passingconventions.+ Reordering of functions in topological order of the call graphto enable better propagation of optimizing hints (such as thestack alignments needed by functions) in the back end.+ Call graph based out-of-order inlining heuristics which allowsto limit overall compilation unit growth (--paraminline-unit-growth).Overall, the unit-at-a-time scheme produces a 1.3% improvement forthe SPECint2000 benchmark on the i386 architecture (AMD AthlonCPU).* More realistic code size estimates used by inlining for C,Objective-C, C++ and Java. The growth of large functions can now belimited via --param large-function-insns and --paramlarge-function-growth.* A new cfg-level loop optimizer pass replaces the old loop unrollingpass and adds two other loop transformations -- loop peeling andloop unswitching -- and also uses the profile feedback to limitcode growth. (The three optimizations are enabled by-funroll-loops, -fpeel-loops and -funswitch-loops flags,respectively).The old loop unroller still can be enabled by -fold-unroll-loopsand may produce better code in some cases, especially when thewebizer optimization pass is not run.* A new web construction pass enabled via -fweb (and implied by -O3)improves the quality of register allocation, CSE, first schedulingpass and some other optimization passes by avoiding re-use ofpseudo registers with non-overlapping live ranges. The pass almostalways improves code quality but does make debugging difficult andthus is not enabled by default by -O2The pass is especially effective as cleanup after code duplicationpasses, such as the loop unroller or the tracer.* Experimental implementations of superblock or trace scheduling inthe second scheduling pass can be enabled via-fsched2-use-superblocks and -fsched2-use-traces, respectively.New Languages and Language specific improvementsAda* The Ada front end has been updated to include numerous bug fixesand enhancements. These include:+ Improved project file support+ Additional set of warnings about potential wrong code+ Improved error messages+ Improved code generation+ Improved cross reference information+ Improved inlining+ Better run-time check elimination+ Better error recovery+ More efficient implementation of unbounded strings+ Added features in GNAT.Sockets, GNAT.OS_Lib, GNAT.Debug_Pools,...+ New GNAT.xxxx packages (e.g. GNAT.Strings,GNAT.Exception_Action)+ New pragmas+ New -gnatS switch replacing gnatpsta+ Implementation of new Ada features (in particular limitedwith, limited aggregates)C/Objective-C/C++* Precompiled headers are now supported. Precompiled headers candramatically speed up compilation of some projects. There are someknown defects in the current precompiled header implementation thatwill result in compiler crashes in relatively rare situations.Therefore, precompiled headers should be considered a "technologypreview" in this release. Read the manual for details about how touse precompiled headers.* File handling in the preprocessor has been rewritten. GCC no longergets confused by symlinks and hardlinks, and now has a correctimplementation of #import and #pragma once. These two directiveshave therefore been un-deprecated.* The undocumented extension that allowed C programs to have a labelat the end of a compound statement, which has been deprecated sinceGCC 3.0, has been removed.* The cast-as-lvalue extension has been removed for C++ anddeprecated for C and Objective-C. In particular, code like this:int i;(char) i = 5;or this:char *p;((int *) p)++;is no longer accepted for C++ and will not be accepted for C andObjective-C in a future version.* The conditional-expression-as-lvalue extension has been deprecatedfor C and Objective-C. In particular, code like this:int a, b, c;(a ? b : c) = 2;will not be accepted for C and Objective-C in a future version.* The compound-expression-as-lvalue extension has been deprecated forC and Objective-C. In particular, code like this:int a, b;(a, b) = 2;will not be accepted for C and Objective-C in a future version. Apossible non-intrusive workaround is the following:(*(a, &b)) = 2;* Several [10]built-in functions such as __builtin_popcount forcounting bits, finding the highest and lowest bit in a word, andparity have been added.* The -fwritable-strings option has been deprecated and will beremoved.* Many C math library functions are now recognized as built-ins andoptimized.* The C, C++, and Objective-C compilers can now handle source fileswritten in any character encoding supported by the host C library.The default input character set is taken from the current locale,and may be overridden with the -finput-charset command line option.In the future we will add support for inline encoding markers.C++* G++ is now much closer to full conformance to the ISO/ANSI C++standard. This means, among other things, that a lot of invalidconstructs which used to be accepted in previous versions will nowbe rejected. It is very likely that existing C++ code will need tobe fixed. This document lists some of the most common issues.* A hand-written recursive-descent C++ parser has replaced theYACC-derived C++ parser from previous GCC releases. The new parsercontains much improved infrastructure needed for better parsing ofC++ source codes, handling of extensions, and clean separation(where possible) between proper semantics analysis and parsing. Thenew parser fixes many bugs that were found in the old parser.* You must now use the typename and template keywords to disambiguatedependent names, as required by the C++ standard.struct K {typedef int mytype_t;};template <class T1> struct A {template <class T2> struct B {void callme(void);};template <int N> void bar(void){// Use 'typename' to tell the parser that T1::mytype_t names// a type. This is needed because the name is dependent (in// this case, on template parameter T1).typename T1::mytype_t x;x = 0;}};template <class T> void template_func(void){// Use 'template' to prefix member templates within// dependent types (a has type A<T>, which depends on// the template parameter T).A<T> a;a.template bar<0>();// Use 'template' to tell the parser that B is a nested// template class (dependent on template parameter T), and// 'typename' because the whole A<T>::B<int> is// the name of a type (again, dependent).typename A<T>::template B<int> b;b.callme();}void non_template_func(void){// Outside of any template class or function, no names can be// dependent, so the use of the keyword 'typename' and 'template'// is not needed (and actually forbidden).A<K> a;a.bar<0>();A<K>::B<float> b;b.callme();}* In a template definition, unqualified names will no longer findmembers of a dependent base (as specified by [temp.dep]/3 in theC++ standard). For example,template <typename T> struct B {int m;int n;int f ();int g ();};int n;int g ();template <typename T> struct C : B<T> {void h (){m = 0; // errorf (); // errorn = 0; // ::n is modifiedg (); // ::g is called}};You must make the names dependent, e.g. by prefixing them withthis->. Here is the corrected definition of C<T>::h,template <typename T> void C<T>::h (){this->m = 0;this->f ();this->n = 0this->g ();}As an alternative solution (unfortunately not backwards compatiblewith GCC 3.3), you may use using declarations instead of this->:template <typename T> struct C : B<T> {using B<T>::m;using B<T>::f;using B<T>::n;using B<T>::g;void h (){m = 0;f ();n = 0;g ();}};* In templates, all non-dependent names are now looked up and boundat definition time (while parsing the code), instead of later whenthe template is instantiated. For instance:void foo(int);template <int> struct A {static void bar(void){foo('a');}};void foo(char);int main(){A<0>::bar(); // Calls foo(int), used to call foo(char).}* In an explicit instantiation of a class template, you must useclass or struct before the template-id:template <int N>class A {};template A<0>; // error, not accepted anymoretemplate class A<0>; // OK* The "named return value" and "implicit typename" extensions havebeen removed.* Default arguments in function types have been deprecated and willbe removed.* ARM-style name-injection of friend declarations has been deprecatedand will be removed. For example: struct S { friend void f(); };void g() { f(); } will not be accepted by future versions of G++;instead a declaration of "f" will need to be present outside of thescope of "S".* Covariant returns are implemented for all but varadic functionsthat require an adjustment.* When -pedantic is used, G++ now issues errors about spurioussemicolons. For example,namespace N {}; // Invalid semicolon.void f() {}; // Invalid semicolon.* G++ no longer accepts attributes for a declarator after theinitializer associated with that declarator. For example,X x(1) __attribute__((...));is no longer accepted. Instead, use:X x __attribute__((...)) (1);* Inside the scope of a template class, the name of the class itselfcan be treated as either a class or a template. So GCC used toaccept the class name as argument of type template, and templatetemplate parameter. However this is not C++ standard compliant. Nowthe name is not treated as a valid template template argumentunless you qualify the name by its scope. For example, the codebelow no longer compiles.template <template <class> class TT> class X {};template <class T> class Y {X<Y> x; // Invalid, Y is always a type template parameter.};The valid code for the above example isX< ::Y> x; // Valid.(Notice the space between < and : to prevent GCC to interpret thisas a digraph for [.)* Friend declarations that refer to template specializations arerejected if the template has not already been declared. Forexample,template <typename T>class C {friend void f<> (C&);};is rejected. You must first declare f as a template,template <typename T>void f(T);* In case of friend declarations, every name used in the frienddeclaration must be accessible at the point of that declaration.Previous versions of G++ used to be less strict about this andallowed friend declarations for private class members, for example.See the ISO C++ Standard Committee's [11]defect report #209 fordetails.* Declaration of member functions of class templates as friends aresupported. For example,template <typename T> struct A {void f();};class C {template <typename T> friend void A<T>::f();};* You must use template <> to introduce template specializations, asrequired by the standard. For example,template <typename T>struct S;struct S<int> { };is rejected. You must write,template <> struct S<int> {};* G++ used to accept code like this,struct S {int h();void f(int i = g());int g(int i = h());};This behavior is not mandated by the standard. Now G++ issues anerror about this code. To avoid the error, you must move thedeclaration of g before the declaration of f. The default argumentsfor g must be visible at the point where it is called.* The C++ ABI Section 3.3.3 specifications for the array constructionroutines __cxa_vec_new2 and __cxa_vec_new3 were changed to returnNULL when the allocator argument returns NULL. These changes areincorporated into the libstdc++ runtime library.* Using a name introduced by a typedef in a friend declaration or inan explicit instantiation is now rejected, as specified by the ISOC++ standard.class A;typedef A B;class C {friend class B; // error, no typedef name herefriend B; // error, friend always needs class/struct/enumfriend class A; // OK};template <int> class Q {};typedef Q<0> R;template class R; // error, no typedef name heretemplate class Q<0>; // OK* When allocating an array with a new expression, GCC used to allowparentheses around the type name. This is actually ill-formed andit is now rejected:int* a = new (int)[10]; // error, not accepted anymoreint* a = new int[10]; // OK* When binding an rvalue of class type to a reference, the copyconstructor of the class must be accessible. For instance, considerthe following code:class A{public:A();private:A(const A&); // private copy ctor};A makeA(void);void foo(const A&);void bar(void){foo(A()); // error, copy ctor is not accessiblefoo(makeA()); // error, copy ctor is not accessibleA a1;foo(a1); // OK, a1 is a lvalue}This might be surprising at first sight, especially since mostpopular compilers do not correctly implement this rule ([12]furtherdetails).* When forming a pointer to member or a pointer to member function,access checks for class visibility (public, protected, private) arenow performed using the qualifying scope of the name itself. Thisis better explained with an example:class A{public:void pub_func();protected:void prot_func();private:void priv_func();};class B : public A{public:void foo(){&A::pub_func; // OK, pub_func is accessible through A&A::prot_func; // error, cannot access prot_func through A&A::priv_func; // error, cannot access priv_func through A&B::pub_func; // OK, pub_func is accessible through B&B::prot_func; // OK, can access prot_func through B (within B)&B::priv_func; // error, cannot access priv_func through B}};Runtime Library (libstdc++)* Optimization work:+ Streamlined streambuf, filebuf, separate synched with CStandard I/O streambuf.+ All formatted I/O now uses cached locale information.+ STL optimizations (memory/speed for list, red-black trees asused by sets and maps).+ More use of GCC builtins.+ String optimizations (avoid contention onincrement/decrement-and-test of the reference count in theempty-string object, constructor from input_iteratorsspeedup).* Static linkage size reductions.* Large File Support (files larger than 2 GB on 32-bit systems).* Wide character and variable encoding filebuf work (UTF-8, Unicode).* Generic character traits.* Also support wchar_t specializations on Mac OS 10.3.x, FreeBSD 5.x,Solaris 2.7 and above, AIX 5.x, Irix 6.5.* The allocator class is now standard-conformant, and two additionalextension allocators have been added, mt_alloc andbitmap_allocator.* PCH support: -include bits/stdc++.h (2x compile speedup).* Rewrote __cxa_demangle with support for C++ style allocators.* New debug modes for STL containers and iterators.* Testsuite rewrite: five times as many tests, plus increasinglysophisticated tests, including I/O, MT, multi-locale, wide andnarrow characters.* Use current versions of GNU "autotools" for build/configuration.Objective-C* The Objective-C front end has been updated to include the numerousbug fixes and enhancements previously available only in Apple'sversion of GCC. These include:+ Structured exception (@try... @catch... @finally, @throw) andsynchronization (@synchronized) support. These are accessiblevia the -fobjc-exceptions switch; as of this writing, they mayonly be used in conjunction with -fnext-runtime on Mac OS X10.3 and later. See [13]Options Controlling Objective-CDialect for more information.+ An overhaul of @encode logic. The C99 _Bool and C++ bool typemay now be encoded as 'B'. In addition, the back-end/codegendependencies have been removed.+ An overhaul of message dispatch construction, ensuring thatthe various receiver types (and casts thereof) are handledproperly, and that correct diagnostics are issued.+ Support for "Zero-Link" (-fzero-link) and "Fix-and-Continue"(-freplace-objc-classes) debugging modes, currently availableon Mac OS X 10.3 and later. See [14]Options ControllingObjective-C Dialect for more information.+ Access to optimized runtime entry points (-fno-nil-receivers )on the assumption that message receivers are never nil. Thisis currently available on Mac OS X 10.3 and later. See[15]Options Controlling Objective-C Dialect for moreinformation.Java* Compiling a .jar file will now cause non-.class entries to beautomatically compiled as resources.* libgcj has been ported to Darwin.* Jeff Sturm has adapted Jan Hubicka's call graph optimization codeto gcj.* libgcj has a new gcjlib URL type; this lets URLClassLoader loadcode from shared libraries.* libgcj has been much more completely merged with [16]GNU Classpath.* Class loading is now much more correct; in particular the caller'sclass loader is now used when that is required.* [17]Eclipse 2.x will run out of the box using gij.* Parts of java.nio have been implemented. Direct and indirectbuffers work, as do fundamental file and socket operations.* java.awt has been improved, though it is still not ready forgeneral use.* The HTTP protocol handler now uses HTTP/1.1 and can handle the POSTmethod.* The MinGW port has matured. Enhancements include socket timeoutsupport, thread interruption, improved Runtime.exec() handling andsupport for accented characters in filenames.Fortran* Fortran improvements are listed in the [18]Fortran documentation.New Targets and Target Specific ImprovementsAlpha* Several [19]built-in functions have been added such as__builtin_alpha_zap to allow utilizing the more obscureinstructions of the CPU.* Parameter passing of complex arguments has changed to match the[20]ABI. This change is incompatible with previous GCC versions,but does fix compatibility with the Tru64 compiler and severalcorner cases where GCC was incompatible with itself.ARM* Nicolas Pitre has contributed his hand-coded floating-point supportcode for ARM. It is both significantly smaller and faster than theexisting C-based implementation, even when building applicationsfor Thumb. The arm-elf configuration has been converted to use thenew code.* Support for the Intel's iWMMXt architecture, a second generationXScale processor, has been added. Enabled at run time with the-mcpu=iwmmxt command line switch.* A new ARM target has been added: arm-wince-pe. This is similar tothe arm-pe target, but it defaults to using the APCS32 ABI.* The existing ARM pipeline description has been converted to the usethe [21]DFA processor pipeline model. There is not much change incode performance, but the description is now [22]easier tounderstand.* Support for the Cirrus EP9312 Maverick floating point co-processoradded. Enabled at run time with the -mcpu=ep9312 command lineswitch. Note however that the multilibs to support this chip arecurrently disabled in gcc/config/arm/t-arm-elf, so if you want toenable their production you will have to uncomment the entries inthat file.H8/300* Support for long long has been added.* Support for saveall attribute has been added.* Pavel Pisa contributed hand-written 32-bit-by-32-bit division codefor H8/300H and H8S, which is much faster than the previousimplementation.* A lot of small performance improvements.IA-32/AMD64 (x86-64)* Tuning for K8 (AMD Opteron/Athlon64) core is available via-march=k8 and -mcpu=k8.* Scalar SSE code generation carefully avoids reformatting penalties,hidden dependencies and minimizes the number of uops generated onboth Intel and AMD CPUs.* Vector MMX and SSE operands are now passed in registers to improveperformance and match the argument passing convention used by theIntel C++ Compiler. As a result it is not possible to callfunctions accepting vector arguments compiled by older GCC version.* Conditional jump elimination is now more aggressive on modern CPUs.* The Athlon ports has been converted to use the DFA processorpipeline description.* Optimization of indirect tail calls is now possible in a similarfashion as direct sibcall optimization.* Further small performance improvements.* -m128bit-long-double is now less buggy.* __float128 support in 64-bit compilation.* Support for data structures exceeding 2GB in 64-bit mode.* -mcpu has been renamed to -mtune.IA-64* Tuning code for the Itanium 2 processor has been added. Thegeneration of code tuned for Itanium 2 (option -mtune=itanium2) isenabled by default now. To generate code tuned for Itanium 1 theoption -mtune=itanium1 should be used.* [23]DFA processor pipeline descriptions for the IA-64 processorshave been added. This resulted in about 3% improvement on theSPECInt2000 benchmark for Itanium 2.* Instruction bundling for the IA-64 processors has been rewrittenusing the DFA pipeline hazard recognizer. It resulted in about 60%compiler speedup on the SPECInt2000 C programs.M32R* Support for the M32R/2 processor has been added by Renesas.* Support for an M32R Linux target and PIC code generation has beenadded by Renesas.M68000* Bernardo Innocenti (Develer S.r.l.) has contributed them68k-uclinux target, based on former work done by Paul Dale(SnapGear Inc.). Code generation for the ColdFire processors familyhas been enhanced and extended to support the MCF 53xx and MCF 54xxcores, integrating former work done by Peter Barada (Motorola).MIPSProcessor-specific changes* Support for the RM7000 and RM9000 processors has been added. It canbe selected using the -march compiler option and should work withany MIPS I (mips-*) or MIPS III (mips64-*) configuration.* Support for revision 2 of the MIPS32 ISA has been added. It can beselected with the command-line option -march=mips32r2.* There is a new option, -mfix-sb1, to work around certain SB-1errata.Configuration* It is possible to customize GCC using the following configure-timeoptions:+ --with-arch, which specifies the default value of the -marchoption.+ --with-tune, which specifies the default value of the -mtuneoption.+ --with-abi, which specifies the default ABI.+ --with-float=soft, which tells GCC to use software floatingpoint by default.+ --with-float=hard, which tells GCC to use hardware floatingpoint by default.* A 64-bit GNU/Linux port has been added. The associatedconfigurations are mips64-linux-gnu and mips64el-linux-gnu.* The 32-bit GNU/Linux port now supports Java.* The IRIX 6 configuration now supports the o32 ABI and will buildo32 multilibs by default. This support is compatible with bothbinutils and the SGI tools, but note that several features,including debugging information and DWARF2 exception handling, areonly available when using the GNU assembler. Use of the GNUassembler and linker (version 2.15 or above) is stronglyrecommended.* The IRIX 6 configuration now supports 128-bit long doubles.* There are two new RTEMS-specific configurations, mips-rtems andmipsel-rtems.* There are two new *-elf configurations, mipsisa32r2-elf andmipsisa32r2el-elf.General* Several [24]ABI bugs have been fixed. Unfortunately, these changeswill break binary compatibility with earlier releases.* GCC can now use explicit relocation operators when generating-mabicalls code. This behavior is controlled by -mexplicit-relocsand can have several performance benefits. For example:+ It allows for more optimization of GOT accesses, includingbetter scheduling and redundancy elimination.+ It allows sibling calls to be implemented as jumps.+ n32 and n64 leaf functions can use a call-clobbered globalpointer instead of $28.+ The code to set up $gp can be removed from functions thatdon't need it.* A new option, -mxgot, allows the GOT to be bigger than 64k. Thisoption is equivalent to the assembler's -xgot option and should beused instead of -Wa,-xgot.* Frame pointer elimination is now supported when generating 64-bitMIPS16 code.* Inline block moves have been optimized to take more account ofalignment information.* Many internal changes have been made to the MIPS port, mostly aimedat reducing the reliance on assembler macros.PowerPC* GCC 3.4 releases have a number of fixes for PowerPC and PowerPC64[25]ABI incompatibilities regarding the way parameters are passedduring functions calls. These changes may result in incompatibilitybetween code compiled with GCC 3.3 and GCC 3.4.PowerPC Darwin* Support for shared/dylib gcc libraries has been added. It isenabled by default on powerpc-apple-darwin7.0.0 and up.* Libgcj is enabled by default. On systems older thanpowerpc-apple-darwin7.0.0 you need to install dlcompat.* 128-bit IBM extended precision format support added for longdouble.PowerPC64 GNU/Linux* By default, PowerPC64 GNU/Linux now uses natural alignment ofstructure elements. The old four byte alignment for double, withspecial rules for a struct starting with a double, can be chosenwith -malign-power. This change may result in incompatibilitybetween code compiled with GCC 3.3 and GCC 3.4.* -mabi=altivec is now the default rather than -mabi=no-altivec.* 128-bit IBM extended precision format support added for longdouble.S/390 and zSeries* New command-line options allow to specify the intended executionenvironment for generated code:+ -mesa/-mzarch allows to specify whether to generate coderunning in ESA/390 mode or in z/Architecture mode (this isapplicable to 31-bit code only).+ -march allows to specify a minimum processor architecturelevel (g5, g6, z900, or z990).+ -mtune allows to specify which processor to tune for.* It is possible to customize GCC using the following configure-timeoptions:+ --with-mode, which specifies whether to default to assumingESA/390 or z/Architecture mode.+ --with-arch, which specifies the default value of the -marchoption.+ --with-tune, which specifies the default value of the -mtuneoption.* Support for the z990 processor has been added, and can be selectedusing -march=z990 or -mtune=z990. This includes instructionscheduling tuned for the superscalar instruction pipeline of thez990 processor as well as support for all new instructions providedby the long-displacement facility.* Support to generate 31-bit code optimized for zSeries processors(running in ESA/390 or in z/Architecture mode) has been added. Thiscan be selected using -march=z900 and -mzarch respectively.* Instruction scheduling for the z900 and z990 processors now usesthe DFA pipeline hazard recognizer.* GCC no longer generates code to maintain a stack backchain,previously used to generate stack backtraces for debuggingpurposes. As replacement that does not incur runtime overhead,DWARF-2 call frame information is provided by GCC; this issupported by GDB 6.1. The old behavior can be restored using the-mbackchain option.* The stack frame size of functions may now exceed 2 GB in 64-bitcode.* A port for the 64-bit IBM TPF operating system has been added; theconfiguration is s390x-ibm-tpf. This configuration is supported ascross-compilation target only.* Various changes to improve the generated code have beenimplemented, including:+ GCC now uses the MULTIPLY AND ADD and MULTIPLY AND SUBTRACTinstructions to significantly speed up many floating-pointapplications.+ GCC now uses the ADD LOGICAL WITH CARRY and SUBTRACT LOGICALWITH BORROW instructions to speed up long long arithmetic.+ GCC now uses the SEARCH STRING instruction to implementstrlen().+ In many cases, function call overhead for 31-bit code has beenreduced by placing the literal pool after the function codeinstead of after the function prolog.+ Register 14 is no longer reserved in 64-bit code.+ Handling of global register variables has been improved.SPARC* The option -mflat is deprecated.* Support for large (> 2GB) frames has been added to the 64-bit port.* Several [26]ABI bugs have been fixed. Unfortunately, these changeswill break binary compatibility with earlier releases.* The default debugging format has been switched from STABS toDWARF-2 for 32-bit code on Solaris 7 and later. DWARF-2 is alreadythe default debugging format for 64-bit code on Solaris.SuperH* Support for the SH2E processor has been added. Enabled at run timewith the -m2e command line switch, or at configure time byspecifying sh2e as the machine part of the target triple.V850* Support for the Mitsubishi V850E1 processor has been added. This isa variant of the V850E processor with some additional debugginginstructions.Xtensa* Several ABI bugs have been fixed. Unfortunately, these changesbreak binary compatibility with earlier releases.+ For big-endian processors, the padding of aggregate returnvalues larger than a word has changed. If the size of anaggregate return value is not a multiple of 32 bits, previousversions of GCC inserted padding in the most-significant bytesof the first return value register. Aggregates larger than aword are now padded in the least-significant bytes of the lastreturn value register used. Aggregates smaller than a word arestill padded in the most-significant bytes. The return valuepadding has not changed for little-endian processors.+ Function arguments with 16-byte alignment are now properlyaligned.+ The implementation of the va_list type has changed. A va_listvalue created by va_start from a previous release cannot beused with va_arg from this release, or vice versa.* More processor configuration options for Xtensa processors aresupported:+ the ABS instruction is now optional;+ the ADDX* and SUBX* instructions are now optional;+ an experimental CONST16 instruction can be used to synthesizeconstants instead of loading them from constant pools.These and other Xtensa processor configuration options can nolonger be enabled or disabled by command-line options; theprocessor configuration must be specified by the xtensa-config.hheader file when building GCC. Additionally, the-mno-serialize-volatile option is no longer supported.Obsolete SystemsSupport for a number of older systems has been declared obsolete in GCC3.4. Unless there is activity to revive them, the next release of GCCwill have their sources permanently removed.All configurations of the following processor architectures have beendeclared obsolete:* Mitsubishi D30V, d30v-** AT&T DSP1600 and DSP1610, dsp16xx-** Intel 80960, i960Also, some individual systems have been obsoleted:* ARM Family+ Support for generating code for operation in APCS/26 mode(-mapcs-26).* IBM ESA/390+ "Bigfoot" port, i370-*. (The other port, s390-*, is activelymaintained and supported.)* Intel 386 family+ MOSS, i?86-moss-msdos and i?86-*-moss*+ NCR 3000 running System V r.4, i?86-ncr-sysv4*+ FreeBSD with a.out object format, i?86-*-freebsd*aout* andi?86-*-freebsd2*+ Linux with a.out object format, i?86-linux*aout*+ Linux with libc5, a.k.a. glibc1, i?86-linux*libc1*+ Interix versions before Interix 3, i?86-*-interix+ Mach microkernel, i?86-mach*+ SCO UnixWare with UDK, i?86-*-udk*+ Generic System V releases 1, 2, and 3, i?86-*-sysv[123]*+ VSTa microkernel, i386-*-vsta* Motorola M68000 family+ HPUX, m68k-hp-hpux* and m68000-hp-hpux*+ NetBSD with a.out object format (before NetBSD 1.4),m68k-*-*-netbsd* except m68k-*-*-netbsdelf*+ Generic System V r.4, m68k-*-sysv4** VAX+ Generic VAX, vax-*-* (This is generic VAX only; we have notobsoleted any VAX triples for specific operating systems.)Documentation improvementsOther significant improvements* The build system has undergone several significant cleanups.Subdirectories will only be configured if they are being built, andall subdirectory configures are run from the make command. The toplevel has been autoconfiscated.* Building GCC no longer writes to its source directory. This shouldhelp those wishing to share a read-only source directory over NFSor build from a CD. The exceptions to this feature are if youconfigure with either --enable-maintainer-mode or--enable-generated-files-in-srcdir.* The -W warning option has been renamed to -Wextra, which is moreeasily understood. The older spelling will be retained forbackwards compatibility.* Substantial improvements in compile time have been made,particularly for non-optimizing compilations.__________________________________________________________________GCC 3.4.0Bug FixesA vast number of bugs have been fixed in 3.4.0, too many to publish acomplete list here. [27]Follow this link to query the Bugzilla databasefor the list of over 900 bugs fixed in 3.4.0. This is the list of allbugs marked as resolved and fixed in 3.4.0 that are not flagged as 3.4regressions.__________________________________________________________________GCC 3.4.1Bug FixesThis section lists the problem reports (PRs) from GCC's bug trackingsystem that are known to be fixed in the 3.4.1 release. This list mightnot be complete (that is, it is possible that some PRs that have beenfixed are not listed here).Bootstrap failures* [28]10129 Ada bootstrap fails on PPC-Darwin - invalid assembleremitted - PIC related* [29]14576 [ARM] ICE in libiberty when building gcc-3.4 for arm-elf* [30]14760 A bug in configure.in prevents using both--program-suffix and --program-prefix* [31]14671 [hppa64] bootstrap fails: ICE insave_call_clobbered_regs, in caller_save.c* [32]15093 [alpha][Java] make bootstrap fails to configure libffi onAlpha* [33]15178 Solaris 9/x86 fails linking after stage 3Multi-platform internal compiler errors (ICEs)* [34]12753 (preprocessor) Memory corruption in preprocessor on badinput* [35]13985 ICE in gcc.c-torture/compile/930621-1.c* [36]14810 (c++) tree check failures with invalid code involvingtemplates* [37]14883 (c++) ICE on invalid code, in cp_parser_lookup_name, incp/parser.c* [38]15044 (c++) ICE on syntax error, template header* [39]15057 (c++) Compiling of conditional value throw constructscause a segmentation violation* [40]15064 (c++) typeid of template parameter gives ICE* [41]15142 (c++) ICE when passing a string where a char* is expectedin a throw statement* [42]15159 ICE in rtl_verify_flow_info_1* [43]15165 (c++) ICE in instantiate_template* [44]15193 Unary minus using pointer to V4SF vector causes-fforce-mem to exhaust all memory* [45]15209 (c++) Runs out of memory with packed structs* [46]15227 (c++) Trouble with invalid function definition* [47]15285 (c++) instantiate_type ICE when forming pointer totemplate function* [48]15299 (c++) ICE in resolve_overloaded_unification* [49]15329 (c++) ICE on constructor of member template* [50]15550 ICE in extract_insn, in recog.c* [51]15554 (c++) ICE in tsubst_copy, in cp/pt.c* [52]15640 (c++) ICE on invalid code in arg_assoc, incp/name-lookup.c* [53]15666 [unit-at-a-time] Gcc abort on valid code* [54]15696 (c++) ICE with bad pointer-to-member code* [55]15701 (c++) ICE with friends and template template parameter* [56]15761 ICE in do_SUBST, in combine.c* [57]15829 (c++) ICE on Botan-1.3.13 due to -funroll-loopsAda* [58]14538 All RTEMS targets broken for gnatC front end* [59]12391 missing warning about assigning to an incomplete type* [60]14649 atan(1.0) should not be a constant expression* [61]15004 [unit-at-a-time] no warning for unused paramater instatic function* [62]15749 --pedantic-errors behaves differently from --pedanticwith C-compiler on GNU/LinuxC++ compiler and library* [63]10646 non-const reference is incorrectly matched in a "const T"partial specialization* [64]12077 wcin.rdbuf()->in_avail() return value too high* [65]13598 enc_filebuf doesn't work* [66]14211 const_cast returns lvalue but should be rvalue* [67]14220 num_put::do_put() undesired float/double behavior* [68]14245 problem with user-defined allocators in std::basic_string* [69]14340 libstdc++ Debug mode: failure to convert iterator toconst_iterator* [70]14600 __gnu_cxx::stdio_sync_filebuf should expose internalFILE** [71]14668 no warning anymore for reevaluation of declaration* [72]14775 LFS (large file support) tests missing* [73]14821 Duplicate namespace alias declaration should not conflict* [74]14930 Friend declaration ignored* [75]14932 cannot use offsetof to get offsets of array elements ing++ 3.4.0* [76]14950 [non unit-at-a-time] always_inline does not mix withtemplates and -O0* [77]14962 g++ ignores #pragma redefine_extname* [78]14975 Segfault on low-level write error during imbue* [79]15002 Linewise stream input is unusably slow (std::string slow)* [80]15025 compiler accepts redeclaration of template asnon-template* [81]15046 [arm] Math functions misdetected by cross configuration* [82]15069 a bit test on a variable of enum type is miscompiled* [83]15074 g++ -lsupc++ still links against libstdc++* [84]15083 spurious "statement has no effect" warning* [85]15096 parse error with templates and pointer to const member* [86]15287 combination of operator[] and operator .* fails intemplates* [87]15317 __attribute__ unused in first parameter of constructorgives error* [88]15337 sizeof on incomplete type diagnostic* [89]15361 bitset<>::_Find_next fails* [90]15412 _GLIBCXX_ symbols symbols defined and used in differentnamespaces* [91]15427 valid code results in incomplete type error* [92]15471 Incorrect member pointer offsets in anonymousstructs/unions* [93]15503 nested template problem* [94]15507 compiler hangs while laying out union* [95]15542 operator & and template definitions* [96]15565 SLES9: leading + sign for unsigned int with showpos* [97]15625 friend defined inside a template fails to find staticfunction* [98]15629 Function templates, overloads, and friend name injection* [99]15742 'noreturn' attribute ignored in method of templatefunctions.* [100]15775 Allocator::pointer consistently ignored* [101]15821 Duplicate namespace alias within namespace rejected* [102]15862 'enum yn' fails (confict with undeclared builtin)* [103]15875 rejects pointer to member in template* [104]15877 valid code using templates and anonymous enums isrejected* [105]15947 Puzzling error message for wrong destructor declarationin template class* [106]16020 cannot copy __gnu_debug::bitset* [107]16154 input iterator concept too restrictive* [108]16174 deducing top-level constsJava* [109]14315 Java compiler is not parallel make safeFortran* [110]15151 [g77] incorrect logical i/o in 64-bit modeObjective-C* [111]7993 private variables cannot be shadowed in subclassesOptimization bugs* [112]15228 useless copies of floating point operands* [113]15345 [non-unit-at-a-time] unreferenced nested inlinefunctions not optimized away* [114]15945 Incorrect floating point optimization* [115]15526 ftrapv aborts on 0 * (-1)* [116]14690 Miscompiled POOMA tests* [117]15112 GCC generates code to write to unchanging memoryPreprocessor* [118]15067 Minor glitch in the source of cppMain driver program bugs* [119]1963 collect2 interprets -oldstyle_liblookup as -oldstyle_liblookupx86-specific (Intel/AMD)* [120]15717 Error: can't resolve `L0' {*ABS* section} - `xx' {*UND*section}HPPA-specific* [121]14782 GCC produces an unaligned data access at -O2* [122]14828 FAIL: gcc.c-torture/execute/20030408-1.c execution, -O2* [123]15202 ICE in reload_cse_simplify_operands, in postreload.cIA64-specific* [124]14610 __float80 constants incorrectly emitted* [125]14813 init_array sections are initialized in the wrong order* [126]14857 GCC segfault on duplicated asm statement* [127]15598 Gcc 3.4 ICE on valid code* [128]15653 Gcc 3.4 ICE on valid codeMIPS-specific* [129]15189 wrong filling of delay slot with -march=mips1 -G0-mno-split-addresses -mno-explicit-relocs* [130]15331 Assembler error building gnatlib on IRIX 6.5 with GNU as2.14.91* [131]16144 Bogus reference to __divdf3 when -O1* [132]16176 Miscompilation of unaligned data in MIPS backendPowerPC-specific* [133]11591 ICE in gcc.dg/altivec-5.c* [134]12028 powerpc-eabispe produces bad sCOND operation* [135]14478 rs6000 geu/ltu patterns generate incorrect code* [136]14567 long double and va_arg complex args* [137]14715 Altivec stack layout may overlap gpr save with stacktemps* [138]14902 (libstdc++) Stream checking functions fail when -pthreadoption is used.* [139]14924 Compiler ICE on valid code* [140]14960 -maltivec affects vector return with -mabi=no-altivec* [141]15106 vector varargs failure passing from altivec tonon-altivec code for -m32* [142]16026 ICE in function.c:4804, assign_parms, when -mpowerpc64 &half-word operation* [143]15191 -maltivec -mabi=no-altivec results in mis-aligned lvxand stvx* [144]15662 Segmentation fault when an exception is thrown - even iftry and catch are specifieds390-specific* [145]15054 Bad code due to overlapping stack temporariesSPARC-specific* [146]15783 ICE with union assignment in 64-bit mode* [147]15626 GCC 3.4 emits "ld: warning: relocation error:R_SPARC_UA32"x86-64-specific* [148]14326 boehm-gc hardcodes to 3DNow! prefetch for x86_64* [149]14723 Backported -march=nocona from mainline* [150]15290 __float128 failed to pass to function properlyCygwin/Mingw32-specific* [151]15250 Option -mms-bitfields support on GCC 3.4 is notconformant to MS layout* [152]15551 -mtune=pentium4 -O2 with sjlj EH breaks stack probeworker on windows32 targetsBugs specific to embedded processors* [153]8309 [m68k] -m5200 produces erroneous SImode set of shortvaraible on stack* [154]13250 [SH] Gcc code for rotation clobbers the register, butgcc continues to use the register as if it was not clobbered* [155]13803 [coldfire] movqi operand constraints too restrictiveforTARGET_COLDFIRE* [156]14093 [SH] ICE for code when using -mhitachi option in SH* [157]14457 [m6811hc] ICE with simple c++ source* [158]14542 [m6811hc] ICE on simple source* [159]15100 [SH] cc1plus got hang-up onlibstdc++-v3/testsuite/abi_check.cc* [160]15296 [CRIS] Delayed branch scheduling causing invalid code oncris-** [161]15396 [SH] ICE with -O2 -fPIC* [162]15782 [coldfire] m68k_output_mi_thunk emits wrong code forColdFireTestsuite problems (compiler not affected)* [163]11610 libstdc++ testcases 27_io/* don't work properly remotely* [164]15488 (libstdc++) possibly insufficient file permissions forexecuting test suite* [165]15489 (libstdc++) testsuite_files determined incorrectlyDocumentation bugs* [166]13928 (libstdc++) no whatis info in some man pages generatedby doxygen* [167]14150 Ada documentation out of date* [168]14949 (c++) Need to document method visibility changes* [169]15123 libstdc++-doc: Allocators.3 manpage is empty__________________________________________________________________GCC 3.4.2Bug FixesThis section lists the problem reports (PRs) from GCC's bug trackingsystem that are known to be fixed in the 3.4.2 release. This list mightnot be complete (that is, it is possible that some PRs that have beenfixed are not listed here).Bootstrap failures and issues* [170]16469 [mips-sgi-irix5.3] bootstrap fails inlibstdc++-v3/testsuite* [171]16344 [hppa-linux-gnu] libstdc++'s PCH built byprofiledbootstrap does not work with the built compiler* [172]16842 [Solaris/x86] mkheaders can not find mkheaders.confMulti-platform internal compiler errors (ICEs)* [173]12608 (c++) ICE: expected class 't', have 'x' (error_mark) incp_parser_class_specifier, in cp/parser.c* [174]14492 ICE in loc_descriptor_from_tree, in dwarf2out.c* [175]15461 (c++) ICE due to NRV and inlining* [176]15890 (c++) ICE in c_expand_expr, in c-common.c* [177]16180 ICE: segmentation fault in RTL optimization* [178]16224 (c++) ICE in write_unscoped_name (template/namespace)* [179]16408 ICE: in delete_insn, in cfgrtl.c* [180]16529 (c++) ICE for: namespace-alias shall not be declared asthe name of any other entity* [181]16698 (c++) ICE with exceptions and declaration of __cxa_throw* [182]16706 (c++) ICE in finish_member_declaration, incp/semantics.c* [183]16810 (c++) Legal C++ program with cast gives ICE inbuild_ptrmemfunc* [184]16851 (c++) ICE when throwing a comma expression* [185]16870 (c++) Boost.Spirit causes ICE in tsubst, in cp/pt.c* [186]16904 (c++) ICE in finish_class_member_access_expr, incp/typeck.c* [187]16905 (c++) ICE (segfault) with exceptions* [188]16964 (c++) ICE in cp_parser_class_specifier due toredefinition* [189]17068 (c++) ICE: tree check: expected class 'd', have 'x'(identifier_node) in dependent_template_p, in cp/pt.cPreprocessor bugs* [190]16366 Preprocessor option -remap causes memory corruptionOptimization* [191]15345 unreferenced nested inline functions not optimized away* [192]16590 Incorrect execution when compiling with -O2* [193]16693 Bitwise AND is lost when used within a cast to an enumof the same precision* [194]17078 Jump into if(0) substatement failsProblems in generated debug information* [195]13956 incorrect stabs for nested local variablesC front end bugs* [196]16684 GCC should not warn about redundant redeclarations ofbuilt-insC++ compiler and library* [197]12658 Thread safety problems in locale::global() andlocale::locale()* [198]13092 g++ accepts invalid pointer-to-member conversion* [199]15320 Excessive memory consumption* [200]16246 Incorrect template argument deduction* [201]16273 Memory exhausted when using nested classes and virtualfunctions* [202]16401 ostringstream in gcc 3.4.x very slow for big data* [203]16411 undefined reference to__gnu_cxx::stdio_sync_filebuf<char, std::char_traits<char>>::file()* [204]16489 G++ incorrectly rejects use of a null constant integralexpression as a null constant pointer* [205]16618 offsetof fails with constant member* [206]16637 syntax error reported for valid input code* [207]16717 __attribute__((constructor)) broken in C++* [208]16813 compiler error in DEBUG version of range insertionstd::map::insert* [209]16853 pointer-to-member initialization from incompatible oneaccepted* [210]16889 ambiguity is not detected* [211]16959 Segmentation fault in ios_base::sync_with_stdioJava compiler and library* [212]7587 direct threaded interpreter not thread-safe* [213]16473 ServerSocket accept() leaks file descriptors* [214]16478 Hash synchronization deadlock with finalizersAlpha-specific* [215]10695 ICE in dwarf2out_frame_debug_expr, in dwarf2out.c* [216]16974 could not split insn (ice in final_scan_insn, infinal.c)x86-specific* [217]16298 ICE in output_operand* [218]17113 ICE with SSE2 intrinsicsx86-64 specific* [219]14697 libstdc++ couldn't find 32bit libgcc_sMIPS-specific* [220]15869 [mips64] No NOP after LW (with -mips1 -O0)* [221]16325 [mips64] value profiling clobbers gp on mips* [222]16357 [mipsisa64-elf] ICE copying 7 bytes between externchar[]s* [223]16380 [mips64] Use of uninitialised register after dbraconversion* [224]16407 [mips64] Unaligned access to local variables* [225]16643 [mips64] verify_local_live_at_start ICE aftercrossjumping & cfgcleanupARM-specific* [226]15927 THUMB -O2: strength-reduced iteration variable ends upoff by 1* [227]15948 THUMB: ICE with non-commutative cbranch* [228]17019 THUMB: bad switch statement in md code foraddsi3_cbranch_scratchIA64-specific* [229]16130 ICE on valid code: in bundling, in config/ia64/ia64.c(-mtune=merced)* [230]16142 ICE on valid code: in bundling, in config/ia64/ia64.c(-mtune=itanium)* [231]16278 Gcc failed to build Linux kernel with -mtune=merced* [232]16414 ICE on valid code: typo in comparison of asm_noperandsresult* [233]16445 ICE on valid code: don't count ignored insns* [234]16490 ICE (segfault) while compiling with -fprofile-use* [235]16683 ia64 does not honor SUBTARGET_EXTRA_SPECSPowerPC-specific* [236]16195 (ppc64): Miscompilation of GCC 3.3.x by 3.4.x* [237]16239 ICE on ppc64 (mozilla 1.7 compile, -O1 -fno-exceptionsissue)SPARC-specific* [238]16199 ICE while compiling apache 2.0.49* [239]16416 -m64 doesn't imply -mcpu=v9 anymore* [240]16430 ICE when returning non-C aggregates larger than 16 bytesBugs specific to embedded processors* [241]16379 [m32r] can't output large model function call of memcpy* [242]17093 [m32r] ICE with -msdata=use -O0* [243]17119 [m32r] ICE at switch case 0x8000DJGPP-specific* [244]15928 libstdc++ in 3.4.x doesn't cross-compile for djgppAlpha Tru64-specific* [245]16210 libstdc++ gratuitously omits "long long" I/OTestsuite, documentation issues (compiler is not affected):* [246]15488 (libstdc++) possibly insufficient file permissions forexecuting test suite* [247]16250 ada/doctools runs makeinfo even in release tarball__________________________________________________________________GCC 3.4.3This is the [248]list of problem reports (PRs) from GCC's bug trackingsystem that are known to be fixed in the 3.4.3 release. This list mightnot be complete (that is, it is possible that some PRs that have beenfixed are not listed here).Bootstrap failures* [249]17369 [ia64] Bootstrap failure with binutils-2.15.90.0.1.1* [250]17850 [arm-elf] bootstrap failure - libstdc++ uses strtoldwhen undeclaredInternal compiler errors (ICEs) affecting multiple platforms* [251]13948 (java) GCJ segmentation fault while compiling GL4Java.class files* [252]14492 ICE in loc_descriptor_from_tree, in dwarf2out.c* [253]16301 (c++) ICE when "strong" attribute is attached to a usingdirective* [254]16566 ICE with flexible arrays* [255]17023 ICE with nested functions in parameter declaration* [256]17027 ICE with noreturn function in loop at -O2* [257]17524 ICE in grokdeclarator, in cp/decl.c* [258]17826 (c++) ICE in cp_tree_equalC and optimization bugs* [259]15526 -ftrapv aborts on 0 * (-1)* [260]16999 #ident stopped working* [261]17503 quadratic behaviour in invalid_mode_change_p* [262]17581 Long long arithmetic fails inside a switch/casestatement when compiled with -O2* [263]18129 -fwritable-strings doesn't workC++ compiler and library bugs* [264]10975 incorrect initial ostringstream::tellp()* [265]11722 Unbuffered filebuf::sgetn is slow* [266]14534 Unrecognizing static function as a template parameterwhen its return value is also templated* [267]15172 Copy constructor optimization in aggregateinitialization* [268]15786 Bad error message for frequently occuring error.* [269]16162 Rejects valid member-template-definition* [270]16612 empty basic_strings can't live in shared memory* [271]16715 std::basic_iostream is instantiated when used, eventhough instantiations are already contained in libstdc++* [272]16848 code in /ext/demangle.h appears broken* [273]17132 GCC fails to eliminate function template specializationwhen argument deduction fails* [274]17259 One more _S_leaf incorrectly qualified with _RopeRep::in ropeimpl.h* [275]17327 use of `enumeral_type' in template type unification* [276]17393 "unused variable '._0'" warning with -Wall* [277]17501 Confusion with member templates* [278]17537 g++ not passing -lstdc++ to linker when all command linearguments are libraries* [279]17585 usage of unqualified name of static member from withinclass not allowed* [280]17821 Poor diagnostic for using "." instead of "->"* [281]17829 wrong error: call of overloaded function is ambiguous* [282]17851 Misleading diagnostic for invalid function declarationswith undeclared types* [283]17976 Destructor is called twice* [284]18020 rejects valid definition of enum value in template* [285]18093 bogus conflict in namespace aliasing* [286]18140 C++ parser bug when using >> in templatesFortran* [287]17541 data statements with double precision constants failx86-specific* [288]17853 -O2 ICE for MMX testcaseSPARC-specific* [289]17245 ICE compiling gsl-1.5 statistics/lag1.cDarwin-specific* [290]17167 FATAL:Symbol L_foo$stub already defined.AIX-specific* [291]17277 could not catch an exception when specified -maix64Solaris-specific* [292]17505 <cmath> calls acosf(), ceilf(), and other functionsmissing from system librariesHP/UX specific:* [293]17684 /usr/ccs/bin/ld: Can't create libgcc_s.slARM-specific* [294]17384 ICE with mode attribute on structuresMIPS-specific* [295]17770 No NOP after LWL with -mips1Other embedded target specific* [296]11476 [arc-elf] gcc ICE on newlib's vfprintf.c* [297]14064 [avr-elf] -fdata-sections triggers ICE* [298]14678 [m68hc11-elf] gcc ICE* [299]15583 [powerpc-rtems] powerpc-rtems lacks __USE_INIT_FINI__* [300]15790 [i686-coff] Alignment error building gcc with i686-cofftarget* [301]15886 [SH] Miscompilation with -O2 -fPIC* [302]16884 [avr-elf] [fweb related] bug while initializingvariablesBugs relating to debugger support* [303]13841 missing debug info for _Complex function arguments* [304]15860 [big-endian targets] No DW_AT_location debug info isemitted for formal arguments to a function that uses "register"qualifiersTestsuite issues (compiler not affected)* [305]17465 Testsuite in libffi overrides LD_LIBRARY_PATH* [306]17469 Testsuite in libstdc++ overrides LD_LIBRARY_PATH* [307]18138 [mips-sgi-irix6.5] libgcc_s.so.1 not found by 64-bittestsuiteDocumentation* [308]15498 typo in gcc manual: non-existing locale example en_UK,should be en_GB* [309]15747 [mips-sgi-irix5.3] /bin/sh hangs during bootstrap:document broken shell* [310]16406 USE_LD_AS_NEEDED undocumented__________________________________________________________________GCC 3.4.4This is the [311]list of problem reports (PRs) from GCC's bug trackingsystem that are known to be fixed in the 3.4.4 release. This list mightnot be complete (that is, it is possible that some PRs that have beenfixed are not listed here).__________________________________________________________________GCC 3.4.5This is the [312]list of problem reports (PRs) from GCC's bug trackingsystem that are known to be fixed in the 3.4.5 release. This list mightnot be complete (that is, it is possible that some PRs that have beenfixed are not listed here).Bootstrap issues* [313]24688 sco_math fixincl breaks math.hC compiler bugs* [314]17188 struct Foo { } redefinition* [315]20187 wrong code for ((unsigned char)(unsigned longlong)((a?a:1)&(a*b)))?0:1)* [316]21873 infinite warning loop on bad array initializer* [317]21899 enum definition accepts values to be overriden* [318]22061 ICE in find_function_data, in function.c* [319]22308 Failure to diagnose violation of constraint 6.516p2* [320]22458 ICE on missing brace* [321]22589 ICE casting to long long* [322]24101 Segfault with preprocessed sourceC++ compiler and library bugs* [323]10611 operations on vector mode not recognized in C++* [324]13377 unexpected behavior of namespace usage directive* [325]16002 Strange error message with new parser* [326]17413 local classes as template argument* [327]17609 spurious error message after using keyword* [328]17618 ICE in cp_convert_to_pointer, in cp/cvt.c* [329]18124 ICE with invalid template template parameter* [330]18155 typedef in template declaration not rejected* [331]18177 ICE with const_cast for undeclared variable* [332]18368 C++ error message regression* [333]16378 ICE when returning a copy of a packed member* [334]18466 int ::i; accepted* [335]18512 ICE on invalid usage of template base class* [336]18454 ICE when returning undefined type* [337]18738 typename not allowed with non-dependent qualified name* [338]18803 rejects access to operator() in template* [339]19004 ICE in uses_template_parms, in cp/pt.c* [340]19208 Spurious error about variably modified type* [341]18253 bad error message / ICE for invalid template parameter* [342]19608 ICE after friend function definition in local class* [343]19884 ICE on explicit instantiation of a non-templateconstructor* [344]20153 ICE when C++ template function contains anonymous union* [345]20563 Infinite loop in diagnostic (and ice after errormessage)* [346]20789 ICE with incomplete type in template* [347]21336 Internal compiler error when using custom new operators* [348]21768 ICE in error message due to violation of codingconventions* [349]21853 constness of pointer to data member ignored* [350]21903 Default argument of template function causes acompile-time error* [351]21983 multiple diagnostics* [352]21987 New testsuite failureg++.dg/warn/conversion-function-1.C* [353]22153 ICE on invalid template specialization* [354]22172 Internal compiler error, seg fault.* [355]21286 filebuf::xsgetn vs pipes* [356]22233 ICE with wrong number of template parameters* [357]22508 ICE after invalid operator new* [358]22545 ICE with pointer to class member & user definedconversion operator* [359]23528 Wrong default allocator in ext/hash_map* [360]23550 char_traits requirements/1.cc test bad math* [361]23586 Bad diagnostic for invalid namespace-name* [362]23624 ICE in invert_truthvalue, in fold-const.c* [363]23639 Bad error message: not a member of '<declaration error>'* [364]23797 ICE on typename outside template* [365]23965 Bogus error message: no matching function for call to'foo(<type error>)'* [366]24052 &#`label_decl' not supported by dump_expr#<expressionerror>* [367]24580 virtual base class cause exception not to be caughtProblems in generated debug information* [368]24267 Bad DWARF for altivec vectorsOptimizations issues* [369]17810 ICE in verify_local_live_at_start* [370]17860 Wrong generated code for loop with varying bound* [371]21709 ICE on compile-time complex NaN* [372]21964 broken tail call at -O2 or more* [373]22167 Strange optimization bug when using -Os* [374]22619 Compilation failure for real_const_1.f andreal_const_2.f90* [375]23241 Invalid code generated for comparison of uchar to 255* [376]23478 Miscompilation due to reloading of a var that is alsoused in EH pad* [377]24470 segmentation fault in cc1plus when compiling with -O* [378]24950 ICE in operand_subword_forcePrecompiled headers problems* [379]14400 Cannot compile qt-x11-free-3.3.0* [380]14940 PCH largefile test fails on various platformsPreprocessor bugs* [381]20239 ICE on empty preprocessed input* [382]15220 "gcc -E -MM -MG" reports missing system headers insource directoryTestsuite issues* [383]19275 gcc.dg/20020919-1.c fails with -fpic/-fPIC oni686-pc-linux-gnuAlpha specific* [384]21888 bootstrap failure with linker relaxation enabledARM specific* [385]15342 [arm-linux]: ICE in verify_local_live_at_start* [386]23985 Memory aliasing information incorrect in inlined memcpyColdFile specific* [387]16719 Illegal move of byte into address register causescompiler to ICEHPPA specific* [388]21723 ICE while building libgfortran* [389]21841 -mhp-ld/-mgnu-ld documentationIA-64 specific* [390]23644 IA-64 hardware models and configuration optionsdocumentation error* [391]24718 Shared libgcc not used for linking by defaultM68000 specific* [392]18421 ICE in reload_cse_simplify_operands, in postreload.cMIPS specific* [393]20621 ICE in change_address_1, in emit-rtl.cPowerPC and PowerPC64 specific* [394]18583 error on valid code: const__attribute__((altivec(vector__))) doesn't work in arrays* [395]20191 ICE in reload_cse_simplify_operands* [396]22083 AIX: TARGET_C99_FUNCTIONS is wrongly defined* [397]23070 CALL_V4_CLEAR_FP_ARGS flag not properly set* [398]23404 gij trashes args of functions with more than 8 fp args* [399]23539 C & C++ compiler generating misaligned referencesregardless of compiler flags* [400]24102 floatdisf2_internal2 broken* [401]24465 -mminimal-toc miscompilation of __thread varsSolaris specific* [402]19933 Problem with define of HUGE_VAL in math_c99* [403]21889 Native Solaris assembler cannot grok DTP-relative debugsymbolsSPARC specific* [404]19300 PCH failures on sparc-linux* [405]20301 Assembler labels have a leading "-"* [406]20673 C PCH testsuite assembly comparison failurex86 and x86_64 specific* [407]18582 ICE with arrays of type V2DF* [408]19340 Compilation SEGFAULTs with -O1 -fschedule-insns2-fsched2-use-traces* [409]21716 ICE in reg-stack.c's swap_rtx_condition* [410]24315 amd64 fails -fpeephole2__________________________________________________________________GCC 3.4.6This is the [411]list of problem reports (PRs) from GCC's bug trackingsystem that are known to be fixed in the 3.4.6 release. This list mightnot be complete (that is, it is possible that some PRs that have beenfixed are not listed here).Please send FSF & GNU inquiries & questions to [412]gnu@gnu.org. Thereare also [413]other ways to contact the FSF.These pages are [414]maintained by the GCC team.For questions related to the use of GCC, please consult these webpages and the [415]GCC manuals. If that fails, the[416]gcc-help@gcc.gnu.org mailing list might help.Please send comments on these web pages and the development of GCC toour developer mailing list at [417]gcc@gnu.org or[418]gcc@gcc.gnu.org. All of our lists have [419]public archives.Copyright (C) Free Software Foundation, Inc., 51 Franklin St, FifthFloor, Boston, MA 02110, USA.Verbatim copying and distribution of this entire article is permittedin any medium, provided this notice is preserved.Last modified 2010-07-11 [420]Valid XHTML 1.0References1. http://gcc.gnu.org/gcc-3.4/changes.html#3.4.62. http://gcc.gnu.org/gcc-3.4/changes.html#cplusplus3. http://gcc.gnu.org/gcc-3.3/changes.html#obsolete_systems4. http://gcc.gnu.org/gcc-3.4/changes.html#obsolete_systems5. http://gcc.gnu.org/gcc-3.4/mips-abi.html6. http://gcc.gnu.org/gcc-3.4/sparc-abi.html7. http://www.boost.org/8. http://gcc.gnu.org/bugzilla/show_bug.cgi?id=119539. http://gcc.gnu.org/bugzilla/show_bug.cgi?id=836110. http://gcc.gnu.org/onlinedocs/gcc-3.4.3/gcc/Other-Builtins.html#Other%20Builtins11. http://www.open-std.org/jtc1/sc22/wg21/docs/cwg_closed.html#20912. http://gcc.gnu.org/bugs/#cxx_rvalbind13. http://gcc.gnu.org/onlinedocs/gcc-3.4.3/gcc/Objective-C-Dialect-Options.html14. http://gcc.gnu.org/onlinedocs/gcc-3.4.3/gcc/Objective-C-Dialect-Options.html15. http://gcc.gnu.org/onlinedocs/gcc-3.4.3/gcc/Objective-C-Dialect-Options.html16. http://www.gnu.org/software/classpath/17. http://www.eclipse.org/18. http://gcc.gnu.org/onlinedocs/gcc-3.4.3/g77/News.html19. http://gcc.gnu.org/onlinedocs/gcc-3.4.3/gcc/Alpha-Built-in-Functions.html20. http://h30097.www3.hp.com/docs/base_doc/DOCUMENTATION/V51A_HTML/ARH9MBTE/DTMNPLTN.HTM#normal-argument-list-structure21. http://gcc.gnu.org/onlinedocs/gcc-3.4.3/gccint/Processor-pipeline-description.html22. http://gcc.gnu.org/onlinedocs/gcc-3.4.3/gccint/Comparison-of-the-two-descriptions.html23. http://gcc.gnu.org/onlinedocs/gcc-3.4.3/gccint/Processor-pipeline-description.html24. http://gcc.gnu.org/gcc-3.4/mips-abi.html25. http://gcc.gnu.org/gcc-3.4/powerpc-abi.html26. http://gcc.gnu.org/gcc-3.4/sparc-abi.html27. http://gcc.gnu.org/bugzilla/buglist.cgi?short_desc_type=notregexp&short_desc=%5C%5B3%5C.4.*%5BRr%5Degression&target_milestone=3.4.0&bug_status=RESOLVED&resolution=FIXED28. http://gcc.gnu.org/PR1012929. http://gcc.gnu.org/PR1457630. http://gcc.gnu.org/PR1476031. http://gcc.gnu.org/PR1467132. http://gcc.gnu.org/PR1509333. http://gcc.gnu.org/PR1517834. http://gcc.gnu.org/PR1275335. http://gcc.gnu.org/PR1398536. http://gcc.gnu.org/PR1481037. http://gcc.gnu.org/PR1488338. http://gcc.gnu.org/PR1504439. http://gcc.gnu.org/PR1505740. http://gcc.gnu.org/PR1506441. http://gcc.gnu.org/PR1514242. http://gcc.gnu.org/PR1515943. http://gcc.gnu.org/PR1516544. http://gcc.gnu.org/PR1519345. http://gcc.gnu.org/PR1520946. http://gcc.gnu.org/PR1522747. http://gcc.gnu.org/PR1528548. http://gcc.gnu.org/PR1529949. http://gcc.gnu.org/PR1532950. http://gcc.gnu.org/PR1555051. http://gcc.gnu.org/PR1555452. http://gcc.gnu.org/PR1564053. http://gcc.gnu.org/PR1566654. http://gcc.gnu.org/PR1569655. http://gcc.gnu.org/PR1570156. http://gcc.gnu.org/PR1576157. http://gcc.gnu.org/PR1582958. http://gcc.gnu.org/PR1453859. http://gcc.gnu.org/PR1239160. http://gcc.gnu.org/PR1464961. http://gcc.gnu.org/PR1500462. http://gcc.gnu.org/PR1574963. http://gcc.gnu.org/PR1064664. http://gcc.gnu.org/PR1207765. http://gcc.gnu.org/PR1359866. http://gcc.gnu.org/PR1421167. http://gcc.gnu.org/PR1422068. http://gcc.gnu.org/PR1424569. http://gcc.gnu.org/PR1434070. http://gcc.gnu.org/PR1460071. http://gcc.gnu.org/PR1466872. http://gcc.gnu.org/PR1477573. http://gcc.gnu.org/PR1482174. http://gcc.gnu.org/PR1493075. http://gcc.gnu.org/PR1493276. http://gcc.gnu.org/PR1495077. http://gcc.gnu.org/PR1496278. http://gcc.gnu.org/PR1497579. http://gcc.gnu.org/PR1500280. http://gcc.gnu.org/PR1502581. http://gcc.gnu.org/PR1504682. http://gcc.gnu.org/PR1506983. http://gcc.gnu.org/PR1507484. http://gcc.gnu.org/PR1508385. http://gcc.gnu.org/PR1509686. http://gcc.gnu.org/PR1528787. http://gcc.gnu.org/PR1531788. http://gcc.gnu.org/PR1533789. http://gcc.gnu.org/PR1536190. http://gcc.gnu.org/PR1541291. http://gcc.gnu.org/PR1542792. http://gcc.gnu.org/PR1547193. http://gcc.gnu.org/PR1550394. http://gcc.gnu.org/PR1550795. http://gcc.gnu.org/PR1554296. http://gcc.gnu.org/PR1556597. http://gcc.gnu.org/PR1562598. http://gcc.gnu.org/PR1562999. http://gcc.gnu.org/PR15742100. http://gcc.gnu.org/PR15775101. http://gcc.gnu.org/PR15821102. http://gcc.gnu.org/PR15862103. http://gcc.gnu.org/PR15875104. http://gcc.gnu.org/PR15877105. http://gcc.gnu.org/PR15947106. http://gcc.gnu.org/PR16020107. http://gcc.gnu.org/PR16154108. http://gcc.gnu.org/PR16174109. http://gcc.gnu.org/PR14315110. http://gcc.gnu.org/PR15151111. http://gcc.gnu.org/PR7993112. http://gcc.gnu.org/PR15228113. http://gcc.gnu.org/PR15345114. http://gcc.gnu.org/PR15945115. http://gcc.gnu.org/PR15526116. http://gcc.gnu.org/PR14690117. http://gcc.gnu.org/PR15112118. http://gcc.gnu.org/PR15067119. http://gcc.gnu.org/PR1963120. http://gcc.gnu.org/PR15717121. http://gcc.gnu.org/PR14782122. http://gcc.gnu.org/PR14828123. http://gcc.gnu.org/PR15202124. http://gcc.gnu.org/PR14610125. http://gcc.gnu.org/PR14813126. http://gcc.gnu.org/PR14857127. http://gcc.gnu.org/PR15598128. http://gcc.gnu.org/PR15653129. http://gcc.gnu.org/PR15189130. http://gcc.gnu.org/PR15331131. http://gcc.gnu.org/PR16144132. http://gcc.gnu.org/PR16176133. http://gcc.gnu.org/PR11591134. http://gcc.gnu.org/PR12028135. http://gcc.gnu.org/PR14478136. http://gcc.gnu.org/PR14567137. http://gcc.gnu.org/PR14715138. http://gcc.gnu.org/PR14902139. http://gcc.gnu.org/PR14924140. http://gcc.gnu.org/PR14960141. http://gcc.gnu.org/PR15106142. http://gcc.gnu.org/PR16026143. http://gcc.gnu.org/PR15191144. http://gcc.gnu.org/PR15662145. http://gcc.gnu.org/PR15054146. http://gcc.gnu.org/PR15783147. http://gcc.gnu.org/PR15626148. http://gcc.gnu.org/PR14326149. http://gcc.gnu.org/PR14723150. http://gcc.gnu.org/PR15290151. http://gcc.gnu.org/PR15250152. http://gcc.gnu.org/PR15551153. http://gcc.gnu.org/PR8309154. http://gcc.gnu.org/PR13250155. http://gcc.gnu.org/PR13803156. http://gcc.gnu.org/PR14093157. http://gcc.gnu.org/PR14457158. http://gcc.gnu.org/PR14542159. http://gcc.gnu.org/PR15100160. http://gcc.gnu.org/PR15296161. http://gcc.gnu.org/PR15396162. http://gcc.gnu.org/PR15782163. http://gcc.gnu.org/PR11610164. http://gcc.gnu.org/PR15488165. http://gcc.gnu.org/PR15489166. http://gcc.gnu.org/PR13928167. http://gcc.gnu.org/PR14150168. http://gcc.gnu.org/PR14949169. http://gcc.gnu.org/PR15123170. http://gcc.gnu.org/PR16469171. http://gcc.gnu.org/PR16344172. http://gcc.gnu.org/PR16842173. http://gcc.gnu.org/PR12608174. http://gcc.gnu.org/PR14492175. http://gcc.gnu.org/PR15461176. http://gcc.gnu.org/PR15890177. http://gcc.gnu.org/PR16180178. http://gcc.gnu.org/PR16224179. http://gcc.gnu.org/PR16408180. http://gcc.gnu.org/PR16529181. http://gcc.gnu.org/PR16698182. http://gcc.gnu.org/PR16706183. http://gcc.gnu.org/PR16810184. http://gcc.gnu.org/PR16851185. http://gcc.gnu.org/PR16870186. http://gcc.gnu.org/PR16904187. http://gcc.gnu.org/PR16905188. http://gcc.gnu.org/PR16964189. http://gcc.gnu.org/PR17068190. http://gcc.gnu.org/PR16366191. http://gcc.gnu.org/PR15345192. http://gcc.gnu.org/PR16590193. http://gcc.gnu.org/PR16693194. http://gcc.gnu.org/PR17078195. http://gcc.gnu.org/PR13956196. http://gcc.gnu.org/PR16684197. http://gcc.gnu.org/PR12658198. http://gcc.gnu.org/PR13092199. http://gcc.gnu.org/PR15320200. http://gcc.gnu.org/PR16246201. http://gcc.gnu.org/PR16273202. http://gcc.gnu.org/PR16401203. http://gcc.gnu.org/PR16411204. http://gcc.gnu.org/PR16489205. http://gcc.gnu.org/PR16618206. http://gcc.gnu.org/PR16637207. http://gcc.gnu.org/PR16717208. http://gcc.gnu.org/PR16813209. http://gcc.gnu.org/PR16853210. http://gcc.gnu.org/PR16889211. http://gcc.gnu.org/PR16959212. http://gcc.gnu.org/PR7587213. http://gcc.gnu.org/PR16473214. http://gcc.gnu.org/PR16478215. http://gcc.gnu.org/PR10695216. http://gcc.gnu.org/PR16974217. http://gcc.gnu.org/PR16298218. http://gcc.gnu.org/PR17113219. http://gcc.gnu.org/PR14697220. http://gcc.gnu.org/PR15869221. http://gcc.gnu.org/PR16325222. http://gcc.gnu.org/PR16357223. http://gcc.gnu.org/PR16380224. http://gcc.gnu.org/PR16407225. http://gcc.gnu.org/PR16643226. http://gcc.gnu.org/PR15927227. http://gcc.gnu.org/PR15948228. http://gcc.gnu.org/PR17019229. http://gcc.gnu.org/PR16130230. http://gcc.gnu.org/PR16142231. http://gcc.gnu.org/PR16278232. http://gcc.gnu.org/PR16414233. http://gcc.gnu.org/PR16445234. http://gcc.gnu.org/PR16490235. http://gcc.gnu.org/PR16683236. http://gcc.gnu.org/PR16195237. http://gcc.gnu.org/PR16239238. http://gcc.gnu.org/PR16199239. http://gcc.gnu.org/PR16416240. http://gcc.gnu.org/PR16430241. http://gcc.gnu.org/PR16379242. http://gcc.gnu.org/PR17093243. http://gcc.gnu.org/PR17119244. http://gcc.gnu.org/PR15928245. http://gcc.gnu.org/PR16210246. http://gcc.gnu.org/PR15488247. http://gcc.gnu.org/PR16250248. http://gcc.gnu.org/bugzilla/buglist.cgi?bug_status=RESOLVED&resolution=FIXED&target_milestone=3.4.3249. http://gcc.gnu.org/PR17369250. http://gcc.gnu.org/PR17850251. http://gcc.gnu.org/PR13948252. http://gcc.gnu.org/PR14492253. http://gcc.gnu.org/PR16301254. http://gcc.gnu.org/PR16566255. http://gcc.gnu.org/PR17023256. http://gcc.gnu.org/PR17027257. http://gcc.gnu.org/PR17524258. http://gcc.gnu.org/PR17826259. http://gcc.gnu.org/PR15526260. http://gcc.gnu.org/PR16999261. http://gcc.gnu.org/PR17503262. http://gcc.gnu.org/PR17581263. http://gcc.gnu.org/PR18129264. http://gcc.gnu.org/PR10975265. http://gcc.gnu.org/PR11722266. http://gcc.gnu.org/PR14534267. http://gcc.gnu.org/PR15172268. http://gcc.gnu.org/PR15786269. http://gcc.gnu.org/PR16162270. http://gcc.gnu.org/PR16612271. http://gcc.gnu.org/PR16715272. http://gcc.gnu.org/PR16848273. http://gcc.gnu.org/PR17132274. http://gcc.gnu.org/PR17259275. http://gcc.gnu.org/PR17327276. http://gcc.gnu.org/PR17393277. http://gcc.gnu.org/PR17501278. http://gcc.gnu.org/PR17537279. http://gcc.gnu.org/PR17585280. http://gcc.gnu.org/PR17821281. http://gcc.gnu.org/PR17829282. http://gcc.gnu.org/PR17851283. http://gcc.gnu.org/PR17976284. http://gcc.gnu.org/PR18020285. http://gcc.gnu.org/PR18093286. http://gcc.gnu.org/PR18140287. http://gcc.gnu.org/PR17541288. http://gcc.gnu.org/PR17853289. http://gcc.gnu.org/PR17245290. http://gcc.gnu.org/PR17167291. http://gcc.gnu.org/PR17277292. http://gcc.gnu.org/PR17505293. http://gcc.gnu.org/PR17684294. http://gcc.gnu.org/PR17384295. http://gcc.gnu.org/PR17770296. http://gcc.gnu.org/PR11476297. http://gcc.gnu.org/PR14064298. http://gcc.gnu.org/PR14678299. http://gcc.gnu.org/PR15583300. http://gcc.gnu.org/PR15790301. http://gcc.gnu.org/PR15886302. http://gcc.gnu.org/PR16884303. http://gcc.gnu.org/PR13841304. http://gcc.gnu.org/PR15860305. http://gcc.gnu.org/PR17465306. http://gcc.gnu.org/PR17469307. http://gcc.gnu.org/PR18138308. http://gcc.gnu.org/PR15498309. http://gcc.gnu.org/PR15747310. http://gcc.gnu.org/PR16406311. http://gcc.gnu.org/bugzilla/buglist.cgi?bug_status=RESOLVED&resolution=FIXED&target_milestone=3.4.4312. http://gcc.gnu.org/bugzilla/buglist.cgi?bug_status=RESOLVED&resolution=FIXED&target_milestone=3.4.5313. http://gcc.gnu.org/PR24688314. http://gcc.gnu.org/PR17188315. http://gcc.gnu.org/PR20187316. http://gcc.gnu.org/PR21873317. http://gcc.gnu.org/PR21899318. http://gcc.gnu.org/PR22061319. http://gcc.gnu.org/PR22208320. http://gcc.gnu.org/PR22458321. http://gcc.gnu.org/PR22589322. http://gcc.gnu.org/PR24101323. http://gcc.gnu.org/PR10611324. http://gcc.gnu.org/PR13377325. http://gcc.gnu.org/PR16002326. http://gcc.gnu.org/PR17413327. http://gcc.gnu.org/PR17609328. http://gcc.gnu.org/PR17618329. http://gcc.gnu.org/PR18124330. http://gcc.gnu.org/PR18155331. http://gcc.gnu.org/PR18177332. http://gcc.gnu.org/PR18368333. http://gcc.gnu.org/PR18378334. http://gcc.gnu.org/PR18466335. http://gcc.gnu.org/PR18512336. http://gcc.gnu.org/PR18545337. http://gcc.gnu.org/PR18738338. http://gcc.gnu.org/PR18803339. http://gcc.gnu.org/PR19004340. http://gcc.gnu.org/PR19208341. http://gcc.gnu.org/PR19253342. http://gcc.gnu.org/PR19608343. http://gcc.gnu.org/PR19884344. http://gcc.gnu.org/PR20153345. http://gcc.gnu.org/PR20563346. http://gcc.gnu.org/PR20789347. http://gcc.gnu.org/PR21336348. http://gcc.gnu.org/PR21768349. http://gcc.gnu.org/PR21853350. http://gcc.gnu.org/PR21903351. http://gcc.gnu.org/PR21983352. http://gcc.gnu.org/PR21987353. http://gcc.gnu.org/PR22153354. http://gcc.gnu.org/PR22172355. http://gcc.gnu.org/PR21286356. http://gcc.gnu.org/PR22233357. http://gcc.gnu.org/PR22508358. http://gcc.gnu.org/PR22545359. http://gcc.gnu.org/PR23528360. http://gcc.gnu.org/PR23550361. http://gcc.gnu.org/PR23586362. http://gcc.gnu.org/PR23624363. http://gcc.gnu.org/PR23639364. http://gcc.gnu.org/PR23797365. http://gcc.gnu.org/PR23965366. http://gcc.gnu.org/PR24052367. http://gcc.gnu.org/PR24580368. http://gcc.gnu.org/PR24267369. http://gcc.gnu.org/PR17810370. http://gcc.gnu.org/PR17860371. http://gcc/gnu.org/PR21709372. http://gcc.gnu.org/PR21964373. http://gcc.gnu.org/PR22167374. http://gcc.gnu.org/PR22619375. http://gcc.gnu.org/PR23241376. http://gcc.gnu.org/PR23478377. http://gcc.gnu.org/PR24470378. http://gcc.gnu.org/PR24950379. http://gcc.gnu.org/PR14400380. http://gcc.gnu.org/PR14940381. http://gcc.gnu.org/PR20239382. http://gcc.gnu.org/PR15220383. http://gcc.gnu.org/PR19275384. http://gcc.gnu.org/PR21888385. http://gcc.gnu.org/PR15342386. http://gcc.gnu.org/PR23985387. http://gcc.gnu.org/PR16719388. http://gcc.gnu.org/PR21723389. http://gcc.gnu.org/PR21841390. http://gcc.gnu.org/PR23644391. http://gcc.gnu.org/PR24718392. http://gcc.gnu.org/PR18421393. http://gcc.gnu.org/PR20621394. http://gcc.gnu.org/PR18583395. http://gcc.gnu.org/PR20191396. http://gcc.gnu.org/PR22083397. http://gcc.gnu.org/PR23070398. http://gcc.gnu.org/PR23404399. http://gcc.gnu.org/PR23539400. http://gcc.gnu.org/PR24102401. http://gcc.gnu.org/PR24465402. http://gcc.gnu.org/PR19933403. http://gcc.gnu.org/PR21889404. http://gcc.gnu.org/PR19300405. http://gcc.gnu.org/PR20301406. http://gcc.gnu.org/PR20673407. http://gcc.gnu.org/PR18582408. http://gcc.gnu.org/PR19340409. http://gcc.gnu.org/PR21716410. http://gcc.gnu.org/PR24315411. http://gcc.gnu.org/bugzilla/buglist.cgi?bug_status=RESOLVED&resolution=FIXED&target_milestone=3.4.6412. mailto:gnu@gnu.org413. http://www.gnu.org/home.html#ContactInfo414. http://gcc.gnu.org/about.html415. http://gcc.gnu.org/onlinedocs/416. mailto:gcc-help@gcc.gnu.org417. mailto:gcc@gnu.org418. mailto:gcc@gcc.gnu.org419. http://gcc.gnu.org/lists.html420. http://validator.w3.org/check/referer======================================================================http://gcc.gnu.org/gcc-3.3/index.htmlGCC 3.3 Release SeriesMay 03, 2005The [1]GNU project and the GCC developers are pleased to announce therelease of GCC 3.3.6.This release is a bug-fix release, containing fixes for regressions inGCC 3.3.5 relative to previous releases of GCC.This release is the last of the series 3.3.x.The GCC 3.3 release series includes numerous [2]new features,improvements, bug fixes, and other changes, thanks to an [3]amazinggroup of volunteers.Release HistoryGCC 3.3.6May 3, 2005 ([4]changes)GCC 3.3.5September 30, 2004 ([5]changes)GCC 3.3.4May 31, 2004 ([6]changes)GCC 3.3.3February 14, 2004 ([7]changes)GCC 3.3.2October 16, 2003 ([8]changes)GCC 3.3.1August 8, 2003 ([9]changes)GCC 3.3May 14, 2003 ([10]changes)References and AcknowledgementsGCC used to stand for the GNU C Compiler, but since the compilersupports several other languages aside from C, it now stands for theGNU Compiler Collection.A list of [11]successful builds is updated as new information becomesavailable.The GCC developers would like to thank the numerous people that havecontributed new features, improvements, bug fixes, and other changes aswell as test results to GCC. This [12]amazing group of volunteers iswhat makes GCC successful.For additional information about GCC please refer to the [13]GCCproject web site or contact the [14]GCC development mailing list.To obtain GCC please use [15]our mirror sites, or our CVS server.Please send FSF & GNU inquiries & questions to [16]gnu@gnu.org. Thereare also [17]other ways to contact the FSF.These pages are [18]maintained by the GCC team.For questions related to the use of GCC, please consult these webpages and the [19]GCC manuals. If that fails, the[20]gcc-help@gcc.gnu.org mailing list might help.Please send comments on these web pages and the development of GCC toour developer mailing list at [21]gcc@gnu.org or [22]gcc@gcc.gnu.org.All of our lists have [23]public archives.Copyright (C) Free Software Foundation, Inc., 51 Franklin St, FifthFloor, Boston, MA 02110, USA.Verbatim copying and distribution of this entire article is permittedin any medium, provided this notice is preserved.Last modified 2010-07-01 [24]Valid XHTML 1.0References1. http://www.gnu.org/2. http://gcc.gnu.org/gcc-3.3/changes.html3. http://gcc.gnu.org/onlinedocs/gcc/Contributors.html4. http://gcc.gnu.org/gcc-3.3/changes.html#3.3.65. http://gcc.gnu.org/gcc-3.3/changes.html#3.3.56. http://gcc.gnu.org/gcc-3.3/changes.html#3.3.47. http://gcc.gnu.org/gcc-3.3/changes.html#3.3.38. http://gcc.gnu.org/gcc-3.3/changes.html#3.3.29. http://gcc.gnu.org/gcc-3.3/changes.html#3.3.110. http://gcc.gnu.org/gcc-3.3/changes.html11. http://gcc.gnu.org/gcc-3.3/buildstat.html12. http://gcc.gnu.org/onlinedocs/gcc/Contributors.html13. http://gcc.gnu.org/index.html14. mailto:gcc@gcc.gnu.org15. http://gcc.gnu.org/mirrors.html16. mailto:gnu@gnu.org17. http://www.gnu.org/home.html#ContactInfo18. http://gcc.gnu.org/about.html19. http://gcc.gnu.org/onlinedocs/20. mailto:gcc-help@gcc.gnu.org21. mailto:gcc@gnu.org22. mailto:gcc@gcc.gnu.org23. http://gcc.gnu.org/lists.html24. http://validator.w3.org/check/referer======================================================================http://gcc.gnu.org/gcc-3.3/changes.htmlGCC 3.3 Release SeriesChanges, New Features, and FixesThe latest release in the 3.3 release series is [1]GCC 3.3.6.Caveats* The preprocessor no longer accepts multi-line string literals. Theywere deprecated in 3.0, 3.1, and 3.2.* The preprocessor no longer supports the -A- switch when appearingalone. -A- followed by an assertion is still supported.* Support for all the systems [2]obsoleted in GCC 3.1 has beenremoved from GCC 3.3. See below for a [3]list of systems which areobsoleted in this release.* Checking for null format arguments has been decoupled from the restof the format checking mechanism. Programs which use the formatattribute may regain this functionality by using the new [4]nonnullfunction attribute. Note that all functions for which GCC has abuilt-in format attribute, an appropriate built-in nonnullattribute is also applied.* The DWARF (version 1) debugging format has been deprecated and willbe removed in a future version of GCC. Version 2 of the DWARFdebugging format will continue to be supported for the foreseeablefuture.* The C and Objective-C compilers no longer accept the "Naming Types"extension (typedef foo = bar); it was already unavailable in C++.Code which uses it will need to be changed to use the "typeof"extension instead: typedef typeof(bar) foo. (We have removed thisextension without a period of deprecation because it has caused thecompiler to crash since version 3.0 and no one noticed until veryrecently. Thus we conclude it is not in widespread use.)* The -traditional C compiler option has been removed. It wasdeprecated in 3.1 and 3.2. (Traditional preprocessing remainsavailable.) The <varargs.h> header, used for writing variadicfunctions in traditional C, still exists but will produce an errormessage if used.* GCC 3.3.1 automatically places zero-initialized variables in the.bss section on some operating systems. Versions of GNU Emacs up to(and including) 21.3 will not work correctly when using thisoptimization; you can use -fno-zero-initialized-in-bss to disableit.General Optimizer Improvements* A new scheme for accurately describing processor pipelines, the[5]DFA scheduler, has been added.* Pavel Nejedly, Charles University Prague, has contributed new fileformat used by the edge coverage profiler (-fprofile-arcs).The new format is robust and diagnoses common mistakes whereprofiles from different versions (or compilations) of the programare combined resulting in nonsensical profiles and slow code toproduced with profile feedback. Additionally this format allowsextra data to be gathered. Currently, overall statistics areproduced helping optimizers to identify hot spots of a programglobally replacing the old intra-procedural scheme and resulting inbetter code. Note that the gcov tool from older GCC versions willnot be able to parse the profiles generated by GCC 3.3 and viceversa.* Jan Hubicka, SuSE Labs, has contributed a new superblock formationpass enabled using -ftracer. This pass simplifies the control flowof functions allowing other optimizations to do better job.He also contributed the function reordering pass(-freorder-functions) to optimize function placement using profilefeedback.New Languages and Language specific improvementsC/ObjC/C++* The preprocessor now accepts directives within macro arguments. Itprocesses them just as if they had not been within macro arguments.* The separate ISO and traditional preprocessors have been completelyremoved. The front end handles either type of preprocessed outputif necessary.* In C99 mode preprocessor arithmetic is done in the precision of thetarget's intmax_t, as required by that standard.* The preprocessor can now copy comments inside macros to the outputfile when the macro is expanded. This feature, enabled using the-CC option, is intended for use by applications which placemetadata or directives inside comments, such as lint.* The method of constructing the list of directories to be searchedfor header files has been revised. If a directory named by a -Ioption is a standard system include directory, the option isignored to ensure that the default search order for systemdirectories and the special treatment of system header files arenot defeated.* A few more [6]ISO C99 features now work correctly.* A new function attribute, nonnull, has been added which allowspointer arguments to functions to be specified as requiring anon-null value. The compiler currently uses this information toissue a warning when it detects a null value passed in such anargument slot.* A new type attribute, may_alias, has been added. Accesses toobjects with types with this attribute are not subjected totype-based alias analysis, but are instead assumed to be able toalias any other type of objects, just like the char type.C++* Type based alias analysis has been implemented for C++ aggregatetypes.Objective-C* Generate an error if Objective-C objects are passed by value infunction and method calls.* When -Wselector is used, check the whole list of selectors at theend of compilation, and emit a warning if a @selector() is notknown.* Define __NEXT_RUNTIME__ when compiling for the NeXT runtime.* No longer need to include objc/objc-class.h to compile self callsin class methods (NeXT runtime only).* New -Wundeclared-selector option.* Removed selector bloating which was causing object files to be 10%bigger on average (GNU runtime only).* Using at run time @protocol() objects has been fixed in certainsituations (GNU runtime only).* Type checking has been fixed and improved in many situationsinvolving protocols.Java* The java.sql and javax.sql packages now implement the JDBC 3.0 (JDK1.4) API.* The JDK 1.4 assert facility has been implemented.* The bytecode interpreter is now direct threaded and thus faster.Fortran* Fortran improvements are listed in [7]the Fortran documentation.Ada* Ada tasking now works with glibc 2.3.x threading libraries.New Targets and Target Specific Improvements* The following changes have been made to the HP-PA port:+ The port now defaults to scheduling for the PA8000 series ofprocessors.+ Scheduling support for the PA7300 processor has been added.+ The 32-bit port now supports weak symbols under HP-UX 11.+ The handling of initializers and finalizers has been improvedunder HP-UX 11. The 64-bit port no longer uses collect2.+ Dwarf2 EH support has been added to the 32-bit linux port.+ ABI fixes to correct the passing of small structures by value.* The SPARC, HP-PA, SH4, and x86/pentium ports have been converted touse the DFA processor pipeline description.* The following NetBSD configurations for the SuperH processor familyhave been added:+ SH3, big-endian, sh-*-netbsdelf*+ SH3, little-endian, shle-*-netbsdelf*+ SH5, SHmedia, big-endian, 32-bit default, sh5-*-netbsd*+ SH5, SHmedia, little-endian, 32-bit default, sh5le-*-netbsd*+ SH5, SHmedia, big-endian, 64-bit default, sh64-*-netbsd*+ SH5, SHmedia, little-endian, 64-bit default, sh64le-*-netbsd** The following changes have been made to the IA-32/x86-64 port:+ SSE2 and 3dNOW! intrinsics are now supported.+ Support for thread local storage has been added to the IA-32and x86-64 ports.+ The x86-64 port has been significantly improved.* The following changes have been made to the MIPS port:+ All configurations now accept the -mabi switch. Note that youwill need appropriate multilibs for this option to workproperly.+ ELF configurations will always pass an ABI flag to theassembler, except when the MIPS EABI is selected.+ -mabi=64 no longer selects MIPS IV code.+ The -mcpu option, which was deprecated in 3.1 and 3.2, hasbeen removed from this release.+ -march now changes the core ISA level. In previous releases,it would change the use of processor-specific extensions, butwould leave the core ISA unchanged. For example, mips64-elf-march=r8000 will now generate MIPS IV code.+ Under most configurations, -mipsN now acts as a synonym for-march.+ There are some new preprocessor macros to describe the -marchand -mtune settings. See the documentation of those optionsfor details.+ Support for the NEC VR-Series processors has been added. Thisincludes the 54xx, 5500, and 41xx series.+ Support for the Sandcraft sr71k processor has been added.* The following changes have been made to the S/390 port:+ Support to build the Java runtime libraries has been added.Java is now enabled by default on s390-*-linux* ands390x-*-linux* targets.+ Multilib support for the s390x-*-linux* target has been added;this allows to build 31-bit binaries using the -m31 option.+ Support for thread local storage has been added.+ Inline assembler code may now use the 'Q' constraint tospecify memory operands without index register.+ Various platform-specific performance improvements have beenimplemented; in particular, the compiler now uses the BRANCHON COUNT family of instructions and makes more frequent use ofthe TEST UNDER MASK family of instructions.* The following changes have been made to the PowerPC port:+ Support for IBM Power4 processor added.+ Support for Motorola e500 SPE added.+ Support for AIX 5.2 added.+ Function and Data sections now supported on AIX.+ Sibcall optimizations added.* The support for H8 Tiny is added to the H8/300 port with -mn.Obsolete SystemsSupport for a number of older systems has been declared obsolete in GCC3.3. Unless there is activity to revive them, the next release of GCCwill have their sources permanently removed.All configurations of the following processor architectures have beendeclared obsolete:* Matsushita MN10200, mn10200-*-** Motorola 88000, m88k-*-** IBM ROMP, romp-*-*Also, some individual systems have been obsoleted:* Alpha+ Interix, alpha*-*-interix*+ Linux libc1, alpha*-*-linux*libc1*+ Linux ECOFF, alpha*-*-linux*ecoff** ARM+ Generic a.out, arm*-*-aout*+ Conix, arm*-*-conix*+ "Old ABI," arm*-*-oabi+ StrongARM/COFF, strongarm-*-coff** HPPA (PA-RISC)+ Generic OSF, hppa1.0-*-osf*+ Generic BSD, hppa1.0-*-bsd*+ HP/UX versions 7, 8, and 9, hppa1.[01]-*-hpux[789]*+ HiUX, hppa*-*-hiux*+ Mach Lites, hppa*-*-lites** Intel 386 family+ Windows NT 3.x, i?86-*-win32* MC68000 family+ HP systems, m68000-hp-bsd* and m68k-hp-bsd*+ Sun systems, m68000-sun-sunos*, m68k-sun-sunos*, andm68k-sun-mach*+ AT&T systems, m68000-att-sysv*+ Atari systems, m68k-atari-sysv*+ Motorola systems, m68k-motorola-sysv*+ NCR systems, m68k-ncr-sysv*+ Plexus systems, m68k-plexus-sysv*+ Commodore systems, m68k-cbm-sysv*+ Citicorp TTI, m68k-tti-*+ Unos, m68k-crds-unos*+ Concurrent RTU, m68k-ccur-rtu*+ Linux a.out, m68k-*-linux*aout*+ Linux libc1, m68k-*-linux*libc1*+ pSOS, m68k-*-psos** MIPS+ Generic ECOFF, mips*-*-ecoff*+ SINIX, mips-sni-sysv4+ Orion RTEMS, mips64orion-*-rtems** National Semiconductor 32000+ OpenBSD, ns32k-*-openbsd** POWER (aka RS/6000) and PowerPC+ AIX versions 1, 2, and 3, rs6000-ibm-aix[123]*+ Bull BOSX, rs6000-bull-bosx+ Generic Mach, rs6000-*-mach*+ Generic SysV, powerpc*-*-sysv*+ Linux libc1, powerpc*-*-linux*libc1** Sun SPARC+ Generic a.out, sparc-*-aout*, sparclet-*-aout*,sparclite-*-aout*, and sparc86x-*-aout*+ NetBSD a.out, sparc-*-netbsd*aout*+ Generic BSD, sparc-*-bsd*+ ChorusOS, sparc-*-chorusos*+ Linux a.out, sparc-*-linux*aout*+ Linux libc1, sparc-*-linux*libc1*+ LynxOS, sparc-*-lynxos*+ Solaris on HAL hardware, sparc-hal-solaris2*+ SunOS versions 3 and 4, sparc-*-sunos[34]** NEC V850+ RTEMS, v850-*-rtems** VAX+ VMS, vax-*-vms*Documentation improvementsOther significant improvements* Almost all front-end dependencies in the compiler have beenseparated out into a set of language hooks. This should make addinga new front end clearer and easier.* One effect of removing the separate preprocessor is a smallincrease in the robustness of the compiler in general, and themaintainability of target descriptions. Previously target-specificbuilt-in macros and others, such as __FAST_MATH__, had to behandled with so-called specs that were hard to maintain. Often theywould fail to behave properly when conflicting options weresupplied on the command line, and define macros in the user'snamespace even when strict ISO compliance was requested.Integrating the preprocessor has cleanly solved these issues.* The Makefile suite now supports redirection of make install bymeans of the variable DESTDIR.__________________________________________________________________GCC 3.3Detailed release notes for the GCC 3.3 release follow.Bug Fixesbootstrap failures* [8]10140 cross compiler build failures: missing __mempcpy (DUP:[9]10198,[10]10338)Internal compiler errors (multi-platform)* [11]3581 large string causes segmentation fault in cc1* [12]4382 __builtin_{set,long}jmp with -O3 can crash the compiler* [13]5533 (c++) ICE when processing std::accumulate(begin, end,init, invalid_op)* [14]6387 -fpic -gdwarf-2 -g1 combination gives ICE in dwarf2out* [15]6412 (c++) ICE in retrieve_specialization* [16]6620 (c++) partial template specialization causes an ICE(segmentation fault)* [17]6663 (c++) ICE with attribute aligned* [18]7068 ICE with incomplete types* [19]7083 (c++) ICE using -gstabs with dodgy class derivation* [20]7647 (c++) ICE when data member has the name of the enclosingclass* [21]7675 ICE in fixup_var_refs_1* [22]7718 'complex' template instantiation causes ICE* [23]8116 (c++) ICE in member template function* [24]8358 (ada) Ada compiler accesses freed memory, crashes* [25]8511 (c++) ICE: (hopefully) reproducible cc1plus segmentationfault* [26]8564 (c++) ICE in find_function_data, in function.c* [27]8660 (c++) template overloading ICE in tsubst_expr, in cp/pt.c* [28]8766 (c++) ICE after failed initialization of static templatevariable* [29]8803 ICE in instantiate_virtual_regs_1, in function.c* [30]8846 (c++) ICE after diagnostic if fr_FR@euro locale is set* [31]8906 (c++) ICE (Segmentation fault) when parsing nested-classdefinition* [32]9216 (c++) ICE on missing template parameter* [33]9261 (c++) ICE in arg_assoc, in cp/decl2.c* [34]9263 (fortran) ICE caused by invalid PARAMETER in implied DOloop* [35]9429 (c++) ICE in template instantiation with a pointered newoperator* [36]9516 Internal error when using a big array* [37]9600 (c++) ICE with typedefs in template class* [38]9629 (c++) virtual inheritance segfault* [39]9672 (c++) ICE: Error reporting routines re-entered* [40]9749 (c++) ICE in write_expression on invalid functionprototype* [41]9794 (fortran) ICE: floating point exception during constantfolding* [42]9829 (c++) Missing colon in nested namespace usage causes ICE* [43]9916 (c++) ICE with noreturn function in ?: statement* [44]9936 ICE with local function and variable-length 2d array* [45]10262 (c++) cc1plus crashes with large generated code* [46]10278 (c++) ICE in parser for invalid code* [47]10446 (c++) ICE on definition of nonexistent member function ofnested class in a class template* [48]10451 (c++) ICE in grokdeclarator on spurious mutabledeclaration* [49]10506 (c++) ICE in build_new at cp/init.c with-fkeep-inline-functions and multiple inheritance* [50]10549 (c++) ICE in store_bit_field on bitfields that exceed theprecision of the declared typeOptimization bugs* [51]2001 Inordinately long compile times in reload CSE regs* [52]2391 Exponential compilation time explosion in combine* [53]2960 Duplicate loop conditions even with -Os* [54]4046 redundant conditional branch* [55]6405 Loop-unrolling related performance regressions* [56]6798 very long compile time with large case-statement* [57]6871 const objects shouldn't be moved to .bss* [58]6909 problem w/ -Os on modified loop-2c.c test case* [59]7189 gcc -O2 -Wall does not print ``control reaches end ofnon-void function'' warning* [60]7642 optimization problem with signbit()* [61]8634 incorrect code for inlining of memcpy under -O2* [62]8750 Cygwin prolog generation erroneously emitting __alloca asregular function callC front end* [63]2161 long if-else cascade overflows parser stack* [64]4319 short accepted on typedef'd char* [65]8602 incorrect line numbers in warning messages when usinginline functions* [66]9177 -fdump-translation-unit: C front end deletes function_declAST nodes and breaks debugging dumps* [67]9853 miscompilation of non-constant structure initializerc++ compiler and library* [68]45 legal template specialization code is rejected (DUP:[69]3784)* [70]764 lookup failure: friend operator and dereferencing a pointerand templates (DUP: [71]5116)* [72]2862 gcc accepts invalid explicit instantiation syntax (DUP:2863)* [73]3663 G++ doesn't check access control during templateinstantiation* [74]3797 gcc fails to emit explicit specialization of a templatemember* [75]3948 Two destructors are called when no copy destructor isdefined (ABI change)* [76]4137 Conversion operator within template is not accepted* [77]4361 bogus ambiguity taking the address of a member template* [78]4802 g++ accepts illegal template code (access to privatemember; DUP: [79]5837)* [80]4803 inline function is used but never defined, and g++ doesnot object* [81]5094 Partial specialization cannot be friend?* [82]5730 complex<double>::norm() -- huge slowdown from egcs-2.91.66* [83]6713 Regression wrt 3.0.4: g++ -O2 leads to seg fault at runtime* [84]7015 certain __asm__ constructs rejected* [85]7086 compile time regression (quadratic behavior infixup_var_refs)* [86]7099 G++ doesn't set the noreturn attribute on std::exit andstd::abort* [87]7247 copy constructor missing when inlining enabled (invalidoptimization?)* [88]7441 string array initialization compilation time regressionfrom seconds to minutes* [89]7768 __PRETTY_FUNCTION__ for template destructor is wrong* [90]7804 bad printing of floating point constant in warning message* [91]8099 Friend classes and template specializations* [92]8117 member function pointers and multiple inheritance* [93]8205 using declaration and multiple inheritance* [94]8645 unnecessary non-zero checks in stl_tree.h* [95]8724 explicit destructor call for incomplete class allowed* [96]8805 compile time regression with many member variables* [97]8691 -O3 and -fno-implicit-templates are incompatible* [98]8700 unhelpful error message for binding temp to reference* [99]8724 explicit destructor call for incomplete class allowed* [100]8949 numeric_limits<>::denorm_min() and is_iec559 problems* [101]9016 Failure to consistently constant fold "constant" C++objects* [102]9053 g++ confused about ambiguity of overloaded functiontemplates* [103]9152 undefined virtual thunks* [104]9182 basic_filebuf<> does not report errors in codecvt<>::out* [105]9297 data corruption due to codegen bug (when copying.)* [106]9318 i/ostream::operator>>/<<(streambuf*) broken* [107]9320 Incorrect usage of traits_type::int_type in stdio_filebuf* [108]9400 bogus -Wshadow warning: shadowed declaration of this inlocal classes* [109]9424 i/ostream::operator>>/<<(streambuf*) drops characters* [110]9425 filebuf::pbackfail broken (DUP: [111]9439)* [112]9474 GCC freezes in compiling a weird code mixing <iostream>and <iostream.h>* [113]9548 Incorrect results from setf(ios::fixed) and precision(-1)[114][DR 231]* [115]9555 ostream inserters fail to set badbit on exception* [116]9561 ostream inserters rethrow exception of wrong type* [117]9563 ostream::sentry returns true after a failed preparation* [118]9582 one-definition rule violation in std::allocator* [119]9622 __PRETTY_FUNCTION__ incorrect in template destructors* [120]9683 bug in initialization chains for static const variablesfrom template classes* [121]9791 -Woverloaded-virtual reports hiding of destructor* [122]9817 collate::compare doesn't handle nul characters* [123]9825 filebuf::sputbackc breaks sbumpc* [124]9826 operator>>(basic_istream, basic_string) fails to compilewith custom traits* [125]9924 Multiple using statements for builtin functions notallowed* [126]9946 destructor is not called for temporary object* [127]9964 filebuf::close() sometimes fails to close file* [128]9988 filebuf::overflow writes EOF to file* [129]10033 optimization breaks polymorphic references w/ typeidoperator* [130]10097 filebuf::underflow drops characters* [131]10132 filebuf destructor can throw exceptions* [132]10180 gcc fails to warn about non-inlined function* [133]10199 method parametrized by template does not work everywhere* [134]10300 use of array-new (nothrow) in segfaults on NULL return* [135]10427 Stack corruption with variable-length automatic arraysand virtual destructors* [136]10503 Compilation never stops in fixed_type_or_nullObjective-C* [137]5956 selectors aren't matched properly when added to theselector tableFortran compiler and library* [138]1832 list directed i/o overflow hangs, -fbounds-check doesn'tdetect* [139]3924 g77 generates code that is rejected by GAS if COFF debuginfo requested* [140]5634 doc: explain that configure --prefix=~/... does not work* [141]6367 multiple repeat counts confuse namelist read into array* [142]6491 Logical operations error on logicals when using-fugly-logint* [143]6742 Generation of C++ Prototype for FORTRAN and extern "C"* [144]7113 Failure of g77.f-torture/execute/f90-intrinsic-bit.f -Oson irix6.5* [145]7236 OPEN(...,RECL=nnn,...) without ACCESS='DIRECT' shouldassume a direct access file* [146]7278 g77 "bug"; the executable misbehaves (with -O2-fno-automatic)* [147]7384 DATE_AND_TIME milliseconds field inactive on Windows* [148]7388 Incorrect output with 0-based array of characters* [149]8587 Double complex zero ** double precision number -> NaNinstead of zero* [150]9038 -ffixed-line-length-none -x f77-cpp-input gives: Warning:unknown register name line-length-none* [151]10197 Direct access files not unformatted by defaultJava compiler and library* [152]6005 gcj fails to build rhug on alpha* [153]6389 System.getProperty("") should always throw anIllegalArgumentException* [154]6576 java.util.ResourceBundle.getResource ignores locale* [155]6652 new java.io.File("").getCanonicalFile() throws exception* [156]7060 getMethod() doesn't search super interface* [157]7073 bytecode interpreter gives wrong answer for interfacegetSuperclass()* [158]7180 possible bug injavax.naming.spi.NamingManager.getPlusPath()* [159]7416 java.security startup refs "GNU libgcj.security"* [160]7570 Runtime.exec with null envp: child doesn't inherit parentenv (DUP: [161]7578)* [162]7611 Internal error while compiling libjava with -O* [163]7709 NullPointerException in _Jv_ResolvePoolEntry* [164]7766 ZipInputStream.available returns 0 immediately afterconstruction* [165]7785 Calendar.getTimeInMillis/setTimeInMillis should be public* [166]7786 TimeZone.getDSTSavings() from JDK1.4 not implemented* [167]8142 '$' in class names vs. dlopen 'dynamic string tokens'* [168]8234 ZipInputStream chokes when InputStream.read() returnssmall chunks* [169]8415 reflection bug: exception info for Method* [170]8481 java.Random.nextInt(int) may return negative* [171]8593 Error reading GZIPped files with BufferedReader* [172]8759 java.beans.Introspector has no flushCaches() orflushFromCaches() methods* [173]8997 spin() calls Thread.sleep* [174]9253 on win32, java.io.File.listFiles("C:\\") returns pwdinstead of the root content of C:* [175]9254 java::lang::Object::wait(), threads-win32.cc returnswrong return codes* [176]9271 Severe bias in java.security.SecureRandomAda compiler and library* [177]6767 make gnatlib-shared fails on -laddr2line* [178]9911 gnatmake fails to link when GCC configured with--with-sjlj-exceptions=yes* [179]10020 Can't bootstrap gcc on AIX with Ada enabled* [180]10546 Ada tasking not working on Red Hat 9preprocessor* [181]7029 preprocessor should ignore #warning with -MARM-specific* [182]2903 [arm] Optimization bug with long long arithmetic* [183]7873 arm-linux-gcc fails when assigning address to a bit fieldFreeBSD-specific* [184]7680 float functions undefined in math.h/cmath with #define_XOPEN_SOURCEHP-UX or HP-PA-specific* [185]8705 [HP-PA] ICE in emit_move_insn_1, in expr.c* [186]9986 [HP-UX] Incorrect transformation of fputs_unlocked tofputc_unlocked* [187]10056 [HP-PA] ICE at -O2 when building c++ code from doxygenm68hc11-specific* [188]6744 Bad assembler code generated: reference to pseudoregister z* [189]7361 Internal compiler error in reload_cse_simplify_operands,in reload1.cMIPS-specific* [190]9496 [mips-linux] bug in optimizer?PowerPC-specific* [191]7067 -Os with -mcpu=powerpc optimizes for speed (?) instead ofspace* [192]8480 reload ICEs for LAPACK code on powerpc64-linux* [193]8784 [AIX] Internal compiler error in simplify_gen_subreg* [194]10315 [powerpc] ICE: in extract_insn, in recog.cSPARC-specific* [195]10267 (documentation) Wrong build instructions for*-*-solaris2*x86-specific (Intel/AMD)* [196]7916 ICE in instantiate_virtual_register_1* [197]7926 (c++) i486 instructions in header files make c++ programscrash on i386* [198]8555 ICE in gen_split_1231* [199]8994 ICE with -O -march=pentium4* [200]9426 ICE with -fssa -funroll-loops -fprofile-arcs* [201]9806 ICE in inline assembly with -fPIC flag* [202]10077 gcc -msse2 generates movd to move dwords between xmmregs* [203]10233 64-bit comparison only comparing bottom 32-bits* [204]10286 type-punning doesn't work with __m64 and -O* [205]10308 [x86] ICE with -O -fgcse or -O2__________________________________________________________________GCC 3.3.1Bug FixesThis section lists the problem reports (PRs) from GCC's bug trackingsystem that are known to be fixed in the 3.3.1 release. This list mightnot be complete (that is, it is possible that some PRs that have beenfixed are not listed here).Bootstrap failures* [206]11272 [Solaris] make bootstrap fails while building libstdc++Internal compiler errors (multi-platform)* [207]5754 ICE on invalid nested template class* [208]6597 ICE in set_mem_alias_set compiling Qt with -O2 on ia64and --enable-checking* [209]6949 (c++) ICE in tsubst_decl, in cp/pt.c* [210]7053 (c++) ICE when declaring a function already defined as afriend method of a template class* [211]8164 (c++) ICE when using different const expressions astemplate parameter* [212]8384 (c++) ICE in is_base_type, in dwarf2out.c* [213]9559 (c++) ICE with invalid initialization of a static const* [214]9649 (c++) ICE in finish_member_declaration, in cp/semantics.cwhen redeclaring a static member variable* [215]9864 (fortran) ICE in add_abstract_origin_attribute, indwarfout.c with -g -O -finline-functions* [216]10432 (c++) ICE in poplevel, in cp/decl.c* [217]10475 ICE in subreg_highpart_offset for code with long long* [218]10635 (c++) ICE when dereferencing an incomplete type castedfrom a void pointer* [219]10661 (c++) ICE in instantiate_decl, in cp/pt.c whileinstantiating static member variables* [220]10700 ICE in copy_to_mode_reg on 64-bit targets* [221]10712 (c++) ICE in constructor_name_full, in cp/decl2.c* [222]10796 (c++) ICE when defining an enum with two values: -1 andMAX_INT_64BIT* [223]10890 ICE in merge_assigned_reloads building Linux 2.4.2xsched.c* [224]10939 (c++) ICE with template code* [225]10956 (c++) ICE when specializing a template member functionof a template class, in tsubst, in cp/pt.c* [226]11041 (c++) ICE: const myclass &x = *x; (when operator*()defined)* [227]11059 (c++) ICE with empty union* [228]11083 (c++) ICE in commit_one_edge_insertion, in cfgrtl.c with-O2 -fnon-call-exceptions* [229]11105 (c++) ICE in mangle_conv_op_name_for_type* [230]11149 (c++) ICE on error when instantiation with call functionof a base type* [231]11228 (c++) ICE on new-expression using array operator new anddefault-initialization* [232]11282 (c++) Infinite memory usage after syntax error* [233]11301 (fortran) ICE with -fno-globals* [234]11308 (c++) ICE when using an enum type name as if it were aclass or namespace* [235]11473 (c++) ICE with -gstabs when empty struct inherits froman empty struct* [236]11503 (c++) ICE when instantiating template with ADDR_EXPR* [237]11513 (c++) ICE in push_template_decl_real, in cp/pt.c:template member functionsOptimization bugs* [238]11198 -O2 -frename-registers generates wrong code (aliasingproblem)* [239]11304 Wrong code production with -fomit-frame-pointer* [240]11381 volatile memory access optimized away* [241]11536 [strength-reduce] -O2 optimization produces wrong code* [242]11557 constant folding bug generates wrong codeC front end* [243]5897 No warning for statement after return* [244]11279 DWARF-2 output mishandles large enumsPreprocessor bugs* [245]11022 no warning for non-compatible macro redefinitionC++ compiler and library* [246]2330 static_cast<>() to a private base is allowed* [247]5388 Incorrect message "operands to ?: have different types"* [248]5390 Libiberty fails to demangle multi-digit templateparameters* [249]7877 Incorrect parameter passing to specializations of memberfunction templates* [250]9393 Anonymous namespaces and compiling the same file twice* [251]10032 -pedantic converts some errors to warnings* [252]10468 const typeof(x) is non-const, but only in templates* [253]10527 confused error message with "new int()" parameterinitializer* [254]10679 parameter MIN_INLINE_INSNS is not honored* [255]10682 gcc chokes on a typedef for an enum inside a classtemplate* [256]10689 pow(std::complex(0),1/3) returns (nan, nan) instead of0.* [257]10845 template member function (with nested template asparameter) cannot be called anymore if another unrelated templatemember function is defined* [258]10849 Cannot define an out-of-class specialization of aprivate nested template class* [259]10888 Suppress -Winline warnings for system headers* [260]10929 -Winline warns about functions for which no definitionis visible* [261]10931 valid conversion static_cast<const unsignedint&>(lvalue-of-type-int) is rejected* [262]10940 Bad code with explicit specialization* [263]10968 If member function implicitly instantiated, explicitinstantiation of class fails to instantiate it* [264]10990 Cannot convert with dynamic_cast<> to a private baseclass from within a member function* [265]11039 Bad interaction between implicit typename deprecationand friendship* [266]11062 (libstdc++) avoid __attribute__ ((unused)); say"__unused__" instead* [267]11095 C++ iostream manipulator causes segfault when calledwith negative argument* [268]11098 g++ doesn't emit complete debugging information forlocal variables in destructors* [269]11137 Linux shared library constructors not called unlessthere's one global object* [270]11154 spurious ambiguity report for template classspecialization* [271]11329 Compiler cannot find user defined implicit typecast* [272]11332 Spurious error with casts in ?: expression* [273]11431 static_cast behavior with subclasses when defaultconstructor available* [274]11528 money_get facet does not accept "$.00" as valid* [275]11546 Type lookup problems in out-of-line definition of aclass doubly nested from a template class* [276]11567 C++ code containing templated member function with samename as pure virtual member function results in linking failure* [277]11645 Failure to deal with using and private inheritanceJava compiler and library* [278]5179 Qualified static field access doesn't initialize itsclass* [279]8204 gcj -O2 to native reorders certain instructionsimproperly* [280]10838 java.io.ObjectInputStream syntax error* [281]10886 The RMI registry that comes with GCJ does not workcorrectly* [282]11349 JNDI URL context factories not located correctlyx86-specific (Intel/AMD)* [283]4823 ICE on inline assembly code* [284]8878 miscompilation with -O and SSE* [285]9815 (c++ library) atomicity.h - fails to compile with -O3-masm=intel* [286]10402 (inline assembly) [x86] ICE in merge_assigned_reloads,in reload1.c* [287]10504 ICE with SSE2 code and -O3 -mcpu=pentium4 -msse2* [288]10673 ICE for x86-64 on freebsd libc vfprintf.c source* [289]11044 [x86] out of range loop instructions for FP code on K6* [290]11089 ICE: instantiate_virtual_regs_lossage while using SSEbuilt-ins* [291]11420 [x86_64] gcc generates invalid asm code when "-O -fPIC"is usedSPARC- or Solaris- specific* [292]9362 solaris 'as' dies when fed .s and "-gstabs"* [293]10142 [SPARC64] gcc produces wrong code when passingstructures by value* [294]10663 New configure check aborts with Sun tools.* [295]10835 combinatorial explosion in scheduler on HyperSPARC* [296]10876 ICE in calculate_giv_inc when building KDE* [297]10955 wrong code at -O3 for structure argument in context ofstructure return* [298]11018 -mcpu=ultrasparc busts tar-1.13.25* [299]11556 [sparc64] ICE in gen_reg_rtx() while compiling 2.6.xLinux kernelia64 specific* [300]10907 gcc violates the ia64 ABI (GP must be preserved)* [301]11320 scheduler bug (in machine depended reorganization pass)* [302]11599 bug with conditional and __builtin_prefetchPowerPC specific* [303]9745 [powerpc] gcc mis-compiles libmcrypt (alias problemduring loop)* [304]10871 error in rs6000_stack_info save_size computation* [305]11440 gcc mis-compiles c++ code (libkhtml) with -O2, -fno-gcsecures itm68k-specific* [306]7594 [m68k] ICE on legal code associated with simplify-rtx* [307]10557 [m68k] ICE in subreg_offset_representable_p* [308]11054 [m68k] ICE in reg_overlap_mentioned_pARM-specific* [309]10834 [arm] GCC 3.3 still generates incorrect instructions forfunctions with __attribute__ ((interrupt ("IRQ")))* [310]10842 [arm] Clobbered link register is copied to pc undercertain circumstances* [311]11052 [arm] noce_process_if_block() can lose REG_INC notes* [312]11183 [arm] ICE in change_address_1 (3.3) / subreg_hard_regno(3.4)MIPS-specific* [313]11084 ICE in propagate_one_insn, in flow.cSH-specific* [314]10331 can't compile c++ part of gcc cross compiler for sh-elf* [315]10413 [SH] ICE in reload_cse_simplify_operands, in reload1.c* [316]11096 i686-linux to sh-linux cross compiler fails to compileC++ filesGNU/Linux (or Hurd?) specific* [317]2873 Bogus fixinclude of stdio.h from glibc 2.2.3UnixWare specific* [318]3163 configure bug: gcc/aclocal.m4 mmap test fails on UnixWare7.1.1Cygwin (or mingw) specific* [319]5287 ICE with dllimport attribute* [320]10148 [MingW/CygWin] Compiler dumps coreDJGPP specific* [321]8787 GCC fails to emit .intel_syntax when invoked with-masm=intel on DJGPPDarwin (and MacOS X) specific* [322]10900 trampolines crashDocumentation* [323]1607 (c++) Format attributes on methods undocumented* [324]4252 Invalid option `-fdump-translation-unit'* [325]4490 Clarify restrictions on -m96bit-long-double,-m128bit-long-double* [326]10355 document an issue with regparm attribute on some systems(e.g. Solaris)* [327]10726 (fortran) Documentation for function "IDate Intrinsic(Unix)" is wrong* [328]10805 document bug in old version of Sun assembler* [329]10815 warn against GNU binutils on AIX* [330]10877 document need for newer binutils on i?86-*-linux-gnu* [331]11280 Manual incorrect with respect to -freorder-blocks* [332]11466 Document -mlittle-endian and its restrictions for thesparc64 portTestsuite bugs (compiler itself is not affected)* [333]10737 newer bison causes g++.dg/parse/crash2.C to incorrectlyreport failure* [334]10810 gcc-3.3 fails make check: buffer overrun intest_demangle.c__________________________________________________________________GCC 3.3.2Bug FixesThis section lists the problem reports (PRs) from [335]GCC's bugtracking system that are known to be fixed in the 3.3.2 release. Thislist might not be complete (that is, it is possible that some PRs thathave been fixed are not listed here).Bootstrap failures and problems* [336]8336 [SCO5] bootstrap config still tries to use COFF options* [337]9330 [alpha-osf] Bootstrap failure on Compaq Tru64 with--enable-threads=posix* [338]9631 [hppa64-linux] gcc-3.3 fails to bootstrap* [339]9877 fixincludes makes a bad sys/byteorder.h on svr5 (UnixWare7.1.1)* [340]11687 xstormy16-elf build fails in libf2c* [341]12263 [SGI IRIX] bootstrap fails during compile oflibf2c/libI77/backspace.c* [342]12490 buffer overflow in scan-decls.c (during Solaris 9fix-header processing)Internal compiler errors (multi-platform)* [343]7277 Casting integers to vector types causes ICE* [344]7939 (c++) ICE on invalid function template specialization* [345]11063 (c++) ICE on parsing initialization list of const arraymember* [346]11207 ICE with negative index in array element designator* [347]11522 (fortran) g77 dwarf-2 ICE inadd_abstract_origin_attribute* [348]11595 (c++) ICE on duplicate label definition* [349]11646 (c++) ICE in commit_one_edge_insertion with-fnon-call-exceptions -fgcse -O* [350]11665 ICE in struct initializer when taking address* [351]11852 (c++) ICE with bad struct initializer.* [352]11878 (c++) ICE in cp_expr_size* [353]11883 ICE with any -O on mercury-generated C code* [354]11991 (c++) ICE in cxx_incomplete_type_diagnostic, incp/typeck2.c when applying typeid operator to template templateparameter* [355]12146 ICE in lookup_template_function, in cp/pt.c* [356]12215 ICE in make_label_edge with -fnon-call-exceptions-fno-gcse -O2* [357]12369 (c++) ICE with templates and friends* [358]12446 ICE in emit_move_insn on complicated array reference* [359]12510 ICE in final_scan_insn* [360]12544 ICE with large parameters used in nested functionsC and optimization bugs* [361]9862 spurious warnings with -W -finline-functions* [362]10962 lookup_field is a linear search on a linked list (can beslow if large struct)* [363]11370 -Wunreachable-code gives false complaints* [364]11637 invalid assembly with -fnon-call-exceptions* [365]11885 Problem with bitfields in packed structs* [366]12082 Inappropriate unreachable code warnings* [367]12180 Inline optimization fails for variadic function* [368]12340 loop unroller + gcse produces wrong codeC++ compiler and library* [369]3907 nested template parameter collides with member name* [370]5293 confusing message when binding a temporary to a reference* [371]5296 [DR115] Pointers to functions and to template functionsbehave differently in deduction* [372]7939 ICE on function template specialization* [373]8656 Unable to assign function with __attribute__ and pointerreturn type to an appropriate variable* [374]10147 Confusing error message for invalid template functionargument* [375]11400 std::search_n() makes assumptions about Size parameter* [376]11409 issues with using declarations, overloading, andbuilt-in functions* [377]11740 ctype<wchar_t>::do_is(mask, wchar_t) doesn't handlemultiple bits in mask* [378]11786 operator() call on variable in other namespace notrecognized* [379]11867 static_cast ignores ambiguity* [380]11928 bug with conversion operators that are typedefs* [381]12114 Uninitialized memory accessed in dtor* [382]12163 static_cast + explicit constructor regression* [383]12181 Wrong code with comma operator and c++* [384]12236 regparm and fastcall messes up parameters* [385]12266 incorrect instantiation of unneeded template duringoverload resolution* [386]12296 istream::peek() doesn't set eofbit* [387]12298 [sjlj exceptions] Stack unwind destroysnot-yet-constructed object* [388]12369 ICE with templates and friends* [389]12337 apparently infinite loop in g++* [390]12344 stdcall attribute ignored if function returns a pointer* [391]12451 missing(late) class forward declaration in cxxabi.h* [392]12486 g++ accepts invalid use of a qualified namex86 specific (Intel/AMD)* [393]8869 [x86 MMX] ICE with const variable optimization and MMXbuiltins* [394]9786 ICE in fixup_abnormal_edges with -fnon-call-exceptions-O2* [395]11689 g++3.3 emits un-assembleable code for k6 architecture* [396]12116 [k6] Invalid assembly output values with X-MAME code* [397]12070 ICE converting between double and long double with-msoft-floatia64-specific* [398]11184 [ia64 hpux] ICE on __builtin_apply building libobjc* [399]11535 __builtin_return_address may not work on ia64* [400]11693 [ia64] ICE in gen_nop_type* [401]12224 [ia64] Thread-local storage doesn't workPowerPC-specific* [402]11087 [powerpc64-linux] GCC miscompiles raid1.c from linuxkernel* [403]11319 loop miscompiled on ppc32* [404]11949 ICE Compiler segfault with ffmpeg -maltivec codeSPARC-specific* [405]11662 wrong code for expr. with cast to long long andexclusive or* [406]11965 invalid assembler code for a shift < 32 operation* [407]12301 (c++) stack corruption when a returned expression throwsan exceptionAlpha-specific* [408]11717 [alpha-linux] unrecognizable insn compiling for.c ofkernel 2.4.22-pre8HPUX-specific* [409]11313 problem with #pragma weak and static inline functions* [410]11712 __STDC_EXT__ not defined for C++ by default anymore?Solaris specific* [411]12166 Profiled programs crash if PROFDIR is setSolaris-x86 specific* [412]12101 i386 Solaris no longer works with GNU as?Miscellaneous embedded target-specific bugs* [413]10988 [m32r-elf] wrong blockmove code with -O3* [414]11805 [h8300-unknown-coff] [H8300] ICE for simple code with-O2* [415]11902 [sh4] spec file improperly inserts rpath even when noneneeded* [416]11903 [sh4] -pthread fails to link due to error in spec fileon sh4__________________________________________________________________GCC 3.3.3Minor featuresIn addition to the bug fixes documented below, this release containsfew minor features such as:* Support for --with-sysroot* Support for automatic detection of executable stacks* Support for SSE3 instructions* Support for thread local storage debugging under GDB on S390Bug FixesThis section lists the problem reports (PRs) from [417]GCC's bugtracking system that are known to be fixed in the 3.3.3 release. Thislist might not be complete (that is, it is possible that some PRs thathave been fixed are not listed here).Bootstrap failures and issues* [418]11890 Building cross gcc-3.3.1 for sparc-sun-solaris2.6 fails* [419]12399 boehm-gc fails (when building a cross compiler): libtoolunable to infer tagged configuration* [420]13068 mklibgcc.in doesn't handle multi-level multilibsubdirectories properlyInternal compiler errors (multi-platform)* [421]10060 ICE (stack overflow) on huge file (300k lines) due torecursive behaviour of copy_rtx_if_shared, in emit_rtl.c* [422]10555 (c++) ICE on undefined template argument* [423]10706 (c++) ICE in mangle_class_name_for_template* [424]11496 (fortran) error in flow_loops_find when -funroll-loopsactive* [425]11741 ICE in pre_insert_copy_insn, in gcse.c* [426]12440 GCC crashes during compilation of quicktime4linux 2.0.0* [427]12632 (fortran) -fbounds-check ICE* [428]12712 (c++) ICE on short legit C++ code fragment with gcc3.3.2* [429]12726 (c++) ICE (segfault) on trivial code* [430]12890 (c++) ICE on compilation of class with throwing method* [431]12900 (c++) ICE in rtl_verify_flow_info_1* [432]13060 (fortran) ICE in fixup_var_refs_1, in function.c oncorrect code with -O2 -fno-force-mem* [433]13289 (c++) ICE in regenerate_decl_from_template on recursivetemplate* [434]13318 ICE: floating point exception in the loop optimizer* [435]13392 (c++) ICE in convert_from_eh_region_ranges_1, inexcept.c* [436]13574 (c++) invalid array default initializer in class letsgcc consume all memory and die* [437]13475 ICE on SIMD variables with partial value initialization* [438]13797 (c++) ICE on invalid template parameter* [439]13824 (java) gcj SEGV with simple .java programC and optimization bugs* [440]8776 loop invariants are not removed (most likely)* [441]10339 [sparc,ppc,ppc64] Invalid optimization: replacingstrncmp by memcmp* [442]11350 undefined labels with -Os -fPIC* [443]12826 Optimizer removes reference through volatile pointer* [444]12500 stabs debug info: void no longer a predefined / builtintype* [445]12941 builtin-bitops-1.c miscompilation (latent bug)* [446]12953 tree inliner bug (in inline_forbidden_p) and fix* [447]13041 linux-2.6/sound/core/oss/rate.c miscompiled* [448]13507 spurious printf format warning* [449]13382 Type information for const pointer disappears duringoptimization.* [450]13394 noreturn attribute ignored on recursive invokation* [451]13400 Compiled code crashes storing to read-only location* [452]13521 Endless loop in calculate_global_regs_liveC++ compiler and librarySome of the bug fixes in this list were made to implement decisionsthat the ISO C++ standards committee has made concerning several defectreports (DRs). Links in the list below point to detailed discussion ofthe relevant defect report.* [453]2094 unimplemented: use of `ptrmem_cst' in template typeunification* [454]2294 using declaration confusion* [455]5050 template instantiation depth exceeds limit: recursionproblem?* [456]9371 Bad exception handling ini/ostream::operator>>/<<(streambuf*)* [457]9546 bad exception handling in ostream members* [458]10081 basic_ios::_M_cache_locale leaves NULL members in theface of unknown locales* [459]10093 [460][DR 61] Setting failbit in exceptions doesn't work* [461]10095 istream::operator>>(int&) sets ios::badbit whenios::failbit is set.* [462]11554 Warning about reordering of initializers doesn't mentionlocation of constructor* [463]12297 istream::sentry::sentry() handles eof() incorrectly.* [464]12352 Exception safety problems in src/localename.cc* [465]12438 Memory leak in locale::combine()* [466]12540 Memory leak in locale::locale(const char*)* [467]12594 DRs [468]60 [TC] and [469]63 [TC] not implemented* [470]12657 Resolution of [471]DR 292 (WP) still unimplemented* [472]12696 memory eating infinite loop in diagnostics (errorrecovery problem)* [473]12815 Code compiled with optimization behaves unexpectedly* [474]12862 Conflicts between typedefs/enums and namespace memberdeclarations* [475]12926 Wrong value after assignment in initialize list usingbit-fields* [476]12967 Resolution of [477]DR 300 [WP] still unimplemented* [478]12971 Resolution of [479]DR 328 [WP] still unimplemented* [480]13007 basic_streambuf::pubimbue, imbue wrong* [481]13009 Implicitly-defined assignment operator writes to wrongmemory* [482]13057 regparm attribute not applied to destructor* [483]13070 -Wformat option ignored in g++* [484]13081 forward template declarations in <complex> let inliningfail* [485]13239 Assertion does not seem to work correctly anymore* [486]13262 "xxx is private within this context" when initializing aself-contained template class* [487]13290 simple typo in concept checking for std::generate_n* [488]13323 Template code does not compile in presence of typedef* [489]13369 __verify_grouping (and __add_grouping?) not correct* [490]13371 infinite loop with packed struct and inlining* [491]13445 Template argument replacement "dereferences" a typedef* [492]13461 Fails to access protected-ctor from public constant* [493]13462 Non-standard-conforming type set::pointer* [494]13478 gcc uses wrong constructor to initialize a constreference* [495]13544 "conflicting types" for enums in different scopes* [496]13650 string::compare should not (always) usetraits_type::length()* [497]13683 bogus warning about passing non-PODs through ellipsis* [498]13688 Derived class is denied access to protected base classmember class* [499]13774 Member variable cleared in virtual multiple inheritanceclass* [500]13884 Protect sstream.tcc from extern template useJava compiler and library* [501]10746 [win32] garbage collection crash in GCJObjective-C compiler and library* [502]11433 Crash due to dereferencing null pointer when queryingprotocolFortran compiler and library* [503]12633 logical expression gives incorrect result with-fugly-logint option* [504]13037 [gcse-lm] g77 generates incorrect code* [505]13213 Hex constant problem when compiling with -fugly-logintand -ftypeless-bozx86-specific (Intel/AMD)* [506]4490 ICE with -m128bit-long-double* [507]12292 [x86_64] ICE: RTL check: expected code `const_int', have`reg' in make_field_assignment, in combine.c* [508]12441 ICE: can't find a register to spill* [509]12943 array static-init failure under -fpic, -fPIC* [510]13608 Incorrect code with -O3 -ffast-mathPowerPC-specific* [511]11598 testcase gcc.dg/20020118-1.c fails runtime check of__attribute__((aligned(16)))* [512]11793 ICE in extract_insn, in recog.c (const_vector's)* [513]12467 vmsumubm emitted when vmsummbm appropriate (typo inaltivec.md)* [514]12537 g++ generates writeable text sectionsSPARC-specific* [515]12496 wrong result for __atomic_add(&value, -1) when using -O0-m64* [516]12865 mprotect call to make trampoline executable may fail* [517]13354 ICE in sparc_emit_set_const32ARM-specific* [518]10467 [arm] ICE in pre_insert_copy_insn,ia64-specific* [519]11226 ICE passing struct arg with two floats* [520]11227 ICE for _Complex float, _Complex long double args* [521]12644 GCC 3.3.2 fails to compile glibc on ia64* [522]13149 build gcc-3.3.2 1305 error:unrecognizable insn* Various fixes for libunwindAlpha-specific* [523]12654 Incorrect comparison code generated for Alpha* [524]12965 SEGV+ICE in cc1plus on alpha-linux with -O2* [525]13031 ICE (unrecognizable insn) when building gnome-libs-1.4.2HPPA-specific* [526]11634 [hppa] ICE in verify_local_live_at_start, in flow.c* [527]12158 [hppa] compilation does not terminate at -O1S390-specific* [528]11992 Wrong built-in code for memcmp with length 1<<24: only(1<<24)-1 possible for CLCL-InstructionSH-specific* [529]9365 segfault in gen_far_branch (config/sh/sh.c)* [530]10392 optimizer generates faulty array indexing* [531]11322 SH profiler outputs multiple definitions of symbol* [532]13069 gcc/config/sh/rtems.h broken* [533]13302 Putting a va_list in a struct causes seg fault* [534]13585 Incorrect optimization of call to sfunc* Fix inappropriately exported libgcc functions from the sharedlibraryOther embedded target specific* [535]8916 [mcore] unsigned char assign gets hosed.* [536]11576 [h8300] ICE in change_address_1, in emit-rtl.c* [537]13122 [h8300] local variable gets corrupted by function callwhen -fomit-frame-pointer is given* [538]13256 [cris] strict_low_part mistreated in delay slots* [539]13373 [mcore] optimization with -frerun-cse-after-loop-fexpensive-optimizations produces wrong code on mcoreGNU HURD-specific* [540]12561 gcc/config/t-gnu needs updating to work with--with-sysrootTru64 Unix specific* [541]6243 testsuite fails almost all tests due to no libintl inLD_LIBRARY_PATH during test.* [542]11397 weak aliases broken on Tru64 UNIXAIX-specific* [543]12505 build failure due to defines of uchar in cpphash.h andsys/types.h* [544]13150 WEAK symbols not exported by collect2IRIX-specific* [545]12666 fixincludes problem on IRIX 6.5.19mSolaris-specific* [546]12969 Including sys/byteorder.h breaks configure checksTestsuite problems (compiler is not affected)* [547]10819 testsuite creates CR+LF on compiler version lines intest summary files* [548]11612 abi_check not finding correct libgcc_s.so.1Miscellaneous* [549]13211 using -###, incorrect warnings about unused linker fileare produced__________________________________________________________________GCC 3.3.4This is the [550]list of problem reports (PRs) from GCC's bug trackingsystem that are known to be fixed in the 3.3.4 release. This list mightnot be complete (that is, it is possible that some PRs that have beenfixed are not listed here).__________________________________________________________________GCC 3.3.5This is the [551]list of problem reports (PRs) from GCC's bug trackingsystem that are known to be fixed in the 3.3.5 release. This list mightnot be complete (that is, it is possible that some PRs that have beenfixed are not listed here).__________________________________________________________________GCC 3.3.6This is the [552]list of problem reports (PRs) from GCC's bug trackingsystem that are known to be fixed in the 3.3.6 release. This list mightnot be complete (that is, it is possible that some PRs that have beenfixed are not listed here).Please send FSF & GNU inquiries & questions to [553]gnu@gnu.org. Thereare also [554]other ways to contact the FSF.These pages are [555]maintained by the GCC team.For questions related to the use of GCC, please consult these webpages and the [556]GCC manuals. If that fails, the[557]gcc-help@gcc.gnu.org mailing list might help.Please send comments on these web pages and the development of GCC toour developer mailing list at [558]gcc@gnu.org or[559]gcc@gcc.gnu.org. All of our lists have [560]public archives.Copyright (C) Free Software Foundation, Inc., 51 Franklin St, FifthFloor, Boston, MA 02110, USA.Verbatim copying and distribution of this entire article is permittedin any medium, provided this notice is preserved.Last modified 2010-07-11 [561]Valid XHTML 1.0References1. http://gcc.gnu.org/gcc-3.3/changes.html#3.3.62. http://gcc.gnu.org/gcc-3.1/changes.html#obsolete_systems3. http://gcc.gnu.org/gcc-3.3/changes.html#obsolete_systems4. http://gcc.gnu.org/gcc-3.3/changes.html#nonnull_attribute5. http://gcc.gnu.org/news/dfa.html6. http://gcc.gnu.org/gcc-3.3/c99status.html7. http://gcc.gnu.org/onlinedocs/gcc-3.3.6/g77/News.html8. http://gcc.gnu.org/PR101409. http://gcc.gnu.org/PR1019810. http://gcc.gnu.org/PR1033811. http://gcc.gnu.org/PR358112. http://gcc.gnu.org/PR438213. http://gcc.gnu.org/PR553314. http://gcc.gnu.org/PR638715. http://gcc.gnu.org/PR641216. http://gcc.gnu.org/PR662017. http://gcc.gnu.org/PR666318. http://gcc.gnu.org/PR706819. http://gcc.gnu.org/PR708320. http://gcc.gnu.org/PR764721. http://gcc.gnu.org/PR767522. http://gcc.gnu.org/PR771823. http://gcc.gnu.org/PR811624. http://gcc.gnu.org/PR835825. http://gcc.gnu.org/PR851126. http://gcc.gnu.org/PR856427. http://gcc.gnu.org/PR866028. http://gcc.gnu.org/PR876629. http://gcc.gnu.org/PR880330. http://gcc.gnu.org/PR884631. http://gcc.gnu.org/PR890632. http://gcc.gnu.org/PR921633. http://gcc.gnu.org/PR926134. http://gcc.gnu.org/PR926335. http://gcc.gnu.org/PR942936. http://gcc.gnu.org/PR951637. http://gcc.gnu.org/PR960038. http://gcc.gnu.org/PR962939. http://gcc.gnu.org/PR967240. http://gcc.gnu.org/PR974941. http://gcc.gnu.org/PR979442. http://gcc.gnu.org/PR982943. http://gcc.gnu.org/PR991644. http://gcc.gnu.org/PR993645. http://gcc.gnu.org/PR1026246. http://gcc.gnu.org/PR1027847. http://gcc.gnu.org/PR1044648. http://gcc.gnu.org/PR1045149. http://gcc.gnu.org/PR1050650. http://gcc.gnu.org/PR1054951. http://gcc.gnu.org/PR200152. http://gcc.gnu.org/PR239153. http://gcc.gnu.org/PR296054. http://gcc.gnu.org/PR404655. http://gcc.gnu.org/PR640556. http://gcc.gnu.org/PR679857. http://gcc.gnu.org/PR687158. http://gcc.gnu.org/PR690959. http://gcc.gnu.org/PR718960. http://gcc.gnu.org/PR764261. http://gcc.gnu.org/PR863462. http://gcc.gnu.org/PR875063. http://gcc.gnu.org/PR216164. http://gcc.gnu.org/PR431965. http://gcc.gnu.org/PR860266. http://gcc.gnu.org/PR917767. http://gcc.gnu.org/PR985368. http://gcc.gnu.org/PR4569. http://gcc.gnu.org/PR378470. http://gcc.gnu.org/PR76471. http://gcc.gnu.org/PR511672. http://gcc.gnu.org/PR286273. http://gcc.gnu.org/PR366374. http://gcc.gnu.org/PR379775. http://gcc.gnu.org/PR394876. http://gcc.gnu.org/PR413777. http://gcc.gnu.org/PR436178. http://gcc.gnu.org/PR480279. http://gcc.gnu.org/PR583780. http://gcc.gnu.org/PR480381. http://gcc.gnu.org/PR509482. http://gcc.gnu.org/PR573083. http://gcc.gnu.org/PR671384. http://gcc.gnu.org/PR701585. http://gcc.gnu.org/PR708686. http://gcc.gnu.org/PR709987. http://gcc.gnu.org/PR724788. http://gcc.gnu.org/PR744189. http://gcc.gnu.org/PR776890. http://gcc.gnu.org/PR780491. http://gcc.gnu.org/PR809992. http://gcc.gnu.org/PR811793. http://gcc.gnu.org/PR820594. http://gcc.gnu.org/PR864595. http://gcc.gnu.org/PR872496. http://gcc.gnu.org/PR880597. http://gcc.gnu.org/PR869198. http://gcc.gnu.org/PR870099. http://gcc.gnu.org/PR8724100. http://gcc.gnu.org/PR8949101. http://gcc.gnu.org/PR9016102. http://gcc.gnu.org/PR9053103. http://gcc.gnu.org/PR9152104. http://gcc.gnu.org/PR9182105. http://gcc.gnu.org/PR9297106. http://gcc.gnu.org/PR9318107. http://gcc.gnu.org/PR9320108. http://gcc.gnu.org/PR9400109. http://gcc.gnu.org/PR9424110. http://gcc.gnu.org/PR9425111. http://gcc.gnu.org/PR9439112. http://gcc.gnu.org/PR9474113. http://gcc.gnu.org/PR9548114. http://www.open-std.org/jtc1/sc22/wg21/docs/cwg_defects.html#231115. http://gcc.gnu.org/PR9555116. http://gcc.gnu.org/PR9561117. http://gcc.gnu.org/PR9563118. http://gcc.gnu.org/PR9582119. http://gcc.gnu.org/PR9622120. http://gcc.gnu.org/PR9683121. http://gcc.gnu.org/PR9791122. http://gcc.gnu.org/PR9817123. http://gcc.gnu.org/PR9825124. http://gcc.gnu.org/PR9826125. http://gcc.gnu.org/PR9924126. http://gcc.gnu.org/PR9946127. http://gcc.gnu.org/PR9964128. http://gcc.gnu.org/PR9988129. http://gcc.gnu.org/PR10033130. http://gcc.gnu.org/PR10097131. http://gcc.gnu.org/PR10132132. http://gcc.gnu.org/PR10180133. http://gcc.gnu.org/PR10199134. http://gcc.gnu.org/PR10300135. http://gcc.gnu.org/PR10427136. http://gcc.gnu.org/PR10503137. http://gcc.gnu.org/PR5956138. http://gcc.gnu.org/PR1832139. http://gcc.gnu.org/PR3924140. http://gcc.gnu.org/PR5634141. http://gcc.gnu.org/PR6367142. http://gcc.gnu.org/PR6491143. http://gcc.gnu.org/PR6742144. http://gcc.gnu.org/PR7113145. http://gcc.gnu.org/PR7236146. http://gcc.gnu.org/PR7278147. http://gcc.gnu.org/PR7384148. http://gcc.gnu.org/PR7388149. http://gcc.gnu.org/PR8587150. http://gcc.gnu.org/PR9038151. http://gcc.gnu.org/PR10197152. http://gcc.gnu.org/PR6005153. http://gcc.gnu.org/PR6389154. http://gcc.gnu.org/PR6576155. http://gcc.gnu.org/PR6652156. http://gcc.gnu.org/PR7060157. http://gcc.gnu.org/PR7073158. http://gcc.gnu.org/PR7180159. http://gcc.gnu.org/PR7416160. http://gcc.gnu.org/PR7570161. http://gcc.gnu.org/PR7578162. http://gcc.gnu.org/PR7611163. http://gcc.gnu.org/PR7709164. http://gcc.gnu.org/PR7766165. http://gcc.gnu.org/PR7785166. http://gcc.gnu.org/PR7786167. http://gcc.gnu.org/PR8142168. http://gcc.gnu.org/PR8234169. http://gcc.gnu.org/PR8415170. http://gcc.gnu.org/PR8481171. http://gcc.gnu.org/PR8593172. http://gcc.gnu.org/PR8759173. http://gcc.gnu.org/PR8997174. http://gcc.gnu.org/PR9253175. http://gcc.gnu.org/PR9254176. http://gcc.gnu.org/PR9271177. http://gcc.gnu.org/PR6767178. http://gcc.gnu.org/PR9911179. http://gcc.gnu.org/PR10020180. http://gcc.gnu.org/PR10546181. http://gcc.gnu.org/PR7029182. http://gcc.gnu.org/PR2903183. http://gcc.gnu.org/PR7873184. http://gcc.gnu.org/PR7680185. http://gcc.gnu.org/PR8705186. http://gcc.gnu.org/PR9986187. http://gcc.gnu.org/PR10056188. http://gcc.gnu.org/PR6744189. http://gcc.gnu.org/PR7361190. http://gcc.gnu.org/PR9496191. http://gcc.gnu.org/PR7067192. http://gcc.gnu.org/PR8480193. http://gcc.gnu.org/PR8784194. http://gcc.gnu.org/PR10315195. http://gcc.gnu.org/PR10267196. http://gcc.gnu.org/PR7916197. http://gcc.gnu.org/PR7926198. http://gcc.gnu.org/PR8555199. http://gcc.gnu.org/PR8994200. http://gcc.gnu.org/PR9426201. http://gcc.gnu.org/PR9806202. http://gcc.gnu.org/PR10077203. http://gcc.gnu.org/PR10233204. http://gcc.gnu.org/PR10286205. http://gcc.gnu.org/PR10308206. http://gcc.gnu.org/PR11272207. http://gcc.gnu.org/PR5754208. http://gcc.gnu.org/PR6597209. http://gcc.gnu.org/PR6949210. http://gcc.gnu.org/PR7053211. http://gcc.gnu.org/PR8164212. http://gcc.gnu.org/PR8384213. http://gcc.gnu.org/PR9559214. http://gcc.gnu.org/PR9649215. http://gcc.gnu.org/PR9864216. http://gcc.gnu.org/PR10432217. http://gcc.gnu.org/PR10475218. http://gcc.gnu.org/PR10635219. http://gcc.gnu.org/PR10661220. http://gcc.gnu.org/PR10700221. http://gcc.gnu.org/PR10712222. http://gcc.gnu.org/PR10796223. http://gcc.gnu.org/PR10890224. http://gcc.gnu.org/PR10939225. http://gcc.gnu.org/PR10956226. http://gcc.gnu.org/PR11041227. http://gcc.gnu.org/PR11059228. http://gcc.gnu.org/PR11083229. http://gcc.gnu.org/PR11105230. http://gcc.gnu.org/PR11149231. http://gcc.gnu.org/PR11228232. http://gcc.gnu.org/PR11282233. http://gcc.gnu.org/PR11301234. http://gcc.gnu.org/PR11308235. http://gcc.gnu.org/PR11473236. http://gcc.gnu.org/PR11503237. http://gcc.gnu.org/PR11513238. http://gcc.gnu.org/PR11198239. http://gcc.gnu.org/PR11304240. http://gcc.gnu.org/PR11381241. http://gcc.gnu.org/PR11536242. http://gcc.gnu.org/PR11557243. http://gcc.gnu.org/PR5897244. http://gcc.gnu.org/PR11279245. http://gcc.gnu.org/PR11022246. http://gcc.gnu.org/PR2330247. http://gcc.gnu.org/PR5388248. http://gcc.gnu.org/PR5390249. http://gcc.gnu.org/PR7877250. http://gcc.gnu.org/PR9393251. http://gcc.gnu.org/PR10032252. http://gcc.gnu.org/PR10468253. http://gcc.gnu.org/PR10527254. http://gcc.gnu.org/PR10679255. http://gcc.gnu.org/PR10682256. http://gcc.gnu.org/PR10689257. http://gcc.gnu.org/PR10845258. http://gcc.gnu.org/PR10849259. http://gcc.gnu.org/PR10888260. http://gcc.gnu.org/PR10929261. http://gcc.gnu.org/PR10931262. http://gcc.gnu.org/PR10940263. http://gcc.gnu.org/PR10968264. http://gcc.gnu.org/PR10990265. http://gcc.gnu.org/PR11039266. http://gcc.gnu.org/PR11062267. http://gcc.gnu.org/PR11095268. http://gcc.gnu.org/PR11098269. http://gcc.gnu.org/PR11137270. http://gcc.gnu.org/PR11154271. http://gcc.gnu.org/PR11329272. http://gcc.gnu.org/PR11332273. http://gcc.gnu.org/PR11431274. http://gcc.gnu.org/PR11528275. http://gcc.gnu.org/PR11546276. http://gcc.gnu.org/PR11567277. http://gcc.gnu.org/PR11645278. http://gcc.gnu.org/PR5179279. http://gcc.gnu.org/PR8204280. http://gcc.gnu.org/PR10838281. http://gcc.gnu.org/PR10886282. http://gcc.gnu.org/PR11349283. http://gcc.gnu.org/PR4823284. http://gcc.gnu.org/PR8878285. http://gcc.gnu.org/PR9815286. http://gcc.gnu.org/PR10402287. http://gcc.gnu.org/PR10504288. http://gcc.gnu.org/PR10673289. http://gcc.gnu.org/PR11044290. http://gcc.gnu.org/PR11089291. http://gcc.gnu.org/PR11420292. http://gcc.gnu.org/PR9362293. http://gcc.gnu.org/PR10142294. http://gcc.gnu.org/PR10663295. http://gcc.gnu.org/PR10835296. http://gcc.gnu.org/PR10876297. http://gcc.gnu.org/PR10955298. http://gcc.gnu.org/PR11018299. http://gcc.gnu.org/PR11556300. http://gcc.gnu.org/PR10907301. http://gcc.gnu.org/PR11320302. http://gcc.gnu.org/PR11599303. http://gcc.gnu.org/PR9745304. http://gcc.gnu.org/PR10871305. http://gcc.gnu.org/PR11440306. http://gcc.gnu.org/PR7594307. http://gcc.gnu.org/PR10557308. http://gcc.gnu.org/PR11054309. http://gcc.gnu.org/PR10834310. http://gcc.gnu.org/PR10842311. http://gcc.gnu.org/PR11052312. http://gcc.gnu.org/PR11183313. http://gcc.gnu.org/PR11084314. http://gcc.gnu.org/PR10331315. http://gcc.gnu.org/PR10413316. http://gcc.gnu.org/PR11096317. http://gcc.gnu.org/PR2873318. http://gcc.gnu.org/PR3163319. http://gcc.gnu.org/PR5287320. http://gcc.gnu.org/PR10148321. http://gcc.gnu.org/PR8787322. http://gcc.gnu.org/PR10900323. http://gcc.gnu.org/PR1607324. http://gcc.gnu.org/PR4252325. http://gcc.gnu.org/PR4490326. http://gcc.gnu.org/PR10355327. http://gcc.gnu.org/PR10726328. http://gcc.gnu.org/PR10805329. http://gcc.gnu.org/PR10815330. http://gcc.gnu.org/PR10877331. http://gcc.gnu.org/PR11280332. http://gcc.gnu.org/PR11466333. http://gcc.gnu.org/PR10737334. http://gcc.gnu.org/PR10810335. http://gcc.gnu.org/bugzilla/336. http://gcc.gnu.org/PR8336337. http://gcc.gnu.org/PR9330338. http://gcc.gnu.org/PR9631339. http://gcc.gnu.org/PR9877340. http://gcc.gnu.org/PR11687341. http://gcc.gnu.org/PR12263342. http://gcc.gnu.org/PR12490343. http://gcc.gnu.org/PR7277344. http://gcc.gnu.org/PR7939345. http://gcc.gnu.org/PR11063346. http://gcc.gnu.org/PR11207347. http://gcc.gnu.org/PR11522348. http://gcc.gnu.org/PR11595349. http://gcc.gnu.org/PR11646350. http://gcc.gnu.org/PR11665351. http://gcc.gnu.org/PR11852352. http://gcc.gnu.org/PR11878353. http://gcc.gnu.org/PR11883354. http://gcc.gnu.org/PR11991355. http://gcc.gnu.org/PR12146356. http://gcc.gnu.org/PR12215357. http://gcc.gnu.org/PR12369358. http://gcc.gnu.org/PR12446359. http://gcc.gnu.org/PR12510360. http://gcc.gnu.org/PR12544361. http://gcc.gnu.org/PR9862362. http://gcc.gnu.org/PR10962363. http://gcc.gnu.org/PR11370364. http://gcc.gnu.org/PR11637365. http://gcc.gnu.org/PR11885366. http://gcc.gnu.org/PR12082367. http://gcc.gnu.org/PR12180368. http://gcc.gnu.org/PR12340369. http://gcc.gnu.org/PR3907370. http://gcc.gnu.org/PR5293371. http://gcc.gnu.org/PR5296372. http://gcc.gnu.org/PR7939373. http://gcc.gnu.org/PR8656374. http://gcc.gnu.org/PR10147375. http://gcc.gnu.org/PR11400376. http://gcc.gnu.org/PR11409377. http://gcc.gnu.org/PR11740378. http://gcc.gnu.org/PR11786379. http://gcc.gnu.org/PR11867380. http://gcc.gnu.org/PR11928381. http://gcc.gnu.org/PR12114382. http://gcc.gnu.org/PR12163383. http://gcc.gnu.org/PR12181384. http://gcc.gnu.org/PR12236385. http://gcc.gnu.org/PR12266386. http://gcc.gnu.org/PR12296387. http://gcc.gnu.org/PR12298388. http://gcc.gnu.org/PR12369389. http://gcc.gnu.org/PR12337390. http://gcc.gnu.org/PR12344391. http://gcc.gnu.org/PR12451392. http://gcc.gnu.org/PR12486393. http://gcc.gnu.org/PR8869394. http://gcc.gnu.org/PR9786395. http://gcc.gnu.org/PR11689396. http://gcc.gnu.org/PR12116397. http://gcc.gnu.org/PR12070398. http://gcc.gnu.org/PR11184399. http://gcc.gnu.org/PR11535400. http://gcc.gnu.org/PR11693401. http://gcc.gnu.org/PR12224402. http://gcc.gnu.org/PR11087403. http://gcc.gnu.org/PR11319404. http://gcc.gnu.org/PR11949405. http://gcc.gnu.org/PR11662406. http://gcc.gnu.org/PR11965407. http://gcc.gnu.org/PR12301408. http://gcc.gnu.org/PR11717409. http://gcc.gnu.org/PR11313410. http://gcc.gnu.org/PR11712411. http://gcc.gnu.org/PR12166412. http://gcc.gnu.org/PR12101413. http://gcc.gnu.org/PR10988414. http://gcc.gnu.org/PR11805415. http://gcc.gnu.org/PR11902416. http://gcc.gnu.org/PR11903417. http://gcc.gnu.org/bugzilla/418. http://gcc.gnu.org/PR11890419. http://gcc.gnu.org/PR12399420. http://gcc.gnu.org/PR13068421. http://gcc.gnu.org/PR10060422. http://gcc.gnu.org/PR10555423. http://gcc.gnu.org/PR10706424. http://gcc.gnu.org/PR11496425. http://gcc.gnu.org/PR11741426. http://gcc.gnu.org/PR12440427. http://gcc.gnu.org/PR12632428. http://gcc.gnu.org/PR12712429. http://gcc.gnu.org/PR12726430. http://gcc.gnu.org/PR12890431. http://gcc.gnu.org/PR12900432. http://gcc.gnu.org/PR13060433. http://gcc.gnu.org/PR13289434. http://gcc.gnu.org/PR13318435. http://gcc.gnu.org/PR13392436. http://gcc.gnu.org/PR13574437. http://gcc.gnu.org/PR13475438. http://gcc.gnu.org/PR13797439. http://gcc.gnu.org/PR13824440. http://gcc.gnu.org/PR8776441. http://gcc.gnu.org/PR10339442. http://gcc.gnu.org/PR11350443. http://gcc.gnu.org/PR12826444. http://gcc.gnu.org/PR12500445. http://gcc.gnu.org/PR12941446. http://gcc.gnu.org/PR12953447. http://gcc.gnu.org/PR13041448. http://gcc.gnu.org/PR13507449. http://gcc.gnu.org/PR13382450. http://gcc.gnu.org/PR13394451. http://gcc.gnu.org/PR13400452. http://gcc.gnu.org/PR13521453. http://gcc.gnu.org/PR2094454. http://gcc.gnu.org/PR2294455. http://gcc.gnu.org/PR5050456. http://gcc.gnu.org/PR9371457. http://gcc.gnu.org/PR9546458. http://gcc.gnu.org/PR10081459. http://gcc.gnu.org/PR10093460. http://www.open-std.org/jtc1/sc22/wg21/docs/cwg_defects.html#61461. http://gcc.gnu.org/PR10095462. http://gcc.gnu.org/PR11554463. http://gcc.gnu.org/PR12297464. http://gcc.gnu.org/PR12352465. http://gcc.gnu.org/PR12438466. http://gcc.gnu.org/PR12540467. http://gcc.gnu.org/PR12594468. http://www.open-std.org/jtc1/sc22/wg21/docs/cwg_defects.html#60469. http://www.open-std.org/jtc1/sc22/wg21/docs/cwg_defects.html#63470. http://gcc.gnu.org/PR12657471. http://www.open-std.org/jtc1/sc22/wg21/docs/cwg_defects.html#292472. http://gcc.gnu.org/PR12696473. http://gcc.gnu.org/PR12815474. http://gcc.gnu.org/PR12862475. http://gcc.gnu.org/PR12926476. http://gcc.gnu.org/PR12967477. http://www.open-std.org/jtc1/sc22/wg21/docs/cwg_defects.html478. http://gcc.gnu.org/PR12971479. http://www.open-std.org/jtc1/sc22/wg21/docs/cwg_defects.html#328480. http://gcc.gnu.org/PR13007481. http://gcc.gnu.org/PR13009482. http://gcc.gnu.org/PR13057483. http://gcc.gnu.org/PR13070484. http://gcc.gnu.org/PR13081485. http://gcc.gnu.org/PR13239486. http://gcc.gnu.org/PR13262487. http://gcc.gnu.org/PR13290488. http://gcc.gnu.org/PR13323489. http://gcc.gnu.org/PR13369490. http://gcc.gnu.org/PR13371491. http://gcc.gnu.org/PR13445492. http://gcc.gnu.org/PR13461493. http://gcc.gnu.org/PR13462494. http://gcc.gnu.org/PR13478495. http://gcc.gnu.org/PR13544496. http://gcc.gnu.org/PR13650497. http://gcc.gnu.org/PR13683498. http://gcc.gnu.org/PR13688499. http://gcc.gnu.org/PR13774500. http://gcc.gnu.org/PR13884501. http://gcc.gnu.org/PR10746502. http://gcc.gnu.org/PR11433503. http://gcc.gnu.org/PR12633504. http://gcc.gnu.org/PR13037505. http://gcc.gnu.org/PR13213506. http://gcc.gnu.org/PR4490507. http://gcc.gnu.org/PR12292508. http://gcc.gnu.org/PR12441509. http://gcc.gnu.org/PR12943510. http://gcc.gnu.org/PR13608511. http://gcc.gnu.org/PR11598512. http://gcc.gnu.org/PR11793513. http://gcc.gnu.org/PR12467514. http://gcc.gnu.org/PR12537515. http://gcc.gnu.org/PR12496516. http://gcc.gnu.org/PR12865517. http://gcc.gnu.org/PR13354518. http://gcc.gnu.org/PR10467519. http://gcc.gnu.org/PR11226520. http://gcc.gnu.org/PR11227521. http://gcc.gnu.org/PR12644522. http://gcc.gnu.org/PR13149523. http://gcc.gnu.org/PR12654524. http://gcc.gnu.org/PR12965525. http://gcc.gnu.org/PR13031526. http://gcc.gnu.org/PR11634527. http://gcc.gnu.org/PR12158528. http://gcc.gnu.org/PR11992529. http://gcc.gnu.org/PR9365530. http://gcc.gnu.org/PR10392531. http://gcc.gnu.org/PR11322532. http://gcc.gnu.org/PR13069533. http://gcc.gnu.org/PR13302534. http://gcc.gnu.org/PR13585535. http://gcc.gnu.org/PR8916536. http://gcc.gnu.org/PR11576537. http://gcc.gnu.org/PR13122538. http://gcc.gnu.org/PR13256539. http://gcc.gnu.org/PR13373540. http://gcc.gnu.org/PR12561541. http://gcc.gnu.org/PR6243542. http://gcc.gnu.org/PR11397543. http://gcc.gnu.org/PR12505544. http://gcc.gnu.org/PR13150545. http://gcc.gnu.org/PR12666546. http://gcc.gnu.org/PR12969547. http://gcc.gnu.org/PR10819548. http://gcc.gnu.org/PR11612549. http://gcc.gnu.org/PR13211550. http://gcc.gnu.org/bugzilla/buglist.cgi?bug_status=RESOLVED&resolution=FIXED&target_milestone=3.3.4551. http://gcc.gnu.org/bugzilla/buglist.cgi?bug_status=RESOLVED&resolution=FIXED&target_milestone=3.3.5552. http://gcc.gnu.org/bugzilla/buglist.cgi?bug_status=RESOLVED&resolution=FIXED&target_milestone=3.3.6553. mailto:gnu@gnu.org554. http://www.gnu.org/home.html#ContactInfo555. http://gcc.gnu.org/about.html556. http://gcc.gnu.org/onlinedocs/557. mailto:gcc-help@gcc.gnu.org558. mailto:gcc@gnu.org559. mailto:gcc@gcc.gnu.org560. http://gcc.gnu.org/lists.html561. http://validator.w3.org/check/referer======================================================================http://gcc.gnu.org/gcc-3.2/index.htmlGCC 3.2 Release SeriesApril 25, 2003The [1]GNU project and the GCC developers are pleased to announce therelease of GCC 3.2.3.The purpose of the GCC 3.2 release series is to provide a stableplatform for OS distributors to use building their next releases. Aprimary objective was to stabilize the C++ ABI; we believe that theinterface to the compiler and the C++ standard library are nowrelatively stable.Be aware that C++ code compiled by GCC 3.2.x will (in general) notinteroperate with code compiled by GCC 3.1.1 or earlier.Please refer to our [2]detailed list of news, caveats, and bug-fixesfor further information.Release HistoryGCC 3.2.3April 25, 2003 ([3]changes)GCC 3.2.2February 5, 2003 ([4]changes)GCC 3.2.1November 19, 2002 ([5]changes)GCC 3.2August 14, 2002 ([6]changes)References and AcknowledgementsGCC used to stand for the GNU C Compiler, but since the compilersupports several other languages aside from C, it now stands for theGNU Compiler Collection.A list of [7]successful builds is updated as new information becomesavailable.The GCC developers would like to thank the numerous people that havecontributed new features, improvements, bug fixes, and other changes aswell as test results to GCC. This [8]amazing group of volunteers iswhat makes GCC successful.For additional information about GCC please refer to the [9]GCC projectweb site or contact the [10]GCC development mailing list.To obtain GCC please use [11]our mirror sites, or our CVS server.Please send FSF & GNU inquiries & questions to [12]gnu@gnu.org. Thereare also [13]other ways to contact the FSF.These pages are [14]maintained by the GCC team.For questions related to the use of GCC, please consult these webpages and the [15]GCC manuals. If that fails, the[16]gcc-help@gcc.gnu.org mailing list might help.Please send comments on these web pages and the development of GCC toour developer mailing list at [17]gcc@gnu.org or [18]gcc@gcc.gnu.org.All of our lists have [19]public archives.Copyright (C) Free Software Foundation, Inc., 51 Franklin St, FifthFloor, Boston, MA 02110, USA.Verbatim copying and distribution of this entire article is permittedin any medium, provided this notice is preserved.Last modified 2010-07-01 [20]Valid XHTML 1.0References1. http://www.gnu.org/2. http://gcc.gnu.org/gcc-3.2/changes.html3. http://gcc.gnu.org/gcc-3.2/changes.html#3.2.34. http://gcc.gnu.org/gcc-3.2/changes.html#3.2.25. http://gcc.gnu.org/gcc-3.2/changes.html#3.2.16. http://gcc.gnu.org/gcc-3.2/changes.html#3.27. http://gcc.gnu.org/gcc-3.2/buildstat.html8. http://gcc.gnu.org/onlinedocs/gcc/Contributors.html9. http://gcc.gnu.org/index.html10. mailto:gcc@gcc.gnu.org11. http://gcc.gnu.org/mirrors.html12. mailto:gnu@gnu.org13. http://www.gnu.org/home.html#ContactInfo14. http://gcc.gnu.org/about.html15. http://gcc.gnu.org/onlinedocs/16. mailto:gcc-help@gcc.gnu.org17. mailto:gcc@gnu.org18. mailto:gcc@gcc.gnu.org19. http://gcc.gnu.org/lists.html20. http://validator.w3.org/check/referer======================================================================http://gcc.gnu.org/gcc-3.2/changes.htmlGCC 3.2 Release SeriesChanges, New Features, and FixesThe latest release in the 3.2 release series is [1]GCC 3.2.3.Caveats and New FeaturesCaveats* The C++ compiler does not correctly zero-initializepointers-to-data members. You must explicitly initialize them. Forexample: int S::*m(0); will work, but depending ondefault-initialization to zero will not work. This bug cannot befixed in GCC 3.2 without inducing unacceptable risks. It will befixed in GCC 3.3.* This GCC release is based on the GCC 3.1 sourcebase, and thus hasall the [2]changes in the GCC 3.1 series. In addition, GCC 3.2 hasa number of C++ ABI fixes which make its C++ compiler generatebinary code which is incompatible with the C++ compilers found inearlier GCC releases, including GCC 3.1 and GCC 3.1.1.Frontend EnhancementsC/C++/Objective-C* The method of constructing the list of directories to be searchedfor header files has been revised. If a directory named by a -Ioption is a standard system include directory, the option isignored to ensure that the default search order for systemdirectories and the special treatment of system header files arenot defeated.* The C and Objective-C compilers no longer accept the "Naming Types"extension (typedef foo = bar); it was already unavailable in C++.Code which uses it will need to be changed to use the "typeof"extension instead: typedef typeof(bar) foo. (We have removed thisextension without a period of deprecation because it has caused thecompiler to crash since version 3.0 and no one noticed until veryrecently. Thus we conclude it is not in widespread use.)C++* GCC 3.2 fixed serveral differences between the C++ ABI implementedin GCC and the multi-vendor standard, but more have been foundsince the release. 3.2.1 adds a new warning, -Wabi, to warn aboutcode which is affected by these bugs. We will fix these bugs insome future release, once we are confident that all have beenfound; until then, it is our intention to make changes to the ABIonly if they are necessary for correct compilation of C++, asopposed to conformance to the ABI documents.* For details on how to build an ABI compliant compiler for GNU/Linuxsystems, check the [3]common C++ ABI page.New Targets and Target Specific ImprovementsIA-32* Fixed a number of bugs in SSE and MMX intrinsics.* Fixed common compiler crashes with SSE instruction set enabled(implied by -march=pentium3, pentium4, athlon-xp)* __m128 and __m128i is not 128bit aligned when used in structures.x86-64* A bug whereby the compiler could generate bad code for bzero hasbeen fixed.* ABI fixes (implying ABI incompatibilities with previous version insome corner cases)* Fixed prefetch code generation__________________________________________________________________GCC 3.2.33.2.3 is a bug fix release only; there are no new features that werenot present in GCC 3.2.2.Bug FixesThis section lists the problem reports (PRs) from GCC's bug trackingsystem that are known to be fixed in the 3.2.3 release. This list mightnot be complete (that is, it is possible that some PRs that have beenfixed are not listed here), and some of the titles have been changed tomake them more clear.Internal Compiler Errors (multi-platform)* [4]3782: (c++) -quiet -fstats produces a segmentation fault incc1plus* [5]6440: (c++) template specializations cause ICE* [6]7050: (c++) ICE on: (i ? get_string() : throw)* [7]7741: ICE on conflicting types (make_decl_rtl in varasm.c)* [8]7982: (c++) ICE due to infinite recursion (using STL set)* [9]8068: exceedingly high (infinite) memory usage* [10]8178: ICE with __builtin_ffs* [11]8396: ICE in copy_to_mode_reg, in explow.c* [12]8674: (c++) ICE in cp_expr_size, in cp/cp-lang.c* [13]9768: ICE when optimizing inline code at -O2* [14]9798: (c++) Infinite recursion (segfault) incp/decl.c:push_using_directive with recursive using directives* [15]9799: mismatching structure initializer with nested flexiblearray member: ICE* [16]9928: ICE on duplicate enum declaration* [17]10114: ICE in mem_loc_descriptor, in dwarf2out.c (affectssparc, alpha)* [18]10352: ICE in find_reloads_toplev* [19]10336: ICE with -Wunreachable-codeC/optimizer bugs:* [20]8224: Incorrect joining of signed and unsigned division* [21]8613: -O2 produces wrong code with builtin strlen andpostincrements* [22]8828: gcc reports some code is unreachable when it is not* [23]9226: GCSE breaking argument passing* [24]9853: miscompilation of non-constant structure initializer* [25]9797: C99-style struct initializers are miscompiled* [26]9967: Some standard C function calls should not be replacedwhen optimizing for size* [27]10116: ce2: invalid merge of join_bb in the context of switchstatements* [28]10171: wrong code for inlined function* [29]10175: -Wunreachable-code doesn't work for single linesC++ compiler and library:* [30]8316: Confusing diagnostic for code that misuses conversionoperators* [31]9169: filebuf output fails if codecvt<>::out returns noconv* [32]9420: incomplete type incorrectly reported* [33]9459: typeof in return type specification of template notsupported* [34]9507: filebuf::open handles ios_base::ate incorrectly* [35]9538: Out-of-bounds memory access in streambuf::sputbackc* [36]9602: Total confusion about template/friend/virtual/abstract* [37]9993: destructor not called for local object created within andreturned from infinite loop* [38]10167: ieee_1003.1-2001 locale specialisations on a glibc-2.3.2systemJava compiler and library:* [39]9652: libgcj build fails on irix6.5.1[78]* [40]10144: gas on solaris complains about bad .stabs lines forjava, native as unaffectedx86-specific (Intel/AMD):* [41]8746: gcc miscompiles Linux kernel ppa driver on x86* [42]9888: -mcpu=k6 -Os produces out of range loop instructions* [43]9638: Cross-build for target i386-elf and i586-pc-linux-gnufailed* [44]9954: Cross-build for target i586-pc-linux-gnu (--with-newlib)failedSPARC-specific:* [45]7784: [Sparc] ICE in extract_insn, in recog.c* [46]7796: sparc extra failure with -m64 on execute/930921-1.c inunroll.c* [47]8281: ICE when compiling with -O2 -fPIC for Ultrasparc* [48]8366: [Sparc] C testsuite failure with -m64 -fpic -O inexecute/loop-2d.c* [49]8726: gcc -O2 miscompiles Samba 2.2.7 on 32-bit sparc* [50]9414: Scheduling bug on Ultrasparc* [51]10067: GCC-3.2.2 outputs invalid asm on sparc64m68k-specific:* [52]7248: broken "inclusive or" code* [53]8343: m68k-elf/rtems ICE at instantiate_virtual_regs_1PowerPC-specific:* [54]9732: Wrong code with -O2 -fPIC* [55]10073: ICE: powerpc cannot split insnAlpha-specific:* [56]7702: optimization problem on a DEC alpha under OSF1* [57]9671: gcc.3.2.2 does not build on a HP Tru64 Unix v5.1B systemHP-specific:* [58]8694: <string> breaks <ctype.h> on HP-UX 10.20 (DUP: 9275)* [59]9953: (ada) gcc 3.2.x can't build 3.3-branch ada on HP-UX 10(missing symbol)* [60]10271: Floating point args don't get reloaded across functioncalls with -O2MIPS specific:* [61]6362: mips-irix6 gcc-3.1 C testsuite failure with -mips4 incompile/920501-4.cCRIS specific:* [62]10377: gcc-3.2.2 creates bad assembler code for crisMiscellaneous and minor bugs:* [63]6955: collect2 says "core dumped" when there is no core__________________________________________________________________GCC 3.2.2Beginning with 3.2.2, GCC's Makefile suite supports redirection of makeinstall by means of the DESTDIR variable. Parts of the GCC tree havefeatured that support long before, but now it is available even fromthe top level.Other than that, GCC 3.2.2 is a bug fix release only; there are no newfeatures that were not present in GCC 3.2.1.Bug FixesOn the following i386-based systems GCC 3.2.1 broke the C ABI wrt.functions returning structures: Cygwin, FreeBSD (GCC 3.2.1 as shippedwith FreeBSD 5.0 does not have this problem), Interix, a.out-basedLinux and NetBSD, OpenBSD, and Darwin. GCC 3.2.2 reverts this ABIchange, and thus restores ABI-compatibility with previous releases(except GCC 3.2.1) on these platforms.This section lists the problem reports (PRs) from GCC's bug trackingsystem that are known to be fixed in the 3.2.2 release. This list mightnot be complete (that is, it is possible that some PRs that have beenfixed are not listed here) and some of the titles have been changed tomake them more clear.Internal Compiler Errors (multi-platform)* [64]5919: (c++) ICE when passing variable array to templatefunction* [65]7129: (c++) ICE with min/max assignment operators (<?= and >?=)* [66]7507: ICE with -O2 when address of called function is acomplicated expression* [67]7622: ICE with nested inline functions if function's address istaken* [68]7681: (fortran) ICE in compensate_edge, in reg-stack.c (also PR[69]9258)* [70]8031: (c++) ICE in code comparing typeids and casting fromvirtual base* [71]8275: ICE in simplify_subreg* [72]8332: (c++) builtin strlen/template interaction causes ICE* [73]8372: (c++) ICE on explicit call of destructor* [74]8439: (c, not c++) empty struct causes ICE* [75]8442: (c++) ICE with nested template classes* [76]8518: ICE when compiling mplayer ("extern inline" issue)* [77]8615: (c++) ICE with out-of-range character constant templateargument* [78]8663: (c++) ICE in cp_expr_size, at cp-lang.c:307* [79]8799: (c++) ICE: error reporting routines re-entered* [80]9328: (c++) ICE with typeof(X) for overloaded X* [81]9465: (preprocessor) cpp -traditional ICE on null bytesC++ (compiler and library) bugs* [82]47: scoping in nested classes is broken* [83]6745: problems with iostream rdbuf() member function* [84]8214: conversion from const char* const to char* sometimesaccepted illegally* [85]8493: builtin strlen and overload resolution (same bug as[86]8332)* [87]8503: strange behaviour of function types* [88]8727: compiler confused by inheritance from an anonymous struct* [89]7445: poor performance of std::locale::classic() inmulti-threaded applications* [90]8230: mishandling of overflow in vector<T>::resize* [91]8399: sync_with_stdio(false) breaks unformatted input* [92]8662: illegal access of private member of unnamed class isaccepted* [93]8707: "make distclean" fails in libstdc++-v3 directory* [94]8708: __USE_MALLOC doesn't work* [95]8790: Use of non-thread-safe strtok in src/localename.cc* [96]8887: Bug in date formats with --enable-clocale=generic* [97]9076: Call Frame Instructions are not handled correctly duringunwind operation* [98]9151: std::setprecision limited to 16 digits when outputting adouble to a stream* [99]9168: codecvt<char, char, mbstate_t> overwrites output buffers* [100]9269: libstdc++ headers: explicit specialization of functionmust precede its first use* [101]9322: return value of basic_streambuf<>::getloc affected bylocale::global* [102]9433: segfault in runtime support for dynamic_castC and optimizer bugs* [103]8032: GCC incorrectly initializes static structs that haveflexible arrays* [104]8639: simple arithmetic expression broken* [105]8794: optimization improperly eliminates certain expressions* [106]8832: traditional "asm volatile" code is illegally optimized* [107]8988: loop optimizer bug: with -O2, code is generated thatsegfaults (found on i386, bug present for all platforms)* [108]9492: structure copy clobbers subsequent stores to structureObjective-C bugs* [109]9267: Objective-C parser won't build with newer bison versions(e.g. 1.875)Ada bugs* [110]8344: Ada build problem due to conflict between gcc/final.o,gcc/ada/final.oPreprocessor bugs* [111]8524: _Pragma within macros is improperly expanded* [112]8880: __WCHAR_TYPE__ macro incorrectly set to "long int" with-fshort-wcharARM-specific* [113]9090: arm ICE with >= -O2; regression from gcc-2.95x86-specific (Intel/AMD)* [114]8588: ICE in extract_insn, at recog.c:NNNN (shift instruction)* [115]8599: loop unroll bug with -march=k6-3* [116]9506: ABI breakage in structure return (affects BSD andCygwin, but not GNU/Linux)FreeBSD 5.0 specific* [117]9484: GCC 3.2.1 Bootstrap failure on FreeBSD 5.0RTEMS-specific* [118]9292: hppa1.1-rtems configurery problems* [119]9293: [m68k-elf/rtems] config/m68k/t-crtstuff bug* [120]9295: [mips-rtems] config/mips/rtems.h init/fini issue* [121]9296: gthr-rtems regression* [122]9316: powerpc-rtems: extending multilibsHP-PA specific* [123]9493: ICE with -O2 when building a simple functionDocumentation* [124]7341: hyperlink to gcov in GCC documentation doesn't work* [125]8947: Please add a warning about "-malign-double" in docs* [126]7448, [127]8882: typo cleanups__________________________________________________________________GCC 3.2.13.2.1 adds a new warning, -Wabi. This option warns when GNU C++generates code that is known not to be binary-compatible with thevendor-neutral ia32/ia64 ABI. Please consult the GCC manual, includedin the distribution, for details.This release also removes an old GCC extension, "naming types", and thedocumentation now directs users to use a different GCC extension,__typeof__, instead. The feature had evidently been broken for a while.Otherwise, 3.2.1 is a bug fix release only; other than bug fixes andthe new warning there are no new features that were not present in GCC3.2.In addition, the previous fix for [128]PR 7445 (poor performance ofstd::locale::classic() in multi-threaded applications) was reverted("unfixed"), because the "fix" was not thread-safe.Bug FixesThis section lists the problem reports (PRs) from GCC's bug trackingsystem that are known to be fixed in the 3.2.1 release. This list mightnot be complete (that is, it is possible that some PRs that have beenfixed are not listed here). As you can see, the number of bug fixes isquite large, so it is strongly recommended that users of earlier GCC3.x releases upgrade to GCC 3.2.1.Internal Compiler Errors (multi-platform)* [129]2521: (c++) ICE in build_ptrmemfunc, in cp/typeck.c* [130]5661: (c++) ICE instantiating template on array of unknownsize (bad code)* [131]6419: (c++) ICE in make_decl_rtl for "longest" attribute on64-bit platforms* [132]6994: (c++) ICE in find_function_data* [133]7150: preprocessor: GCC -dM -E gives an ICE* [134]7160: ICE when optimizing branches without a return value* [135]7228: (c++) ICE when using member template and templatefunction* [136]7266: (c++) ICE with -pedantic on missing typename* [137]7353: ICE from use of "Naming Types" extension, see above* [138]7411: ICE in instantiate_virtual_regs_1, in function.c* [139]7478: (c++) ICE on static_cast inside template* [140]7526: preprocessor core dump when _Pragma implies #pragmadependency* [141]7721: (c++) ICE on simple (but incorrect) template ([142]7803is a duplicate)* [143]7754: (c++) ICE on union with template parameter* [144]7788: (c++) redeclaring a definition as an incomplete classcauses ICE* [145]8031: (c++) ICE in comptypes, in cp/typeck.c* [146]8055: preprocessor dies with SIG11 when building FreeBSDkernel* [147]8067: (c++) ICE due to mishandling of __FUNCTION__ and relatedvariables* [148]8134: (c++) ICE in force_store_init_value on legal code* [149]8149: (c++) ICE on incomplete type* [150]8160: (c++) ICE in build_modify_expr, in cp/typeck.c: arrayinitializationC++ (compiler and library) bugs* [151]5607: No pointer adjustment in covariant return types* [152]6579: Infinite loop with statement expressions in memberinitialization* [153]6803: Default copy constructor bug in GCC 3.1* [154]7176: g++ confused by friend and static member with same name* [155]7188: Segfault with template class and recursive (incorrect)initializer list* [156]7306: Regression: GCC 3.x fails to compile code with virtualinheritance if a method has a variable number of arguments* [157]7461: ctype<char>::classic_table() returns offset array onCygwin* [158]7524: f(const float arg[3]) fails* [159]7584: Erroneous ambiguous base error on using declaration* [160]7676: Member template overloading problem* [161]7679: infinite loop when a right parenthesis is missing* [162]7811: default locale not taken from environment* [163]7961: compare( char *) implemented incorrectly inbasic_string<>* [164]8071: basic_ostream::operator<<(streambuf*) loops forever ifstreambuf::underflow() leaves gptr() NULL (dups: [165]8127,[166]6745)* [167]8096: deque::at() throws std::range_error instead ofstd::out_of_range* [168]8127: cout << cin.rdbuf() infinite loop* [169]8218: Excessively large memory consumed for classes with largearray members* [170]8287: GCC 3.2: Destructor called for non-constructed localobject* [171]8347: empty vector range used in string construction causescore dump* [172]8348: fail() flag is set in istringstream when eof() flag isset* [173]8391: regression: infinite loop in cp/decl2.c(finish_file)C and optimizer bugs* [174]6627: -fno-align-functions doesn't seem to disable functionalignment* [175]6631: life_analysis misoptimizes code to initialize fields ofa structure* [176]7102: unsigned char division results in floating exception* [177]7120: Run once loop should *always* be unrolled(pessimization)* [178]7209: Bug involving array referencing and ?: operator* [179]7515: invalid inlining of global function with -O3* [180]7814: incorrect scheduling for glibc-2.2.92 strcpy test* [181]8467: bug in sibling call optimizationPreprocessor bugs* [182]4890: incorrect line markers from the traditional preprocessor* [183]7357: -M option omits system headers files (making it the sameas -MM)* [184]7358: Changes to Sun's make Dependencies* [185]7602: C++ header files found in CPLUS_INCLUDE_PATH treated asC headers* [186]7862: Interrupting GCC -MD removes .d file but not .o* [187]8190: Failed compilation deletes -MD dependency file* [188]8524: _Pragma within macro is improperly expandedx86 specific (Intel/AMD)* [189]5351: (i686-only) function pass-by-value structure copycorrupts stack ([190]7591 is a duplicate)* [191]6845, [192]7034, [193]7124, [194]7174: ICE's with-march=pentium3/pentium2/athlon (these are all the same underlyingbug, in MMX register use)* [195]7134, [196]7375, [197]7390: ICE with -march=athlon (maybe sameas above?)* [198]6890: xmmintrin.h, _MM_TRANSPOSE4_PS is broken* [199]6981: wrong code in 64-bit manipulation on x86* [200]7242: GCC -mcpu=pentium[23] doesn't define __tune_pentiumpro__macro* [201]7396: ix86: cmpgt_ss, cmpge_ss, cmpngt_ss, and cmpnge_ss SSEintrinsics are broken* [202]7630: GCC 3.2 breaks on Mozilla 1.0's JS sources with-march=pentium4* [203]7693: Typo in i386 mmintrin.h header* [204]7723: ICE - Pentium3 sse - GCC 3.2* [205]7951: ICE on -march=pentium4 -O2 -mfpmath=sse* [206]8146: (i686 only) gcc 3.2 miscompiles gcc 2.95.3PowerPC specific* [207]5967: GCC bug when profiling nested functions on powerpc* [208]6984: wrong code generated with -O2, -O3, -Os for do-whileloop on PowerPC* [209]7114: PowerPC: ICE building strcoll.op from glibc-2.2.5* [210]7130: miscompiled code for GCC-3.1 in powerpc linux with-funroll-all-loops* [211]7133: PowerPC ICE: unrecognizable insn* [212]7380: ICE in extract_insn, at recog.c:2148* [213]8252: ICE on Altivec code with optimization turned on* [214]8451: Altivec ICE in GCC 3.2HP/PA specific* [215]7250: __ashrdi3 returns wrong value on 32 bit hppaSPARC specific* [216]6668: when using --disable-multilib, libgcc_s.so is installedin the wrong place on sparc-solaris* [217]7151: ICE when compiling for UltraSPARC* [218]7335: SPARC: ICE in verify_wide_reg (flow.c:557) with longdouble and -O1* [219]7842: [REGRESSION] SPARC code gen bugARM specific* [220]7856: [arm] invalid offset in constant pool reference* [221]7967: optimization produces wrong code (ARM)Alpha specific* [222]7374: __builtin_fabsl broken on alphaIBM s390 specific* [223]7370: ICE in fixup_var_refs_1 on s390x* [224]7409: loop optimization bug on s390x-linux-gnu* [225]8232: s390x: ICE when using bcmp with int length argumentSCO specific* [226]7623: SCO OpenServer build fails with machmode.def: undefinedsymbol: BITS_PER_UNITm68k/Coldfire specific* [227]8314: crtbegin, crtend need to be multilib'ed for thisplatformDocumentation* [228]761: Document some undocumented options* [229]5610: Fix documentation about invoking SSE instructions(-mfpmath=sse)* [230]7484: List -Wmissing-declarations as C-only option* [231]7531: -mcmodel not documented for x86-64* [232]8120: Update documentation of bad use of ##__________________________________________________________________GCC 3.23.2 is a small bug fix release, but there is a change to theapplication binary interface (ABI), hence the change to the second partof the version number.The main purpose of the 3.2 release is to correct a couple of problemsin the C++ ABI, with the intention of providing a stable interfacegoing forward. Accordingly, 3.2 is only a small change to 3.1.1.Bug FixesC++* [233]7320: g++ 3.2 relocation problem* [234]7470: vtable: virtual function pointers not in declarationorderlibstdc++* [235]6410: Trouble with non-ASCII monetary symbols and wchar_t* [236]6503, [237]6642, [238]7186: Problems with comparing orsubtracting various types of const and non-const iterators* [239]7216: ambiguity with basic_iostream::traits_type* [240]7220: problem with basic_istream::ignore(0,delimiter)* [241]7222: locale::operator==() doesn't work on std::locale("")* [242]7286: placement operator delete issue* [243]7442: cxxabi.h does not match the C++ ABI* [244]7445: poor performance of std::locale::classic() inmulti-threaded applicationsx86-64 specific* [245]7291: off-by-one in generated inline bzero code for x86-64Please send FSF & GNU inquiries & questions to [246]gnu@gnu.org. Thereare also [247]other ways to contact the FSF.These pages are [248]maintained by the GCC team.For questions related to the use of GCC, please consult these webpages and the [249]GCC manuals. If that fails, the[250]gcc-help@gcc.gnu.org mailing list might help.Please send comments on these web pages and the development of GCC toour developer mailing list at [251]gcc@gnu.org or[252]gcc@gcc.gnu.org. All of our lists have [253]public archives.Copyright (C) Free Software Foundation, Inc., 51 Franklin St, FifthFloor, Boston, MA 02110, USA.Verbatim copying and distribution of this entire article is permittedin any medium, provided this notice is preserved.Last modified 2010-07-01 [254]Valid XHTML 1.0References1. http://gcc.gnu.org/gcc-3.2/changes.html#3.2.32. http://gcc.gnu.org/gcc-3.1/changes.html3. http://gcc.gnu.org/gcc-3.2/c++-abi.html4. http://gcc.gnu.org/PR37825. http://gcc.gnu.org/PR64406. http://gcc.gnu.org/PR70507. http://gcc.gnu.org/PR77418. http://gcc.gnu.org/PR79829. http://gcc.gnu.org/PR806810. http://gcc.gnu.org/PR817811. http://gcc.gnu.org/PR839612. http://gcc.gnu.org/PR867413. http://gcc.gnu.org/PR976814. http://gcc.gnu.org/PR979815. http://gcc.gnu.org/PR979916. http://gcc.gnu.org/PR992817. http://gcc.gnu.org/PR1011418. http://gcc.gnu.org/PR1035219. http://gcc.gnu.org/PR1033620. http://gcc.gnu.org/PR822421. http://gcc.gnu.org/PR861322. http://gcc.gnu.org/PR882823. http://gcc.gnu.org/PR922624. http://gcc.gnu.org/PR985325. http://gcc.gnu.org/PR979726. http://gcc.gnu.org/PR996727. http://gcc.gnu.org/PR1011628. http://gcc.gnu.org/PR1017129. http://gcc.gnu.org/PR1017530. http://gcc.gnu.org/PR831631. http://gcc.gnu.org/PR916932. http://gcc.gnu.org/PR942033. http://gcc.gnu.org/PR945934. http://gcc.gnu.org/PR950735. http://gcc.gnu.org/PR953836. http://gcc.gnu.org/PR960237. http://gcc.gnu.org/PR999338. http://gcc.gnu.org/PR1016739. http://gcc.gnu.org/PR965240. http://gcc.gnu.org/PR1014441. http://gcc.gnu.org/PR874642. http://gcc.gnu.org/PR988843. http://gcc.gnu.org/PR963844. http://gcc.gnu.org/PR995445. http://gcc.gnu.org/PR778446. http://gcc.gnu.org/PR779647. http://gcc.gnu.org/PR828148. http://gcc.gnu.org/PR836649. http://gcc.gnu.org/PR872650. http://gcc.gnu.org/PR941451. http://gcc.gnu.org/PR1006752. http://gcc.gnu.org/PR724853. http://gcc.gnu.org/PR834354. http://gcc.gnu.org/PR973255. http://gcc.gnu.org/PR1007356. http://gcc.gnu.org/PR770257. http://gcc.gnu.org/PR967158. http://gcc.gnu.org/PR869459. http://gcc.gnu.org/PR995360. http://gcc.gnu.org/PR1027161. http://gcc.gnu.org/PR636262. http://gcc.gnu.org/PR1037763. http://gcc.gnu.org/PR695564. http://gcc.gnu.org/PR591965. http://gcc.gnu.org/PR712966. http://gcc.gnu.org/PR750767. http://gcc.gnu.org/PR762268. http://gcc.gnu.org/PR768169. http://gcc.gnu.org/PR952870. http://gcc.gnu.org/PR803171. http://gcc.gnu.org/PR827572. http://gcc.gnu.org/PR833273. http://gcc.gnu.org/PR837274. http://gcc.gnu.org/PR843975. http://gcc.gnu.org/PR844276. http://gcc.gnu.org/PR851877. http://gcc.gnu.org/PR861578. http://gcc.gnu.org/PR866379. http://gcc.gnu.org/PR879980. http://gcc.gnu.org/PR932881. http://gcc.gnu.org/PR946582. http://gcc.gnu.org/PR4783. http://gcc.gnu.org/PR674584. http://gcc.gnu.org/PR821485. http://gcc.gnu.org/PR849386. http://gcc.gnu.org/PR833287. http://gcc.gnu.org/PR850388. http://gcc.gnu.org/PR872789. http://gcc.gnu.org/PR744590. http://gcc.gnu.org/PR823091. http://gcc.gnu.org/PR839992. http://gcc.gnu.org/PR866293. http://gcc.gnu.org/PR870794. http://gcc.gnu.org/PR870895. http://gcc.gnu.org/PR879096. http://gcc.gnu.org/PR888797. http://gcc.gnu.org/PR907698. http://gcc.gnu.org/PR915199. http://gcc.gnu.org/PR9168100. http://gcc.gnu.org/PR9269101. http://gcc.gnu.org/PR9322102. http://gcc.gnu.org/PR9433103. http://gcc.gnu.org/PR8032104. http://gcc.gnu.org/PR8639105. http://gcc.gnu.org/PR8794106. http://gcc.gnu.org/PR8832107. http://gcc.gnu.org/PR8988108. http://gcc.gnu.org/PR9492109. http://gcc.gnu.org/PR9267110. http://gcc.gnu.org/PR8344111. http://gcc.gnu.org/PR8524112. http://gcc.gnu.org/PR8880113. http://gcc.gnu.org/PR9090114. http://gcc.gnu.org/PR8588115. http://gcc.gnu.org/PR8599116. http://gcc.gnu.org/PR9506117. http://gcc.gnu.org/PR9484118. http://gcc.gnu.org/PR9292119. http://gcc.gnu.org/PR9293120. http://gcc.gnu.org/PR9295121. http://gcc.gnu.org/PR9296122. http://gcc.gnu.org/PR9316123. http://gcc.gnu.org/PR9493124. http://gcc.gnu.org/PR7341125. http://gcc.gnu.org/PR8947126. http://gcc.gnu.org/PR7448127. http://gcc.gnu.org/PR8882128. http://gcc.gnu.org/PR7445129. http://gcc.gnu.org/PR2521130. http://gcc.gnu.org/PR5661131. http://gcc.gnu.org/PR6419132. http://gcc.gnu.org/PR6994133. http://gcc.gnu.org/PR7150134. http://gcc.gnu.org/PR7160135. http://gcc.gnu.org/PR7228136. http://gcc.gnu.org/PR7266137. http://gcc.gnu.org/PR7353138. http://gcc.gnu.org/PR7411139. http://gcc.gnu.org/PR7478140. http://gcc.gnu.org/PR7526141. http://gcc.gnu.org/PR7721142. http://gcc.gnu.org/PR7803143. http://gcc.gnu.org/PR7754144. http://gcc.gnu.org/PR7788145. http://gcc.gnu.org/PR8031146. http://gcc.gnu.org/PR8055147. http://gcc.gnu.org/PR8067148. http://gcc.gnu.org/PR8134149. http://gcc.gnu.org/PR8149150. http://gcc.gnu.org/PR8160151. http://gcc.gnu.org/PR5607152. http://gcc.gnu.org/PR6579153. http://gcc.gnu.org/PR6803154. http://gcc.gnu.org/PR7176155. http://gcc.gnu.org/PR7188156. http://gcc.gnu.org/PR7306157. http://gcc.gnu.org/PR7461158. http://gcc.gnu.org/PR7524159. http://gcc.gnu.org/PR7584160. http://gcc.gnu.org/PR7676161. http://gcc.gnu.org/PR7679162. http://gcc.gnu.org/PR7811163. http://gcc.gnu.org/PR7961164. http://gcc.gnu.org/PR8071165. http://gcc.gnu.org/PR8127166. http://gcc.gnu.org/PR6745167. http://gcc.gnu.org/PR8096168. http://gcc.gnu.org/PR8127169. http://gcc.gnu.org/PR8218170. http://gcc.gnu.org/PR8287171. http://gcc.gnu.org/PR8347172. http://gcc.gnu.org/PR8348173. http://gcc.gnu.org/PR8391174. http://gcc.gnu.org/PR6627175. http://gcc.gnu.org/PR6631176. http://gcc.gnu.org/PR7102177. http://gcc.gnu.org/PR7120178. http://gcc.gnu.org/PR7209179. http://gcc.gnu.org/PR7515180. http://gcc.gnu.org/PR7814181. http://gcc.gnu.org/PR8467182. http://gcc.gnu.org/PR4890183. http://gcc.gnu.org/PR7357184. http://gcc.gnu.org/PR7358185. http://gcc.gnu.org/PR7602186. http://gcc.gnu.org/PR7862187. http://gcc.gnu.org/PR8190188. http://gcc.gnu.org/PR8524189. http://gcc.gnu.org/PR5351190. http://gcc.gnu.org/PR7591191. http://gcc.gnu.org/PR6845192. http://gcc.gnu.org/PR7034193. http://gcc.gnu.org/PR7124194. http://gcc.gnu.org/PR7174195. http://gcc.gnu.org/PR7134196. http://gcc.gnu.org/PR7375197. http://gcc.gnu.org/PR7390198. http://gcc.gnu.org/PR6890199. http://gcc.gnu.org/PR6981200. http://gcc.gnu.org/PR7242201. http://gcc.gnu.org/PR7396202. http://gcc.gnu.org/PR7630203. http://gcc.gnu.org/PR7693204. http://gcc.gnu.org/PR7723205. http://gcc.gnu.org/PR7951206. http://gcc.gnu.org/PR8146207. http://gcc.gnu.org/PR5967208. http://gcc.gnu.org/PR6984209. http://gcc.gnu.org/PR7114210. http://gcc.gnu.org/PR7130211. http://gcc.gnu.org/PR7133212. http://gcc.gnu.org/PR7380213. http://gcc.gnu.org/PR8252214. http://gcc.gnu.org/PR8451215. http://gcc.gnu.org/PR7250216. http://gcc.gnu.org/PR6668217. http://gcc.gnu.org/PR7151218. http://gcc.gnu.org/PR7335219. http://gcc.gnu.org/PR7842220. http://gcc.gnu.org/PR7856221. http://gcc.gnu.org/PR7967222. http://gcc.gnu.org/PR7374223. http://gcc.gnu.org/PR7370224. http://gcc.gnu.org/PR7409225. http://gcc.gnu.org/PR8232226. http://gcc.gnu.org/PR7623227. http://gcc.gnu.org/PR8314228. http://gcc.gnu.org/PR761229. http://gcc.gnu.org/PR5610230. http://gcc.gnu.org/PR7484231. http://gcc.gnu.org/PR7531232. http://gcc.gnu.org/PR8120233. http://gcc.gnu.org/PR7320234. http://gcc.gnu.org/PR7470235. http://gcc.gnu.org/PR6410236. http://gcc.gnu.org/PR6503237. http://gcc.gnu.org/PR6642238. http://gcc.gnu.org/PR7186239. http://gcc.gnu.org/PR7216240. http://gcc.gnu.org/PR7220241. http://gcc.gnu.org/PR7222242. http://gcc.gnu.org/PR7286243. http://gcc.gnu.org/PR7442244. http://gcc.gnu.org/PR7445245. http://gcc.gnu.org/PR7291246. mailto:gnu@gnu.org247. http://www.gnu.org/home.html#ContactInfo248. http://gcc.gnu.org/about.html249. http://gcc.gnu.org/onlinedocs/250. mailto:gcc-help@gcc.gnu.org251. mailto:gcc@gnu.org252. mailto:gcc@gcc.gnu.org253. http://gcc.gnu.org/lists.html254. http://validator.w3.org/check/referer======================================================================http://gcc.gnu.org/gcc-3.1/index.htmlGCC 3.1July 27, 2002The [1]GNU project and the GCC developers are pleased to announce therelease of GCC 3.1.1.The links below still apply to GCC 3.1.1.May 15, 2002The [2]GNU project and the GCC developers are pleased to announce therelease of GCC 3.1.GCC used to stand for the GNU C Compiler, but since the compilersupports several other languages aside from C, it now stands for theGNU Compiler Collection.A list of [3]successful builds is updated as new information becomesavailable.The GCC developers would like to thank the numerous people that havecontributed [4]new features, improvements, bug fixes, and other changesas well as test results to GCC. This [5]amazing group of volunteers iswhat makes GCC successful.For additional information about GCC please refer to the [6]GCC projectweb site or contact the [7]GCC development mailing list.To obtain GCC please use [8]our mirror sites, or our CVS server.__________________________________________________________________Please send FSF & GNU inquiries & questions to [9]gnu@gnu.org. Thereare also [10]other ways to contact the FSF.These pages are [11]maintained by the GCC team.For questions related to the use of GCC, please consult these webpages and the [12]GCC manuals. If that fails, the[13]gcc-help@gcc.gnu.org mailing list might help.Please send comments on these web pages and the development of GCC toour developer mailing list at [14]gcc@gnu.org or [15]gcc@gcc.gnu.org.All of our lists have [16]public archives.Copyright (C) Free Software Foundation, Inc., 51 Franklin St, FifthFloor, Boston, MA 02110, USA.Verbatim copying and distribution of this entire article is permittedin any medium, provided this notice is preserved.Last modified 2010-07-01 [17]Valid XHTML 1.0References1. http://www.gnu.org/2. http://www.gnu.org/3. http://gcc.gnu.org/gcc-3.1/buildstat.html4. http://gcc.gnu.org/gcc-3.1/changes.html5. http://gcc.gnu.org/onlinedocs/gcc/Contributors.html6. http://gcc.gnu.org/index.html7. mailto:gcc@gcc.gnu.org8. http://gcc.gnu.org/mirrors.html9. mailto:gnu@gnu.org10. http://www.gnu.org/home.html#ContactInfo11. http://gcc.gnu.org/about.html12. http://gcc.gnu.org/onlinedocs/13. mailto:gcc-help@gcc.gnu.org14. mailto:gcc@gnu.org15. mailto:gcc@gcc.gnu.org16. http://gcc.gnu.org/lists.html17. http://validator.w3.org/check/referer======================================================================http://gcc.gnu.org/gcc-3.1/changes.htmlGCC 3.1 Release SeriesChanges, New Features, and FixesAdditional changes in GCC 3.1.1* A bug related to how structures and unions are returned has beenfixed for powerpc-*-netbsd*.* An important bug in the implementation of -fprefetch-loop-arrayshas been fixed. Previously the optimization prefetched randomblocks of memory for most targets except for i386.* The Java compiler now compiles Java programs much faster and alsoworks with parallel make.* Nested functions have been fixed for mips*-*-netbsd*.* Some missing floating point support routines have beed added formips*-*-netbsd*.* This [1]message gives additional information about the bugs fixedin this release.Caveats* The -traditional C compiler option has been deprecated and will beremoved in GCC 3.3. (It remains possible to preprocess non-C codewith the traditional preprocessor.)* The default debugging format for most ELF platforms (includingGNU/Linux and FreeBSD; notable exception is Solaris) has changedfrom stabs to DWARF2. This requires GDB 5.1.1 or later.General Optimizer Improvements* Jan Hubicka, SuSE Labs, together with Richard Henderson, Red Hat,and Andreas Jaeger, SuSE Labs, has contributed [2]infrastructurefor profile driven optimizations.Options -fprofile-arcs and -fbranch-probabilities can now be usedto improve speed of the generated code by profiling the actualprogram behaviour on typical runs. In the absence of profile infothe compiler attempts to guess the profile statically.* [3]SPEC2000 and SPEC95 benchmark suites are now used daily tomonitor performance of the generated code.According to the SPECInt2000 results on an AMD Athlon CPU, the codegenerated by GCC 3.1 is 6% faster on the average (8.2% faster withprofile feedback) compared to GCC 3.0. The code produced by GCC 3.0is about 2.1% faster compared to 2.95.3. Tests were done using the-O2 -march=athlon command-line options.* Alexandre Oliva, of Red Hat, has generalized the tree inlininginfrastructure developed by CodeSourcery, LLC for the C++ frontend, so that it is now used in the C front end too. Inliningfunctions as trees exposes them earlier to the compiler, giving itmore opportunities for optimization.* Support for data prefetching instructions has been added to the GCCback end and several targets. A new __builtin_prefetch intrinsic isavailable to explicitly insert prefetch instructions andexperimental support for loop array prefetching has been added (see-fprefetch-loop-array documentation).* Support for emitting debugging information for macros has beenadded for DWARF2. It is activated using -g3.New Languages and Language specific improvementsC/C++* A few more [4]ISO C99 features.* The preprocessor is 10-50% faster than the preprocessor in GCC 3.0.* The preprocessor's symbol table has been merged with the symboltable of the C, C++ and Objective-C front ends.* The preprocessor consumes less memory than the preprocessor in GCC3.0, often significantly so. On normal input files, it typicallyconsumes less memory than pre-3.0 cccp-based GCC, too.C++* -fhonor-std and -fno-honor-std have been removed. -fno-honor-stdwas a workaround to allow std compliant code to work with thenon-std compliant libstdc++-v2. libstdc++-v3 is std compliant.* The C++ ABI has been fixed so that void (A::*)() const is mangledas "M1AKFvvE", rather than "MK1AFvvE" as before. This change onlyaffects pointer to cv-qualified member function types.* The C++ ABI has been changed to correctly handle this code:struct A {void operator delete[] (void *, size_t);};struct B : public A {};new B[10];The amount of storage allocated for the array will be greater thanit was in 3.0, in order to store the number of elements in thearray, so that the correct size can be passed to operator delete[]when the array is deleted. Previously, the value passed to operatordelete[] was unpredictable.This change will only affect code that declares a two-argumentoperator delete[] with a second parameter of type size_t in a baseclass, and does not override that definition in a derived class.* The C++ ABI has been changed so that:struct A {void operator delete[] (void *, size_t);void operator delete[] (void *);};does not cause unnecessary storage to be allocated when an array ofA objects is allocated.This change will only affect code that declares both of these formsof operator delete[], and declared the two-argument form before theone-argument form.* The C++ ABI has been changed so that when a parameter is passed byvalue, any cleanup for that parameter is performed in the caller,as specified by the ia64 C++ ABI, rather than the called functionas before. As a result, classes with a non-trivial destructor but atrivial copy constructor will be passed and returned by invisiblereference, rather than by bitwise copy as before.* G++ now supports the "named return value optimization": for codelikeA f () {A a;...return a;}G++ will allocate a in the return value slot, so that the returnbecomes a no-op. For this to work, all return statements in thefunction must return the same variable.* Improvements to the C++ library are listed in [5]the libstdc++-v3FAQ.Objective-C* Annoying linker warnings (due to incorrect code being generated)have been fixed.* If a class method cannot be found, the compiler no longer issues awarning if a corresponding instance method exists in the rootclass.* Forward @protocol declarations have been fixed.* Loading of categories has been fixed in certain situations (GNU runtime only).* The class lookup in the run-time library has been rewritten so thatclass method dispatch is more than twice as fast as it used to be(GNU run time only).Java* libgcj now includes RMI, java.lang.ref.*, javax.naming, andjavax.transaction.* Property files and other system resources can be compiled intoexecutables which use libgcj using the new gcj --resource feature.* libgcj has been ported to more platforms. In particular there isnow a mostly-functional mingw32 (Windows) target port.* JNI and CNI invocation interfaces were implemented, so gcj-compiledJava code can now be called from a C/C++ application.* gcj can now use builtin functions for certain known methods, forinstance Math.cos.* gcj can now automatically remove redundant array-store checks insome common cases.* The --no-store-checks optimization option was added. This can beused to omit runtime store checks for code which is known not tothrow ArrayStoreException* The following third party interface standards were added to libgcj:org.w3c.dom and org.xml.sax.* java.security has been merged with GNU Classpath. The new packageis now JDK 1.2 compliant, and much more complete.* A bytecode verifier was added to the libgcj interpreter.* java.lang.Character was rewritten to comply with the Unicode 3.0standard, and improve performance.* Partial support for many more locales was added to libgcj.* Socket timeouts have been implemented.* libgcj has been merged into a single shared library. There are nolonger separate shared libraries for the garbage collector andzlib.* Several performance improvements were made to gcj and libgcj:+ Hash synchronization (thin locks)+ A special allocation path for finalizer-free objects+ Thread-local allocation+ Parallel GC, and other GC tweaksFortranFortran improvements are listed in [6]the Fortran documentation.Ada[7]Ada Core Technologies, Inc, has contributed its GNAT Ada 95 frontend and associated tools. The GNAT compiler fully implements the Adalanguage as defined by the ISO/IEC 8652 standard.Please note that the integration of the Ada front end is still work inprogress.New Targets and Target Specific Improvements* Hans-Peter Nilsson has contributed a port to [8]MMIX, the CPUarchitecture used in new editions of Donald E. Knuth's The Art ofComputer Programming.* [9]Axis Communications has contributed its port to the CRIS CPUarchitecture, used in the ETRAX system-on-a-chip series. See[10]Axis' developer site for technical information.* Alexandre Oliva, of Red Hat, has contributed a port to the[11]SuperH SH5 64-bit RISC microprocessor architecture, extendingthe existing SH port.* UltraSPARC is fully supported in 64-bit mode. The option -m64enables it.* For compatibility with the Sun compiler #pragma redefine_extnamehas been implemented on Solaris.* The x86 back end has had some noticeable work done to it.+ SuSE Labs developers Jan Hubicka, Bo Thorsen and AndreasJaeger have contributed a port to the AMD x86-64 architecture.For more information on x86-64 see [12]http://www.x86-64.org.+ The compiler now supports MMX, 3DNow!, SSE, and SSE2instructions. Options -mmmx, -m3dnow, -msse, and -msse2 willenable the respective instruction sets. Intel C++ compatibleMMX/3DNow!/SSE intrinsics are implemented. SSE2 intrinsicswill be added in next major release.+ Following those improvements, targets for Pentium MMX, K6-2,K6-3, Pentium III, Pentium 4, and Athlon 4 Mobile/XP/MP wereadded. Refer to the documentation on -march= and -mcpu=options for details.+ For those targets that support it, -mfpmath=sse will cause thecompiler to generate SSE/SSE2 instructions for floating pointmath instead of x87 instructions. Usually, this will lead toquicker code -- especially on the Pentium 4. Note that onlyscalar floating point instructions are used and GCC does notexploit SIMD features yet.+ Prefetch support has been added to the Pentium III, Pentium 4,K6-2, K6-3, and Athlon series.+ Code generated for floating point to integer conversions hasbeen improved leading to better performance of many 3Dapplications.* The PowerPC back end has added 64-bit PowerPC GNU/Linux support.* C++ support for AIX has been improved.* Aldy Hernandez, of Red Hat, Inc, has contributed extensions to thePowerPC port supporting the AltiVec programming model (SIMD). Thesupport, though presently useful, is experimental and is expectedto stabilize for 3.2. The support is written to conform toMotorola's AltiVec specs. See -maltivec.Obsolete SystemsSupport for a number of older systems has been declared obsolete in GCC3.1. Unless there is activity to revive them, the next release of GCCwill have their sources permanently removed.All configurations of the following processor architectures have beendeclared obsolete:* MIL-STD-1750A, 1750a-*-** AMD A29k, a29k-*-** Convex, c*-convex-** Clipper, clipper-*-** Elxsi, elxsi-*-** Intel i860, i860-*-** Sun picoJava, pj-*-* and pjl-*-** Western Electric 32000, we32k-*-*Most configurations of the following processor architectures have beendeclared obsolete, but we are preserving a few systems which may haveactive developers. It is unlikely that the remaining systems willsurvive much longer unless we see definite signs of port activity.* Motorola 88000 except+ Generic a.out, m88k-*-aout*+ Generic SVR4, m88k-*-sysv4+ OpenBSD, m88k-*-openbsd** NS32k except+ NetBSD, ns32k-*-netbsd*+ OpenBSD, ns32k-*-openbsd*.* ROMP except+ OpenBSD, romp-*-openbsd*.Finally, only some configurations of these processor architectures arebeing obsoleted.* Alpha:+ OSF/1, alpha*-*-osf[123]*. (Digital Unix and Tru64 Unix, akaalpha*-*-osf[45], are still supported.)* ARM:+ RISCiX, arm-*-riscix*.* i386:+ 386BSD, i?86-*-bsd*+ Chorus, i?86-*-chorusos*+ DG/UX, i?86-*-dgux*+ FreeBSD 1.x, i?86-*-freebsd1.*+ IBM AIX, i?86-*-aix*+ ISC UNIX, i?86-*-isc*+ Linux with pre-BFD linker, i?86-*-linux*oldld*+ NEXTstep, i?86-next-*+ OSF UNIX, i?86-*-osf1* and i?86-*-osfrose*+ RTEMS/coff, i?86-*-rtemscoff*+ RTEMS/go32, i?86-go32-rtems*+ Sequent/BSD, i?86-sequent-bsd*+ Sequent/ptx before version 3, i?86-sequent-ptx[12]* andi?86-sequent-sysv3*+ SunOS, i?86-*-sunos** Motorola 68000:+ Altos, m68[k0]*-altos-*+ Apollo, m68[k0]*-apollo-*+ Apple A/UX, m68[k0]*-apple-*+ Bull, m68[k0]*-bull-*+ Convergent, m68[k0]*-convergent-*+ Generic SVR3, m68[k0]*-*-sysv3*+ ISI, m68[k0]*-isi-*+ LynxOS, m68[k0]*-*-lynxos*+ NEXT, m68[k0]*-next-*+ RTEMS/coff, m68[k0]*-*-rtemscoff*+ Sony, m68[k0]*-sony-** MIPS:+ DEC Ultrix, mips-*-ultrix* and mips-dec-*+ Generic BSD, mips-*-bsd*+ Generic System V, mips-*-sysv*+ IRIX before version 5, mips-sgi-irix[1234]*+ RiscOS, mips-*-riscos*+ Sony, mips-sony-*+ Tandem, mips-tandem-** SPARC:+ RTEMS/a.out, sparc-*-rtemsaout*.Documentation improvements* The old manual ("Using and Porting the GNU Compiler Collection")has been replaced by a users manual ("Using the GNU CompilerCollection") and a separate internals reference manual ("GNUCompiler Collection Internals").* More complete and much improved documentation about GCC's internalrepresentation used by the C and C++ front ends.* Many cleanups and improvements in general.Please send FSF & GNU inquiries & questions to [13]gnu@gnu.org. Thereare also [14]other ways to contact the FSF.These pages are [15]maintained by the GCC team.For questions related to the use of GCC, please consult these webpages and the [16]GCC manuals. If that fails, the[17]gcc-help@gcc.gnu.org mailing list might help.Please send comments on these web pages and the development of GCC toour developer mailing list at [18]gcc@gnu.org or [19]gcc@gcc.gnu.org.All of our lists have [20]public archives.Copyright (C) Free Software Foundation, Inc., 51 Franklin St, FifthFloor, Boston, MA 02110, USA.Verbatim copying and distribution of this entire article is permittedin any medium, provided this notice is preserved.Last modified 2010-07-11 [21]Valid XHTML 1.0References1. http://gcc.gnu.org/ml/gcc/2002-07/msg01208.html2. http://gcc.gnu.org/news/profiledriven.html3. http://gcc.gnu.org/benchmarks/4. http://gcc.gnu.org/gcc-3.1/c99status.html5. http://gcc.gnu.org/onlinedocs/libstdc++/faq.html6. http://gcc.gnu.org/onlinedocs/gcc-3.1.1/g77/News.html7. http://www.adacore.com/home/8. http://www-cs-faculty.stanford.edu/~knuth/mmix.html9. http://www.axis.com/10. http://developer.axis.com/11. http://www.superh.com/12. http://www.x86-64.org/13. mailto:gnu@gnu.org14. http://www.gnu.org/home.html#ContactInfo15. http://gcc.gnu.org/about.html16. http://gcc.gnu.org/onlinedocs/17. mailto:gcc-help@gcc.gnu.org18. mailto:gcc@gnu.org19. mailto:gcc@gcc.gnu.org20. http://gcc.gnu.org/lists.html21. http://validator.w3.org/check/referer======================================================================http://gcc.gnu.org/gcc-3.0/gcc-3.0.htmlGCC 3.0.4February 20, 2002The [1]GNU project and the GCC developers are pleased to announce therelease of GCC 3.0.4, which is a bug-fix release for the GCC 3.0series.GCC used to stand for the GNU C Compiler, but since the compilersupports several other languages aside from C, it now stands for theGNU Compiler Collection.GCC 3.0.x has several new optimizations, new targets, new languages andmany other new features, relative to GCC 2.95.x. See the [2]newfeatures page for a more complete list.A list of [3]successful builds is updated as new information becomesavailable.The GCC developers would like to thank the numerous people that havecontributed new features, test results, bug fixes, etc to GCC. This[4]amazing group of volunteers is what makes GCC successful.And finally, we can't in good conscience fail to mention some[5]caveats to using GCC 3.0.x.For additional information about GCC please refer to the [6]GCC projectweb site or contact the [7]GCC development mailing list.To obtain GCC please use [8]our mirror sites, or our CVS server.__________________________________________________________________Previous 3.0.x ReleasesDecember 20, 2001: GCC 3.0.3 has been released.October 25, 2001: GCC 3.0.2 has been released.August 20, 2001: GCC 3.0.1 has been released.June 18, 2001: GCC 3.0 has been released.Please send FSF & GNU inquiries & questions to [9]gnu@gnu.org. Thereare also [10]other ways to contact the FSF.These pages are [11]maintained by the GCC team.For questions related to the use of GCC, please consult these webpages and the [12]GCC manuals. If that fails, the[13]gcc-help@gcc.gnu.org mailing list might help.Please send comments on these web pages and the development of GCC toour developer mailing list at [14]gcc@gnu.org or [15]gcc@gcc.gnu.org.All of our lists have [16]public archives.Copyright (C) Free Software Foundation, Inc., 51 Franklin St, FifthFloor, Boston, MA 02110, USA.Verbatim copying and distribution of this entire article is permittedin any medium, provided this notice is preserved.Last modified 2010-07-01 [17]Valid XHTML 1.0References1. http://www.gnu.org/2. http://gcc.gnu.org/gcc-3.0/features.html3. http://gcc.gnu.org/gcc-3.0/buildstat.html4. http://gcc.gnu.org/onlinedocs/gcc/Contributors.html5. http://gcc.gnu.org/gcc-3.0/caveats.html6. http://gcc.gnu.org/index.html7. mailto:gcc@gcc.gnu.org8. http://gcc.gnu.org/mirrors.html9. mailto:gnu@gnu.org10. http://www.gnu.org/home.html#ContactInfo11. http://gcc.gnu.org/about.html12. http://gcc.gnu.org/onlinedocs/13. mailto:gcc-help@gcc.gnu.org14. mailto:gcc@gnu.org15. mailto:gcc@gcc.gnu.org16. http://gcc.gnu.org/lists.html17. http://validator.w3.org/check/referer======================================================================http://gcc.gnu.org/gcc-3.0/features.htmlGCC 3.0 New FeaturesAdditional changes in GCC 3.0.4* GCC 3.0 now supports newer versions of the [1]NetBSD operatingsystem, which use the ELF object file format, on x86 processors.* Correct debugging information is generated from functions that havelines from multiple files (e.g. yacc output).* A fix for whitespace handling in the -traditional preprocessor,which can affect Fortran.* Fixes to the exception handling runtime.* More fixes for bad code generation in C++.* A fix for shared library generation under AIX 4.3.* Documentation updates.* Port of GCC to Tensilica's Xtensa processor contributed.* A fix for compiling the PPC Linux kernel (FAT fs wouldn't link).Additional changes in GCC 3.0.3* A fix to correct an accidental change to the PowerPC ABI.* Fixes for bad code generation on a variety of architectures.* Improvements to the debugging information generated for C++classes.* Fixes for bad code generation in C++.* A fix to avoid crashes in the C++ demangler.* A fix to the C++ standard library to avoid buffer overflows.* Miscellaneous improvements for a variety of architectures.Additional changes in GCC 3.0.2* Fixes for bad code generation during loop unrolling.* Fixes for bad code generation by the sibling call optimization.* Minor improvements to x86 code generation.* Implementation of function descriptors in C++ vtables for IA64.* Numerous minor bug-fixes.Additional changes in GCC 3.0.1* C++ fixes for incorrect code-generation.* Improved cross-compiling support for the C++ standard library.* Fixes for some embedded targets that worked in GCC 2.95.3, but notin GCC 3.0.* Fixes for various exception-handling bugs.* A port to the S/390 architecture.General Optimizer Improvements* [2]Basic block reordering pass.* New if-conversion pass with support for conditional (predicated)execution.* New tail call and sibling call elimination optimizations.* New register renaming pass.* New (experimental) [3]static single assignment (SSA) representationsupport.* New dead-code elimination pass implemented using the SSArepresentation.* [4]Global null pointer test elimination.* [5]Global code hoisting/unification.* More builtins and optimizations for stdio.h, string.h and old BSDfunctions, as well as for ISO C99 functions.* New builtin __builtin_expect for giving hints to the branchpredictor.New Languages and Language specific improvements* The GNU Compiler for the Java(TM) language (GCJ) is now integratedand supported, including the run-time library containing mostcommon non-GUI Java classes, a bytecode interpreter, and the Boehmconservative garbage collector. Many bugs have been fixed. GCJ cancompile Java source or Java bytecodes to either native code or Javaclass files, and supports native methods written in either thestandard JNI or the more efficient and convenient CNI.* Here is a [6]partial list of C++ improvements, both new featuresand those no longer supported.* New C++ ABI. On the IA-64 platform GCC is capable ofinter-operating with other IA-64 compilers.* The new ABI also significantly reduces the size of symbol and debuginformation.* New [7]C++ support library and many C++ bug fixes, vastly improvingour conformance to the ISO C++ standard.* New [8]inliner for C++.* Rewritten C preprocessor, integrated into the C, C++ and ObjectiveC compilers, with very many improvements including ISO C99 supportand [9]improvements to dependency generation.* Support for more [10]ISO C99 features.* Many improvements to support for checking calls to format functionssuch as printf and scanf, including support for ISO C99 formatfeatures, extensions from the Single Unix Specification and GNUlibc 2.2, checking of strfmon formats and features to assist inauditing for format string security bugs.* New warnings for C code that may have undefined semantics becauseof violations of sequence point rules in the C standard (such as a= a++;, a[n] = b[n++]; and a[i++] = i;), included in -Wall.* Additional warning option -Wfloat-equal.* Improvements to -Wtraditional.* Fortran improvements are listed in [11]the Fortran documentation.New Targets and Target Specific Improvements* New x86 back-end, generating much improved code.* Support for a generic i386-elf target contributed.* New option to emit x86 assembly code using Intel style syntax(-mintel-syntax).* HPUX 11 support contributed.* Improved PowerPC code generation, including scheduled prologue andepilogue.* Port of GCC to Intel's IA-64 processor contributed.* Port of GCC to Motorola's MCore 210 and 340 contributed.* New unified back-end for Arm, Thumb and StrongArm contributed.* Port of GCC to Intel's XScale processor contributed.* Port of GCC to Atmel's AVR microcontrollers contributed.* Port of GCC to Mitsubishi's D30V processor contributed.* Port of GCC to Matsushita's AM33 processor (a member of the MN10300processor family) contributed.* Port of GCC to Fujitsu's FR30 processor contributed.* Port of GCC to Motorola's 68HC11 and 68HC12 processors contributed.* Port of GCC to Sun's picoJava processor core contributed.Documentation improvements* Substantially rewritten and improved C preprocessor manual.* Many improvements to other documentation.* Manpages for gcc, cpp and gcov are now generated automatically fromthe master Texinfo manual, eliminating the problem of manpagesbeing out of date. (The generated manpages are only extracts fromthe full manual, which is provided in Texinfo form, from whichinfo, HTML, other formats and a printed manual can be generated.)* Generated info files are included in the release tarballs alongsidetheir Texinfo sources, avoiding problems on some platforms withbuilding makeinfo as part of the GCC distribution.Other significant improvements* Garbage collection used internally by the compiler for most memoryallocation instead of obstacks.* Lengauer and Tarjan algorithm used for computing dominators in theCFG. This algorithm can be significantly faster and more spaceefficient than our older algorithm.* gccbug script provided to assist in submitting bug reports to ourbug tracking system. (Bug reports previously submitted directly toour mailing lists, for which you received no bug tracking number,should be submitted again using gccbug if you can reproduce theproblem with GCC 3.0.)* The internal libgcc library is [12]built as a shared library onsystems that support it.* Extensive testsuite included with GCC, with many new tests. Inaddition to tests for GCC bugs that have been fixed, many testshave been added for language features, compiler warnings andbuiltin functions.* Additional language-independent warning options -Wpacked, -Wpadded,-Wunreachable-code and -Wdisabled-optimization.* Target-independent options -falign-functions, -falign-loops and-falign-jumps.Plus a great many bug fixes and almost all the [13]features found inGCC 2.95.Please send FSF & GNU inquiries & questions to [14]gnu@gnu.org. Thereare also [15]other ways to contact the FSF.These pages are [16]maintained by the GCC team.For questions related to the use of GCC, please consult these webpages and the [17]GCC manuals. If that fails, the[18]gcc-help@gcc.gnu.org mailing list might help.Please send comments on these web pages and the development of GCC toour developer mailing list at [19]gcc@gnu.org or [20]gcc@gcc.gnu.org.All of our lists have [21]public archives.Copyright (C) Free Software Foundation, Inc., 51 Franklin St, FifthFloor, Boston, MA 02110, USA.Verbatim copying and distribution of this entire article is permittedin any medium, provided this notice is preserved.Last modified 2010-07-01 [22]Valid XHTML 1.0References1. http://www.netbsd.org/2. http://gcc.gnu.org/news/reorder.html3. http://gcc.gnu.org/news/ssa.html4. http://gcc.gnu.org/news/null.html5. http://gcc.gnu.org/news/unify.html6. http://gcc.gnu.org/gcc-3.0/c++features.html7. http://gcc.gnu.org/libstdc++/8. http://gcc.gnu.org/news/inlining.html9. http://gcc.gnu.org/news/dependencies.html10. http://gcc.gnu.org/gcc-3.0/c99status.html11. http://gcc.gnu.org/onlinedocs/gcc-3.4.6/g77/News.html12. http://gcc.gnu.org/gcc-3.0/libgcc.html13. http://gcc.gnu.org/gcc-2.95/features.html14. mailto:gnu@gnu.org15. http://www.gnu.org/home.html#ContactInfo16. http://gcc.gnu.org/about.html17. http://gcc.gnu.org/onlinedocs/18. mailto:gcc-help@gcc.gnu.org19. mailto:gcc@gnu.org20. mailto:gcc@gcc.gnu.org21. http://gcc.gnu.org/lists.html22. http://validator.w3.org/check/referer======================================================================http://gcc.gnu.org/gcc-3.0/caveats.htmlGCC 3.0 Caveats* -fstrict-aliasing is now part of -O2 and higher optimizationlevels. This allows the compiler to assume the strictest aliasingrules applicable to the language being compiled. For C and C++,this activates optimizations based on the type of expressions. Thisoptimization may thus break old, non-compliant code.* Enumerations are now properly promoted to int in functionparameters and function returns. Normally this change is notvisible, but when using -fshort-enums this is an ABI change.* The undocumented extension that allowed C programs to have a labelat the end of a compound statement has been deprecated and may beremoved in a future version. Programs that now generate a warningabout this may be fixed by adding a null statement (a singlesemicolon) after the label.* The poorly documented extension that allowed string constants in C,C++ and Objective C to contain unescaped newlines has beendeprecated and may be removed in a future version. Programs usingthis extension may be fixed in several ways: the bare newline maybe replaced by \n, or preceded by \n\, or string concatenation maybe used with the bare newline preceded by \n" and " placed at thestart of the next line.* The Chill compiler is not included in GCC 3.0, because of the lackof a volunteer to convert it to use garbage collection.* Certain non-standard iostream methods from earlier versions oflibstdc++ are not included in libstdc++ v3, i.e. filebuf::attach,ostream::form, and istream::gets.* The new C++ ABI is not yet fully supported by current (as of2001-07-01) releases and development versions of GDB, or anyearlier versions. There is a problem setting breakpoints by linenumber, and other related issues that have been fixed in GCC 3.0but not yet handled in GDB:[1]http://gcc.gnu.org/ml/gcc-bugs/2001-06/msg00421.htmlPlease send FSF & GNU inquiries & questions to [2]gnu@gnu.org. Thereare also [3]other ways to contact the FSF.These pages are [4]maintained by the GCC team.For questions related to the use of GCC, please consult these webpages and the [5]GCC manuals. If that fails, the[6]gcc-help@gcc.gnu.org mailing list might help.Please send comments on these web pages and the development of GCC toour developer mailing list at [7]gcc@gnu.org or [8]gcc@gcc.gnu.org.All of our lists have [9]public archives.Copyright (C) Free Software Foundation, Inc., 51 Franklin St, FifthFloor, Boston, MA 02110, USA.Verbatim copying and distribution of this entire article is permittedin any medium, provided this notice is preserved.Last modified 2010-07-01 [10]Valid XHTML 1.0References1. http://gcc.gnu.org/ml/gcc-bugs/2001-06/msg00421.html2. mailto:gnu@gnu.org3. http://www.gnu.org/home.html#ContactInfo4. http://gcc.gnu.org/about.html5. http://gcc.gnu.org/onlinedocs/6. mailto:gcc-help@gcc.gnu.org7. mailto:gcc@gnu.org8. mailto:gcc@gcc.gnu.org9. http://gcc.gnu.org/lists.html10. http://validator.w3.org/check/referer======================================================================http://gcc.gnu.org/gcc-2.95/index.htmlGCC 2.95March 16, 2001: The GNU project and the GCC developers are pleased toannounce the release of GCC version 2.95.3.Release HistoryGCC 2.95.3March 16, 2001GCC 2.95.2October 27, 1999GCC 2.95.1August 19, 1999GCC 2.95July 31, 1999. This is the first release of GCC since the April1999 GCC/EGCS reunification and includes nearly a year's worthof new development and bugfixes.References and AcknowledgementsGCC used to stand for the GNU C Compiler, but since the compilersupports several other languages aside from C, it now stands for theGNU Compiler Collection.The whole suite has been extensively [1]regression tested and[2]package tested. It should be reliable and suitable for widespreaduse.The compiler has several new optimizations, new targets, new languagesand other new features. See the [3]new features page for a morecomplete list of new features found in the GCC 2.95 releases.The sources include installation instructions in both HTML andplaintext forms in the install directory in the distribution. However,the most up to date [4]installation instructions and [5]build/teststatus are on the web pages. We will update those pages as newinformation becomes available.The GCC developers would like to thank the numerous people that havecontributed new features, test results, bugfixes, etc to GCC. This[6]amazing group of volunteers is what makes GCC successful.And finally, we can't in good conscience fail to mention some[7]caveats to using GCC 2.95.Download GCC 2.95 from one of our many [8]mirror sites.For additional information about GCC please see the [9]GCC project webserver or contact the [10]GCC development mailing list.Please send FSF & GNU inquiries & questions to [11]gnu@gnu.org. Thereare also [12]other ways to contact the FSF.These pages are [13]maintained by the GCC team.For questions related to the use of GCC, please consult these webpages and the [14]GCC manuals. If that fails, the[15]gcc-help@gcc.gnu.org mailing list might help.Please send comments on these web pages and the development of GCC toour developer mailing list at [16]gcc@gnu.org or [17]gcc@gcc.gnu.org.All of our lists have [18]public archives.Copyright (C) Free Software Foundation, Inc., 51 Franklin St, FifthFloor, Boston, MA 02110, USA.Verbatim copying and distribution of this entire article is permittedin any medium, provided this notice is preserved.Last modified 2010-07-01 [19]Valid XHTML 1.0References1. http://gcc.gnu.org/gcc-2.95/regress.html2. http://gcc.gnu.org/gcc-2.95/othertest.html3. http://gcc.gnu.org/gcc-2.95/features.html4. http://gcc.gnu.org/install/5. http://gcc.gnu.org/gcc-2.95/buildstat.html6. http://gcc.gnu.org/onlinedocs/gcc/Contributors.html7. http://gcc.gnu.org/gcc-2.95/caveats.html8. http://gcc.gnu.org/mirrors.html9. http://gcc.gnu.org/index.html10. mailto:gcc@gcc.gnu.org11. mailto:gnu@gnu.org12. http://www.gnu.org/home.html#ContactInfo13. http://gcc.gnu.org/about.html14. http://gcc.gnu.org/onlinedocs/15. mailto:gcc-help@gcc.gnu.org16. mailto:gcc@gnu.org17. mailto:gcc@gcc.gnu.org18. http://gcc.gnu.org/lists.html19. http://validator.w3.org/check/referer======================================================================http://gcc.gnu.org/gcc-2.95/features.htmlGCC 2.95 New Features* General Optimizer Improvements:+ [1]Localized register spilling to improve speed and codedensity especially on small register class machines.+ [2]Global CSE using lazy code motion algorithms.+ [3]Improved global constant/copy propagation.+ [4]Improved control flow graph analysis and manipulation.+ [5]Local dead store elimination.+ [6]Memory Load hoisting/store sinking in loops.+ [7]Type based alias analysis is enabled by default. Note thisfeature will expose bugs in the Linux kernel. Please refer tothe FAQ (as shipped with GCC 2.95) for additional informationon this issue.+ Major revamp of GIV detection, combination and simplificationto improve loop performance.+ Major improvements to register allocation and reloading.* New Languages and Language specific improvements+ [8]Many C++ improvements.+ [9]Many Fortran improvements.+ [10]Java front-end has been integrated. [11]runtime library isavailable separately.+ [12]ISO C99 support+ [13]Chill front-end and runtime has been integrated.+ Boehm garbage collector support in libobjc.+ More support for various pragmas which appear in vendorinclude files* New Targets and Target Specific Improvements+ [14]SPARC backend rewrite.+ -mschedule=8000 will optimize code for PA8000 classprocessors; -mpa-risc-2-0 will generate code for PA2.0processors+ Various micro-optimizations for the ia32 port. K6optimizations+ Compiler will attempt to align doubles in the stack on theia32 port+ Alpha EV6 support+ PowerPC 750+ RS6000/PowerPC: -mcpu=401 was added as an alias for -mcpu=403.-mcpu=e603e was added to do -mcpu=603e and -msoft-float.+ c3x, c4x+ HyperSPARC+ SparcLite86x+ sh4+ Support for new systems (OpenBSD, FreeBSD, UWIN, Interix,arm-linux)+ vxWorks targets include support for vxWorks threads+ StrongARM 110 and ARM9 support added. ARM Schedulingparameters rewritten.+ Various changes to the MIPS port to avoid assembler macros,which in turn improves performance+ Various performance improvements to the i960 port.+ Major rewrite of ns32k port* Other significant improvements+ [15]Ability to dump cfg information and display it using vcg.+ The new faster scheme for fixing vendor header files isenabled by default.+ Experimental internationalization support.+ multibyte character support+ Some compile-time speedups for pathological problems+ Better support for complex types* Plus the usual mountain of bugfixes* Core compiler is based on the gcc2 development tree from Sept 30,1998, so we have all of the [16]features found in GCC 2.8.Additional Changes in GCC 2.95.1* Generic bugfixes and improvements+ Various documentation fixes related to the GCC/EGCS merger.+ Fix memory management bug which could lead to spurious aborts,core dumps or random parsing errors in the compiler.+ Fix a couple bugs in the dwarf1 and dwarf2 debug recordsupport.+ Fix infinite loop in the CSE optimizer.+ Avoid undefined behavior in compiler FP emulation code+ Fix install problem when prefix is overridden on the makeinstall command.+ Fix problem with unwanted installation of assert.h on somesystems.+ Fix problem with finding the wrong assembler in a single treebuild.+ Avoid increasing the known alignment of a register that isalready known to be a pointer.* Platform specific bugfixes and improvements+ Codegen bugfix for prologue/epilogue for cpu32 target.+ Fix long long code generation bug for the Coldfire target.+ Fix various aborts in the SH compiler.+ Fix bugs in libgcc support library for the SH.+ Fix alpha ev6 code generation bug.+ Fix problems with EXIT_SUCCESS/EXIT_FAILURE redefinitions onAIX platforms.+ Fix -fpic code generation bug for rs6000/ppc svr4 targets.+ Fix varargs/stdarg code generation bug for rs6000/ppc svr4targets.+ Fix weak symbol handling for rs6000/ppc svr4 targets.+ Fix various problems with 64bit code generation for thers6000/ppc port.+ Fix codegen bug which caused tetex to be mis-compiled on thex86.+ Fix compiler abort in new cfg code exposed by x86 port.+ Fix out of range array reference in code convert flatregisters to the x87 stacked FP register file.+ Fix minor vxworks configuration bug.+ Fix return type of bsearch for SunOS 4.x.* Language & Runtime specific fixes.+ The G++ signature extension has been deprecated. It will beremoved in the next major release of G++. Use of signatureswill result in a warning from the compiler.+ Several bugs relating to templates and namespaces were fixed.+ A bug that caused crashes when combining templates with -g onDWARF1 platforms was fixed.+ Pointers-to-members, virtual functions, and multipleinheritance should now work together correctly.+ Some code-generation bugs relating to function try blocks werefixed.+ G++ is a little bit more lenient with certain archaicconstructs than in GCC 2.95.+ Fix to prevent shared library version #s from bring truncatedto 1 digit+ Fix missing std:: in the libstdc++ library.+ Fix stream locking problems in libio.+ Fix problem in java compiler driver.Additional Changes in GCC 2.95.2The -fstrict-aliasing is not enabled by default for GCC 2.95.2. Whilethe optimizations performed by -fstrict-aliasing are valid according tothe C and C++ standards, the optimization have caused some problems,particularly with old non-conforming code.The GCC developers are experimenting with ways to warn users about codewhich violates the C/C++ standards, but those warnings are not readyfor widespread use at this time. Rather than wait for those warningsthe GCC developers have chosen to disable -fstrict-aliasing by defaultfor the GCC 2.95.2 release.We strongly encourage developers to find and fix code which violatesthe C/C++ standards as -fstrict-aliasing may be enabled by default infuture releases. Use the option -fstrict-aliasing to re-enable theseoptimizations.* Generic bugfixes and improvements+ Fix incorrectly optimized memory reference in global commonsubexpression elimination (GCSE) optimization pass.+ Fix code generation bug in regmove.c in which it couldincorrectly change a "const" value.+ Fix bug in optimization of conditionals involving volatilememory references.+ Avoid over-allocation of stack space for some procedures.+ Fixed bug in the compiler which caused incorrect optimizationof an obscure series of bit manipulations, shifts andarithmetic.+ Fixed register allocator bug which caused teTeX to bemis-compiled on SPARC targets.+ Avoid incorrect optimization of degenerate case statements forcertain targets such as the ARM.+ Fix out of range memory reference in the jump optimizer.+ Avoid dereferencing null pointer in fix-header.+ Fix test for GCC specific features so that it is possible tobootstrap with gcc-2.6.2 and older versions of GCC.+ Fix typo in scheduler which could potentially cause out ofrange memory accesses.+ Avoid incorrect loop reversal which caused incorrect code forcertain loops on PowerPC targets.+ Avoid incorrect optimization of switch statements on certaintargets (for example the ARM).* Platform specific bugfixes and improvements+ Work around bug in Sun V5.0 compilers which caused bootstrapcomparison failures on SPARC targets.+ Fix SPARC backend bug which caused aborts in final.c.+ Fix sparc-hal-solaris2* configuration fragments.+ Fix bug in sparc block profiling.+ Fix obscure code generation bug for the PARISC targets.+ Define __STDC_EXT__ for HPUX configurations.+ Various POWERPC64 code generation bugfixes.+ Fix abort for PPC targets using ELF (ex GNU/Linux).+ Fix collect2 problems for AIX targets.+ Correct handling of .file directive for PPC targets.+ Fix bug in fix_trunc x86 patterns.+ Fix x86 port to correctly pop the FP stack for functions thatreturn structures in memory.+ Fix minor bug in strlen x86 pattern.+ Use stabs debugging instead of dwarf1 for x86-solaris targets.+ Fix template repository code to handle leading underscore inmangled names.+ Fix weak/weak alias support for OpenBSD.+ GNU/Linux for the ARM has C++ compatible include files.* Language & Runtime specific fixes.+ Fix handling of constructor attribute in the C front-end whichcaused problems building the Chill runtime library on sometargets.+ Fix minor problem merging type qualifiers in the C front-end.+ Fix aliasing bug for pointers and references (C/C++).+ Fix incorrect "non-constant initializer bug" when -traditionalor -fwritable-strings is enabled.+ Fix build error for Chill front-end on SunOS.+ Do not complain about duplicate instantiations when using-frepo (C++).+ Fix array bounds handling in C++ front-end which causedproblems with dwarf debugging information in somecircumstances.+ Fix minor namespace problem.+ Fix problem linking java programs.Additional Changes in GCC 2.95.3* Generic bugfixes and improvements+ Fix numerous problems that caused incorrect optimization inthe register reloading code.+ Fix numerous problems that caused incorrect optimization inthe loop optimizer.+ Fix aborts in the functions build_insn_chain and scan_loopsunder some circumstances.+ Fix an alias analysis bug.+ Fix an infinite compilation bug in the combiner.+ A few problems with complex number support have been fixed.+ It is no longer possible for gcc to act as a fork bomb wheninstalled incorrectly.+ The -fpack-struct option should be recognized now.+ Fixed a bug that caused incorrect code to be generated due toa lost stack adjustment.* Platform specific bugfixes and improvements+ Support building ARM toolchains hosted on Windows.+ Fix attribute calculations in ARM toolchains.+ arm-linux support has been improved.+ Fix a PIC failure on sparc targets.+ On ix86 targets, the regparm attribute should now workreliably.+ Several updates for the h8300 port.+ Fix problem building libio with glibc 2.2.Please send FSF & GNU inquiries & questions to [17]gnu@gnu.org. Thereare also [18]other ways to contact the FSF.These pages are [19]maintained by the GCC team.For questions related to the use of GCC, please consult these webpages and the [20]GCC manuals. If that fails, the[21]gcc-help@gcc.gnu.org mailing list might help.Please send comments on these web pages and the development of GCC toour developer mailing list at [22]gcc@gnu.org or [23]gcc@gcc.gnu.org.All of our lists have [24]public archives.Copyright (C) Free Software Foundation, Inc., 51 Franklin St, FifthFloor, Boston, MA 02110, USA.Verbatim copying and distribution of this entire article is permittedin any medium, provided this notice is preserved.Last modified 2010-07-01 [25]Valid XHTML 1.0References1. http://gcc.gnu.org/news/spill.html2. http://gcc.gnu.org/news/lcm.html3. http://gcc.gnu.org/news/cprop.html4. http://gcc.gnu.org/news/cfg.html5. http://gcc.gnu.org/news/dse.html6. http://gcc.gnu.org/news/hoist.html7. http://gcc.gnu.org/news/alias.html8. http://gcc.gnu.org/gcc-2.95/c++features.html9. http://gcc.gnu.org/onlinedocs/gcc-3.4.6/g77/News.html10. http://gcc.gnu.org/java/gcj-announce.txt11. http://gcc.gnu.org/news/javaannounce.html12. http://gcc.gnu.org/c99status.html13. http://gcc.gnu.org/news/chill.html14. http://gcc.gnu.org/news/sparc.html15. http://gcc.gnu.org/news/egcs-vcg.html16. http://gcc.gnu.org/egcs-1.0/features-2.8.html17. mailto:gnu@gnu.org18. http://www.gnu.org/home.html#ContactInfo19. http://gcc.gnu.org/about.html20. http://gcc.gnu.org/onlinedocs/21. mailto:gcc-help@gcc.gnu.org22. mailto:gcc@gnu.org23. mailto:gcc@gcc.gnu.org24. http://gcc.gnu.org/lists.html25. http://validator.w3.org/check/referer======================================================================http://gcc.gnu.org/gcc-2.95/caveats.htmlGCC 2.95 Caveats* GCC 2.95 will issue an error for invalid asm statements that hadbeen silently accepted by earlier versions of the compiler. This isparticularly noticeable when compiling older versions of the Linuxkernel (2.0.xx). Please refer to the FAQ (as shipped with GCC 2.95)for more information on this issue.* GCC 2.95 implements type based alias analysis to disambiguatememory references. Some programs, particularly the Linux kernelviolate ANSI/ISO aliasing rules and therefore may not operatecorrectly when compiled with GCC 2.95. Please refer to the FAQ (asshipped with GCC 2.95) for more information on this issue.* GCC 2.95 has a known bug in its handling of complex variables for64bit targets. Instead of silently generating incorrect code, GCC2.95 will issue a fatal error for situations it can not handle.This primarily affects the Fortran community as Fortran makes moreuse of complex variables than C or C++.* GCC 2.95 has an integrated libstdc++, but does not have anintegrated libg++. Furthermore old libg++ releases will not workwith GCC 2.95. You can retrieve a recent copy of libg++ from the[1]GCC ftp server.Note most C++ programs only need libstdc++.* Exception handling may not work with shared libraries, particularlyon alphas, hppas, rs6000/powerpc and mips based platforms.Exception handling is known to work on x86 GNU/Linux platforms withshared libraries.* In general, GCC 2.95 is more rigorous about rejecting invalid C++code or deprecated C++ constructs than G++ 2.7, G++ 2.8, EGCS 1.0,or EGCS 1.1. As a result it may be necessary to fix C++ code beforeit will compile with GCC 2.95.* G++ is also converting toward the ISO C++ standard; as a resultcode which was previously valid (and thus accepted by othercompilers and older versions of g++) may no longer be accepted. Theflag -fpermissive may allow some non-conforming code to compilewith GCC 2.95.* GCC 2.95 compiled C++ code is not binary compatible with EGCS1.1.x, EGCS 1.0.x or GCC 2.8.x.* GCC 2.95 does not have changes from the GCC 2.8 tree that were madebetween Sept 30, 1998 and April 30, 1999 (the official end of theGCC 2.8 project). Future GCC releases will include all the changesfrom the defunct GCC 2.8 sources.Please send FSF & GNU inquiries & questions to [2]gnu@gnu.org. Thereare also [3]other ways to contact the FSF.These pages are [4]maintained by the GCC team.For questions related to the use of GCC, please consult these webpages and the [5]GCC manuals. If that fails, the[6]gcc-help@gcc.gnu.org mailing list might help.Please send comments on these web pages and the development of GCC toour developer mailing list at [7]gcc@gnu.org or [8]gcc@gcc.gnu.org.All of our lists have [9]public archives.Copyright (C) Free Software Foundation, Inc., 51 Franklin St, FifthFloor, Boston, MA 02110, USA.Verbatim copying and distribution of this entire article is permittedin any medium, provided this notice is preserved.Last modified 2010-07-01 [10]Valid XHTML 1.0References1. ftp://gcc.gnu.org/pub/gcc/infrastructure/libg++-2.8.1.3.tar.gz2. mailto:gnu@gnu.org3. http://www.gnu.org/home.html#ContactInfo4. http://gcc.gnu.org/about.html5. http://gcc.gnu.org/onlinedocs/6. mailto:gcc-help@gcc.gnu.org7. mailto:gcc@gnu.org8. mailto:gcc@gcc.gnu.org9. http://gcc.gnu.org/lists.html10. http://validator.w3.org/check/referer======================================================================http://gcc.gnu.org/egcs-1.1/index.htmlEGCS 1.1September 3, 1998: We are pleased to announce the release of EGCS 1.1.December 1, 1998: We are pleased to announce the release of EGCS 1.1.1.March 15, 1999: We are pleased to announce the release of EGCS 1.1.2.EGCS is a free software project to further the development of the GNUcompilers using an open development environment.EGCS 1.1 is a major new release of the EGCS compiler system. It hasbeen [1]extensively tested and is believed to be stable and suitablefor widespread use.EGCS 1.1 is based on an June 6, 1998 snapshot of the GCC 2.8development sources; it contains all of the new features found in GCC2.8.1 as well as all new development from GCC up to June 6, 1998.EGCS 1.1 also contains many improvements and features not found in GCCor in older versions of EGCS:* Global common subexpression elimination and global constant/copypropagation (aka [2]gcse)* Ongoing improvements to the [3]alias analysis support to allow forbetter optimizations throughout the compiler.* Vastly improved [4]C++ compiler and integrated C++ runtimelibraries.* Fixes for the /tmp symlink race security problems.* New targets including mips16, arm-thumb and 64 bit PowerPC.* Improvements to GNU Fortran (g77) compiler and runtime library madesince g77 version 0.5.23.See the [5]new features page for a more complete list of new featuresfound in EGCS 1.1 releases.EGCS 1.1.1 is a minor update to fix several serious problems in EGCS1.1:* General improvements and fixes+ Avoid some stack overflows when compiling large functions.+ Avoid incorrect loop invariant code motions.+ Fix some core dumps on Linux kernel code.+ Bring back the imake -Di386 and friends fix from EGCS 1.0.2.+ Fix code generation problem in gcse.+ Various documentation related fixes.* g++/libstdc++ improvements and fixes+ MT safe EH fix for setjmp/longjmp based exception handling.+ Fix a few bad interactions between optimization and exceptionhandling.+ Fixes for demangling of template names starting with "__".+ Fix a bug that would fail to run destructors in some caseswith -O2.+ Fix 'new' of classes with virtual bases.+ Fix crash building Qt on the Alpha.+ Fix failure compiling WIFEXITED macro on GNU/Linux.+ Fix some -frepo failures.* g77 and libf2c improvements and fixes+ Various documentation fixes.+ Avoid compiler crash on RAND intrinsic.+ Fix minor bugs in makefiles exposed by BSD make programs.+ Define _XOPEN_SOURCE for libI77 build to avoid potentialproblems on some 64-bit systems.+ Fix problem with implicit endfile on rewind.+ Fix spurious recursive I/O errors.* platform specific improvements and fixes+ Match all versions of UnixWare7.+ Do not assume x86 SVR4 or UnixWare targets can handle stabs.+ Fix PPC/RS6000 LEGITIMIZE_ADDRESS macro and bug in conversionfrom unsigned ints to double precision floats.+ Fix ARM ABI issue with NetBSD.+ Fix a few arm code generation bugs.+ Fixincludes will fix additional broken SCO OpenServer headerfiles.+ Fix a m68k backend bug which caused invalid offsets in reg+daddresses.+ Fix problems with 64bit AIX 4.3 support.+ Fix handling of long longs for varargs/stdarg functions on theppc.+ Minor fixes to CPP predefines for Windows.+ Fix code generation problems with gpr<->fpr copies for 64bitppc.+ Fix a few coldfire code generation bugs.+ Fix some more header file problems on SunOS 4.x.+ Fix assert.h handling for RTEMS.+ Fix Windows handling of TREE_SYMBOL_REFERENCED.+ Fix x86 compiler abort in reg-stack pass.+ Fix cygwin/windows problem with section attributes.+ Fix Alpha code generation problem exposed by SMP Linuxkernels.+ Fix typo in m68k 32->64bit integer conversion.+ Make sure target libraries build with -fPIC for PPC & Alphatargets.EGCS 1.1.2 is a minor update to fix several serious problems in EGCS1.1.1:* General improvements and fixes+ Fix bug in loop optimizer which caused the SPARC (andpotentially other) ports to segfault.+ Fix infinite recursion in alias analysis and combiner code.+ Fix bug in regclass preferencing.+ Fix incorrect loop reversal which caused incorrect code to begenerated for several targets.+ Fix return value for builtin memcpy.+ Reduce compile time for certain loops which exposed quadraticbehavior in the loop optimizer.+ Fix bug which caused volatile memory to be written multipletimes when only one write was needed/desired.+ Fix compiler abort in caller-save.c+ Fix combiner bug which caused incorrect code generation forcertain division by constant operations.+ Fix incorrect code generation due to a bug in range checkoptimizations.+ Fix incorrect code generation due to mis-handling of clobberedvalues in CSE.+ Fix compiler abort/segfault due to incorrect registersplitting when unrolling loops.+ Fix code generation involving autoincremented addresses withternary operators.+ Work around bug in the scheduler which caused qt to bemis-compiled on some platforms.+ Fix code generation problems with -fshort-enums.+ Tighten security for temporary files.+ Improve compile time for codes which make heavy use ofoverloaded functions.+ Fix multiply defined constructor/destructor symbol problems.+ Avoid setting bogus RPATH environment variable duringbootstrap.+ Avoid GNU-make dependencies in the texinfo subdir.+ Install CPP wrapper script in $(prefix)/bin if --enable-cpp.--enable-cpp=<dirname> can be used to specify an additionalinstall directory for the cpp wrapper script.+ Fix CSE bug which caused incorrect label-label refs to appearon some platforms.+ Avoid linking in EH routines from libgcc if they are notneeded.+ Avoid obscure bug in aliasing code.+ Fix bug in weak symbol handling.* Platform-specific improvements and fixes+ Fix detection of PPro/PII on Unixware 7.+ Fix compiler segfault when building spec99 and other programsfor SPARC targets.+ Fix code-generation bugs for integer and floating pointconditional move instructions on the PPro/PII.+ Use fixincludes to fix byteorder problems on i?86-*-sysv.+ Fix build failure for the arc port.+ Fix floating point format configuration for i?86-gnu port.+ Fix problems with hppa1.0-hp-hpux10.20 configuration whenthreads are enabled.+ Fix coldfire code generation bugs.+ Fix "unrecognized insn" problems for Alpha and PPC ports.+ Fix h8/300 code generation problem with floating point valuesin memory.+ Fix unrecognized insn problems for the m68k port.+ Fix namespace-pollution problem for the x86 port.+ Fix problems with old assembler on x86 NeXT systems.+ Fix PIC code-generation problems for the SPARC port.+ Fix minor bug with LONG_CALLS in PowerPC SVR4 support.+ Fix minor ISO namespace violation in Alpha varargs/stdargsupport.+ Fix incorrect "braf" instruction usage for the SH port.+ Fix minor bug in va-sh which prevented its use with -ansi.+ Fix problems recognizing and supporting FreeBSD.+ Handle OpenBSD systems correctly.+ Minor fixincludes fix for Digital UNIX 4.0B.+ Fix problems with ctors/dtors in SCO shared libraries.+ Abort instead of generating incorrect code for PPro/PIIfloating point conditional moves.+ Avoid multiply defined symbols on Linux/GNU systems usinglibc-5.4.xx.+ Fix abort in alpha compiler.* Fortran-specific fixes+ Fix the IDate intrinsic (VXT) (in libg2c) so the returned yearis in the documented, non-Y2K-compliant range of 0-99, insteadof being returned as 100 in the year 2000.+ Fix the `Date_and_Time' intrinsic (in libg2c) to return themilliseconds value properly in Values(8).+ Fix the `LStat' intrinsic (in libg2c) to return device-IDinformation properly in SArray(7).Each release includes installation instructions in both HTML andplaintext forms (see the INSTALL directory in the toplevel directory ofthe distribution). However, we also keep the most up to date[6]installation instructions and [7]build/test status on our web page.We will update those pages as new information becomes available.The EGCS project would like to thank the numerous people that havecontributed new features, test results, bugfixes, etc. This [8]amazinggroup of volunteers is what makes EGCS successful.And finally, we can't in good conscience fail to mention some[9]caveats to using EGCS 1.1.Download EGCS from egcs.cygnus.com (USA California).The EGCS 1.1 release is also available on many mirror sites.[10]Goto mirror list to find a closer site.Please send FSF & GNU inquiries & questions to [11]gnu@gnu.org. Thereare also [12]other ways to contact the FSF.These pages are [13]maintained by the GCC team.For questions related to the use of GCC, please consult these webpages and the [14]GCC manuals. If that fails, the[15]gcc-help@gcc.gnu.org mailing list might help.Please send comments on these web pages and the development of GCC toour developer mailing list at [16]gcc@gnu.org or [17]gcc@gcc.gnu.org.All of our lists have [18]public archives.Copyright (C) Free Software Foundation, Inc., 51 Franklin St, FifthFloor, Boston, MA 02110, USA.Verbatim copying and distribution of this entire article is permittedin any medium, provided this notice is preserved.Last modified 2010-07-01 [19]Valid XHTML 1.0References1. http://gcc.gnu.org/egcs-1.1/egcs-1.1-test.html2. http://gcc.gnu.org/news/gcse.html3. http://gcc.gnu.org/news/alias.html4. http://gcc.gnu.org/egcs-1.1/c++features.html5. http://gcc.gnu.org/egcs-1.1/features.html6. http://gcc.gnu.org/install/7. http://gcc.gnu.org/egcs-1.1/buildstat.html8. http://gcc.gnu.org/onlinedocs/gcc/Contributors.html9. http://gcc.gnu.org/egcs-1.1/caveats.html10. http://gcc.gnu.org/mirrors.html11. mailto:gnu@gnu.org12. http://www.gnu.org/home.html#ContactInfo13. http://gcc.gnu.org/about.html14. http://gcc.gnu.org/onlinedocs/15. mailto:gcc-help@gcc.gnu.org16. mailto:gcc@gnu.org17. mailto:gcc@gcc.gnu.org18. http://gcc.gnu.org/lists.html19. http://validator.w3.org/check/referer======================================================================http://gcc.gnu.org/egcs-1.1/features.htmlEGCS 1.1 new features* Integrated GNU Fortran (g77) compiler and runtime library withimprovements, based on g77 version 0.5.23.* Vast improvements in the C++ compiler; so many they have [1]page oftheir own!* Compiler implements [2]global common subexpression elimination andglobal copy/constant propagation.* More major improvements in the [3]alias analysis code.* More major improvements in the exception handling code to improveperformance, lower static overhead and provide the infrastructurefor future improvements.* The infamous /tmp symlink race security problems have been fixed.* The regmove optimization pass has been nearly completely rewrittento improve performance of generated code.* The compiler now recomputes register usage information before localregister allocation. By providing more accurate information to thepriority based allocator, we get better register allocation.* The register reloading phase of the compiler optimizes spill codemuch better than in previous releases.* Some bad interactions between the register allocator andinstruction scheduler have been fixed, resulting in much bettercode for certain programs. Additionally, we have tuned thescheduler in various ways to improve performance of generated codefor some architectures.* The compiler's branch shortening algorithms have been significantlyimproved to work better on targets which align jump targets.* The compiler now supports -Os to prefer optimizing for code spaceover optimizing for code speed.* The compiler will now totally eliminate library calls which computeconstant values. This primarily helps targets with no integerdiv/mul support and targets without floating point support.* The compiler now supports an extensive "--help" option.* cpplib has been greatly improved and may be suitable for limiteduse.* Memory footprint for the compiler has been significantly reducedfor some pathological cases.* The time to build EGCS has been improved for certain targets(particularly the alpha and mips platforms).* Many infrastructure improvements throughout the compiler, plus theusual mountain of bugfixes and minor improvements.* Target dependent improvements:+ SPARC port now includes V8 plus and V9 support as well asperformance tuning for Ultra class machines. The SPARC portnow uses the Haifa scheduler.+ Alpha port has been tuned for the EV6 processor and has anoptimized expansion of memcpy/bzero. The Alpha port now usesthe Haifa scheduler.+ RS6000/PowerPC: support for the Power64 architecture and AIX4.3. The RS6000/PowerPC port now uses the Haifa scheduler.+ x86: Alignment of static store data and jump targets is perIntel recommendations now. Various improvements throughout thex86 port to improve performance on Pentium processors(including improved epilogue sequences for Pentium chips andbackend improvements which should help register allocation onall x86 variants. Conditional move support has been fixed andenabled for PPro processors. The x86 port also better supports64bit operations now. Unixware 7, a System V Release 5 target,is now supported and SCO OpenServer targets can support GAS.+ MIPS has improved multiply/multiply-add support and nowincludes mips16 ISA support.+ M68k has many micro-optimizations and Coldfire fixes.* Core compiler is based on the GCC development tree from June 9,1998, so we have all of the [4]features found in GCC 2.8.Please send FSF & GNU inquiries & questions to [5]gnu@gnu.org. Thereare also [6]other ways to contact the FSF.These pages are [7]maintained by the GCC team.For questions related to the use of GCC, please consult these webpages and the [8]GCC manuals. If that fails, the[9]gcc-help@gcc.gnu.org mailing list might help.Please send comments on these web pages and the development of GCC toour developer mailing list at [10]gcc@gnu.org or [11]gcc@gcc.gnu.org.All of our lists have [12]public archives.Copyright (C) Free Software Foundation, Inc., 51 Franklin St, FifthFloor, Boston, MA 02110, USA.Verbatim copying and distribution of this entire article is permittedin any medium, provided this notice is preserved.Last modified 2010-07-01 [13]Valid XHTML 1.0References1. http://gcc.gnu.org/egcs-1.1/c++features.html2. http://gcc.gnu.org/news/gcse.html3. http://gcc.gnu.org/news/alias.html4. http://gcc.gnu.org/egcs-1.0/features-2.8.html5. mailto:gnu@gnu.org6. http://www.gnu.org/home.html#ContactInfo7. http://gcc.gnu.org/about.html8. http://gcc.gnu.org/onlinedocs/9. mailto:gcc-help@gcc.gnu.org10. mailto:gcc@gnu.org11. mailto:gcc@gcc.gnu.org12. http://gcc.gnu.org/lists.html13. http://validator.w3.org/check/referer======================================================================http://gcc.gnu.org/egcs-1.1/caveats.htmlEGCS 1.1 Caveats* EGCS has an integrated libstdc++, but does not have an integratedlibg++. Furthermore old libg++ releases will not work with EGCS; HJLu has made a libg++-2.8.1.2 snapshot available which may work withEGCS.Note most C++ programs only need libstdc++.* Exception handling may not work with shared libraries, particularlyon alphas, hppas, rs6000/powerpc and mips based platforms.Exception handling is known to work on x86-linux platforms withshared libraries.* Some versions of the Linux kernel have bugs which prevent them frombeing compiled or from running when compiled by EGCS. See the FAQ(as shipped with EGCS 1.1) for additional information.* In general, EGCS is more rigorous about rejecting invalid C++ codeor deprecated C++ constructs than g++-2.7, g++-2.8 or EGCS 1.0. Asa result it may be necessary to fix C++ code before it will compilewith EGCS.* G++ is also converting toward the ISO C++ standard; as a resultcode which was previously valid (and thus accepted by othercompilers and older versions of g++) may no longer be accepted.* EGCS 1.1 compiled C++ code is not binary compatible with EGCS 1.0.xor GCC 2.8.x due to changes necessary to support thread safeexception handling.Please send FSF & GNU inquiries & questions to [1]gnu@gnu.org. Thereare also [2]other ways to contact the FSF.These pages are [3]maintained by the GCC team.For questions related to the use of GCC, please consult these webpages and the [4]GCC manuals. If that fails, the[5]gcc-help@gcc.gnu.org mailing list might help.Please send comments on these web pages and the development of GCC toour developer mailing list at [6]gcc@gnu.org or [7]gcc@gcc.gnu.org.All of our lists have [8]public archives.Copyright (C) Free Software Foundation, Inc., 51 Franklin St, FifthFloor, Boston, MA 02110, USA.Verbatim copying and distribution of this entire article is permittedin any medium, provided this notice is preserved.Last modified 2010-07-01 [9]Valid XHTML 1.0References1. mailto:gnu@gnu.org2. http://www.gnu.org/home.html#ContactInfo3. http://gcc.gnu.org/about.html4. http://gcc.gnu.org/onlinedocs/5. mailto:gcc-help@gcc.gnu.org6. mailto:gcc@gnu.org7. mailto:gcc@gcc.gnu.org8. http://gcc.gnu.org/lists.html9. http://validator.w3.org/check/referer======================================================================http://gcc.gnu.org/egcs-1.0/index.htmlEGCS 1.0December 3, 1997: We are pleased to announce the release of EGCS 1.0.January 6, 1998: We are pleased to announce the release of EGCS 1.0.1.March 16, 1998: We are pleased to announce the release of EGCS 1.0.2.May 15, 1998 We are pleased to announce the release of EGCS 1.0.3.EGCS is a collaborative effort involving several groups of hackersusing an open development model to accelerate development and testingof GNU compilers and runtime libraries.An important goal of EGCS is to allow wide scale testing ofexperimental features and optimizations; therefore, EGCS contains somefeatures and optimizations which are still under development. However,EGCS has been carefully tested and should be comparable in quality tomost GCC releases.EGCS 1.0 is based on an August 2, 1997 snapshot of the GCC 2.8development sources; it contains nearly all of the new features foundin GCC 2.8.EGCS 1.0 also contains many improvements and features not found in GCC2.7 and even the GCC 2.8 series (which was released after the originalEGCS 1.0 release).* Integrated C++ runtime libraries, including support for most majorGNU/Linux systems!* The integrated libstdc++ library includes a verbatim copy of SGI'sSTL release.* Integrated GNU Fortran compiler.* New instruction scheduler.* New alias analysis code.See the [1]new features page for a more complete list of new features.EGCS 1.0.1 is a minor update to the EGCS 1.0 compiler to fix a fewcritical bugs and add support for Red Hat 5.0 Linux. Changes since theEGCS 1.0 release:* Add support for Red Hat 5.0 Linux and better support for Linuxsystems using glibc2.Many programs failed to link when compiled with EGCS 1.0 on Red Hat5.0 or on systems with newer versions of glibc2. EGCS 1.0.1 shouldfix these problems.* Compatibility with both EGCS 1.0 and GCC 2.8 libgcc exceptionhandling interfaces.To avoid future compatibility problems, we strongly urge anyone whois planning on distributing shared libraries that contain C++ codeto upgrade to EGCS 1.0.1 first.Soon after EGCS 1.0 was released, the GCC developers made someincompatible changes in libgcc's exception handling interfaces.These changes were needed to solve problems on some platforms. Thismeans that GCC 2.8.0, when released, will not be seamlesslycompatible with shared libraries built by EGCS 1.0. The reason isthat the libgcc.a in GCC 2.8.0 will not contain a function neededby the old interface.The result of this is that there may be compatibility problems withshared libraries built by EGCS 1.0 when used with GCC 2.8.0.With EGCS 1.0.1, generated code uses the new (GCC 2.8.0) interface,and libgcc.a has the support routines for both the old and the newinterfaces (so EGCS 1.0.1 and EGCS 1.0 code can be freely mixed,and EGCS 1.0.1 and GCC 2.8.0 code can be freely mixed).The maintainers of GCC 2.x have decided against including seamlesssupport for the old interface in 2.8.0, since it was never"official", so to avoid future compatibility problems we recommendagainst distributing any shared libraries built by EGCS 1.0 thatcontain C++ code (upgrade to 1.0.1 and use that).* Various bugfixes in the x86, hppa, mips, and rs6000/ppc backends.The x86 changes fix code generation errors exposed when buildingglibc2 and the Linux dynamic linker (ld.so).The hppa change fixes a compiler abort when configured for use withRTEMS.The MIPS changes fix problems with the definition of LONG_MAX onnewer systems, allow for command line selection of the target ABI,and fix one code generation problem.The rs6000/ppc change fixes some problems with passing structuresto varargs/stdarg functions.* A few machine independent bugfixes, mostly to fix code generationerrors when building Linux kernels or glibc.* Fix a few critical exception handling and template bugs in the C++compiler.* Fix Fortran namelist bug on alphas.* Fix build problems on x86-solaris systems.EGCS 1.0.2 is a minor update to the EGCS 1.0.1 compiler to fix severalserious problems in EGCS 1.0.1.* General improvements and fixes+ Memory consumption significantly reduced, especially fortemplates and inline functions.+ Fix various problems with glibc2.1.+ Fix loop optimization bug exposed by rs6000/ppc port.+ Fix to avoid potential code generation problems in jump.c.+ Fix some undefined symbol problems in dwarf1 debug support.* g++/libstdc++ improvements and fixes+ libstdc++ in the EGCS release has been updated and should belink compatible with libstdc++-2.8.+ Various fixes in libio/libstdc++ to work better on Linuxsystems.+ Fix problems with duplicate symbols on systems that do notsupport weak symbols.+ Memory corruption bug and undefined symbols in bastring havebeen fixed.+ Various exception handling fixes.+ Fix compiler abort for very long thunk names.* g77 improvements and fixes+ Fix compiler crash for omitted bound in Fortran CASEstatement.+ Add missing entries to g77 lang-options.+ Fix problem with -fpedantic in the g77 compiler.+ Fix "backspace" problem with g77 on alphas.+ Fix x86 backend problem with Fortran literals and -fpic.+ Fix some of the problems with negative subscripts for g77 onalphas.+ Fixes for Fortran builds on cygwin32/mingw32.* platform specific improvements and fixes+ Fix long double problems on x86 (exposed by glibc).+ x86 ports define i386 again to keep imake happy.+ Fix exception handling support on NetBSD ports.+ Several changes to collect2 to fix many problems with AIX.+ Define __ELF__ for rs6000/linux.+ Fix -mcall-linux problem on rs6000/linux.+ Fix stdarg/vararg problem for rs6000/linux.+ Allow autoconf to select a proper install problem on AIX 3.1.+ m68k port support includes -mcpu32 option as well as cpu32multilibs.+ Fix stdarg bug for irix6.+ Allow EGCS to build on irix5 without the gnu assembler.+ Fix problem with static linking on sco5.+ Fix bootstrap on sco5 with native compiler.+ Fix for abort building newlib on H8 target.+ Fix fixincludes handling of math.h on SunOS.+ Minor fix for Motorola 3300 m68k systems.EGCS 1.0.3 is a minor update to the EGCS 1.0.2 compiler to fix a fewproblems reported by Red Hat for builds of Red Hat 5.1.* Generic bugfixes:+ Fix a typo in the libio library which resulted in incorrectbehavior of istream::get.+ Fix the Fortran negative array index problem.+ Fix a major problem with the ObjC runtime thread supportexposed by glibc2.+ Reduce memory consumption of the Haifa scheduler.* Target specific bugfixes:+ Fix one x86 floating point code generation bug exposed byglibc2 builds.+ Fix one x86 internal compiler error exposed by glibc2 builds.+ Fix profiling bugs on the Alpha.+ Fix ImageMagick & emacs 20.2 build problems on the Alpha.+ Fix rs6000/ppc bug when converting values from integer typesto floating point types.The EGCS 1.0 releases include installation instructions in both HTMLand plaintext forms (see the INSTALL directory in the topleveldirectory of the distribution). However, we also keep the most up todate [2]installation instructions and [3]build/test status on our webpage. We will update those pages as new information becomes available.And, we can't in good conscience fail to mention some [4]caveats tousing EGCS.Update: Big thanks to Stanford for providing a high speed link fordownloading EGCS (go.cygnus.com)!Download EGCS from ftp.cygnus.com (USA California) or go.cygnus.com(USA California -- High speed link provided by Stanford).The EGCS 1.0 release is also available many mirror sites.[5]Goto mirror list to find a closer siteWe'd like to thank the numerous people that have contributed newfeatures, test results, bugfixes, etc. Unfortunately, they're far toonumerous to mention by name.Please send FSF & GNU inquiries & questions to [6]gnu@gnu.org. Thereare also [7]other ways to contact the FSF.These pages are [8]maintained by the GCC team.For questions related to the use of GCC, please consult these webpages and the [9]GCC manuals. If that fails, the[10]gcc-help@gcc.gnu.org mailing list might help.Please send comments on these web pages and the development of GCC toour developer mailing list at [11]gcc@gnu.org or [12]gcc@gcc.gnu.org.All of our lists have [13]public archives.Copyright (C) Free Software Foundation, Inc., 51 Franklin St, FifthFloor, Boston, MA 02110, USA.Verbatim copying and distribution of this entire article is permittedin any medium, provided this notice is preserved.Last modified 2010-07-01 [14]Valid XHTML 1.0References1. http://gcc.gnu.org/egcs-1.0/features.html2. http://gcc.gnu.org/install/3. http://gcc.gnu.org/egcs-1.0/buildstat.html4. http://gcc.gnu.org/egcs-1.0/caveats.html5. http://gcc.gnu.org/mirrors.html6. mailto:gnu@gnu.org7. http://www.gnu.org/home.html#ContactInfo8. http://gcc.gnu.org/about.html9. http://gcc.gnu.org/onlinedocs/10. mailto:gcc-help@gcc.gnu.org11. mailto:gcc@gnu.org12. mailto:gcc@gcc.gnu.org13. http://gcc.gnu.org/lists.html14. http://validator.w3.org/check/referer======================================================================http://gcc.gnu.org/egcs-1.0/features.htmlEGCS 1.0 features* Core compiler is based on the gcc2 development tree from Aug 2,1997, so we have most of the [1]features found in GCC 2.8.* Integrated GNU Fortran compiler based on g77-0.5.22-19970929.* Vast improvements in the C++ compiler; so many they have [2]page oftheir own!* Integrated C++ runtime libraries, including support for most majorlinux systems!* New instruction scheduler from IBM Haifa which includes support forfunction wide instruction scheduling as well as superscalarscheduling.* Significantly improved alias analysis code.* Improved register allocation for two address machines.* Significant code generation improvements for Fortran code onAlphas.* Various optimizations from the g77 project as well as improved loopoptimizations.* Dwarf2 debug format support for some targets.* egcs libstdc++ includes the SGI STL implementation without changes.* As a result of these and other changes, egcs libstc++ is not binarycompatible with previous releases of libstdc++.* Various new ports -- UltraSPARC, Irix6.2 & Irix6.3 support, The SCOOpenserver 5 family (5.0.{0,2,4} and Internet FastStart 1.0 and1.1), Support for RTEMS on several embedded targets, Support forarm-linux, Mitsubishi M32R, Hitachi H8/S, Matsushita MN102 andMN103, NEC V850, Sparclet, Solaris & Linux on PowerPCs, etc.* Integrated testsuites for gcc, g++, g77, libstdc++ and libio.* RS6000/PowerPC ports generate code which can run on allRS6000/PowerPC variants by default.* -mcpu= and -march= switches for the x86 port to allow bettercontrol over how the x86 port generates code.* Includes the template repository patch (aka repo patch); note thenew template code makes repo obsolete for ELF systems using gnu-ldsuch as Linux.* Plus the usual assortment of bugfixes and improvements.Please send FSF & GNU inquiries & questions to [3]gnu@gnu.org. Thereare also [4]other ways to contact the FSF.These pages are [5]maintained by the GCC team.For questions related to the use of GCC, please consult these webpages and the [6]GCC manuals. If that fails, the[7]gcc-help@gcc.gnu.org mailing list might help.Please send comments on these web pages and the development of GCC toour developer mailing list at [8]gcc@gnu.org or [9]gcc@gcc.gnu.org.All of our lists have [10]public archives.Copyright (C) Free Software Foundation, Inc., 51 Franklin St, FifthFloor, Boston, MA 02110, USA.Verbatim copying and distribution of this entire article is permittedin any medium, provided this notice is preserved.Last modified 2010-07-01 [11]Valid XHTML 1.0References1. http://gcc.gnu.org/egcs-1.0/features-2.8.html2. http://gcc.gnu.org/egcs-1.0/c++features.html3. mailto:gnu@gnu.org4. http://www.gnu.org/home.html#ContactInfo5. http://gcc.gnu.org/about.html6. http://gcc.gnu.org/onlinedocs/7. mailto:gcc-help@gcc.gnu.org8. mailto:gcc@gnu.org9. mailto:gcc@gcc.gnu.org10. http://gcc.gnu.org/lists.html11. http://validator.w3.org/check/referer======================================================================http://gcc.gnu.org/egcs-1.0/caveats.htmlEGCS 1.0 Caveats* EGCS has an integrated libstdc++, but does not have an integratedlibg++. Furthermore old libg++ releases will not work with egc; HJLu has made a libg++-2.8.1.2 available which may work with EGCS.Note most C++ programs only need libstdc++.* Note that using -pedantic or -Wreturn-type can cause an explosionin the amount of memory needed for template-heavy C++ code, such ascode that uses STL. Also note that -Wall includes -Wreturn-type, soif you use -Wall you will need to specify -Wno-return-type to turnit off.* Exception handling may not work with shared libraries, particularlyon alphas, hppas, and mips based platforms. Exception handling isknown to work on x86-linux platforms with shared libraries.* Some versions of the Linux kernel have bugs which prevent them frombeing compiled or from running when compiled by EGCS. See the FAQ(as shipped with EGCS 1.0) for additional information.* In general, EGCS is more rigorous about rejecting invalid C++ codeor deprecated C++ constructs than G++ 2.7. As a result it may benecessary to fix C++ code before it will compile with EGCS.* G++ is also aggressively tracking the C++ standard; as a resultcode which was previously valid (and thus accepted by othercompilers and older versions of G++) may no longer be accepted.* EGCS 1.0 may not work with Red Hat Linux 5.0 on all targets. EGCS1.0.x and later releases should work with Red Hat Linux 5.0.Please send FSF & GNU inquiries & questions to [1]gnu@gnu.org. Thereare also [2]other ways to contact the FSF.These pages are [3]maintained by the GCC team.For questions related to the use of GCC, please consult these webpages and the [4]GCC manuals. If that fails, the[5]gcc-help@gcc.gnu.org mailing list might help.Please send comments on these web pages and the development of GCC toour developer mailing list at [6]gcc@gnu.org or [7]gcc@gcc.gnu.org.All of our lists have [8]public archives.Copyright (C) Free Software Foundation, Inc., 51 Franklin St, FifthFloor, Boston, MA 02110, USA.Verbatim copying and distribution of this entire article is permittedin any medium, provided this notice is preserved.Last modified 2010-07-01 [9]Valid XHTML 1.0References1. mailto:gnu@gnu.org2. http://www.gnu.org/home.html#ContactInfo3. http://gcc.gnu.org/about.html4. http://gcc.gnu.org/onlinedocs/5. mailto:gcc-help@gcc.gnu.org6. mailto:gcc@gnu.org7. mailto:gcc@gcc.gnu.org8. http://gcc.gnu.org/lists.html9. http://validator.w3.org/check/referer======================================================================
Go to most recent revision | Compare with Previous | Blame | View Log
