NEWS revision 1.7 1 1.1 mrg This file contains information about GCC releases which has been generated
2 1.1 mrg automatically from the online release notes. It covers releases of GCC
3 1.1 mrg (and the former EGCS project) since EGCS 1.0, on the line of development
4 1.1 mrg that led to GCC 3. For information on GCC 2.8.1 and older releases of GCC 2,
5 1.1 mrg see ONEWS.
6 1.1 mrg
7 1.1 mrg ======================================================================
8 1.5 mrg http://gcc.gnu.org/gcc-5/index.html
9 1.5 mrg GCC 5 Release Series
10 1.5 mrg
11 1.7 mrg October 10, 2017
12 1.5 mrg
13 1.5 mrg The [1]GNU project and the GCC developers are pleased to announce the
14 1.7 mrg release of GCC 5.5.
15 1.5 mrg
16 1.5 mrg This release is a bug-fix release, containing fixes for regressions in
17 1.7 mrg GCC 5.4 relative to previous releases of GCC.
18 1.5 mrg
19 1.5 mrg Release History
20 1.5 mrg
21 1.7 mrg GCC 5.5
22 1.7 mrg October 10, 2017 ([2]changes, [3]documentation)
23 1.7 mrg
24 1.6 mrg GCC 5.4
25 1.7 mrg June 3, 2016 ([4]changes, [5]documentation)
26 1.6 mrg
27 1.5 mrg GCC 5.3
28 1.7 mrg December 4, 2015 ([6]changes, [7]documentation)
29 1.5 mrg
30 1.5 mrg GCC 5.2
31 1.7 mrg July 16, 2015 ([8]changes, [9]documentation)
32 1.5 mrg
33 1.5 mrg GCC 5.1
34 1.7 mrg April 22, 2015 ([10]changes, [11]documentation)
35 1.5 mrg
36 1.5 mrg References and Acknowledgements
37 1.5 mrg
38 1.5 mrg GCC used to stand for the GNU C Compiler, but since the compiler
39 1.5 mrg supports several other languages aside from C, it now stands for the
40 1.5 mrg GNU Compiler Collection.
41 1.5 mrg
42 1.7 mrg A list of [12]successful builds is updated as new information becomes
43 1.5 mrg available.
44 1.5 mrg
45 1.5 mrg The GCC developers would like to thank the numerous people that have
46 1.5 mrg contributed new features, improvements, bug fixes, and other changes as
47 1.7 mrg well as test results to GCC. This [13]amazing group of volunteers is
48 1.5 mrg what makes GCC successful.
49 1.5 mrg
50 1.7 mrg For additional information about GCC please refer to the [14]GCC
51 1.7 mrg project web site or contact the [15]GCC development mailing list.
52 1.5 mrg
53 1.7 mrg To obtain GCC please use [16]our mirror sites or [17]our SVN server.
54 1.5 mrg
55 1.5 mrg
56 1.5 mrg For questions related to the use of GCC, please consult these web
57 1.7 mrg pages and the [18]GCC manuals. If that fails, the
58 1.7 mrg [19]gcc-help (a] gcc.gnu.org mailing list might help. Comments on these
59 1.5 mrg web pages and the development of GCC are welcome on our developer
60 1.7 mrg list at [20]gcc (a] gcc.gnu.org. All of [21]our lists have public
61 1.5 mrg archives.
62 1.5 mrg
63 1.7 mrg Copyright (C) [22]Free Software Foundation, Inc. Verbatim copying and
64 1.5 mrg distribution of this entire article is permitted in any medium,
65 1.5 mrg provided this notice is preserved.
66 1.5 mrg
67 1.7 mrg These pages are [23]maintained by the GCC team. Last modified
68 1.7 mrg 2017-10-10[24].
69 1.5 mrg
70 1.5 mrg References
71 1.5 mrg
72 1.5 mrg 1. http://www.gnu.org/
73 1.5 mrg 2. http://gcc.gnu.org/gcc-5/changes.html
74 1.7 mrg 3. http://gcc.gnu.org/onlinedocs/5.5.0/
75 1.5 mrg 4. http://gcc.gnu.org/gcc-5/changes.html
76 1.7 mrg 5. http://gcc.gnu.org/onlinedocs/5.4.0/
77 1.5 mrg 6. http://gcc.gnu.org/gcc-5/changes.html
78 1.7 mrg 7. http://gcc.gnu.org/onlinedocs/5.3.0/
79 1.6 mrg 8. http://gcc.gnu.org/gcc-5/changes.html
80 1.7 mrg 9. http://gcc.gnu.org/onlinedocs/5.2.0/
81 1.7 mrg 10. http://gcc.gnu.org/gcc-5/changes.html
82 1.7 mrg 11. http://gcc.gnu.org/onlinedocs/5.1.0/
83 1.7 mrg 12. http://gcc.gnu.org/gcc-5/buildstat.html
84 1.7 mrg 13. http://gcc.gnu.org/onlinedocs/gcc/Contributors.html
85 1.7 mrg 14. http://gcc.gnu.org/index.html
86 1.7 mrg 15. mailto:gcc (a] gcc.gnu.org
87 1.7 mrg 16. http://gcc.gnu.org/mirrors.html
88 1.7 mrg 17. http://gcc.gnu.org/svn.html
89 1.7 mrg 18. https://gcc.gnu.org/onlinedocs/
90 1.7 mrg 19. mailto:gcc-help (a] gcc.gnu.org
91 1.7 mrg 20. mailto:gcc (a] gcc.gnu.org
92 1.7 mrg 21. https://gcc.gnu.org/lists.html
93 1.7 mrg 22. http://www.fsf.org/
94 1.7 mrg 23. https://gcc.gnu.org/about.html
95 1.7 mrg 24. http://validator.w3.org/check/referer
96 1.5 mrg ======================================================================
97 1.5 mrg http://gcc.gnu.org/gcc-5/changes.html
98 1.5 mrg GCC 5 Release Series
99 1.5 mrg Changes, New Features, and Fixes
100 1.5 mrg
101 1.5 mrg Caveats
102 1.5 mrg
103 1.5 mrg * The default mode for C is now -std=gnu11 instead of -std=gnu89.
104 1.5 mrg * The C++ runtime library (libstdc++) uses a new ABI by default (see
105 1.5 mrg [1]below).
106 1.5 mrg * The Graphite framework for loop optimizations no longer requires
107 1.5 mrg the CLooG library, only ISL version 0.14 (recommended) or 0.12.2.
108 1.5 mrg The installation manual contains more information about
109 1.5 mrg requirements to build GCC.
110 1.5 mrg * The non-standard C++0x type traits has_trivial_default_constructor,
111 1.5 mrg has_trivial_copy_constructor and has_trivial_copy_assign have been
112 1.5 mrg deprecated and will be removed in a future version. The standard
113 1.5 mrg C++11 traits is_trivially_default_constructible,
114 1.5 mrg is_trivially_copy_constructible and is_trivially_copy_assignable
115 1.5 mrg should be used instead.
116 1.5 mrg * On AVR, support has been added for the devices
117 1.5 mrg ATtiny4/5/9/10/20/40. This requires Binutils 2.25 or newer.
118 1.5 mrg * The AVR port uses a new scheme to describe supported devices: For
119 1.5 mrg each supported device the compiler provides a device-specific
120 1.5 mrg [2]spec file. If the compiler is used together with AVR-LibC, this
121 1.5 mrg requires at least GCC 5.2 and a version of AVR-LibC which
122 1.5 mrg implements [3]feature #44574.
123 1.5 mrg
124 1.5 mrg General Optimizer Improvements
125 1.5 mrg
126 1.5 mrg * Inter-procedural optimization improvements:
127 1.5 mrg + An Identical Code Folding (ICF) pass (controlled via
128 1.5 mrg -fipa-icf) has been added. Compared to the identical code
129 1.5 mrg folding performed by the Gold linker this pass does not
130 1.5 mrg require function sections. It also performs merging before
131 1.5 mrg inlining, so inter-procedural optimizations are aware of the
132 1.5 mrg code re-use. On the other hand not all unifications performed
133 1.5 mrg by a linker are doable by GCC which must honor aliasing
134 1.5 mrg information. During link-time optimization of Firefox, this
135 1.5 mrg pass unifies about 31000 functions, that is 14% overall.
136 1.5 mrg + The devirtualization pass was significantly improved by adding
137 1.5 mrg better support for speculative devirtualization and dynamic
138 1.5 mrg type detection. About 50% of virtual calls in Firefox are now
139 1.5 mrg speculatively devirtualized during link-time optimization.
140 1.5 mrg + A new comdat localization pass allows the linker to eliminate
141 1.5 mrg more dead code in presence of C++ inline functions.
142 1.5 mrg + Virtual tables are now optimized. Local aliases are used to
143 1.5 mrg reduce dynamic linking time of C++ virtual tables on ELF
144 1.5 mrg targets and data alignment has been reduced to limit data
145 1.5 mrg segment bloat.
146 1.5 mrg + A new -fno-semantic-interposition option can be used to
147 1.5 mrg improve code quality of shared libraries where interposition
148 1.5 mrg of exported symbols is not allowed.
149 1.5 mrg + Write-only variables are now detected and optimized out.
150 1.5 mrg + With profile feedback the function inliner can now bypass
151 1.5 mrg --param inline-insns-auto and --param inline-insns-single
152 1.5 mrg limits for hot calls.
153 1.5 mrg + The IPA reference pass was significantly sped up making it
154 1.5 mrg feasible to enable -fipa-reference with -fprofile-generate.
155 1.5 mrg This also solves a bottleneck seen when building Chromium with
156 1.5 mrg link-time optimization.
157 1.5 mrg + The symbol table and call-graph API was reworked to C++ and
158 1.5 mrg simplified.
159 1.5 mrg + The interprocedural propagation of constants now also
160 1.5 mrg propagates alignments of pointer parameters. This for example
161 1.5 mrg means that the vectorizer often does not need to generate loop
162 1.5 mrg prologues and epilogues to make up for potential
163 1.5 mrg misalignments.
164 1.5 mrg * Link-time optimization improvements:
165 1.5 mrg + One Definition Rule based merging of C++ types has been
166 1.5 mrg implemented. Type merging enables better devirtualization and
167 1.5 mrg alias analysis. Streaming extra information needed to merge
168 1.5 mrg types adds about 2-6% of memory size and object size increase.
169 1.5 mrg This can be controlled by -flto-odr-type-merging.
170 1.5 mrg + Command-line optimization and target options are now streamed
171 1.5 mrg on a per-function basis and honored by the link-time
172 1.5 mrg optimizer. This change makes link-time optimization a more
173 1.5 mrg transparent replacement of per-file optimizations. It is now
174 1.5 mrg possible to build projects that require different optimization
175 1.5 mrg settings for different translation units (such as -ffast-math,
176 1.5 mrg -mavx, or -finline). Contrary to earlier GCC releases, the
177 1.5 mrg optimization and target options passed on the link command
178 1.5 mrg line are ignored.
179 1.5 mrg Note that this applies only to those command-line options that
180 1.5 mrg can be passed to optimize and target attributes. Command-line
181 1.5 mrg options affecting global code generation (such as -fpic),
182 1.5 mrg warnings (such as -Wodr), optimizations affecting the way
183 1.5 mrg static variables are optimized (such as -fcommon), debug
184 1.5 mrg output (such as -g), and --param parameters can be applied
185 1.5 mrg only to the whole link-time optimization unit. In these cases,
186 1.5 mrg it is recommended to consistently use the same options at both
187 1.5 mrg compile time and link time.
188 1.5 mrg + GCC bootstrap now uses slim LTO object files.
189 1.5 mrg + Memory usage and link times were improved. Tree merging was
190 1.5 mrg sped up, memory usage of GIMPLE declarations and types was
191 1.5 mrg reduced, and, support for on-demand streaming of variable
192 1.5 mrg constructors was added.
193 1.5 mrg * Feedback directed optimization improvements:
194 1.5 mrg + A new auto-FDO mode uses profiles collected by low overhead
195 1.5 mrg profiling tools (perf) instead of more expensive program
196 1.5 mrg instrumentation (via -fprofile-generate). SPEC2006 benchmarks
197 1.5 mrg on x86-64 improve by 4.7% with auto-FDO and by 7.3% with
198 1.5 mrg traditional feedback directed optimization.
199 1.5 mrg + Profile precision was improved in presence of C++ inline and
200 1.5 mrg extern inline functions.
201 1.5 mrg + The new gcov-tool utility allows manipulating profiles.
202 1.5 mrg + Profiles are now more tolerant to source file changes (this
203 1.5 mrg can be controlled by --param profile-func-internal-id).
204 1.5 mrg * Register allocation improvements:
205 1.5 mrg + A new local register allocator (LRA) sub-pass, controlled by
206 1.5 mrg -flra-remat, implements control-flow sensitive global register
207 1.5 mrg rematerialization. Instead of spilling and restoring a
208 1.5 mrg register value, it is recalculated if it is profitable. The
209 1.5 mrg sub-pass improved SPEC2000 generated code by 1% and 0.5%
210 1.5 mrg correspondingly on ARM and x86-64.
211 1.5 mrg + Reuse of the PIC hard register, instead of using a fixed
212 1.5 mrg register, was implemented on x86/x86-64 targets. This improves
213 1.5 mrg generated PIC code performance as more hard registers can be
214 1.5 mrg used. Shared libraries can significantly benefit from this
215 1.5 mrg optimization. Currently it is switched on only for x86/x86-64
216 1.5 mrg targets. As RA infrastructure is already implemented for PIC
217 1.5 mrg register reuse, other targets might follow this in the future.
218 1.5 mrg + A simple form of inter-procedural RA was implemented. When it
219 1.5 mrg is known that a called function does not use caller-saved
220 1.5 mrg registers, save/restore code is not generated around the call
221 1.5 mrg for such registers. This optimization can be controlled by
222 1.5 mrg -fipa-ra
223 1.5 mrg + LRA is now much more effective at generating spills of general
224 1.5 mrg registers into vector registers instead of memory on
225 1.5 mrg architectures (e.g., modern Intel processors) where this is
226 1.5 mrg profitable.
227 1.5 mrg * UndefinedBehaviorSanitizer gained a few new sanitization options:
228 1.5 mrg + -fsanitize=float-divide-by-zero: detect floating-point
229 1.5 mrg division by zero;
230 1.5 mrg + -fsanitize=float-cast-overflow: check that the result of
231 1.5 mrg floating-point type to integer conversions do not overflow;
232 1.5 mrg + -fsanitize=bounds: enable instrumentation of array bounds and
233 1.5 mrg detect out-of-bounds accesses;
234 1.5 mrg + -fsanitize=alignment: enable alignment checking, detect
235 1.5 mrg various misaligned objects;
236 1.5 mrg + -fsanitize=object-size: enable object size checking, detect
237 1.5 mrg various out-of-bounds accesses.
238 1.5 mrg + -fsanitize=vptr: enable checking of C++ member function calls,
239 1.5 mrg member accesses and some conversions between pointers to base
240 1.5 mrg and derived classes, detect if the referenced object does not
241 1.5 mrg have the correct dynamic type.
242 1.5 mrg * Pointer Bounds Checker, a bounds violation detector, has been added
243 1.5 mrg and can be enabled via -fcheck-pointer-bounds. Memory accesses are
244 1.5 mrg instrumented with run-time checks of used pointers against their
245 1.5 mrg bounds to detect pointer bounds violations (overflows). The Pointer
246 1.5 mrg Bounds Checker is available on x86/x86-64 GNU/Linux targets with a
247 1.5 mrg new ISA extension Intel MPX support. See the Pointer Bounds Checker
248 1.5 mrg [4]Wiki page for more details.
249 1.5 mrg
250 1.5 mrg New Languages and Language specific improvements
251 1.5 mrg
252 1.5 mrg * [5]OpenMP 4.0 specification offloading features are now supported
253 1.5 mrg by the C, C++, and Fortran compilers. Generic changes:
254 1.5 mrg + Infrastructure (suitable for any vendor).
255 1.5 mrg + Testsuite which covers offloading from the [6]OpenMP 4.0
256 1.5 mrg Examples document.
257 1.5 mrg Specific for upcoming Intel Xeon Phi products:
258 1.5 mrg + Run-time library.
259 1.5 mrg + Card emulator.
260 1.5 mrg * GCC 5 includes a preliminary implementation of the OpenACC 2.0a
261 1.5 mrg specification. OpenACC is intended for programming accelerator
262 1.5 mrg devices such as GPUs. See [7]the OpenACC wiki page for more
263 1.5 mrg information.
264 1.5 mrg
265 1.5 mrg C family
266 1.5 mrg
267 1.5 mrg * The default setting of the -fdiagnostics-color= command-line option
268 1.5 mrg is now [8]configurable when building GCC using configuration option
269 1.5 mrg --with-diagnostics-color=. The possible values are: never, always,
270 1.5 mrg auto and auto-if-env. The new default auto uses color only when the
271 1.5 mrg standard error is a terminal. The default in GCC 4.9 was
272 1.5 mrg auto-if-env, which is equivalent to auto if there is a non-empty
273 1.5 mrg GCC_COLORS environment variable, and never otherwise. As in GCC
274 1.5 mrg 4.9, an empty GCC_COLORS variable in the environment will always
275 1.5 mrg disable colors, no matter what the default is or what command-line
276 1.5 mrg options are used.
277 1.5 mrg * A new command-line option -Wswitch-bool has been added for the C
278 1.5 mrg and C++ compilers, which warns whenever a switch statement has an
279 1.5 mrg index of boolean type.
280 1.5 mrg * A new command-line option -Wlogical-not-parentheses has been added
281 1.5 mrg for the C and C++ compilers, which warns about "logical not" used
282 1.5 mrg on the left hand side operand of a comparison.
283 1.5 mrg * A new command-line option -Wsizeof-array-argument has been added
284 1.5 mrg for the C and C++ compilers, which warns when the sizeof operator
285 1.5 mrg is applied to a parameter that has been declared as an array in a
286 1.5 mrg function definition.
287 1.5 mrg * A new command-line option -Wbool-compare has been added for the C
288 1.5 mrg and C++ compilers, which warns about boolean expressions compared
289 1.5 mrg with an integer value different from true/false.
290 1.5 mrg * Full support for [9]Cilk Plus has been added to the GCC compiler.
291 1.5 mrg Cilk Plus is an extension to the C and C++ languages to support
292 1.5 mrg data and task parallelism.
293 1.5 mrg * A new attribute no_reorder prevents reordering of selected symbols
294 1.5 mrg against other such symbols or inline assembler. This enables to
295 1.5 mrg link-time optimize the Linux kernel without having to resort to
296 1.5 mrg -fno-toplevel-reorder that disables several optimizations.
297 1.5 mrg * New preprocessor constructs, __has_include and __has_include_next,
298 1.5 mrg to test the availability of headers have been added.
299 1.5 mrg This demonstrates a way to include the header <optional> only if it
300 1.5 mrg is available:
301 1.5 mrg
302 1.5 mrg #ifdef __has_include
303 1.5 mrg # if __has_include(<optional>)
304 1.5 mrg # include <optional>
305 1.5 mrg # define have_optional 1
306 1.5 mrg # elif __has_include(<experimental/optional>)
307 1.5 mrg # include <experimental/optional>
308 1.5 mrg # define have_optional 1
309 1.5 mrg # define experimental_optional
310 1.5 mrg # else
311 1.5 mrg # define have_optional 0
312 1.5 mrg # endif
313 1.5 mrg #endif
314 1.5 mrg
315 1.5 mrg The header search paths for __has_include and __has_include_next
316 1.5 mrg are equivalent to those of the standard directive #include and the
317 1.5 mrg extension #include_next respectively.
318 1.5 mrg * A new built-in function-like macro to determine the existence of an
319 1.5 mrg attribute, __has_attribute, has been added. The equivalent built-in
320 1.5 mrg macro __has_cpp_attribute was added to C++ to support
321 1.5 mrg [10]Feature-testing recommendations for C++. The macro
322 1.5 mrg __has_attribute is added to all C-like languages as an extension:
323 1.5 mrg
324 1.5 mrg int
325 1.5 mrg #ifdef __has_attribute
326 1.5 mrg # if __has_attribute(__noinline__)
327 1.5 mrg __attribute__((__noinline__))
328 1.5 mrg # endif
329 1.5 mrg #endif
330 1.5 mrg foo(int x);
331 1.5 mrg
332 1.5 mrg If an attribute exists, a nonzero constant integer is returned. For
333 1.5 mrg standardized C++ attributes a date is returned, otherwise the
334 1.5 mrg constant returned is 1. Both __has_attribute and
335 1.5 mrg __has_cpp_attribute will add underscores to an attribute name if
336 1.5 mrg necessary to resolve the name. For C++11 and onwards the attribute
337 1.5 mrg may be scoped.
338 1.5 mrg * A new set of built-in functions for arithmetics with overflow
339 1.5 mrg checking has been added: __builtin_add_overflow,
340 1.5 mrg __builtin_sub_overflow and __builtin_mul_overflow and for
341 1.5 mrg compatibility with clang also other variants. These builtins have
342 1.5 mrg two integral arguments (which don't need to have the same type),
343 1.5 mrg the arguments are extended to infinite precision signed type, +, -
344 1.5 mrg or * is performed on those, and the result is stored in an integer
345 1.5 mrg variable pointed to by the last argument. If the stored value is
346 1.5 mrg equal to the infinite precision result, the built-in functions
347 1.5 mrg return false, otherwise true. The type of the integer variable that
348 1.5 mrg will hold the result can be different from the types of the first
349 1.5 mrg two arguments. The following snippet demonstrates how this can be
350 1.5 mrg used in computing the size for the calloc function:
351 1.5 mrg
352 1.5 mrg void *
353 1.5 mrg calloc (size_t x, size_t y)
354 1.5 mrg {
355 1.5 mrg size_t sz;
356 1.5 mrg if (__builtin_mul_overflow (x, y, &sz))
357 1.5 mrg return NULL;
358 1.5 mrg void *ret = malloc (sz);
359 1.5 mrg if (ret) memset (res, 0, sz);
360 1.5 mrg return ret;
361 1.5 mrg }
362 1.5 mrg
363 1.5 mrg On e.g. i?86 or x86-64 the above will result in a mul instruction
364 1.5 mrg followed by a jump on overflow.
365 1.5 mrg * The option -fextended-identifiers is now enabled by default for
366 1.5 mrg C++, and for C99 and later C versions. Various bugs in the
367 1.5 mrg implementation of extended identifiers have been fixed.
368 1.5 mrg
369 1.5 mrg C
370 1.5 mrg
371 1.5 mrg * The default mode has been changed to -std=gnu11.
372 1.5 mrg * A new command-line option -Wc90-c99-compat has been added to warn
373 1.5 mrg about features not present in ISO C90, but present in ISO C99.
374 1.5 mrg * A new command-line option -Wc99-c11-compat has been added to warn
375 1.5 mrg about features not present in ISO C99, but present in ISO C11.
376 1.5 mrg * It is possible to disable warnings about conversions between
377 1.5 mrg pointers that have incompatible types via a new warning option
378 1.5 mrg -Wno-incompatible-pointer-types; warnings about implicit
379 1.5 mrg incompatible integer to pointer and pointer to integer conversions
380 1.5 mrg via a new warning option -Wno-int-conversion; and warnings about
381 1.5 mrg qualifiers on pointers being discarded via a new warning option
382 1.5 mrg -Wno-discarded-qualifiers.
383 1.5 mrg * To allow proper use of const qualifiers with multidimensional
384 1.5 mrg arrays, GCC will not warn about incompatible pointer types anymore
385 1.5 mrg for conversions between pointers to arrays with and without const
386 1.5 mrg qualifier (except when using -pedantic). Instead, a new warning is
387 1.5 mrg emitted only if the const qualifier is lost. This can be controlled
388 1.5 mrg with a new warning option -Wno-discarded-array-qualifiers.
389 1.5 mrg * The C front end now generates more precise caret diagnostics.
390 1.5 mrg * The -pg command-line option now only affects the current file in an
391 1.5 mrg LTO build.
392 1.5 mrg
393 1.5 mrg C++
394 1.5 mrg
395 1.5 mrg * G++ now supports [11]C++14 variable templates.
396 1.5 mrg * -Wnon-virtual-dtor doesn't warn anymore for final classes.
397 1.5 mrg * Excessive template instantiation depth is now a fatal error. This
398 1.5 mrg prevents excessive diagnostics that usually do not help to identify
399 1.5 mrg the problem.
400 1.5 mrg * G++ and libstdc++ now implement the feature-testing macros from
401 1.5 mrg [12]Feature-testing recommendations for C++.
402 1.5 mrg * G++ now allows typename in a template template parameter.
403 1.5 mrg
404 1.5 mrg template<template<typename> typename X> struct D; // OK
405 1.5 mrg
406 1.5 mrg * G++ now supports [13]C++14 aggregates with non-static data member
407 1.5 mrg initializers.
408 1.5 mrg
409 1.5 mrg struct A { int i, j = i; };
410 1.5 mrg A a = { 42 }; // a.j is also 42
411 1.5 mrg
412 1.5 mrg * G++ now supports [14]C++14 extended constexpr.
413 1.5 mrg
414 1.5 mrg constexpr int f (int i)
415 1.5 mrg {
416 1.5 mrg int j = 0;
417 1.5 mrg for (; i > 0; --i)
418 1.5 mrg ++j;
419 1.5 mrg return j;
420 1.5 mrg }
421 1.5 mrg
422 1.5 mrg constexpr int i = f(42); // i is 42
423 1.5 mrg
424 1.5 mrg * G++ now supports the [15]C++14 sized deallocation functions.
425 1.5 mrg
426 1.5 mrg void operator delete (void *, std::size_t) noexcept;
427 1.5 mrg void operator delete[] (void *, std::size_t) noexcept;
428 1.5 mrg
429 1.5 mrg * A new One Definition Rule violation warning (controlled by -Wodr)
430 1.5 mrg detects mismatches in type definitions and virtual table contents
431 1.5 mrg during link-time optimization.
432 1.5 mrg * New warnings -Wsuggest-final-types and -Wsuggest-final-methods help
433 1.5 mrg developers to annotate programs with final specifiers (or anonymous
434 1.5 mrg namespaces) to improve code generation. These warnings can be used
435 1.5 mrg at compile time, but they are more useful in combination with
436 1.5 mrg link-time optimization.
437 1.5 mrg * G++ no longer supports [16]N3639 variable length arrays, as they
438 1.5 mrg were removed from the C++14 working paper prior to ratification.
439 1.5 mrg GNU VLAs are still supported, so VLA support is now the same in
440 1.5 mrg C++14 mode as in C++98 and C++11 modes.
441 1.5 mrg * G++ now allows passing a non-trivially-copyable class via C
442 1.5 mrg varargs, which is conditionally-supported with
443 1.5 mrg implementation-defined semantics in the standard. This uses the
444 1.5 mrg same calling convention as a normal value parameter.
445 1.5 mrg * G++ now defaults to -fabi-version=9 and -fabi-compat-version=2. So
446 1.5 mrg various mangling bugs are fixed, but G++ will still emit aliases
447 1.5 mrg with the old, wrong mangling where feasible. -Wabi=2 will warn
448 1.5 mrg about differences between ABI version 2 and the current setting.
449 1.5 mrg * G++ 5.2 fixes the alignment of std::nullptr_t. Most code is likely
450 1.5 mrg to be unaffected, but -Wabi=8 will warn about a non-static data
451 1.5 mrg member with type std::nullptr_t which changes position due to this
452 1.5 mrg change.
453 1.5 mrg
454 1.5 mrg Runtime Library (libstdc++)
455 1.5 mrg
456 1.5 mrg * A [17]Dual ABI is provided by the library. A new ABI is enabled by
457 1.5 mrg default. The old ABI is still supported and can be used by defining
458 1.5 mrg the macro _GLIBCXX_USE_CXX11_ABI to 0 before including any C++
459 1.5 mrg standard library headers.
460 1.5 mrg * A new implementation of std::string is enabled by default, using
461 1.5 mrg the small string optimization instead of copy-on-write reference
462 1.5 mrg counting.
463 1.5 mrg * A new implementation of std::list is enabled by default, with an
464 1.5 mrg O(1) size() function;
465 1.5 mrg * [18]Full support for C++11, including the following new features:
466 1.5 mrg + std::deque and std::vector<bool> meet the allocator-aware
467 1.5 mrg container requirements;
468 1.5 mrg + movable and swappable iostream classes;
469 1.5 mrg + support for std::align and std::aligned_union;
470 1.5 mrg + type traits std::is_trivially_copyable,
471 1.5 mrg std::is_trivially_constructible, std::is_trivially_assignable
472 1.5 mrg etc.;
473 1.5 mrg + I/O manipulators std::put_time, std::get_time, std::hexfloat
474 1.5 mrg and std::defaultfloat;
475 1.5 mrg + generic locale-aware std::isblank;
476 1.5 mrg + locale facets for Unicode conversion;
477 1.5 mrg + atomic operations for std::shared_ptr;
478 1.5 mrg + std::notify_all_at_thread_exit() and functions for making
479 1.5 mrg futures ready at thread exit.
480 1.5 mrg * Support for the C++11 hexfloat manipulator changes how the num_put
481 1.5 mrg facet formats floating point types when
482 1.5 mrg ios_base::fixed|ios_base::scientific is set in a stream's fmtflags.
483 1.5 mrg This change affects all language modes, even though the C++98
484 1.5 mrg standard gave no special meaning to that combination of flags. To
485 1.5 mrg prevent the use of hexadecimal notation for floating point types
486 1.5 mrg use str.unsetf(std::ios_base::floatfield) to clear the relevant
487 1.5 mrg bits in str.flags().
488 1.5 mrg * [19]Full experimental support for C++14, including the following
489 1.5 mrg new features:
490 1.5 mrg + std::is_final type trait;
491 1.5 mrg + heterogeneous comparison lookup in associative containers.
492 1.5 mrg + global functions cbegin, cend, rbegin, rend, crbegin, and
493 1.5 mrg crend for range access to containers, arrays and initializer
494 1.5 mrg lists.
495 1.5 mrg * [20]Improved experimental support for the Library Fundamentals TS,
496 1.5 mrg including:
497 1.5 mrg + class std::experimental::any;
498 1.5 mrg + function template std::experimental::apply;
499 1.5 mrg + function template std::experimental::sample;
500 1.5 mrg + function template std::experimental::search and related
501 1.5 mrg searcher types;
502 1.5 mrg + variable templates for type traits;
503 1.5 mrg + function template std::experimental::not_fn.
504 1.5 mrg * New random number distributions logistic_distribution and
505 1.5 mrg uniform_on_sphere_distribution as extensions.
506 1.5 mrg * [21]GDB Xmethods for containers and std::unique_ptr.
507 1.5 mrg
508 1.5 mrg Fortran
509 1.5 mrg
510 1.5 mrg * Compatibility notice:
511 1.5 mrg + The version of the module files (.mod) has been incremented.
512 1.7 mrg + For free-form source files [22]-Werror=line-truncation is now
513 1.7 mrg enabled by default. Note that comments exceeding the line
514 1.5 mrg length are not diagnosed. (For fixed-form source code, the
515 1.5 mrg same warning is available but turned off by default, such that
516 1.5 mrg excess characters are ignored. -ffree-line-length-n and
517 1.5 mrg -ffixed-line-length-n can be used to modify the default line
518 1.5 mrg lengths of 132 and 72 columns, respectively.)
519 1.5 mrg + The -Wtabs option is now more sensible: with -Wtabs the
520 1.5 mrg compiler warns if it encounters tabs and with -Wno-tabs this
521 1.5 mrg warning is turned off. Before, -Wno-tabs warned and -Wtabs
522 1.7 mrg disabled the warning. As before, this warning is also enabled
523 1.5 mrg by -Wall, -pedantic and the f95, f2003, f2008 and f2008ts
524 1.5 mrg options of -std=.
525 1.5 mrg * Incomplete support for colorizing diagnostics emitted by gfortran
526 1.5 mrg has been added. The option [23]-fdiagnostics-color controls when
527 1.5 mrg color is used in diagnostics. The default value of this option can
528 1.5 mrg be [24]configured when building GCC. The GCC_COLORS environment
529 1.5 mrg variable can be used to customize the colors or disable coloring
530 1.5 mrg completely. Sample diagnostics output:
531 1.5 mrg $ gfortran -fdiagnostics-color=always -Wuse-without-only test.f90
532 1.5 mrg test.f90:6:1:
533 1.5 mrg
534 1.5 mrg 0 continue
535 1.5 mrg 1
536 1.5 mrg Error: Zero is not a valid statement label at (1)
537 1.5 mrg test.f90:9:6:
538 1.5 mrg
539 1.5 mrg USE foo
540 1.5 mrg 1
541 1.5 mrg Warning: USE statement at (1) has no ONLY qualifier [-Wuse-without-only]
542 1.5 mrg
543 1.5 mrg * The -Wuse-without-only option has been added to warn when a USE
544 1.5 mrg statement has no ONLY qualifier and thus implicitly imports all
545 1.5 mrg public entities of the used module.
546 1.5 mrg * Formatted READ and WRITE statements now work correctly in
547 1.5 mrg locale-aware programs. For more information and potential caveats,
548 1.5 mrg see [25]Section 5.3 Thread-safety of the runtime library in the
549 1.5 mrg manual.
550 1.5 mrg * [26]Fortran 2003:
551 1.5 mrg + The intrinsic IEEE modules (IEEE_FEATURES, IEEE_EXCEPTIONS and
552 1.5 mrg IEEE_ARITHMETIC) are now supported.
553 1.5 mrg * [27]Fortran 2008:
554 1.5 mrg + [28]Coarrays: Full experimental support of Fortran 2008's
555 1.5 mrg coarrays with -fcoarray=lib except for allocatable/pointer
556 1.5 mrg components of derived-type coarrays. GCC currently only ships
557 1.5 mrg with a single-image library (libcaf_single), but multi-image
558 1.5 mrg support based on MPI and GASNet is provided by the libraries
559 1.5 mrg of the [29]OpenCoarrays project.
560 1.5 mrg * TS18508 Additional Parallel Features in Fortran:
561 1.5 mrg + Support for the collective intrinsic subroutines CO_MAX,
562 1.5 mrg CO_MIN, CO_SUM, CO_BROADCAST and CO_REDUCE has been added,
563 1.5 mrg including -fcoarray=lib support.
564 1.5 mrg + Support for the new atomic intrinsics has been added,
565 1.5 mrg including -fcoarray=lib support.
566 1.5 mrg * Fortran 2015:
567 1.5 mrg + Support for IMPLICIT NONE (external, type).
568 1.5 mrg + ERROR STOP is now permitted in pure procedures.
569 1.5 mrg
570 1.5 mrg Go
571 1.5 mrg
572 1.5 mrg * GCC 5 provides a complete implementation of the Go 1.4.2 release.
573 1.5 mrg * Building GCC 5 with Go enabled will install two new programs:
574 1.5 mrg [30]go and [31]gofmt.
575 1.5 mrg
576 1.5 mrg libgccjit
577 1.5 mrg
578 1.5 mrg New in GCC 5 is the ability to build GCC as a shared library for
579 1.5 mrg embedding in other processes (such as interpreters), suitable for
580 1.5 mrg Just-In-Time compilation to machine code.
581 1.5 mrg
582 1.5 mrg The shared library has a [32]C API and a [33]C++ wrapper API providing
583 1.5 mrg some "syntactic sugar". There are also bindings available from 3rd
584 1.5 mrg parties for [34]Python and for [35]D.
585 1.5 mrg
586 1.5 mrg For example, this library can be used by interpreters for [36]compiling
587 1.5 mrg functions from bytecode to machine code.
588 1.5 mrg
589 1.5 mrg The library can also be used for ahead-of-time compilation, enabling
590 1.5 mrg GCC to be plugged into a pre-existing frontend. An example of using
591 1.5 mrg this to build a compiler for an esoteric language we'll refer to as
592 1.5 mrg "brainf" can be seen [37]here.
593 1.5 mrg
594 1.5 mrg libgccjit is licensed under the GPLv3 (or at your option, any later
595 1.5 mrg version)
596 1.5 mrg
597 1.5 mrg It should be regarded as experimental at this time.
598 1.5 mrg
599 1.5 mrg New Targets and Target Specific Improvements
600 1.5 mrg
601 1.5 mrg Reporting stack usage
602 1.5 mrg
603 1.5 mrg * The BFIN, FT32, H8300, IQ2000 and M32C targets now support the
604 1.5 mrg -fstack-usage option.
605 1.5 mrg
606 1.5 mrg AArch64
607 1.5 mrg
608 1.5 mrg * Code generation for the ARM Cortex-A57 processor has been improved.
609 1.5 mrg A more accurate instruction scheduling model for the processor is
610 1.5 mrg now used, and a number of compiler tuning parameters have been set
611 1.5 mrg to offer increased performance when compiling with -mcpu=cortex-a57
612 1.5 mrg or -mtune=cortex-a57.
613 1.5 mrg * A workaround for the ARM Cortex-A53 erratum 835769 has been added
614 1.5 mrg and can be enabled by giving the -mfix-cortex-a53-835769 option.
615 1.5 mrg Alternatively it can be enabled by default by configuring GCC with
616 1.5 mrg the --enable-fix-cortex-a53-835769 option.
617 1.5 mrg * The optional cryptographic extensions to the ARMv8-A architecture
618 1.5 mrg are no longer enabled by default when specifying the
619 1.5 mrg -mcpu=cortex-a53, -mcpu=cortex-a57 or -mcpu=cortex-a57.cortex-a53
620 1.5 mrg options. To enable these extensions add +crypto to the value of
621 1.5 mrg -mcpu or -march e.g. -mcpu=cortex-a53+crypto.
622 1.5 mrg * Support has been added for the following processors (GCC
623 1.5 mrg identifiers in parentheses): ARM Cortex-A72 (cortex-a72) and
624 1.5 mrg initial support for its big.LITTLE combination with the ARM
625 1.5 mrg Cortex-A53 (cortex-a72.cortex-a53), Cavium ThunderX (thunderx),
626 1.5 mrg Applied Micro X-Gene 1 (xgene1), and Samsung Exynos M1 (exynos-m1).
627 1.5 mrg The GCC identifiers can be used as arguments to the -mcpu or -mtune
628 1.5 mrg options, for example: -mcpu=xgene1 or -mtune=cortex-a72.cortex-a53.
629 1.5 mrg Using -mcpu=cortex-a72 requires a version of GNU binutils that has
630 1.5 mrg support for the Cortex-A72.
631 1.5 mrg * The transitional options -mlra and -mno-lra have been removed. The
632 1.5 mrg AArch64 backend now uses the local register allocator (LRA) only.
633 1.5 mrg
634 1.5 mrg ARM
635 1.5 mrg
636 1.5 mrg * Thumb-1 assembly code is now generated in unified syntax. The new
637 1.5 mrg option -masm-syntax-unified specifies whether inline assembly code
638 1.5 mrg is using unified syntax. By default the option is off which means
639 1.5 mrg non-unified syntax is used. However this is subject to change in
640 1.5 mrg future releases. Eventually the non-unified syntax will be
641 1.5 mrg deprecated.
642 1.5 mrg * It is now a configure-time error to use the --with-cpu configure
643 1.5 mrg option with either of --with-tune or --with-arch.
644 1.5 mrg * Code generation for the ARM Cortex-A57 processor has been improved.
645 1.5 mrg A more accurate instruction scheduling model for the processor is
646 1.5 mrg now used, and a number of compiler tuning parameters have been set
647 1.5 mrg to offer increased performance when compiling with -mcpu=cortex-a57
648 1.5 mrg or -mtune=cortex-a57.
649 1.5 mrg * Support has been added for the following processors (GCC
650 1.5 mrg identifiers in parentheses): ARM Cortex-A17 (cortex-a17) and
651 1.5 mrg initial support for its big.LITTLE combination with the ARM
652 1.5 mrg Cortex-A7 (cortex-a17.cortex-a7), ARM Cortex-A72 (cortex-a72) and
653 1.5 mrg initial support for its big.LITTLE combination with the ARM
654 1.5 mrg Cortex-A53 (cortex-a72.cortex-a53), ARM Cortex-M7 (cortex-m7),
655 1.5 mrg Applied Micro X-Gene 1 (xgene1), and Samsung Exynos M1 (exynos-m1).
656 1.5 mrg The GCC identifiers can be used as arguments to the -mcpu or -mtune
657 1.5 mrg options, for example: -mcpu=xgene1 or -mtune=cortex-a72.cortex-a53.
658 1.5 mrg Using -mcpu=cortex-a72 requires a version of GNU binutils that has
659 1.5 mrg support for the Cortex-A72.
660 1.5 mrg * The deprecated option -mwords-little-endian has been removed.
661 1.5 mrg * The options -mapcs, -mapcs-frame, -mtpcs-frame and
662 1.5 mrg -mtpcs-leaf-frame which are only applicable to the old ABI have
663 1.5 mrg been deprecated.
664 1.5 mrg * The transitional options -mlra and -mno-lra have been removed. The
665 1.5 mrg ARM backend now uses the local register allocator (LRA) only.
666 1.5 mrg
667 1.5 mrg AVR
668 1.5 mrg
669 1.5 mrg * The compiler no more supports individual devices like ATmega8.
670 1.5 mrg Specifying, say, -mmcu=atmega8 triggers the usage of the
671 1.5 mrg device-specific [38]spec file specs-atmega8 which is part of the
672 1.5 mrg installation and describes options for the sub-processes like
673 1.5 mrg compiler proper, assembler and linker. You can add support for a
674 1.5 mrg new device -mmcu=mydevice as follows:
675 1.5 mrg 1. In an empty directory /someplace, create a new directory
676 1.5 mrg device-specs.
677 1.5 mrg 2. Copy a device spec file from the installed device-specs
678 1.5 mrg folder, follow the comments in that file and then save it as
679 1.5 mrg /someplace/device-specs/specs-mydevice.
680 1.5 mrg 3. Add -B /someplace -mmcu=mydevice to the compiler's
681 1.5 mrg command-line options. Notice that /someplace must specify an
682 1.5 mrg absolute path and that mydevice must not start with "avr".
683 1.5 mrg 4. Provided you have a device-specific library libmydevice.a
684 1.5 mrg available, you can put it at /someplace, dito for a
685 1.5 mrg device-specific startup file crtmydevice.o.
686 1.5 mrg The contents of the device spec files depend on the compiler's
687 1.5 mrg configuration, in particular on --with-avrlibc=no and whether or
688 1.5 mrg not it is configured for RTEMS.
689 1.5 mrg * A new command-line option -nodevicelib has been added. It prevents
690 1.5 mrg the compiler from linking against AVR-LibC's device-specific
691 1.5 mrg library libdevice.a.
692 1.5 mrg * The following three command-line options have been added:
693 1.5 mrg
694 1.5 mrg -mrmw
695 1.5 mrg Set if the device supports the read-modify-write
696 1.5 mrg instructions LAC, LAS, LAT and XCH.
697 1.5 mrg
698 1.5 mrg -mn-flash=size
699 1.5 mrg Specify the flash size of the device in units of 64 KiB,
700 1.5 mrg rounded up to the next integer as needed. This option
701 1.5 mrg affects the availability of the [39]AVR address-spaces.
702 1.5 mrg
703 1.5 mrg -mskip-bug
704 1.5 mrg Set if the device is affected by the respective silicon
705 1.5 mrg bug.
706 1.5 mrg
707 1.5 mrg In general, you don't need to set these options by hand. The new
708 1.5 mrg device-specific spec file will set them as needed.
709 1.5 mrg
710 1.5 mrg IA-32/x86-64
711 1.5 mrg
712 1.7 mrg * New [40]ISA extensions support AVX-512{BW,DQ,VL,IFMA,VBMI} of
713 1.5 mrg Intel's CPU codenamed Skylake Server was added to GCC. That
714 1.5 mrg includes inline assembly support, new intrinsics, and basic
715 1.5 mrg autovectorization. These new AVX-512 extensions are available via
716 1.5 mrg the following GCC switches: AVX-512 Vector Length EVEX feature:
717 1.5 mrg -mavx512vl, AVX-512 Byte and Word instructions: -mavx512bw, AVX-512
718 1.5 mrg Dword and Qword instructions: -mavx512dq, AVX-512 FMA-52
719 1.5 mrg instructions: -mavx512ifma and for AVX-512 Vector Bit Manipulation
720 1.5 mrg Instructions: -mavx512vbmi.
721 1.7 mrg * New ISA extensions support Intel MPX was added to GCC. This new
722 1.5 mrg extension is available via the -mmpx compiler switch. Intel MPX is
723 1.5 mrg a set of processor features which, with compiler, run-time library
724 1.5 mrg and OS support, brings increased robustness to software by run-time
725 1.5 mrg checking pointer references against their bounds. In GCC Intel MPX
726 1.5 mrg is supported by Pointer Bounds Checker and libmpx run-time
727 1.5 mrg libraries.
728 1.5 mrg * The new -mrecord-mcount option for -pg generates a Linux kernel
729 1.5 mrg style table of pointers to mcount or __fentry__ calls at the
730 1.5 mrg beginning of functions. The new -mnop-mcount option in addition
731 1.5 mrg also generates nops in place of the __fentry__ or mcount call, so
732 1.5 mrg that a call per function can be later patched in. This can be used
733 1.5 mrg for low overhead tracing or hot code patching.
734 1.5 mrg * The new -malign-data option controls how GCC aligns variables.
735 1.5 mrg -malign-data=compat uses increased alignment compatible with GCC
736 1.5 mrg 4.8 and earlier, -malign-data=abi uses alignment as specified by
737 1.5 mrg the psABI, and -malign-data=cacheline uses increased alignment to
738 1.5 mrg match the cache line size. -malign-data=compat is the default.
739 1.5 mrg * The new -mskip-rax-setup option skips setting up the RAX register
740 1.5 mrg when SSE is disabled and there are no variable arguments passed in
741 1.5 mrg vector registers. This can be used to optimize the Linux kernel.
742 1.5 mrg
743 1.5 mrg MIPS
744 1.5 mrg
745 1.5 mrg * MIPS Releases 3 and 5 are now directly supported. Use the
746 1.5 mrg command-line options -mips32r3, -mips64r3, -mips32r5 and -mips64r5
747 1.5 mrg to enable code-generation for these processors.
748 1.5 mrg * The Imagination P5600 processor is now supported using the
749 1.5 mrg -march=p5600 command-line option.
750 1.5 mrg * The Cavium Octeon3 processor is now supported using the
751 1.5 mrg -march=octeon3 command-line option.
752 1.5 mrg * MIPS Release 6 is now supported using the -mips32r6 and -mips64r6
753 1.5 mrg command-line options.
754 1.5 mrg * The o32 ABI has been modified and extended. The o32 64-bit
755 1.5 mrg floating-point register support is now obsolete and has been
756 1.5 mrg removed. It has been replaced by three ABI extensions FPXX, FP64A,
757 1.5 mrg and FP64. The meaning of the -mfp64 command-line option has
758 1.5 mrg changed. It is now used to enable the FP64A and FP64 ABI
759 1.5 mrg extensions.
760 1.5 mrg + The FPXX extension requires that code generated to access
761 1.5 mrg double-precision values use even-numbered registers. Code that
762 1.5 mrg adheres to this extension is link-compatible with all other
763 1.5 mrg o32 double-precision ABI variants and will execute correctly
764 1.5 mrg in all hardware FPU modes. The command-line options -mabi=32
765 1.5 mrg -mfpxx can be used to enable this extension. MIPS II is the
766 1.5 mrg minimum processor required.
767 1.5 mrg + The o32 FP64A extension requires that floating-point registers
768 1.5 mrg be 64-bit and odd-numbered single-precision registers are not
769 1.5 mrg allowed. Code that adheres to the o32 FP64A variant is
770 1.5 mrg link-compatible with all other o32 double-precision ABI
771 1.5 mrg variants. The command-line options -mabi=32 -mfp64
772 1.5 mrg -mno-odd-spreg can be used to enable this extension. MIPS32R2
773 1.5 mrg is the minimum processor required.
774 1.5 mrg + The o32 FP64 extension also requires that floating-point
775 1.5 mrg registers be 64-bit, but permits the use of single-precision
776 1.5 mrg registers. Code that adheres to the o32 FP64 variant is
777 1.5 mrg link-compatible with o32 FPXX and o32 FP64A variants only,
778 1.5 mrg i.e. it is not compatible with the original o32
779 1.5 mrg double-precision ABI. The command-line options -mabi=32 -mfp64
780 1.5 mrg -modd-spreg can be used to enable this extension. MIPS32R2 is
781 1.5 mrg the minimum processor required.
782 1.5 mrg The new ABI variants can be enabled by default using the configure
783 1.5 mrg time options --with-fp-32=[32|xx|64] and --with(out)-odd-sp-reg-32.
784 1.5 mrg It is strongly recommended that all vendors begin to set o32 FPXX
785 1.5 mrg as the default ABI. This will be required to run the generated code
786 1.5 mrg on MIPSR5 cores in conjunction with future MIPS SIMD (MSA) code and
787 1.5 mrg MIPSR6 cores.
788 1.5 mrg * GCC will now pass all floating-point options to the assembler if
789 1.5 mrg GNU binutils 2.25 is used. As a result, any inline assembly code
790 1.5 mrg that uses hard-float instructions should be amended to include a
791 1.5 mrg .set directive to override the global assembler options when
792 1.5 mrg compiling for soft-float targets.
793 1.5 mrg
794 1.5 mrg NDS32
795 1.5 mrg
796 1.5 mrg * The variadic function ABI implementation is now compatible with
797 1.5 mrg past Andes toolchains where the caller uses registers to pass
798 1.5 mrg arguments and the callee is in charge of pushing them on stack.
799 1.5 mrg * The options -mforce-fp-as-gp, -mforbid-fp-as-gp, and -mex9 have
800 1.5 mrg been removed since they are not yet available in the nds32 port of
801 1.5 mrg GNU binutils.
802 1.5 mrg * A new option -mcmodel=[small|medium|large] supports varied code
803 1.5 mrg models on code generation. The -mgp-direct option became
804 1.5 mrg meaningless and can be discarded.
805 1.5 mrg
806 1.5 mrg RX
807 1.5 mrg
808 1.5 mrg * A new command line option -mno-allow-string-insns can be used to
809 1.5 mrg disable the generation of the SCMPU, SMOVU, SMOVB, SMOVF, SUNTIL,
810 1.5 mrg SWHILE and RMPA instructions. An erratum released by Renesas shows
811 1.5 mrg that it is unsafe to use these instructions on addresses within the
812 1.5 mrg I/O space of the processor. The new option can be used when the
813 1.5 mrg programmer is concerned that the I/O space might be accessed. The
814 1.5 mrg default is still to enable these instructions.
815 1.5 mrg
816 1.5 mrg SH
817 1.5 mrg
818 1.5 mrg * The compiler will now pass the appropriate --isa= option to the
819 1.5 mrg assembler.
820 1.5 mrg * The default handling for the GBR has been changed from call
821 1.5 mrg clobbered to call preserved. The old behavior can be reinstated by
822 1.5 mrg specifying the option -fcall-used-gbr.
823 1.5 mrg * Support for the SH4A fpchg instruction has been added which will be
824 1.5 mrg utilized when switching between single and double precision FPU
825 1.5 mrg modes.
826 1.5 mrg * The compiler no longer uses the __fpscr_values array for switching
827 1.5 mrg between single and double FPU precision modes on non-SH4A targets.
828 1.5 mrg Instead mode switching will now be performed by storing, modifying
829 1.5 mrg and reloading the FPSCR, so that other FPSCR bits are preserved
830 1.5 mrg across mode switches. The __fpscr_values array that is defined in
831 1.5 mrg libgcc is still present for backwards compatibility, but it will
832 1.5 mrg not be referenced by compiler generated code anymore.
833 1.5 mrg * New builtin functions __builtin_sh_get_fpscr and
834 1.5 mrg __builtin_sh_set_fpscr have been added. The __builtin_sh_set_fpscr
835 1.5 mrg function will mask the specified bits in such a way that the SZ, PR
836 1.5 mrg and FR mode bits will be preserved, while changing the other bits.
837 1.5 mrg These new functions do not reference the __fpscr_values array. The
838 1.5 mrg old functions __set_fpscr and __get_fpscr in libgcc which access
839 1.5 mrg the __fpscr_values array are still present for backwards
840 1.5 mrg compatibility, but their usage is highly discouraged.
841 1.5 mrg * Some improvements to code generated for __atomic built-in
842 1.5 mrg functions.
843 1.5 mrg * When compiling for SH2E the compiler will no longer force the usage
844 1.5 mrg of delay slots for conditional branch instructions bt and bf. The
845 1.5 mrg old behavior can be reinstated (e.g. to work around a hardware bug
846 1.5 mrg in the original SH7055) by specifying the new option
847 1.5 mrg -mcbranch-force-delay-slot.
848 1.5 mrg
849 1.5 mrg Operating Systems
850 1.5 mrg
851 1.7 mrg AIX
852 1.7 mrg
853 1.7 mrg * GCC now supports stabs debugging continuation lines to allow long
854 1.7 mrg stabs debug information without overflow that generates AIX linker
855 1.7 mrg errors.
856 1.7 mrg
857 1.5 mrg DragonFly BSD
858 1.5 mrg
859 1.5 mrg * GCC now supports the DragonFly BSD operating system.
860 1.5 mrg
861 1.5 mrg FreeBSD
862 1.5 mrg
863 1.5 mrg * GCC now supports the FreeBSD operating system for the arm port
864 1.5 mrg through the arm*-*-freebsd* target triplets.
865 1.5 mrg
866 1.5 mrg VxWorks MILS
867 1.5 mrg
868 1.5 mrg * GCC now supports the MILS (Multiple Independent Levels of Security)
869 1.5 mrg variant of WindRiver's VxWorks operating system for PowerPC
870 1.5 mrg targets.
871 1.5 mrg
872 1.5 mrg Other significant improvements
873 1.5 mrg
874 1.5 mrg * The gcc-ar, gcc-nm, gcc-ranlib wrappers now understand a -B option
875 1.5 mrg to set the compiler to use.
876 1.5 mrg
877 1.5 mrg * When the new command-line option -freport-bug is used, GCC
878 1.5 mrg automatically generates a developer-friendly reproducer whenever an
879 1.5 mrg internal compiler error is encountered.
880 1.5 mrg
881 1.7 mrg GCC 5.2
882 1.5 mrg
883 1.7 mrg This is the [41]list of problem reports (PRs) from GCC's bug tracking
884 1.5 mrg system that are known to be fixed in the 5.2 release. This list might
885 1.5 mrg not be complete (that is, it is possible that some PRs that have been
886 1.5 mrg fixed are not listed here).
887 1.5 mrg
888 1.5 mrg Target Specific Changes
889 1.5 mrg
890 1.5 mrg IA-32/x86-64
891 1.5 mrg
892 1.5 mrg * Support for new AMD instructions monitorx and mwaitx has been
893 1.5 mrg added. This includes new intrinsic and built-in support. It is
894 1.5 mrg enabled through option -mmwaitx. The instructions monitorx and
895 1.5 mrg mwaitx implement the same functionality as the old monitor and
896 1.5 mrg mwait instructions. In addition mwaitx adds a configurable timer.
897 1.5 mrg The timer value is received as third argument and stored in
898 1.5 mrg register %ebx.
899 1.5 mrg
900 1.6 mrg S/390, System z, IBM z Systems
901 1.6 mrg
902 1.6 mrg * Support for the IBM z13 processor has been added. When using the
903 1.6 mrg -march=z13 option, the compiler will generate code making use of
904 1.6 mrg the new instructions and registers introduced with the vector
905 1.6 mrg extension facility. The -mtune=z13 option enables z13 specific
906 1.6 mrg instruction scheduling without making use of new instructions.
907 1.6 mrg Compiling code with -march=z13 reduces the default alignment of
908 1.6 mrg vector types bigger than 8 bytes to 8. This is an ABI change and
909 1.6 mrg care must be taken when linking modules compiled with different
910 1.6 mrg arch levels which interchange variables containing vector type
911 1.6 mrg values. For newly compiled code the GNU linker will emit a warning.
912 1.6 mrg * The -mzvector option enables a C/C++ language extension. This
913 1.6 mrg extension provides a new keyword vector which can be used to define
914 1.6 mrg vector type variables. (Note: This is not available when enforcing
915 1.6 mrg strict standard compliance e.g. with -std=c99. Either enable GNU
916 1.6 mrg extensions with e.g. -std=gnu99 or use __vector instead of vector.)
917 1.6 mrg Additionally a set of overloaded builtins is provided which is
918 1.6 mrg partially compatible to the PowerPC Altivec builtins. In order to
919 1.6 mrg make use of these builtins the vecintrin.h header file needs to be
920 1.6 mrg included.
921 1.6 mrg
922 1.7 mrg GCC 5.3
923 1.5 mrg
924 1.7 mrg This is the [42]list of problem reports (PRs) from GCC's bug tracking
925 1.5 mrg system that are known to be fixed in the 5.3 release. This list might
926 1.5 mrg not be complete (that is, it is possible that some PRs that have been
927 1.5 mrg fixed are not listed here).
928 1.5 mrg
929 1.5 mrg Target Specific Changes
930 1.5 mrg
931 1.5 mrg IA-32/x86-64
932 1.5 mrg
933 1.5 mrg * GCC now supports the Intel CPU named Skylake with AVX-512
934 1.5 mrg extensions through -march=skylake-avx512. The switch enables the
935 1.5 mrg following ISA extensions: AVX-512F, AVX512VL, AVX-512CD, AVX-512BW,
936 1.5 mrg AVX-512DQ.
937 1.5 mrg
938 1.6 mrg S/390, System z, IBM z Systems
939 1.6 mrg
940 1.6 mrg * With this version of GCC IBM z Systems support has been added to
941 1.6 mrg the GO runtime environment. GCC 5.3 has proven to be able to
942 1.6 mrg compile larger GO applications on IBM z Systems.
943 1.6 mrg
944 1.7 mrg GCC 5.4
945 1.6 mrg
946 1.7 mrg This is the [43]list of problem reports (PRs) from GCC's bug tracking
947 1.6 mrg system that are known to be fixed in the 5.4 release. This list might
948 1.6 mrg not be complete (that is, it is possible that some PRs that have been
949 1.6 mrg fixed are not listed here).
950 1.6 mrg
951 1.7 mrg GCC 5.5
952 1.6 mrg
953 1.7 mrg This is the [44]list of problem reports (PRs) from GCC's bug tracking
954 1.6 mrg system that are known to be fixed in the 5.5 release. This list might
955 1.6 mrg not be complete (that is, it is possible that some PRs that have been
956 1.6 mrg fixed are not listed here).
957 1.6 mrg
958 1.7 mrg Target Specific Changes
959 1.7 mrg
960 1.7 mrg IA-32/x86-64
961 1.7 mrg
962 1.7 mrg * Support for the [45]deprecated pcommit instruction has been
963 1.7 mrg removed.
964 1.7 mrg
965 1.5 mrg
966 1.5 mrg For questions related to the use of GCC, please consult these web
967 1.6 mrg pages and the [46]GCC manuals. If that fails, the
968 1.6 mrg [47]gcc-help (a] gcc.gnu.org mailing list might help. Comments on these
969 1.5 mrg web pages and the development of GCC are welcome on our developer
970 1.6 mrg list at [48]gcc (a] gcc.gnu.org. All of [49]our lists have public
971 1.5 mrg archives.
972 1.5 mrg
973 1.6 mrg Copyright (C) [50]Free Software Foundation, Inc. Verbatim copying and
974 1.5 mrg distribution of this entire article is permitted in any medium,
975 1.5 mrg provided this notice is preserved.
976 1.5 mrg
977 1.6 mrg These pages are [51]maintained by the GCC team. Last modified
978 1.7 mrg 2017-10-10[52].
979 1.5 mrg
980 1.5 mrg References
981 1.5 mrg
982 1.5 mrg 1. http://gcc.gnu.org/gcc-5/changes.html#libstdcxx
983 1.5 mrg 2. https://gcc.gnu.org/onlinedocs/gcc/Spec-Files.html
984 1.5 mrg 3. https://savannah.nongnu.org/bugs/?44574
985 1.7 mrg 4. https://gcc.gnu.org/wiki/Intel MPX support in the GCC compiler
986 1.7 mrg 5. http://www.openmp.org/wp-content/uploads/OpenMP4.0.0.pdf
987 1.7 mrg 6. http://www.openmp.org/wp-content/uploads/OpenMP4.0.0.Examples.pdf
988 1.5 mrg 7. https://gcc.gnu.org/wiki/OpenACC
989 1.5 mrg 8. https://gcc.gnu.org/install/configure.html
990 1.5 mrg 9. https://www.cilkplus.org/
991 1.5 mrg 10. https://isocpp.org/std/standing-documents/sd-6-sg10-feature-test-recommendations
992 1.5 mrg 11. http://gcc.gnu.org/projects/cxx1y.html
993 1.5 mrg 12. https://isocpp.org/std/standing-documents/sd-6-sg10-feature-test-recommendations
994 1.5 mrg 13. http://gcc.gnu.org/projects/cxx1y.html
995 1.5 mrg 14. http://gcc.gnu.org/projects/cxx1y.html
996 1.5 mrg 15. http://gcc.gnu.org/projects/cxx1y.html
997 1.5 mrg 16. http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2013/n3639.html
998 1.5 mrg 17. http://gcc.gnu.org/onlinedocs/libstdc++/manual/using_dual_abi.html
999 1.5 mrg 18. https://gcc.gnu.org/onlinedocs/gcc-5.1.0/libstdc++/manual/manual/status.html#status.iso.2011
1000 1.5 mrg 19. https://gcc.gnu.org/onlinedocs/gcc-5.1.0/libstdc++/manual/manual/status.html#status.iso.2014
1001 1.5 mrg 20. https://gcc.gnu.org/onlinedocs/gcc-5.1.0/libstdc++/manual/manual/status.html#status.iso.2014
1002 1.5 mrg 21. https://sourceware.org/gdb/current/onlinedocs/gdb/Xmethods-In-Python.html
1003 1.5 mrg 22. https://gcc.gnu.org/onlinedocs/gcc-5.1.0/gfortran/Error-and-Warning-Options.html
1004 1.5 mrg 23. https://gcc.gnu.org/onlinedocs/gcc-5.1.0/gcc/Language-Independent-Options.html
1005 1.5 mrg 24. https://gcc.gnu.org/install/configure.html
1006 1.5 mrg 25. https://gcc.gnu.org/onlinedocs/gcc-5.1.0/gfortran/Thread-safety-of-the-runtime-library.html
1007 1.5 mrg 26. https://gcc.gnu.org/wiki/Fortran2003Status
1008 1.5 mrg 27. https://gcc.gnu.org/wiki/Fortran2008Status
1009 1.5 mrg 28. https://gcc.gnu.org/wiki/Coarray
1010 1.5 mrg 29. http://www.opencoarrays.org/
1011 1.5 mrg 30. https://golang.org/cmd/go/
1012 1.5 mrg 31. https://golang.org/cmd/gofmt/
1013 1.5 mrg 32. https://gcc.gnu.org/onlinedocs/gcc-5.1.0/jit/intro/index.html
1014 1.5 mrg 33. https://gcc.gnu.org/onlinedocs/gcc-5.1.0/jit/cp/index.html
1015 1.5 mrg 34. https://github.com/davidmalcolm/pygccjit
1016 1.5 mrg 35. https://github.com/ibuclaw/gccjitd
1017 1.5 mrg 36. https://gcc.gnu.org/onlinedocs/gcc-5.1.0/jit/intro/tutorial04.html
1018 1.5 mrg 37. https://gcc.gnu.org/onlinedocs/gcc-5.1.0/jit/intro/tutorial05.html
1019 1.5 mrg 38. https://gcc.gnu.org/onlinedocs/gcc/Spec-Files.html
1020 1.5 mrg 39. https://gcc.gnu.org/onlinedocs/gcc/Named-Address-Spaces.html
1021 1.7 mrg 40. https://software.intel.com/sites/default/files/managed/39/c5/325462-sdm-vol-1-2abcd-3abcd.pdf
1022 1.7 mrg 41. https://gcc.gnu.org/bugzilla/buglist.cgi?bug_status=RESOLVED&resolution=FIXED&target_milestone=5.2
1023 1.7 mrg 42. https://gcc.gnu.org/bugzilla/buglist.cgi?bug_status=RESOLVED&resolution=FIXED&target_milestone=5.3
1024 1.7 mrg 43. https://gcc.gnu.org/bugzilla/buglist.cgi?bug_status=RESOLVED&resolution=FIXED&target_milestone=5.4
1025 1.7 mrg 44. https://gcc.gnu.org/bugzilla/buglist.cgi?bug_status=RESOLVED&resolution=FIXED&target_milestone=5.5
1026 1.7 mrg 45. https://software.intel.com/en-us/blogs/2016/09/12/deprecate-pcommit-instruction
1027 1.6 mrg 46. https://gcc.gnu.org/onlinedocs/
1028 1.6 mrg 47. mailto:gcc-help (a] gcc.gnu.org
1029 1.6 mrg 48. mailto:gcc (a] gcc.gnu.org
1030 1.6 mrg 49. https://gcc.gnu.org/lists.html
1031 1.6 mrg 50. http://www.fsf.org/
1032 1.6 mrg 51. https://gcc.gnu.org/about.html
1033 1.6 mrg 52. http://validator.w3.org/check/referer
1034 1.5 mrg ======================================================================
1035 1.5 mrg http://gcc.gnu.org/gcc-4.9/index.html
1036 1.5 mrg GCC 4.9 Release Series
1037 1.5 mrg
1038 1.7 mrg Aug 3, 2016
1039 1.5 mrg
1040 1.5 mrg The [1]GNU project and the GCC developers are pleased to announce the
1041 1.7 mrg release of GCC 4.9.4.
1042 1.5 mrg
1043 1.5 mrg This release is a bug-fix release, containing fixes for regressions in
1044 1.7 mrg GCC 4.9.3 relative to previous releases of GCC.
1045 1.7 mrg
1046 1.7 mrg This release series is no longer maintained.
1047 1.5 mrg
1048 1.5 mrg Release History
1049 1.5 mrg
1050 1.7 mrg GCC 4.9.4
1051 1.7 mrg Aug 3, 2016 ([2]changes, [3]documentation)
1052 1.7 mrg
1053 1.5 mrg GCC 4.9.3
1054 1.7 mrg June 26, 2015 ([4]changes, [5]documentation)
1055 1.5 mrg
1056 1.5 mrg GCC 4.9.2
1057 1.7 mrg October 30, 2014 ([6]changes, [7]documentation)
1058 1.5 mrg
1059 1.5 mrg GCC 4.9.1
1060 1.7 mrg July 16, 2014 ([8]changes, [9]documentation)
1061 1.5 mrg
1062 1.5 mrg GCC 4.9.0
1063 1.7 mrg April 22, 2014 ([10]changes, [11]documentation)
1064 1.5 mrg
1065 1.5 mrg References and Acknowledgements
1066 1.5 mrg
1067 1.5 mrg GCC used to stand for the GNU C Compiler, but since the compiler
1068 1.5 mrg supports several other languages aside from C, it now stands for the
1069 1.5 mrg GNU Compiler Collection.
1070 1.5 mrg
1071 1.7 mrg A list of [12]successful builds is updated as new information becomes
1072 1.5 mrg available.
1073 1.5 mrg
1074 1.5 mrg The GCC developers would like to thank the numerous people that have
1075 1.5 mrg contributed new features, improvements, bug fixes, and other changes as
1076 1.7 mrg well as test results to GCC. This [13]amazing group of volunteers is
1077 1.5 mrg what makes GCC successful.
1078 1.5 mrg
1079 1.7 mrg For additional information about GCC please refer to the [14]GCC
1080 1.7 mrg project web site or contact the [15]GCC development mailing list.
1081 1.5 mrg
1082 1.7 mrg To obtain GCC please use [16]our mirror sites or [17]our SVN server.
1083 1.5 mrg
1084 1.5 mrg
1085 1.5 mrg For questions related to the use of GCC, please consult these web
1086 1.7 mrg pages and the [18]GCC manuals. If that fails, the
1087 1.7 mrg [19]gcc-help (a] gcc.gnu.org mailing list might help. Comments on these
1088 1.5 mrg web pages and the development of GCC are welcome on our developer
1089 1.7 mrg list at [20]gcc (a] gcc.gnu.org. All of [21]our lists have public
1090 1.5 mrg archives.
1091 1.5 mrg
1092 1.7 mrg Copyright (C) [22]Free Software Foundation, Inc. Verbatim copying and
1093 1.5 mrg distribution of this entire article is permitted in any medium,
1094 1.5 mrg provided this notice is preserved.
1095 1.5 mrg
1096 1.7 mrg These pages are [23]maintained by the GCC team. Last modified
1097 1.7 mrg 2016-09-30[24].
1098 1.5 mrg
1099 1.5 mrg References
1100 1.5 mrg
1101 1.5 mrg 1. http://www.gnu.org/
1102 1.5 mrg 2. http://gcc.gnu.org/gcc-4.9/changes.html
1103 1.7 mrg 3. http://gcc.gnu.org/onlinedocs/4.9.4/
1104 1.5 mrg 4. http://gcc.gnu.org/gcc-4.9/changes.html
1105 1.7 mrg 5. http://gcc.gnu.org/onlinedocs/4.9.3/
1106 1.5 mrg 6. http://gcc.gnu.org/gcc-4.9/changes.html
1107 1.7 mrg 7. http://gcc.gnu.org/onlinedocs/4.9.2/
1108 1.5 mrg 8. http://gcc.gnu.org/gcc-4.9/changes.html
1109 1.7 mrg 9. http://gcc.gnu.org/onlinedocs/4.9.1/
1110 1.7 mrg 10. http://gcc.gnu.org/gcc-4.9/changes.html
1111 1.7 mrg 11. https://gcc.gnu.org/onlinedocs/4.9.0/
1112 1.7 mrg 12. http://gcc.gnu.org/gcc-4.9/buildstat.html
1113 1.7 mrg 13. https://gcc.gnu.org/onlinedocs/gcc/Contributors.html
1114 1.7 mrg 14. http://gcc.gnu.org/index.html
1115 1.7 mrg 15. mailto:gcc (a] gcc.gnu.org
1116 1.7 mrg 16. http://gcc.gnu.org/mirrors.html
1117 1.7 mrg 17. http://gcc.gnu.org/svn.html
1118 1.7 mrg 18. https://gcc.gnu.org/onlinedocs/
1119 1.7 mrg 19. mailto:gcc-help (a] gcc.gnu.org
1120 1.7 mrg 20. mailto:gcc (a] gcc.gnu.org
1121 1.7 mrg 21. https://gcc.gnu.org/lists.html
1122 1.7 mrg 22. http://www.fsf.org/
1123 1.7 mrg 23. https://gcc.gnu.org/about.html
1124 1.7 mrg 24. http://validator.w3.org/check/referer
1125 1.5 mrg ======================================================================
1126 1.5 mrg http://gcc.gnu.org/gcc-4.9/changes.html
1127 1.5 mrg GCC 4.9 Release Series
1128 1.5 mrg Changes, New Features, and Fixes
1129 1.5 mrg
1130 1.5 mrg Caveats
1131 1.5 mrg
1132 1.5 mrg * The mudflap run time checker has been removed. The mudflap options
1133 1.5 mrg remain, but do nothing.
1134 1.5 mrg * Support for a number of older systems and recently unmaintained or
1135 1.5 mrg untested target ports of GCC has been declared obsolete in GCC 4.9.
1136 1.5 mrg Unless there is activity to revive them, the next release of GCC
1137 1.5 mrg will have their sources permanently removed.
1138 1.5 mrg The following ports for individual systems on particular
1139 1.5 mrg architectures have been obsoleted:
1140 1.5 mrg + Solaris 9 (*-*-solaris2.9). Details can be found in the
1141 1.5 mrg [1]announcement.
1142 1.5 mrg * On AArch64, the singleton vector types int64x1_t, uint64x1_t and
1143 1.5 mrg float64x1_t exported by arm_neon.h are defined to be the same as
1144 1.5 mrg their base types. This results in incorrect application of
1145 1.5 mrg parameter passing rules to arguments of types int64x1_t and
1146 1.5 mrg uint64x1_t, with respect to the AAPCS64 ABI specification. In
1147 1.5 mrg addition, names of C++ functions with parameters of these types
1148 1.5 mrg (including float64x1_t) are not mangled correctly. The current
1149 1.5 mrg typedef declarations also unintentionally allow implicit casting
1150 1.5 mrg between singleton vector types and their base types. These issues
1151 1.5 mrg will be resolved in a near future release. See [2]PR60825 for more
1152 1.5 mrg information.
1153 1.5 mrg
1154 1.5 mrg More information on porting to GCC 4.9 from previous versions of GCC
1155 1.5 mrg can be found in the [3]porting guide for this release.
1156 1.5 mrg
1157 1.5 mrg General Optimizer Improvements
1158 1.5 mrg
1159 1.5 mrg * AddressSanitizer, a fast memory error detector, is now available on
1160 1.5 mrg ARM.
1161 1.5 mrg * UndefinedBehaviorSanitizer (ubsan), a fast undefined behavior
1162 1.5 mrg detector, has been added and can be enabled via
1163 1.5 mrg -fsanitize=undefined. Various computations will be instrumented to
1164 1.5 mrg detect undefined behavior at runtime. UndefinedBehaviorSanitizer is
1165 1.5 mrg currently available for the C and C++ languages.
1166 1.5 mrg * Link-time optimization (LTO) improvements:
1167 1.5 mrg + Type merging was rewritten. The new implementation is
1168 1.5 mrg significantly faster and uses less memory.
1169 1.5 mrg + Better partitioning algorithm resulting in less streaming
1170 1.5 mrg during link time.
1171 1.5 mrg + Early removal of virtual methods reduces the size of object
1172 1.5 mrg files and improves link-time memory usage and compile time.
1173 1.5 mrg + Function bodies are now loaded on-demand and released early
1174 1.5 mrg improving overall memory usage at link time.
1175 1.5 mrg + C++ hidden keyed methods can now be optimized out.
1176 1.5 mrg + When using a linker plugin, compiling with the -flto option
1177 1.5 mrg now generates slim object files (.o) which only contain
1178 1.5 mrg intermediate language representation for LTO. Use
1179 1.5 mrg -ffat-lto-objects to create files which contain additionally
1180 1.5 mrg the object code. To generate static libraries suitable for LTO
1181 1.5 mrg processing, use gcc-ar and gcc-ranlib; to list symbols from a
1182 1.5 mrg slim object file use gcc-nm. (This requires that ar, ranlib
1183 1.5 mrg and nm have been compiled with plugin support.)
1184 1.5 mrg Memory usage building Firefox with debug enabled was reduced from
1185 1.5 mrg 15GB to 3.5GB; link time from 1700 seconds to 350 seconds.
1186 1.5 mrg * Inter-procedural optimization improvements:
1187 1.5 mrg + New type inheritance analysis module improving
1188 1.5 mrg devirtualization. Devirtualization now takes into account
1189 1.5 mrg anonymous name-spaces and the C++11 final keyword.
1190 1.5 mrg + New speculative devirtualization pass (controlled by
1191 1.5 mrg -fdevirtualize-speculatively.
1192 1.5 mrg + Calls that were speculatively made direct are turned back to
1193 1.5 mrg indirect where direct call is not cheaper.
1194 1.5 mrg + Local aliases are introduced for symbols that are known to be
1195 1.5 mrg semantically equivalent across shared libraries improving
1196 1.5 mrg dynamic linking times.
1197 1.5 mrg * Feedback directed optimization improvements:
1198 1.5 mrg + Profiling of programs using C++ inline functions is now more
1199 1.5 mrg reliable.
1200 1.5 mrg + New time profiling determines typical order in which functions
1201 1.5 mrg are executed.
1202 1.5 mrg + A new function reordering pass (controlled by
1203 1.5 mrg -freorder-functions) significantly reduces startup time of
1204 1.5 mrg large applications. Until binutils support is completed, it is
1205 1.5 mrg effective only with link-time optimization.
1206 1.5 mrg + Feedback driven indirect call removal and devirtualization now
1207 1.5 mrg handle cross-module calls when link-time optimization is
1208 1.5 mrg enabled.
1209 1.5 mrg
1210 1.5 mrg New Languages and Language specific improvements
1211 1.5 mrg
1212 1.5 mrg * Version 4.0 of the [4]OpenMP specification is now supported in the
1213 1.5 mrg C and C++ compilers and starting with the 4.9.1 release also in the
1214 1.5 mrg Fortran compiler. The new -fopenmp-simd option can be used to
1215 1.5 mrg enable OpenMP's SIMD directives while ignoring other OpenMP
1216 1.5 mrg directives. The new [5]-fsimd-cost-model= option permits to tune
1217 1.5 mrg the vectorization cost model for loops annotated with OpenMP and
1218 1.5 mrg Cilk Plus simd directives. -Wopenmp-simd warns when the current
1219 1.5 mrg cost model overrides simd directives set by the user.
1220 1.5 mrg * The -Wdate-time option has been added for the C, C++ and Fortran
1221 1.5 mrg compilers, which warns when the __DATE__, __TIME__ or __TIMESTAMP__
1222 1.5 mrg macros are used. Those macros might prevent bit-wise-identical
1223 1.5 mrg reproducible compilations.
1224 1.5 mrg
1225 1.5 mrg Ada
1226 1.5 mrg
1227 1.5 mrg * GNAT switched to Ada 2012 instead of Ada 2005 by default.
1228 1.5 mrg
1229 1.5 mrg C family
1230 1.5 mrg
1231 1.5 mrg * Support for colorizing diagnostics emitted by GCC has been added.
1232 1.5 mrg The [6]-fdiagnostics-color=auto will enable it when outputting to
1233 1.5 mrg terminals, -fdiagnostics-color=always unconditionally. The
1234 1.5 mrg GCC_COLORS environment variable can be used to customize the colors
1235 1.5 mrg or disable coloring. If GCC_COLORS variable is present in the
1236 1.5 mrg environment, the default is -fdiagnostics-color=auto, otherwise
1237 1.5 mrg -fdiagnostics-color=never.
1238 1.5 mrg Sample diagnostics output:
1239 1.5 mrg $ g++ -fdiagnostics-color=always -S -Wall test.C
1240 1.7 mrg test.C: In function int foo():
1241 1.5 mrg test.C:1:14: warning: no return statement in function returning non-void [-W
1242 1.5 mrg return-type]
1243 1.5 mrg int foo () { }
1244 1.5 mrg ^
1245 1.5 mrg test.C:2:46: error: template instantiation depth exceeds maximum of 900 (use
1246 1.7 mrg -ftemplate-depth= to increase the maximum) instantiating struct X<100>
1247 1.5 mrg template <int N> struct X { static const int value = X<N-1>::value; }; temp
1248 1.5 mrg late struct X<1000>;
1249 1.5 mrg ^
1250 1.7 mrg test.C:2:46: recursively required from const int X<999>::value
1251 1.7 mrg test.C:2:46: required from const int X<1000>::value
1252 1.5 mrg test.C:2:88: required from here
1253 1.5 mrg
1254 1.7 mrg test.C:2:46: error: incomplete type X<100> used in nested name specifier
1255 1.5 mrg
1256 1.5 mrg * With the new [7]#pragma GCC ivdep, the user can assert that there
1257 1.5 mrg are no loop-carried dependencies which would prevent concurrent
1258 1.5 mrg execution of consecutive iterations using SIMD (single instruction
1259 1.5 mrg multiple data) instructions.
1260 1.5 mrg * Support for [8]Cilk Plus has been added and can be enabled with the
1261 1.5 mrg -fcilkplus option. Cilk Plus is an extension to the C and C++
1262 1.5 mrg languages to support data and task parallelism. The present
1263 1.5 mrg implementation follows ABI version 1.2; all features but _Cilk_for
1264 1.5 mrg have been implemented.
1265 1.5 mrg
1266 1.5 mrg C
1267 1.5 mrg
1268 1.5 mrg * ISO C11 atomics (the _Atomic type specifier and qualifier and the
1269 1.5 mrg <stdatomic.h> header) are now supported.
1270 1.5 mrg * ISO C11 generic selections (_Generic keyword) are now supported.
1271 1.5 mrg * ISO C11 thread-local storage (_Thread_local, similar to GNU C
1272 1.5 mrg __thread) is now supported.
1273 1.5 mrg * ISO C11 support is now at a similar level of completeness to ISO
1274 1.5 mrg C99 support: substantially complete modulo bugs, extended
1275 1.5 mrg identifiers (supported except for corner cases when
1276 1.5 mrg -fextended-identifiers is used), floating-point issues (mainly but
1277 1.5 mrg not entirely relating to optional C99 features from Annexes F and
1278 1.5 mrg G) and the optional Annexes K (Bounds-checking interfaces) and L
1279 1.5 mrg (Analyzability).
1280 1.5 mrg * A new C extension __auto_type provides a subset of the
1281 1.5 mrg functionality of C++11 auto in GNU C.
1282 1.5 mrg
1283 1.5 mrg C++
1284 1.5 mrg
1285 1.5 mrg * The G++ implementation of [9]C++1y return type deduction for normal
1286 1.5 mrg functions has been updated to conform to [10]N3638, the proposal
1287 1.5 mrg accepted into the working paper. Most notably, it adds
1288 1.5 mrg decltype(auto) for getting decltype semantics rather than the
1289 1.5 mrg template argument deduction semantics of plain auto:
1290 1.5 mrg
1291 1.5 mrg int& f();
1292 1.5 mrg auto i1 = f(); // int
1293 1.5 mrg decltype(auto) i2 = f(); // int&
1294 1.5 mrg
1295 1.5 mrg * G++ supports [11]C++1y lambda capture initializers:
1296 1.5 mrg
1297 1.5 mrg [x = 42]{ ... };
1298 1.5 mrg
1299 1.5 mrg Actually, they have been accepted since GCC 4.5, but now the
1300 1.5 mrg compiler doesn't warn about them with -std=c++1y, and supports
1301 1.5 mrg parenthesized and brace-enclosed initializers as well.
1302 1.5 mrg * G++ supports [12]C++1y variable length arrays. G++ has supported
1303 1.5 mrg GNU/C99-style VLAs for a long time, but now additionally supports
1304 1.5 mrg initializers and lambda capture by reference. In C++1y mode G++
1305 1.5 mrg will complain about VLA uses that are not permitted by the draft
1306 1.5 mrg standard, such as forming a pointer to VLA type or applying sizeof
1307 1.5 mrg to a VLA variable. Note that it now appears that VLAs will not be
1308 1.5 mrg part of C++14, but will be part of a separate document and then
1309 1.5 mrg perhaps C++17.
1310 1.5 mrg
1311 1.5 mrg void f(int n) {
1312 1.5 mrg int a[n] = { 1, 2, 3 }; // throws std::bad_array_length if n < 3
1313 1.5 mrg [&a]{ for (int i : a) { cout << i << endl; } }();
1314 1.5 mrg &a; // error, taking address of VLA
1315 1.5 mrg }
1316 1.5 mrg
1317 1.5 mrg * G++ supports the [13]C++1y [[deprecated]] attribute modulo bugs in
1318 1.5 mrg the underlying [[gnu::deprecated]] attribute. Classes and functions
1319 1.5 mrg can be marked deprecated and a diagnostic message added:
1320 1.5 mrg
1321 1.5 mrg class A;
1322 1.5 mrg int bar(int n);
1323 1.5 mrg #if __cplusplus > 201103
1324 1.5 mrg class [[deprecated("A is deprecated in C++14; Use B instead")]] A;
1325 1.5 mrg [[deprecated("bar is unsafe; use foo() instead")]]
1326 1.5 mrg int bar(int n);
1327 1.5 mrg
1328 1.5 mrg int foo(int n);
1329 1.5 mrg class B;
1330 1.5 mrg #endif
1331 1.5 mrg A aa; // warning: 'A' is deprecated : A is deprecated in C++14; Use B instead
1332 1.5 mrg int j = bar(2); // warning: 'int bar(int)' is deprecated : bar is unsafe; use fo
1333 1.5 mrg o() instead
1334 1.5 mrg
1335 1.5 mrg * G++ supports [14]C++1y digit separators. Long numeric literals can
1336 1.5 mrg be subdivided with a single quote ' to enhance readability:
1337 1.5 mrg
1338 1.5 mrg int i = 1048576;
1339 1.5 mrg int j = 1'048'576;
1340 1.5 mrg int k = 0x10'0000;
1341 1.5 mrg int m = 0'004'000'000;
1342 1.5 mrg int n = 0b0001'0000'0000'0000'0000'0000;
1343 1.5 mrg
1344 1.5 mrg double x = 1.602'176'565e-19;
1345 1.5 mrg double y = 1.602'176'565e-1'9;
1346 1.5 mrg
1347 1.5 mrg * G++ supports [15]C++1y generic (polymorphic) lambdas.
1348 1.5 mrg
1349 1.5 mrg // a functional object that will increment any type
1350 1.5 mrg auto incr = [](auto x) { return x++; };
1351 1.5 mrg
1352 1.5 mrg * As a GNU extension, G++ supports explicit template parameter syntax
1353 1.5 mrg for generic lambdas. This can be combined in the expected way with
1354 1.5 mrg the standard auto syntax.
1355 1.5 mrg
1356 1.5 mrg // a functional object that will add two like-type objects
1357 1.5 mrg auto add = [] <typename T> (T a, T b) { return a + b; };
1358 1.5 mrg
1359 1.7 mrg * G++ supports unconstrained generic functions as specified by 4.1.2
1360 1.7 mrg and 5.1.1 of [16]N3889: Concepts Lite Specification. Briefly, auto
1361 1.7 mrg may be used as a type-specifier in a parameter declaration of any
1362 1.7 mrg function declarator in order to introduce an implicit function
1363 1.7 mrg template parameter, akin to generic lambdas.
1364 1.5 mrg
1365 1.5 mrg // the following two function declarations are equivalent
1366 1.5 mrg auto incr(auto x) { return x++; }
1367 1.5 mrg template <typename T>
1368 1.5 mrg auto incr(T x) { return x++; }
1369 1.5 mrg
1370 1.5 mrg Runtime Library (libstdc++)
1371 1.5 mrg
1372 1.5 mrg * [17]Improved support for C++11, including:
1373 1.5 mrg + support for <regex>;
1374 1.5 mrg + The associative containers in <map> and <set> and the
1375 1.5 mrg unordered associative containers in <unordered_map> and
1376 1.5 mrg <unordered_set> meet the allocator-aware container
1377 1.5 mrg requirements;
1378 1.5 mrg * [18]Improved experimental support for the upcoming ISO C++
1379 1.5 mrg standard, C++14, including:
1380 1.5 mrg + fixing constexpr member functions without const;
1381 1.5 mrg + implementation of the std::exchange() utility function;
1382 1.5 mrg + addressing tuples by type;
1383 1.5 mrg + implemention of std::make_unique;
1384 1.5 mrg + implemention of std::shared_lock;
1385 1.5 mrg + making std::result_of SFINAE-friendly;
1386 1.5 mrg + adding operator() to std::integral_constant;
1387 1.5 mrg + adding user-defined literals for standard library types
1388 1.5 mrg std::basic_string, std::chrono::duration, and std::complex;
1389 1.5 mrg + adding two range overloads to non-modifying sequence oprations
1390 1.5 mrg std::equal and std::mismatch;
1391 1.5 mrg + adding IO manipulators for quoted strings;
1392 1.5 mrg + adding constexpr members to <utility>, <complex>, <chrono>,
1393 1.5 mrg and some containers;
1394 1.5 mrg + adding compile-time std::integer_sequence;
1395 1.5 mrg + adding cleaner transformation traits;
1396 1.5 mrg + making <functional>s operator functors easier to use and more
1397 1.5 mrg generic;
1398 1.5 mrg * An implementation of std::experimental::optional.
1399 1.5 mrg * An implementation of std::experimental::string_view.
1400 1.5 mrg * The non-standard function std::copy_exception has been deprecated
1401 1.5 mrg and will be removed in a future version. std::make_exception_ptr
1402 1.5 mrg should be used instead.
1403 1.5 mrg
1404 1.5 mrg Fortran
1405 1.5 mrg
1406 1.5 mrg * Compatibility notice:
1407 1.5 mrg + Module files: The version of the module files (.mod) has been
1408 1.5 mrg incremented; additionally, module files are now compressed.
1409 1.5 mrg Fortran MODULEs compiled by earlier GCC versions have to be
1410 1.5 mrg recompiled, when they are USEd by files compiled with GCC 4.9.
1411 1.5 mrg GCC 4.9 is not able to read .mod files of earlier GCC
1412 1.5 mrg versions; attempting to do so gives an error message. Note:
1413 1.5 mrg The ABI of the produced assembler data itself has not changed:
1414 1.5 mrg object files and libraries are fully compatible with older
1415 1.5 mrg versions (except as stated below).
1416 1.5 mrg + ABI changes:
1417 1.5 mrg o The [19]argument passing ABI has changed for scalar dummy
1418 1.5 mrg arguments of type INTEGER, REAL, COMPLEX and LOGICAL,
1419 1.5 mrg which have both the VALUE and the OPTIONAL attributes.
1420 1.5 mrg o To support finalization the virtual table associated with
1421 1.5 mrg polymorphic variables has changed. Code containing CLASS
1422 1.5 mrg should be recompiled, including all files which define
1423 1.5 mrg derived types involved in the type definition used by
1424 1.5 mrg polymorphic variables. (Note: Due to the incremented
1425 1.5 mrg module version, trying to mix old code with new code will
1426 1.5 mrg usually give an error message.)
1427 1.5 mrg + GNU Fortran no longer deallocates allocatable variables or
1428 1.5 mrg allocatable components of variables declared in the main
1429 1.5 mrg program. Since Fortran 2008, the standard explicitly states
1430 1.5 mrg that variables declared in the Fortran main program
1431 1.5 mrg automatically have the SAVE attribute.
1432 1.5 mrg + When opening files, the close-on-exec flag is set if the
1433 1.5 mrg system supports such a feature. This is generally considered
1434 1.5 mrg good practice these days, but if there is a need to pass file
1435 1.5 mrg descriptors to child processes the parent process must now
1436 1.5 mrg remember to clear the close-on-exec flag by calling fcntl(),
1437 1.5 mrg e.g. via ISO_C_BINDING, before executing the child process.
1438 1.5 mrg * The deprecated command-line option -fno-whole-file has been
1439 1.5 mrg removed. (-fwhole-file is the default since GCC 4.6.)
1440 1.5 mrg -fwhole-file/-fno-whole-file continue to be accepted but do not
1441 1.5 mrg influence the code generation.
1442 1.5 mrg * The compiler no longer unconditionally warns about DO loops with
1443 1.5 mrg zero iterations. This warning is now controlled by the -Wzerotrip
1444 1.5 mrg option, which is implied by -Wall.
1445 1.5 mrg * The new NO_ARG_CHECK attribute of the [20]!GCC$ directive can be
1446 1.5 mrg used to disable the type-kind-rank (TKR) argument check for a dummy
1447 1.5 mrg argument. The feature is similar to ISO/IEC TS 29133:2012's
1448 1.5 mrg TYPE(*), except that it additionally also disables the rank check.
1449 1.5 mrg Variables with NO_ARG_CHECK have to be dummy arguments and may only
1450 1.5 mrg be used as argument to ISO_C_BINDING's C_LOC and as actual argument
1451 1.5 mrg to another NO_ARG_CHECK dummy argument; also the other constraints
1452 1.5 mrg of TYPE(*) apply. The dummy arguments should be declared as scalar
1453 1.7 mrg or assumed-size variable of type type(*) (recommended) or of type
1454 1.5 mrg integer, real, complex or logical. With NO_ARG_CHECK, a pointer to
1455 1.5 mrg the data without further type or shape information is passed,
1456 1.5 mrg similar to C's void*. Note that also TS 29113's
1457 1.5 mrg type(*),dimension(..) accepts arguments of any type and rank;
1458 1.5 mrg contrary to NO_ARG_CHECK assumed-rank arguments pass an array
1459 1.5 mrg descriptor which contains the array shape and stride of the
1460 1.5 mrg argument.
1461 1.5 mrg * [21]Fortran 2003:
1462 1.5 mrg + Finalization is now supported. It is currently only done for a
1463 1.5 mrg subset of those situations in which it should occur.
1464 1.5 mrg + Experimental support for scalar character components with
1465 1.5 mrg deferred length (i.e. allocatable string length) in derived
1466 1.5 mrg types has been added. (Deferred-length character variables are
1467 1.5 mrg supported since GCC 4.6.)
1468 1.5 mrg * [22]Fortran 2008:
1469 1.5 mrg + When STOP or ERROR STOP are used to terminate the execution
1470 1.5 mrg and any exception (but inexact) is signaling, a warning is
1471 1.5 mrg printed to ERROR_UNIT, indicating which exceptions are
1472 1.5 mrg signaling. The [23]-ffpe-summary= command-line option can be
1473 1.5 mrg used to fine-tune for which exceptions the warning should be
1474 1.5 mrg shown.
1475 1.5 mrg + Rounding on input (READ) is now handled on systems where
1476 1.5 mrg strtod honours the rounding mode. (For output, rounding is
1477 1.5 mrg supported since GCC 4.5.) Note that for input, the compatible
1478 1.5 mrg rounding mode is handled as nearest (i.e., rounding to an even
1479 1.5 mrg least significant [cf. IEC 60559:1989] for a tie, while
1480 1.5 mrg compatible rounds away from zero in that case).
1481 1.5 mrg
1482 1.5 mrg Go
1483 1.5 mrg
1484 1.5 mrg * GCC 4.9 provides a complete implementation of the Go 1.2.1 release.
1485 1.5 mrg
1486 1.5 mrg New Targets and Target Specific Improvements
1487 1.5 mrg
1488 1.5 mrg AArch64
1489 1.5 mrg
1490 1.5 mrg * The ARMv8-A crypto and CRC instructions are now supported through
1491 1.5 mrg intrinsics. These are enabled when the architecture supports these
1492 1.5 mrg and are available through the -march=armv8-a+crc and
1493 1.5 mrg -march=armv8-a+crypto options.
1494 1.5 mrg * Initial support for ILP32 has now been added to the compiler. This
1495 1.5 mrg is now available through the command-line option -mabi=ilp32.
1496 1.5 mrg Support for ILP32 is considered experimental as the ABI
1497 1.5 mrg specification is still beta.
1498 1.5 mrg * Coverage of more of the ISA including the SIMD extensions has been
1499 1.5 mrg added. The Advanced SIMD intrinsics have also been improved.
1500 1.5 mrg * The new local register allocator (LRA) is now on by default for the
1501 1.5 mrg AArch64 backend.
1502 1.5 mrg * The REE (Redundant extension elimination) pass has now been enabled
1503 1.5 mrg by default for the AArch64 backend.
1504 1.5 mrg * Tuning for the Cortex-A53 and Cortex-A57 has been improved.
1505 1.5 mrg * Initial big.LITTLE tuning support for the combination of Cortex-A57
1506 1.5 mrg and Cortex-A53 was added through the -mcpu=cortex-a57.cortex-a53
1507 1.5 mrg option.
1508 1.5 mrg * A number of structural changes have been made to both the ARM and
1509 1.5 mrg AArch64 backends to facilitate improved code-generation.
1510 1.5 mrg * As of GCC 4.9.2 a workaround for the ARM Cortex-A53 erratum 835769
1511 1.5 mrg has been added and can be enabled by giving the
1512 1.5 mrg -mfix-cortex-a53-835769 option. Alternatively it can be enabled by
1513 1.5 mrg default by configuring GCC with the --enable-fix-cortex-a53-835769
1514 1.5 mrg option.
1515 1.5 mrg
1516 1.5 mrg ARC
1517 1.5 mrg
1518 1.5 mrg * A port for Synopsys Designware ARC has been contributed by Embecosm
1519 1.5 mrg and Synopsys Inc.
1520 1.5 mrg
1521 1.5 mrg ARM
1522 1.5 mrg
1523 1.5 mrg * Use of Advanced SIMD (Neon) for 64-bit scalar computations has been
1524 1.5 mrg disabled by default. This was found to generate better code in only
1525 1.5 mrg a small number of cases. It can be turned back on with the
1526 1.5 mrg -mneon-for-64bits option.
1527 1.5 mrg * Further support for the ARMv8-A architecture, notably implementing
1528 1.5 mrg the restriction around IT blocks in the Thumb32 instruction set has
1529 1.5 mrg been added. The -mrestrict-it option can be used with
1530 1.5 mrg -march=armv7-a or the -march=armv7ve options to make code
1531 1.5 mrg generation fully compatible with the deprecated instructions in
1532 1.5 mrg ARMv8-A.
1533 1.5 mrg * Support has now been added for the ARMv7ve variant of the
1534 1.5 mrg architecture. This can be used by the -march=armv7ve option.
1535 1.5 mrg * The ARMv8-A crypto and CRC instructions are now supported through
1536 1.5 mrg intrinsics and are available through the -march=armv8-a+crc and
1537 1.5 mrg mfpu=crypto-neon-fp-armv8 options.
1538 1.5 mrg * LRA is now on by default for the ARM target. This can be turned off
1539 1.5 mrg using the -mno-lra option. This option is a purely transitionary
1540 1.5 mrg command-line option and will be removed in a future release. We are
1541 1.5 mrg interested in any bug reports regarding functional and performance
1542 1.5 mrg regressions with LRA.
1543 1.5 mrg * A new option -mslow-flash-data to improve performance of programs
1544 1.5 mrg fetching data on slow flash memory has now been introduced for the
1545 1.5 mrg ARMv7-M profile cores.
1546 1.5 mrg * A new option -mpic-data-is-text-relative for targets that allows
1547 1.5 mrg data segments to be relative to text segments has been added. This
1548 1.5 mrg is on by default for all targets except VxWorks RTP.
1549 1.5 mrg * A number of infrastructural changes have been made to both the ARM
1550 1.5 mrg and AArch64 backends to facilitate improved code-generation.
1551 1.5 mrg * GCC now supports Cortex-A12 and the Cortex-R7 through the
1552 1.5 mrg -mcpu=cortex-a12 and -mcpu=cortex-r7 options.
1553 1.5 mrg * GCC now has tuning for the Cortex-A57 and Cortex-A53 through the
1554 1.5 mrg -mcpu=cortex-a57 and -mcpu=cortex-a53 options.
1555 1.5 mrg * Initial big.LITTLE tuning support for the combination of Cortex-A57
1556 1.5 mrg and Cortex-A53 was added through the -mcpu=cortex-a57.cortex-a53
1557 1.5 mrg option. Similar support was added for the combination of Cortex-A15
1558 1.5 mrg and Cortex-A7 through the -mcpu=cortex-a15.cortex-a7 option.
1559 1.5 mrg * Further performance optimizations for the Cortex-A15 and the
1560 1.5 mrg Cortex-M4 have been added.
1561 1.5 mrg * A number of code generation improvements for Thumb2 to reduce code
1562 1.5 mrg size when compiling for the M-profile processors.
1563 1.5 mrg
1564 1.7 mrg AVR
1565 1.7 mrg
1566 1.7 mrg * A new command-line option -mfract-convert-truncate has been added.
1567 1.7 mrg It allows compiler to use truncation instead of rounding towards
1568 1.7 mrg zero for fractional fixed-point types.
1569 1.7 mrg
1570 1.5 mrg IA-32/x86-64
1571 1.5 mrg
1572 1.5 mrg * -mfpmath=sse is now implied by -ffast-math on all targets where
1573 1.5 mrg SSE2 is supported.
1574 1.5 mrg * Intel AVX-512 support was added to GCC. That includes inline
1575 1.5 mrg assembly support, new registers and extending existing ones, new
1576 1.5 mrg intrinsics (covered by corresponding testsuite), and basic
1577 1.5 mrg autovectorization. AVX-512 instructions are available via the
1578 1.5 mrg following GCC switches: AVX-512 foundation instructions: -mavx512f,
1579 1.5 mrg AVX-512 prefetch instructions: -mavx512pf, AVX-512 exponential and
1580 1.5 mrg reciprocal instructions: -mavx512er, AVX-512 conflict detection
1581 1.5 mrg instructions: -mavx512cd.
1582 1.5 mrg * It is now possible to call x86 intrinsics from select functions in
1583 1.5 mrg a file that are tagged with the corresponding target attribute
1584 1.5 mrg without having to compile the entire file with the -mxxx option.
1585 1.5 mrg This improves the usability of x86 intrinsics and is particularly
1586 1.5 mrg useful when doing [24]Function Multiversioning.
1587 1.5 mrg * GCC now supports the new Intel microarchitecture named Silvermont
1588 1.5 mrg through -march=silvermont.
1589 1.5 mrg * GCC now supports the new Intel microarchitecture named Broadwell
1590 1.5 mrg through -march=broadwell.
1591 1.5 mrg * Optimizing for other Intel microarchitectures have been renamed to
1592 1.5 mrg -march=nehalem, westmere, sandybridge, ivybridge, haswell, bonnell.
1593 1.5 mrg * -march=generic has been retuned for better support of Intel core
1594 1.5 mrg and AMD Bulldozer architectures. Performance of AMD K7, K8, Intel
1595 1.5 mrg Pentium-M, and Pentium4 based CPUs is no longer considered
1596 1.5 mrg important for generic.
1597 1.5 mrg * -mtune=intel can now be used to generate code running well on the
1598 1.5 mrg most current Intel processors, which are Haswell and Silvermont for
1599 1.5 mrg GCC 4.9.
1600 1.5 mrg * Support to encode 32-bit assembly instructions in 16-bit format is
1601 1.5 mrg now available through the -m16 command-line option.
1602 1.5 mrg * Better inlining of memcpy and memset that is aware of value ranges
1603 1.5 mrg and produces shorter alignment prologues.
1604 1.5 mrg * -mno-accumulate-outgoing-args is now honored when unwind
1605 1.5 mrg information is output. Argument accumulation is also now turned off
1606 1.5 mrg for portions of programs optimized for size.
1607 1.5 mrg * Support for new AMD family 15h processors (Excavator core) is now
1608 1.5 mrg available through the -march=bdver4 and -mtune=bdver4 options.
1609 1.5 mrg
1610 1.5 mrg MSP430
1611 1.5 mrg
1612 1.5 mrg * A new command-line option -mcpu= has been added to the MSP430
1613 1.5 mrg backend. This option is used to specify the ISA to be used.
1614 1.5 mrg Accepted values are msp430 (the default), msp430x and msp430xv2.
1615 1.5 mrg The ISA is no longer deduced from the -mmcu= option as there are
1616 1.5 mrg far too many different MCU names. The -mmcu= option is still
1617 1.5 mrg supported, and this is still used to select linker scripts and
1618 1.5 mrg generate a C preprocessor symbol that will be recognised by the
1619 1.5 mrg msp430.h header file.
1620 1.5 mrg
1621 1.5 mrg NDS32
1622 1.5 mrg
1623 1.5 mrg * A new nds32 port supports the 32-bit architecture from Andes
1624 1.5 mrg Technology Corporation.
1625 1.5 mrg * The port provides initial support for the V2, V3, V3m instruction
1626 1.5 mrg set architectures.
1627 1.5 mrg
1628 1.5 mrg Nios II
1629 1.5 mrg
1630 1.5 mrg * A port for the Altera Nios II has been contributed by Mentor
1631 1.5 mrg Graphics.
1632 1.5 mrg
1633 1.5 mrg PowerPC / PowerPC64 / RS6000
1634 1.5 mrg
1635 1.5 mrg * GCC now supports Power ISA 2.07, which includes support for
1636 1.5 mrg Hardware Transactional Memory (HTM), Quadword atomics and several
1637 1.5 mrg VMX and VSX additions, including Crypto, 64-bit integer, 128-bit
1638 1.5 mrg integer and decimal integer operations.
1639 1.5 mrg * Support for the POWER8 processor is now available through the
1640 1.5 mrg -mcpu=power8 and -mtune=power8 options.
1641 1.5 mrg * The libitm library has been modified to add a HTM fastpath that
1642 1.5 mrg automatically uses POWER's HTM hardware instructions when it is
1643 1.5 mrg executing on a HTM enabled processor.
1644 1.5 mrg * Support for the new powerpc64le-linux platform has been added. It
1645 1.5 mrg defaults to generating code that conforms to the ELFV2 ABI.
1646 1.5 mrg
1647 1.5 mrg S/390, System z
1648 1.5 mrg
1649 1.5 mrg * Support for the Transactional Execution Facility included with the
1650 1.5 mrg IBM zEnterprise zEC12 processor has been added. A set of GCC style
1651 1.5 mrg builtins as well as XLC style builtins are provided. The builtins
1652 1.5 mrg are enabled by default when using the -march=zEC12 option but can
1653 1.5 mrg explicitly be disabled with -mno-htm. Using the GCC builtins also
1654 1.5 mrg libitm supports hardware transactions on S/390.
1655 1.5 mrg * The hotpatch features allows to prepare functions for hotpatching.
1656 1.5 mrg A certain amount of bytes is reserved before the function entry
1657 1.5 mrg label plus a NOP is inserted at its very beginning to implement a
1658 1.5 mrg backward jump when applying a patch. The feature can either be
1659 1.5 mrg enabled per compilation unit via the command-line option -mhotpatch
1660 1.5 mrg or per function using the hotpatch attribute.
1661 1.5 mrg * The shrink wrap optimization is now supported on S/390 and enabled
1662 1.5 mrg by default.
1663 1.5 mrg * A major rework of the routines to determine which registers need to
1664 1.5 mrg be saved and restored in function prologue/epilogue now allow to
1665 1.5 mrg use floating point registers as save slots. This will happen for
1666 1.5 mrg certain leaf function with -march=z10 or higher.
1667 1.5 mrg * The LRA rtl pass replaces reload by default on S/390.
1668 1.5 mrg
1669 1.5 mrg RX
1670 1.5 mrg
1671 1.5 mrg * The port now allows to specify the RX100, RX200, and RX600
1672 1.5 mrg processors with the command-line options -mcpu=rx100, -mcpu=rx200
1673 1.5 mrg and -mcpu=rx600.
1674 1.5 mrg
1675 1.5 mrg SH
1676 1.5 mrg
1677 1.5 mrg * Minor improvements to code generated for integer arithmetic and
1678 1.5 mrg code that involves the T bit.
1679 1.5 mrg * Added support for the SH2A clips and clipu instructions. The
1680 1.5 mrg compiler will now try to utilize them for min/max expressions such
1681 1.5 mrg as max (-128, min (127, x)).
1682 1.5 mrg * Added support for the cmp/str instruction through built-in
1683 1.5 mrg functions such as __builtin_strlen. When not optimizing for size,
1684 1.5 mrg the compiler will now expand calls to e.g. strlen as an inlined
1685 1.5 mrg sequences which utilize the cmp/str instruction.
1686 1.5 mrg * Improved code generated around volatile memory loads and stores.
1687 1.5 mrg * The option -mcbranchdi has been deprecated. Specifying it will
1688 1.5 mrg result in a warning and will not influence code generation.
1689 1.5 mrg * The option -mcmpeqdi has been deprecated. Specifying it will result
1690 1.5 mrg in a warning and will not influence code generation.
1691 1.5 mrg
1692 1.5 mrg GCC 4.9.1
1693 1.5 mrg
1694 1.5 mrg This is the [25]list of problem reports (PRs) from GCC's bug tracking
1695 1.5 mrg system that are known to be fixed in the 4.9.1 release. This list might
1696 1.5 mrg not be complete (that is, it is possible that some PRs that have been
1697 1.5 mrg fixed are not listed here).
1698 1.5 mrg
1699 1.7 mrg Version 4.0 of the OpenMP specification is supported even in Fortran,
1700 1.7 mrg not just C and C++.
1701 1.5 mrg
1702 1.5 mrg GCC 4.9.2
1703 1.5 mrg
1704 1.7 mrg This is the [26]list of problem reports (PRs) from GCC's bug tracking
1705 1.5 mrg system that are known to be fixed in the 4.9.2 release. This list might
1706 1.5 mrg not be complete (that is, it is possible that some PRs that have been
1707 1.5 mrg fixed are not listed here).
1708 1.5 mrg
1709 1.5 mrg GCC 4.9.3
1710 1.5 mrg
1711 1.7 mrg This is the [27]list of problem reports (PRs) from GCC's bug tracking
1712 1.7 mrg system that are known to be fixed in the 4.9.3 release. This list might
1713 1.7 mrg not be complete (that is, it is possible that some PRs that have been
1714 1.7 mrg fixed are not listed here).
1715 1.7 mrg
1716 1.7 mrg GCC 4.9.4
1717 1.7 mrg
1718 1.5 mrg This is the [28]list of problem reports (PRs) from GCC's bug tracking
1719 1.7 mrg system that are known to be fixed in the 4.9.4 release. This list might
1720 1.5 mrg not be complete (that is, it is possible that some PRs that have been
1721 1.5 mrg fixed are not listed here).
1722 1.5 mrg
1723 1.5 mrg
1724 1.5 mrg For questions related to the use of GCC, please consult these web
1725 1.5 mrg pages and the [29]GCC manuals. If that fails, the
1726 1.5 mrg [30]gcc-help (a] gcc.gnu.org mailing list might help. Comments on these
1727 1.5 mrg web pages and the development of GCC are welcome on our developer
1728 1.5 mrg list at [31]gcc (a] gcc.gnu.org. All of [32]our lists have public
1729 1.5 mrg archives.
1730 1.5 mrg
1731 1.5 mrg Copyright (C) [33]Free Software Foundation, Inc. Verbatim copying and
1732 1.5 mrg distribution of this entire article is permitted in any medium,
1733 1.5 mrg provided this notice is preserved.
1734 1.5 mrg
1735 1.5 mrg These pages are [34]maintained by the GCC team. Last modified
1736 1.7 mrg 2016-12-28[35].
1737 1.5 mrg
1738 1.5 mrg References
1739 1.5 mrg
1740 1.5 mrg 1. https://gcc.gnu.org/ml/gcc-patches/2013-05/msg00728.html
1741 1.5 mrg 2. https://gcc.gnu.org/PR60825
1742 1.5 mrg 3. https://gcc.gnu.org/gcc-4.9/porting_to.html
1743 1.7 mrg 4. http://www.openmp.org/specifications/
1744 1.5 mrg 5. https://gcc.gnu.org/onlinedocs/gcc-4.9.2/gcc/Optimize-Options.html#index-fsimd-cost-model-908
1745 1.5 mrg 6. https://gcc.gnu.org/onlinedocs/gcc-4.9.2/gcc/Language-Independent-Options.html#index-fdiagnostics-color-252
1746 1.5 mrg 7. https://gcc.gnu.org/onlinedocs/gcc-4.9.2/gcc/Loop-Specific-Pragmas.html
1747 1.5 mrg 8. https://www.cilkplus.org/
1748 1.5 mrg 9. http://gcc.gnu.org/projects/cxx1y.html
1749 1.5 mrg 10. http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2013/n3638.html
1750 1.5 mrg 11. http://gcc.gnu.org/projects/cxx1y.html
1751 1.5 mrg 12. http://gcc.gnu.org/projects/cxx1y.html
1752 1.5 mrg 13. http://gcc.gnu.org/projects/cxx1y.html
1753 1.5 mrg 14. http://gcc.gnu.org/projects/cxx1y.html
1754 1.5 mrg 15. http://gcc.gnu.org/projects/cxx1y.html
1755 1.5 mrg 16. http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2014/n3889.pdf
1756 1.5 mrg 17. https://gcc.gnu.org/onlinedocs/gcc-4.9.2/libstdc++/manual/manual/status.html#status.iso.2011
1757 1.5 mrg 18. https://gcc.gnu.org/onlinedocs/libstdc++/manual/status.html#status.iso.2014
1758 1.5 mrg 19. https://gcc.gnu.org/onlinedocs/gcc-4.9.2/gfortran/Argument-passing-conventions.html
1759 1.5 mrg 20. https://gcc.gnu.org/onlinedocs/gcc-4.9.2/gfortran/GNU-Fortran-Compiler-Directives.html
1760 1.5 mrg 21. https://gcc.gnu.org/wiki/Fortran2003Status
1761 1.5 mrg 22. https://gcc.gnu.org/wiki/Fortran2008Status
1762 1.5 mrg 23. https://gcc.gnu.org/onlinedocs/gcc-4.9.2/gfortran/Debugging-Options.html
1763 1.5 mrg 24. https://gcc.gnu.org/onlinedocs/gcc-4.9.2/gcc/Function-Multiversioning.html
1764 1.5 mrg 25. https://gcc.gnu.org/bugzilla/buglist.cgi?bug_status=RESOLVED&resolution=FIXED&target_milestone=4.9.1
1765 1.7 mrg 26. https://gcc.gnu.org/bugzilla/buglist.cgi?bug_status=RESOLVED&resolution=FIXED&target_milestone=4.9.2
1766 1.7 mrg 27. https://gcc.gnu.org/bugzilla/buglist.cgi?bug_status=RESOLVED&resolution=FIXED&target_milestone=4.9.3
1767 1.7 mrg 28. https://gcc.gnu.org/bugzilla/buglist.cgi?bug_status=RESOLVED&resolution=FIXED&target_milestone=4.9.4
1768 1.5 mrg 29. https://gcc.gnu.org/onlinedocs/
1769 1.5 mrg 30. mailto:gcc-help (a] gcc.gnu.org
1770 1.5 mrg 31. mailto:gcc (a] gcc.gnu.org
1771 1.5 mrg 32. https://gcc.gnu.org/lists.html
1772 1.5 mrg 33. http://www.fsf.org/
1773 1.5 mrg 34. https://gcc.gnu.org/about.html
1774 1.5 mrg 35. http://validator.w3.org/check/referer
1775 1.5 mrg ======================================================================
1776 1.3 skrll http://gcc.gnu.org/gcc-4.8/index.html
1777 1.3 skrll GCC 4.8 Release Series
1778 1.3 skrll
1779 1.4 mrg June 23, 2015
1780 1.3 skrll
1781 1.3 skrll The [1]GNU project and the GCC developers are pleased to announce the
1782 1.4 mrg release of GCC 4.8.5.
1783 1.3 skrll
1784 1.3 skrll This release is a bug-fix release, containing fixes for regressions in
1785 1.4 mrg GCC 4.8.4 relative to previous releases of GCC.
1786 1.3 skrll
1787 1.7 mrg This release series is no longer maintained.
1788 1.7 mrg
1789 1.3 skrll Release History
1790 1.3 skrll
1791 1.4 mrg GCC 4.8.5
1792 1.4 mrg June 23, 2015 ([2]changes, [3]documentation)
1793 1.4 mrg
1794 1.4 mrg GCC 4.8.4
1795 1.4 mrg December 19, 2014 ([4]changes, [5]documentation)
1796 1.4 mrg
1797 1.3 skrll GCC 4.8.3
1798 1.4 mrg May 22, 2014 ([6]changes, [7]documentation)
1799 1.3 skrll
1800 1.3 skrll GCC 4.8.2
1801 1.4 mrg October 16, 2013 ([8]changes, [9]documentation)
1802 1.3 skrll
1803 1.3 skrll GCC 4.8.1
1804 1.4 mrg May 31, 2013 ([10]changes, [11]documentation)
1805 1.3 skrll
1806 1.3 skrll GCC 4.8.0
1807 1.4 mrg March 22, 2013 ([12]changes, [13]documentation)
1808 1.3 skrll
1809 1.3 skrll References and Acknowledgements
1810 1.3 skrll
1811 1.3 skrll GCC used to stand for the GNU C Compiler, but since the compiler
1812 1.3 skrll supports several other languages aside from C, it now stands for the
1813 1.3 skrll GNU Compiler Collection.
1814 1.3 skrll
1815 1.4 mrg A list of [14]successful builds is updated as new information becomes
1816 1.3 skrll available.
1817 1.3 skrll
1818 1.3 skrll The GCC developers would like to thank the numerous people that have
1819 1.3 skrll contributed new features, improvements, bug fixes, and other changes as
1820 1.4 mrg well as test results to GCC. This [15]amazing group of volunteers is
1821 1.3 skrll what makes GCC successful.
1822 1.3 skrll
1823 1.4 mrg For additional information about GCC please refer to the [16]GCC
1824 1.4 mrg project web site or contact the [17]GCC development mailing list.
1825 1.3 skrll
1826 1.4 mrg To obtain GCC please use [18]our mirror sites or [19]our SVN server.
1827 1.3 skrll
1828 1.3 skrll
1829 1.3 skrll For questions related to the use of GCC, please consult these web
1830 1.4 mrg pages and the [20]GCC manuals. If that fails, the
1831 1.4 mrg [21]gcc-help (a] gcc.gnu.org mailing list might help. Comments on these
1832 1.3 skrll web pages and the development of GCC are welcome on our developer
1833 1.4 mrg list at [22]gcc (a] gcc.gnu.org. All of [23]our lists have public
1834 1.3 skrll archives.
1835 1.3 skrll
1836 1.4 mrg Copyright (C) [24]Free Software Foundation, Inc. Verbatim copying and
1837 1.3 skrll distribution of this entire article is permitted in any medium,
1838 1.3 skrll provided this notice is preserved.
1839 1.3 skrll
1840 1.4 mrg These pages are [25]maintained by the GCC team. Last modified
1841 1.7 mrg 2016-09-30[26].
1842 1.3 skrll
1843 1.3 skrll References
1844 1.3 skrll
1845 1.3 skrll 1. http://www.gnu.org/
1846 1.3 skrll 2. http://gcc.gnu.org/gcc-4.8/changes.html
1847 1.4 mrg 3. https://gcc.gnu.org/onlinedocs/4.8.5/
1848 1.3 skrll 4. http://gcc.gnu.org/gcc-4.8/changes.html
1849 1.4 mrg 5. https://gcc.gnu.org/onlinedocs/4.8.4/
1850 1.3 skrll 6. http://gcc.gnu.org/gcc-4.8/changes.html
1851 1.4 mrg 7. https://gcc.gnu.org/onlinedocs/4.8.3/
1852 1.3 skrll 8. http://gcc.gnu.org/gcc-4.8/changes.html
1853 1.4 mrg 9. https://gcc.gnu.org/onlinedocs/4.8.2/
1854 1.4 mrg 10. http://gcc.gnu.org/gcc-4.8/changes.html
1855 1.4 mrg 11. https://gcc.gnu.org/onlinedocs/4.8.1/
1856 1.4 mrg 12. http://gcc.gnu.org/gcc-4.8/changes.html
1857 1.4 mrg 13. https://gcc.gnu.org/onlinedocs/4.8.0/
1858 1.4 mrg 14. http://gcc.gnu.org/gcc-4.8/buildstat.html
1859 1.4 mrg 15. https://gcc.gnu.org/onlinedocs/gcc/Contributors.html
1860 1.4 mrg 16. http://gcc.gnu.org/index.html
1861 1.4 mrg 17. mailto:gcc (a] gcc.gnu.org
1862 1.4 mrg 18. http://gcc.gnu.org/mirrors.html
1863 1.4 mrg 19. http://gcc.gnu.org/svn.html
1864 1.4 mrg 20. https://gcc.gnu.org/onlinedocs/
1865 1.4 mrg 21. mailto:gcc-help (a] gcc.gnu.org
1866 1.4 mrg 22. mailto:gcc (a] gcc.gnu.org
1867 1.4 mrg 23. https://gcc.gnu.org/lists.html
1868 1.4 mrg 24. http://www.fsf.org/
1869 1.4 mrg 25. https://gcc.gnu.org/about.html
1870 1.4 mrg 26. http://validator.w3.org/check/referer
1871 1.3 skrll ======================================================================
1872 1.3 skrll http://gcc.gnu.org/gcc-4.8/changes.html
1873 1.3 skrll GCC 4.8 Release Series
1874 1.3 skrll Changes, New Features, and Fixes
1875 1.3 skrll
1876 1.3 skrll Caveats
1877 1.3 skrll
1878 1.3 skrll GCC now uses C++ as its implementation language. This means that to
1879 1.3 skrll build GCC from sources, you will need a C++ compiler that understands
1880 1.3 skrll C++ 2003. For more details on the rationale and specific changes,
1881 1.3 skrll please refer to the [1]C++ conversion page.
1882 1.3 skrll
1883 1.3 skrll To enable the Graphite framework for loop optimizations you now need
1884 1.3 skrll CLooG version 0.18.0 and ISL version 0.11.1. Both can be obtained from
1885 1.3 skrll the [2]GCC infrastructure directory. The installation manual contains
1886 1.3 skrll more information about requirements to build GCC.
1887 1.3 skrll
1888 1.3 skrll GCC now uses a more aggressive analysis to derive an upper bound for
1889 1.3 skrll the number of iterations of loops using constraints imposed by language
1890 1.3 skrll standards. This may cause non-conforming programs to no longer work as
1891 1.3 skrll expected, such as SPEC CPU 2006 464.h264ref and 416.gamess. A new
1892 1.3 skrll option, -fno-aggressive-loop-optimizations, was added to disable this
1893 1.3 skrll aggressive analysis. In some loops that have known constant number of
1894 1.3 skrll iterations, but undefined behavior is known to occur in the loop before
1895 1.3 skrll reaching or during the last iteration, GCC will warn about the
1896 1.3 skrll undefined behavior in the loop instead of deriving lower upper bound of
1897 1.3 skrll the number of iterations for the loop. The warning can be disabled with
1898 1.3 skrll -Wno-aggressive-loop-optimizations.
1899 1.3 skrll
1900 1.3 skrll On ARM, a bug has been fixed in GCC's implementation of the AAPCS rules
1901 1.3 skrll for the layout of vectors that could lead to wrong code being
1902 1.3 skrll generated. Vectors larger than 8 bytes in size are now by default
1903 1.3 skrll aligned to an 8-byte boundary. This is an ABI change: code that makes
1904 1.3 skrll explicit use of vector types may be incompatible with binary objects
1905 1.3 skrll built with older versions of GCC. Auto-vectorized code is not affected
1906 1.3 skrll by this change.
1907 1.3 skrll
1908 1.3 skrll On AVR, support has been removed for the command-line option
1909 1.3 skrll -mshort-calls deprecated in GCC 4.7.
1910 1.3 skrll
1911 1.3 skrll On AVR, the configure option --with-avrlibc supported since GCC 4.7.2
1912 1.3 skrll is turned on per default for all non-RTEMS configurations. This option
1913 1.3 skrll arranges for a better integration of [3]AVR Libc with avr-gcc. For
1914 1.3 skrll technical details, see [4]PR54461. To turn off the option in non-RTEMS
1915 1.3 skrll configurations, use --with-avrlibc=no. If the compiler is configured
1916 1.3 skrll for RTEMS, the option is always turned off.
1917 1.3 skrll
1918 1.3 skrll More information on porting to GCC 4.8 from previous versions of GCC
1919 1.3 skrll can be found in the [5]porting guide for this release.
1920 1.3 skrll
1921 1.3 skrll General Optimizer Improvements (and Changes)
1922 1.3 skrll
1923 1.3 skrll * DWARF4 is now the default when generating DWARF debug information.
1924 1.3 skrll When -g is used on a platform that uses DWARF debugging
1925 1.3 skrll information, GCC will now default to -gdwarf-4
1926 1.3 skrll -fno-debug-types-section.
1927 1.3 skrll GDB 7.5, Valgrind 3.8.0 and elfutils 0.154 debug information
1928 1.3 skrll consumers support DWARF4 by default. Before GCC 4.8 the default
1929 1.3 skrll version used was DWARF2. To make GCC 4.8 generate an older DWARF
1930 1.3 skrll version use -g together with -gdwarf-2 or -gdwarf-3. The default
1931 1.3 skrll for Darwin and VxWorks is still -gdwarf-2 -gstrict-dwarf.
1932 1.3 skrll * A new general optimization level, -Og, has been introduced. It
1933 1.3 skrll addresses the need for fast compilation and a superior debugging
1934 1.4 mrg experience while providing a reasonable level of run-time
1935 1.3 skrll performance. Overall experience for development should be better
1936 1.3 skrll than the default optimization level -O0.
1937 1.3 skrll * A new option -ftree-partial-pre was added to control the partial
1938 1.3 skrll redundancy elimination (PRE) optimization. This option is enabled
1939 1.3 skrll by default at the -O3 optimization level, and it makes PRE more
1940 1.3 skrll aggressive.
1941 1.3 skrll * The option -fconserve-space has been removed; it was no longer
1942 1.3 skrll useful on most targets since GCC supports putting variables into
1943 1.3 skrll BSS without making them common.
1944 1.3 skrll * The struct reorg and matrix reorg optimizations (command-line
1945 1.3 skrll options -fipa-struct-reorg and -fipa-matrix-reorg) have been
1946 1.3 skrll removed. They did not always work correctly, nor did they work with
1947 1.3 skrll link-time optimization (LTO), hence were only applicable to
1948 1.3 skrll programs consisting of a single translation unit.
1949 1.3 skrll * Several scalability bottle-necks have been removed from GCC's
1950 1.3 skrll optimization passes. Compilation of extremely large functions, e.g.
1951 1.3 skrll due to the use of the flatten attribute in the "Eigen" C++ linear
1952 1.3 skrll algebra templates library, is significantly faster than previous
1953 1.3 skrll releases of GCC.
1954 1.3 skrll * Link-time optimization (LTO) improvements:
1955 1.3 skrll + LTO partitioning has been rewritten for better reliability and
1956 1.3 skrll maintanibility. Several important bugs leading to link
1957 1.3 skrll failures have been fixed.
1958 1.3 skrll * Interprocedural optimization improvements:
1959 1.3 skrll + A new symbol table has been implemented. It builds on existing
1960 1.3 skrll callgraph and varpool modules and provide a new API. Unusual
1961 1.3 skrll symbol visibilities and aliases are handled more consistently
1962 1.3 skrll leading to, for example, more aggressive unreachable code
1963 1.3 skrll removal with LTO.
1964 1.3 skrll + The inline heuristic can now bypass limits on the size of of
1965 1.3 skrll inlined functions when the inlining is particularly
1966 1.3 skrll profitable. This happens, for example, when loop bounds or
1967 1.3 skrll array strides get propagated.
1968 1.3 skrll + Values passed through aggregates (either by value or
1969 1.3 skrll reference) are now propagated at the inter-procedural level
1970 1.3 skrll leading to better inlining decisions (for example in the case
1971 1.3 skrll of Fortran array descriptors) and devirtualization.
1972 1.3 skrll * [6]AddressSanitizer , a fast memory error detector, has been added
1973 1.3 skrll and can be enabled via -fsanitize=address. Memory access
1974 1.3 skrll instructions will be instrumented to detect heap-, stack-, and
1975 1.3 skrll global-buffer overflow as well as use-after-free bugs. To get nicer
1976 1.3 skrll stacktraces, use -fno-omit-frame-pointer. The AddressSanitizer is
1977 1.3 skrll available on IA-32/x86-64/x32/PowerPC/PowerPC64 GNU/Linux and on
1978 1.3 skrll x86-64 Darwin.
1979 1.3 skrll * [7]ThreadSanitizer has been added and can be enabled via
1980 1.3 skrll -fsanitize=thread. Instructions will be instrumented to detect data
1981 1.3 skrll races. The ThreadSanitizer is available on x86-64 GNU/Linux.
1982 1.3 skrll * A new local register allocator (LRA) has been implemented, which
1983 1.3 skrll replaces the 26 year old reload pass and improves generated code
1984 1.3 skrll quality. For now it is active on the IA-32 and x86-64 targets.
1985 1.3 skrll * Support for transactional memory has been implemented on the
1986 1.3 skrll following architectures: IA-32/x86-64, ARM, PowerPC, SH, SPARC, and
1987 1.3 skrll Alpha.
1988 1.3 skrll
1989 1.3 skrll New Languages and Language specific improvements
1990 1.3 skrll
1991 1.3 skrll C family
1992 1.3 skrll
1993 1.3 skrll * Each diagnostic emitted now includes the original source line and a
1994 1.3 skrll caret '^' indicating the column. The option
1995 1.3 skrll -fno-diagnostics-show-caret suppresses this information.
1996 1.3 skrll * The option -ftrack-macro-expansion=2 is now enabled by default.
1997 1.3 skrll This allows the compiler to display the macro expansion stack in
1998 1.3 skrll diagnostics. Combined with the caret information, an example
1999 1.3 skrll diagnostic showing these two features is:
2000 1.3 skrll
2001 1.7 mrg t.c:1:94: error: invalid operands to binary < (have struct mystruct and float
2002 1.7 mrg )
2003 1.3 skrll #define MYMAX(A,B) __extension__ ({ __typeof__(A) __a = (A); __typeof__(B) _
2004 1.3 skrll _b = (B); __a < __b ? __b : __a; })
2005 1.3 skrll
2006 1.3 skrll ^
2007 1.3 skrll t.c:7:7: note: in expansion of macro 'MYMAX'
2008 1.3 skrll X = MYMAX(P, F);
2009 1.3 skrll ^
2010 1.3 skrll
2011 1.3 skrll * A new -Wsizeof-pointer-memaccess warning has been added (also
2012 1.3 skrll enabled by -Wall) to warn about suspicious length parameters to
2013 1.3 skrll certain string and memory built-in functions if the argument uses
2014 1.3 skrll sizeof. This warning warns e.g. about memset (ptr, 0, sizeof
2015 1.3 skrll (ptr)); if ptr is not an array, but a pointer, and suggests a
2016 1.3 skrll possible fix, or about memcpy (&foo, ptr, sizeof (&foo));.
2017 1.3 skrll * The new option -Wpedantic is an alias for -pedantic, which is now
2018 1.3 skrll deprecated. The forms -Wno-pedantic, -Werror=pedantic, and
2019 1.3 skrll -Wno-error=pedantic work in the same way as for any other -W
2020 1.3 skrll option. One caveat is that -Werror=pedantic is not equivalent to
2021 1.3 skrll -pedantic-errors, since the latter makes into errors some warnings
2022 1.3 skrll that are not controlled by -Wpedantic, and the former only affects
2023 1.3 skrll diagnostics that are disabled when using -Wno-pedantic.
2024 1.3 skrll * The option -Wshadow no longer warns if a declaration shadows a
2025 1.3 skrll function declaration, unless the former declares a function or
2026 1.3 skrll pointer to function, because this is [8]a common and valid case in
2027 1.3 skrll real-world code.
2028 1.3 skrll
2029 1.3 skrll C++
2030 1.3 skrll
2031 1.3 skrll * G++ now implements the [9]C++11 thread_local keyword; this differs
2032 1.3 skrll from the GNU __thread keyword primarily in that it allows dynamic
2033 1.3 skrll initialization and destruction semantics. Unfortunately, this
2034 1.3 skrll support requires a run-time penalty for references to
2035 1.3 skrll non-function-local thread_local variables defined in a different
2036 1.3 skrll translation unit even if they don't need dynamic initialization, so
2037 1.3 skrll users may want to continue to use __thread for TLS variables with
2038 1.3 skrll static initialization semantics.
2039 1.3 skrll If the programmer can be sure that no use of the variable in a
2040 1.3 skrll non-defining TU needs to trigger dynamic initialization (either
2041 1.3 skrll because the variable is statically initialized, or a use of the
2042 1.3 skrll variable in the defining TU will be executed before any uses in
2043 1.3 skrll another TU), they can avoid this overhead with the
2044 1.3 skrll -fno-extern-tls-init option.
2045 1.3 skrll OpenMP threadprivate variables now also support dynamic
2046 1.3 skrll initialization and destruction by the same mechanism.
2047 1.3 skrll * G++ now implements the [10]C++11 attribute syntax, e.g.
2048 1.3 skrll
2049 1.3 skrll [[noreturn]] void f();
2050 1.3 skrll
2051 1.3 skrll and also the alignment specifier, e.g.
2052 1.3 skrll
2053 1.3 skrll alignas(double) int i;
2054 1.3 skrll
2055 1.3 skrll * G++ now implements [11]C++11 inheriting constructors, e.g.
2056 1.3 skrll
2057 1.3 skrll struct A { A(int); };
2058 1.3 skrll struct B: A { using A::A; }; // defines B::B(int)
2059 1.3 skrll B b(42); // OK
2060 1.3 skrll
2061 1.3 skrll * As of GCC 4.8.1, G++ implements the change to decltype semantics
2062 1.3 skrll from [12]N3276.
2063 1.3 skrll
2064 1.3 skrll struct A f();
2065 1.3 skrll decltype(f()) g(); // OK, return type of f() is not required to be complete.
2066 1.3 skrll
2067 1.3 skrll * As of GCC 4.8.1, G++ implements [13]C++11 ref-qualifiers, e.g.
2068 1.3 skrll
2069 1.3 skrll struct A { int f() &; };
2070 1.3 skrll int i = A().f(); // error, f() requires an lvalue object
2071 1.3 skrll
2072 1.3 skrll * G++ now supports a -std=c++1y option for experimentation with
2073 1.3 skrll features proposed for the next revision of the standard, expected
2074 1.3 skrll around 2014. Currently the only difference from -std=c++11 is
2075 1.3 skrll support for return type deduction in normal functions, as proposed
2076 1.3 skrll in [14]N3386. Status of C++1y features in GCC 4.8 can be found
2077 1.3 skrll [15]here.
2078 1.3 skrll * The G++ namespace association extension, __attribute ((strong)),
2079 1.3 skrll has been deprecated. Inline namespaces should be used instead.
2080 1.3 skrll * G++ now supports a -fext-numeric-literal option to control whether
2081 1.3 skrll GNU numeric literal suffixes are accepted as extensions or
2082 1.3 skrll processed as C++11 user-defined numeric literal suffixes. The flag
2083 1.3 skrll is on (use suffixes for GNU literals) by default for -std=gnu++*,
2084 1.3 skrll and -std=c++98. The flag is off (use suffixes for user-defined
2085 1.3 skrll literals) by default for -std=c++11 and later.
2086 1.3 skrll
2087 1.3 skrll Runtime Library (libstdc++)
2088 1.3 skrll
2089 1.3 skrll * [16]Improved experimental support for the new ISO C++ standard,
2090 1.3 skrll C++11, including:
2091 1.3 skrll + forward_list meets the allocator-aware container requirements;
2092 1.3 skrll + this_thread::sleep_for(), this_thread::sleep_until() and
2093 1.3 skrll this_thread::yield() are defined without requiring the
2094 1.3 skrll configure option --enable-libstdcxx-time;
2095 1.3 skrll * Improvements to <random>:
2096 1.3 skrll + SSE optimized normal_distribution.
2097 1.3 skrll + Use of hardware RNG instruction for random_device on new x86
2098 1.3 skrll processors (requires the assembler to support the
2099 1.3 skrll instruction.)
2100 1.3 skrll and <ext/random>:
2101 1.3 skrll + New random number engine simd_fast_mersenne_twister_engine
2102 1.3 skrll with an optimized SSE implementation.
2103 1.3 skrll + New random number distributions beta_distribution,
2104 1.3 skrll normal_mv_distribution, rice_distribution,
2105 1.3 skrll nakagami_distribution, pareto_distribution, k_distribution,
2106 1.3 skrll arcsine_distribution, hoyt_distribution.
2107 1.3 skrll * Added --disable-libstdcxx-verbose configure option to disable
2108 1.3 skrll diagnostic messages issued when a process terminates abnormally.
2109 1.3 skrll This may be useful for embedded systems to reduce the size of
2110 1.3 skrll executables that link statically to the library.
2111 1.3 skrll
2112 1.3 skrll Fortran
2113 1.3 skrll
2114 1.3 skrll * Compatibility notice:
2115 1.3 skrll + Module files: The version of module files (.mod) has been
2116 1.3 skrll incremented. Fortran MODULEs compiled by earlier GCC versions
2117 1.3 skrll have to be recompiled, when they are USEd by files compiled
2118 1.3 skrll with GCC 4.8. GCC 4.8 is not able to read .mod files created
2119 1.3 skrll by earlier versions; attempting to do so gives an error
2120 1.3 skrll message.
2121 1.3 skrll Note: The ABI of the produced assembler data itself has not
2122 1.3 skrll changed; object files and libraries are fully compatible with
2123 1.3 skrll older versions except as noted below.
2124 1.3 skrll + ABI: Some internal names (used in the assembler/object file)
2125 1.3 skrll have changed for symbols declared in the specification part of
2126 1.7 mrg a module. If an affected module or a file using it via use
2127 1.7 mrg association is recompiled, the module and all files which
2128 1.3 skrll directly use such symbols have to be recompiled as well. This
2129 1.3 skrll change only affects the following kind of module symbols:
2130 1.3 skrll o Procedure pointers. Note: C-interoperable function
2131 1.3 skrll pointers (type(c_funptr)) are not affected nor are
2132 1.3 skrll procedure-pointer components.
2133 1.3 skrll o Deferred-length character strings.
2134 1.3 skrll * The [17]BACKTRACE intrinsic subroutine has been added. It shows a
2135 1.3 skrll backtrace at an arbitrary place in user code; program execution
2136 1.3 skrll continues normally afterwards.
2137 1.3 skrll * The [18]-Wc-binding-type warning option has been added (disabled by
2138 1.3 skrll default). It warns if the a variable might not be C interoperable;
2139 1.3 skrll in particular, if the variable has been declared using an intrinsic
2140 1.3 skrll type with default kind instead of using a kind parameter defined
2141 1.3 skrll for C interoperability in the intrinsic ISO_C_Binding module.
2142 1.3 skrll Before, this warning was always printed. The -Wc-binding-type
2143 1.3 skrll option is enabled by -Wall.
2144 1.3 skrll * The [19]-Wrealloc-lhs and -Wrealloc-lhs-all warning command-line
2145 1.4 mrg options have been added, which diagnose when code is inserted for
2146 1.4 mrg automatic (re)allocation of a variable during assignment. This
2147 1.3 skrll option can be used to decide whether it is safe to use
2148 1.3 skrll [20]-fno-realloc-lhs. Additionally, it can be used to find
2149 1.3 skrll automatic (re)allocation in hot loops. (For arrays, replacing
2150 1.3 skrll "var=" by "var(:)=" disables the automatic reallocation.)
2151 1.3 skrll * The [21]-Wcompare-reals command-line option has been added. When
2152 1.3 skrll this is set, warnings are issued when comparing REAL or COMPLEX
2153 1.3 skrll types for equality and inequality; consider replacing a == b by
2154 1.7 mrg abs(ab) < eps with a suitable eps. -Wcompare-reals is enabled by
2155 1.3 skrll -Wextra.
2156 1.3 skrll * The [22]-Wtarget-lifetime command-line option has been added
2157 1.3 skrll (enabled with -Wall), which warns if the pointer in a pointer
2158 1.3 skrll assignment might outlive its target.
2159 1.3 skrll * Reading floating point numbers which use "q" for the exponential
2160 1.3 skrll (such as 4.0q0) is now supported as vendor extension for better
2161 1.3 skrll compatibility with old data files. It is strongly recommended to
2162 1.3 skrll use for I/O the equivalent but standard conforming "e" (such as
2163 1.3 skrll 4.0e0).
2164 1.3 skrll (For Fortran source code, consider replacing the "q" in
2165 1.3 skrll floating-point literals by a kind parameter (e.g. 4.0e0_qp with a
2166 1.7 mrg suitable qp). Note that in Fortran source code replacing "q" by
2167 1.3 skrll a simple "e" is not equivalent.)
2168 1.3 skrll * The GFORTRAN_TMPDIR environment variable for specifying a
2169 1.3 skrll non-default directory for files opened with STATUS="SCRATCH", is
2170 1.3 skrll not used anymore. Instead gfortran checks the POSIX/GNU standard
2171 1.3 skrll TMPDIR environment variable. If TMPDIR is not defined, gfortran
2172 1.3 skrll falls back to other methods to determine the directory for
2173 1.3 skrll temporary files as documented in the [23]user manual.
2174 1.3 skrll * [24]Fortran 2003:
2175 1.3 skrll + Support for unlimited polymorphic variables (CLASS(*)) has
2176 1.3 skrll been added. Nonconstant character lengths are not yet
2177 1.3 skrll supported.
2178 1.3 skrll * [25]TS 29113:
2179 1.3 skrll + Assumed types (TYPE(*)) are now supported.
2180 1.3 skrll + Experimental support for assumed-rank arrays (dimension(..))
2181 1.3 skrll has been added. Note that currently gfortran's own array
2182 1.3 skrll descriptor is used, which is different from the one defined in
2183 1.3 skrll TS29113, see [26]gfortran's header file or use the [27]Chasm
2184 1.3 skrll Language Interoperability Tools.
2185 1.3 skrll
2186 1.3 skrll Go
2187 1.3 skrll
2188 1.3 skrll * GCC 4.8.2 provides a complete implementation of the Go 1.1.2
2189 1.3 skrll release.
2190 1.3 skrll * GCC 4.8.0 and 4.8.1 implement a preliminary version of the Go 1.1
2191 1.3 skrll release. The library support is not quite complete.
2192 1.3 skrll * Go has been tested on GNU/Linux and Solaris platforms for various
2193 1.3 skrll processors including x86, x86_64, PowerPC, SPARC, and Alpha. It may
2194 1.3 skrll work on other platforms as well.
2195 1.3 skrll
2196 1.3 skrll New Targets and Target Specific Improvements
2197 1.3 skrll
2198 1.3 skrll AArch64
2199 1.3 skrll
2200 1.3 skrll * A new port has been added to support AArch64, the new 64-bit
2201 1.3 skrll architecture from ARM. Note that this is a separate port from the
2202 1.3 skrll existing 32-bit ARM port.
2203 1.3 skrll * The port provides initial support for the Cortex-A53 and the
2204 1.3 skrll Cortex-A57 processors with the command line options
2205 1.3 skrll -mcpu=cortex-a53 and -mcpu=cortex-a57.
2206 1.4 mrg * As of GCC 4.8.4 a workaround for the ARM Cortex-A53 erratum 835769
2207 1.4 mrg has been added and can be enabled by giving the
2208 1.4 mrg -mfix-cortex-a53-835769 option. Alternatively it can be enabled by
2209 1.4 mrg default by configuring GCC with the --enable-fix-cortex-a53-835769
2210 1.4 mrg option.
2211 1.3 skrll
2212 1.3 skrll ARM
2213 1.3 skrll
2214 1.3 skrll * Initial support has been added for the AArch32 extensions defined
2215 1.3 skrll in the ARMv8 architecture.
2216 1.3 skrll * Code generation improvements for the Cortex-A7 and Cortex-A15 CPUs.
2217 1.3 skrll * A new option, -mcpu=marvell-pj4, has been added to generate code
2218 1.3 skrll for the Marvell PJ4 processor.
2219 1.3 skrll * The compiler can now automatically generate the VFMA, VFMS, REVSH
2220 1.3 skrll and REV16 instructions.
2221 1.3 skrll * A new vectorizer cost model for Advanced SIMD configurations to
2222 1.3 skrll improve the auto-vectorization strategies used.
2223 1.3 skrll * The scheduler now takes into account the number of live registers
2224 1.3 skrll to reduce the amount of spilling that can occur. This should
2225 1.3 skrll improve code performance in large functions. The limit can be
2226 1.3 skrll removed by using the option -fno-sched-pressure.
2227 1.3 skrll * Improvements have been made to the Marvell iWMMX code generation
2228 1.3 skrll and support for the iWMMX2 SIMD unit has been added. The option
2229 1.3 skrll -mcpu=iwmmxt2 can be used to enable code generation for the latter.
2230 1.3 skrll * A number of code generation improvements for Thumb2 to reduce code
2231 1.3 skrll size when compiling for the M-profile processors.
2232 1.3 skrll * The RTEMS (arm-rtems) port has been updated to use the EABI.
2233 1.3 skrll * Code generation support for the old FPA and Maverick floating-point
2234 1.3 skrll architectures has been removed. Ports that previously relied on
2235 1.3 skrll these features have also been removed. This includes the targets:
2236 1.3 skrll + arm*-*-linux-gnu (use arm*-*-linux-gnueabi)
2237 1.3 skrll + arm*-*-elf (use arm*-*-eabi)
2238 1.3 skrll + arm*-*-uclinux* (use arm*-*-uclinux*eabi)
2239 1.3 skrll + arm*-*-ecos-elf (no alternative)
2240 1.3 skrll + arm*-*-freebsd (no alternative)
2241 1.3 skrll + arm*-wince-pe* (no alternative).
2242 1.3 skrll
2243 1.3 skrll AVR
2244 1.3 skrll
2245 1.3 skrll * Support for the "Embedded C" fixed-point has been added. For
2246 1.3 skrll details, see the [28]GCC wiki and the [29]user manual. The support
2247 1.3 skrll is not complete.
2248 1.3 skrll * A new print modifier %r for register operands in inline assembler
2249 1.3 skrll is supported. It will print the raw register number without the
2250 1.3 skrll register prefix 'r':
2251 1.3 skrll /* Return the most significant byte of 'val', a 64-bit value. */
2252 1.3 skrll
2253 1.3 skrll unsigned char msb (long long val)
2254 1.3 skrll {
2255 1.3 skrll unsigned char c;
2256 1.3 skrll __asm__ ("mov %0, %r1+7" : "=r" (c) : "r" (val));
2257 1.3 skrll return c;
2258 1.3 skrll }
2259 1.3 skrll The inline assembler in this example will generate code like
2260 1.3 skrll mov r24, 8+7
2261 1.7 mrg provided c is allocated to R24 and val is allocated to R8R15. This
2262 1.7 mrg works because the GNU assembler accepts plain register numbers
2263 1.3 skrll without register prefix.
2264 1.3 skrll * Static initializers with 3-byte symbols are supported now:
2265 1.3 skrll extern const __memx char foo;
2266 1.3 skrll const __memx void *pfoo = &foo;
2267 1.3 skrll This requires at least Binutils 2.23.
2268 1.3 skrll
2269 1.3 skrll IA-32/x86-64
2270 1.3 skrll
2271 1.3 skrll * Allow -mpreferred-stack-boundary=3 for the x86-64 architecture with
2272 1.3 skrll SSE extensions disabled. Since the x86-64 ABI requires 16 byte
2273 1.3 skrll stack alignment, this is ABI incompatible and intended to be used
2274 1.3 skrll in controlled environments where stack space is an important
2275 1.3 skrll limitation. This option will lead to wrong code when functions
2276 1.3 skrll compiled with 16 byte stack alignment (such as functions from a
2277 1.3 skrll standard library) are called with misaligned stack. In this case,
2278 1.3 skrll SSE instructions may lead to misaligned memory access traps. In
2279 1.3 skrll addition, variable arguments will be handled incorrectly for 16
2280 1.3 skrll byte aligned objects (including x87 long double and __int128),
2281 1.3 skrll leading to wrong results. You must build all modules with
2282 1.3 skrll -mpreferred-stack-boundary=3, including any libraries. This
2283 1.3 skrll includes the system libraries and startup modules.
2284 1.3 skrll * Support for the new Intel processor codename Broadwell with RDSEED,
2285 1.3 skrll ADCX, ADOX, PREFETCHW is available through -madx, -mprfchw,
2286 1.3 skrll -mrdseed command-line options.
2287 1.3 skrll * Support for the Intel RTM and HLE intrinsics, built-in functions
2288 1.3 skrll and code generation is available via -mrtm and -mhle.
2289 1.3 skrll * Support for the Intel FXSR, XSAVE and XSAVEOPT instruction sets.
2290 1.3 skrll Intrinsics and built-in functions are available via -mfxsr, -mxsave
2291 1.3 skrll and -mxsaveopt respectively.
2292 1.3 skrll * New -maddress-mode=[short|long] options for x32.
2293 1.3 skrll -maddress-mode=short overrides default 64-bit addresses to 32-bit
2294 1.3 skrll by emitting the 0x67 address-size override prefix. This is the
2295 1.3 skrll default address mode for x32.
2296 1.3 skrll * New built-in functions to detect run-time CPU type and ISA:
2297 1.3 skrll + A built-in function __builtin_cpu_is has been added to detect
2298 1.3 skrll if the run-time CPU is of a particular type. It returns a
2299 1.3 skrll positive integer on a match and zero otherwise. It accepts one
2300 1.3 skrll string literal argument, the CPU name. For example,
2301 1.3 skrll __builtin_cpu_is("westmere") returns a positive integer if the
2302 1.3 skrll run-time CPU is an Intel Core i7 Westmere processor. Please
2303 1.3 skrll refer to the [30]user manual for the list of valid CPU names
2304 1.3 skrll recognized.
2305 1.3 skrll + A built-in function __builtin_cpu_supports has been added to
2306 1.3 skrll detect if the run-time CPU supports a particular ISA feature.
2307 1.3 skrll It returns a positive integer on a match and zero otherwise.
2308 1.3 skrll It accepts one string literal argument, the ISA feature. For
2309 1.3 skrll example, __builtin_cpu_supports("ssse3") returns a positive
2310 1.3 skrll integer if the run-time CPU supports SSSE3 instructions.
2311 1.3 skrll Please refer to the [31]user manual for the list of valid ISA
2312 1.3 skrll names recognized.
2313 1.3 skrll Caveat: If these built-in functions are called before any static
2314 1.3 skrll constructors are invoked, like during IFUNC initialization, then
2315 1.3 skrll the CPU detection initialization must be explicitly run using this
2316 1.3 skrll newly provided built-in function, __builtin_cpu_init. The
2317 1.3 skrll initialization needs to be done only once. For example, this is how
2318 1.3 skrll the invocation would look like inside an IFUNC initializer:
2319 1.3 skrll static void (*some_ifunc_resolver(void))(void)
2320 1.3 skrll {
2321 1.3 skrll __builtin_cpu_init();
2322 1.3 skrll if (__builtin_cpu_is("amdfam10h") ...
2323 1.3 skrll if (__builtin_cpu_supports("popcnt") ...
2324 1.3 skrll }
2325 1.3 skrll
2326 1.3 skrll * Function Multiversioning Support with G++:
2327 1.3 skrll It is now possible to create multiple function versions each
2328 1.3 skrll targeting a specific processor and/or ISA. Function versions have
2329 1.3 skrll the same signature but different target attributes. For example,
2330 1.3 skrll here is a program with function versions:
2331 1.3 skrll __attribute__ ((target ("default")))
2332 1.3 skrll int foo(void)
2333 1.3 skrll {
2334 1.3 skrll return 1;
2335 1.3 skrll }
2336 1.3 skrll
2337 1.3 skrll __attribute__ ((target ("sse4.2")))
2338 1.3 skrll int foo(void)
2339 1.3 skrll {
2340 1.3 skrll return 2;
2341 1.3 skrll }
2342 1.3 skrll
2343 1.3 skrll int main (void)
2344 1.3 skrll {
2345 1.3 skrll int (*p) = &foo;
2346 1.3 skrll assert ((*p)() == foo());
2347 1.3 skrll return 0;
2348 1.3 skrll }
2349 1.3 skrll
2350 1.3 skrll Please refer to this [32]wiki for more information.
2351 1.3 skrll * The x86 back end has been improved to allow option -fschedule-insns
2352 1.3 skrll to work reliably. This option can be used to schedule instructions
2353 1.3 skrll better and leads to improved performace in certain cases.
2354 1.3 skrll * Windows MinGW-w64 targets (*-w64-mingw*) require at least r5437
2355 1.3 skrll from the Mingw-w64 trunk.
2356 1.3 skrll * Support for new AMD family 15h processors (Steamroller core) is now
2357 1.3 skrll available through the -march=bdver3 and -mtune=bdver3 options.
2358 1.3 skrll * Support for new AMD family 16h processors (Jaguar core) is now
2359 1.3 skrll available through the -march=btver2 and -mtune=btver2 options.
2360 1.3 skrll
2361 1.3 skrll FRV
2362 1.3 skrll
2363 1.3 skrll * This target now supports the -fstack-usage command-line option.
2364 1.3 skrll
2365 1.3 skrll MIPS
2366 1.3 skrll
2367 1.3 skrll * GCC can now generate code specifically for the R4700, Broadcom XLP
2368 1.3 skrll and MIPS 34kn processors. The associated -march options are
2369 1.3 skrll -march=r4700, -march=xlp and -march=34kn respectively.
2370 1.3 skrll * GCC now generates better DSP code for MIPS 74k cores thanks to
2371 1.3 skrll further scheduling optimizations.
2372 1.3 skrll * The MIPS port now supports the -fstack-check option.
2373 1.3 skrll * GCC now passes the -mmcu and -mno-mcu options to the assembler.
2374 1.3 skrll * Previous versions of GCC would silently accept -fpic and -fPIC for
2375 1.3 skrll -mno-abicalls targets like mips*-elf. This combination was not
2376 1.3 skrll intended or supported, and did not generate position-independent
2377 1.3 skrll code. GCC 4.8 now reports an error when this combination is used.
2378 1.3 skrll
2379 1.3 skrll PowerPC / PowerPC64 / RS6000
2380 1.3 skrll
2381 1.3 skrll * SVR4 configurations (GNU/Linux, FreeBSD, NetBSD) no longer save,
2382 1.3 skrll restore or update the VRSAVE register by default. The respective
2383 1.3 skrll operating systems manage the VRSAVE register directly.
2384 1.3 skrll * Large TOC support has been added for AIX through the command line
2385 1.3 skrll option -mcmodel=large.
2386 1.3 skrll * Native Thread-Local Storage support has been added for AIX.
2387 1.3 skrll * VMX (Altivec) and VSX instruction sets now are enabled implicitly
2388 1.3 skrll when targetting processors that support those hardware features on
2389 1.3 skrll AIX 6.1 and above.
2390 1.3 skrll
2391 1.3 skrll RX
2392 1.3 skrll
2393 1.3 skrll * This target will now issue a warning message whenever multiple fast
2394 1.3 skrll interrupt handlers are found in the same compilation unit. This
2395 1.3 skrll feature can be turned off by the new
2396 1.3 skrll -mno-warn-multiple-fast-interrupts command-line option.
2397 1.3 skrll
2398 1.3 skrll S/390, System z
2399 1.3 skrll
2400 1.3 skrll * Support for the IBM zEnterprise zEC12 processor has been added.
2401 1.3 skrll When using the -march=zEC12 option, the compiler will generate code
2402 1.3 skrll making use of the following new instructions:
2403 1.3 skrll + load and trap instructions
2404 1.3 skrll + 2 new compare and trap instructions
2405 1.3 skrll + rotate and insert selected bits - without CC clobber
2406 1.3 skrll The -mtune=zEC12 option enables zEC12 specific instruction
2407 1.3 skrll scheduling without making use of new instructions.
2408 1.3 skrll * Register pressure sensitive instruction scheduling is enabled by
2409 1.3 skrll default.
2410 1.3 skrll * The ifunc function attribute is enabled by default.
2411 1.3 skrll * memcpy and memcmp invokations on big memory chunks or with run time
2412 1.3 skrll lengths are not generated inline anymore when tuning for z10 or
2413 1.3 skrll higher. The purpose is to make use of the IFUNC optimized versions
2414 1.3 skrll in Glibc.
2415 1.3 skrll
2416 1.3 skrll SH
2417 1.3 skrll
2418 1.3 skrll * The default alignment settings have been reduced to be less
2419 1.3 skrll aggressive. This results in more compact code for optimization
2420 1.3 skrll levels other than -Os.
2421 1.3 skrll * Improved support for the __atomic built-in functions:
2422 1.3 skrll + A new option -matomic-model=model selects the model for the
2423 1.3 skrll generated atomic sequences. The following models are
2424 1.3 skrll supported:
2425 1.3 skrll
2426 1.3 skrll soft-gusa
2427 1.3 skrll Software gUSA sequences (SH3* and SH4* only). On
2428 1.3 skrll SH4A targets this will now also partially utilize
2429 1.3 skrll the movco.l and movli.l instructions. This is the
2430 1.3 skrll default when the target is sh3*-*-linux* or
2431 1.3 skrll sh4*-*-linux*.
2432 1.3 skrll
2433 1.3 skrll hard-llcs
2434 1.3 skrll Hardware movco.l / movli.l sequences (SH4A only).
2435 1.3 skrll
2436 1.3 skrll soft-tcb
2437 1.3 skrll Software thread control block sequences.
2438 1.3 skrll
2439 1.3 skrll soft-imask
2440 1.3 skrll Software interrupt flipping sequences (privileged
2441 1.3 skrll mode only). This is the default when the target is
2442 1.3 skrll sh1*-*-linux* or sh2*-*-linux*.
2443 1.3 skrll
2444 1.3 skrll none
2445 1.3 skrll Generates function calls to the respective __atomic
2446 1.3 skrll built-in functions. This is the default for SH64
2447 1.3 skrll targets or when the target is not sh*-*-linux*.
2448 1.3 skrll
2449 1.3 skrll + The option -msoft-atomic has been deprecated. It is now an
2450 1.3 skrll alias for -matomic-model=soft-gusa.
2451 1.3 skrll + A new option -mtas makes the compiler generate the tas.b
2452 1.3 skrll instruction for the __atomic_test_and_set built-in function
2453 1.3 skrll regardless of the selected atomic model.
2454 1.3 skrll + The __sync functions in libgcc now reflect the selected atomic
2455 1.3 skrll model when building the toolchain.
2456 1.3 skrll * Added support for the mov.b and mov.w instructions with
2457 1.3 skrll displacement addressing.
2458 1.3 skrll * Added support for the SH2A instructions movu.b and movu.w.
2459 1.3 skrll * Various improvements to code generated for integer arithmetic.
2460 1.3 skrll * Improvements to conditional branches and code that involves the T
2461 1.3 skrll bit. A new option -mzdcbranch tells the compiler to favor
2462 1.3 skrll zero-displacement branches. This is enabled by default for SH4*
2463 1.3 skrll targets.
2464 1.3 skrll * The pref instruction will now be emitted by the __builtin_prefetch
2465 1.3 skrll built-in function for SH3* targets.
2466 1.3 skrll * The fmac instruction will now be emitted by the fmaf standard
2467 1.3 skrll function and the __builtin_fmaf built-in function.
2468 1.3 skrll * The -mfused-madd option has been deprecated in favor of the
2469 1.3 skrll machine-independent -ffp-contract option. Notice that the fmac
2470 1.3 skrll instruction will now be generated by default for expressions like a
2471 1.3 skrll * b + c. This is due to the compiler default setting
2472 1.3 skrll -ffp-contract=fast.
2473 1.3 skrll * Added new options -mfsrra and -mfsca to allow the compiler using
2474 1.3 skrll the fsrra and fsca instructions on targets other than SH4A (where
2475 1.3 skrll they are already enabled by default).
2476 1.3 skrll * Added support for the __builtin_bswap32 built-in function. It is
2477 1.3 skrll now expanded as a sequence of swap.b and swap.w instructions
2478 1.3 skrll instead of a library function call.
2479 1.3 skrll * The behavior of the -mieee option has been fixed and the negative
2480 1.3 skrll form -mno-ieee has been added to control the IEEE conformance of
2481 1.3 skrll floating point comparisons. By default -mieee is now enabled and
2482 1.3 skrll the option -ffinite-math-only implicitly sets -mno-ieee.
2483 1.3 skrll * Added support for the built-in functions __builtin_thread_pointer
2484 1.3 skrll and __builtin_set_thread_pointer. This assumes that GBR is used to
2485 1.3 skrll hold the thread pointer of the current thread. Memory loads and
2486 1.3 skrll stores relative to the address returned by __builtin_thread_pointer
2487 1.3 skrll will now also utilize GBR based displacement address modes.
2488 1.3 skrll * The -mdiv= option for targets other than SHmedia has been fixed and
2489 1.3 skrll documented.
2490 1.3 skrll
2491 1.3 skrll SPARC
2492 1.3 skrll
2493 1.3 skrll * Added optimized instruction scheduling for Niagara4.
2494 1.3 skrll
2495 1.3 skrll TILE-Gx
2496 1.3 skrll
2497 1.3 skrll * Added support for the -mcmodel=MODEL command-line option. The
2498 1.3 skrll models supported are small and large.
2499 1.3 skrll
2500 1.3 skrll V850
2501 1.3 skrll
2502 1.3 skrll * This target now supports the E3V5 architecture via the use of the
2503 1.3 skrll new -mv850e3v5 command-line option. It also has experimental
2504 1.3 skrll support for the e3v5 LOOP instruction which can be enabled via the
2505 1.3 skrll new -mloop command-line option.
2506 1.3 skrll
2507 1.3 skrll XStormy16
2508 1.3 skrll
2509 1.3 skrll * This target now supports the -fstack-usage command-line option.
2510 1.3 skrll
2511 1.3 skrll Operating Systems
2512 1.3 skrll
2513 1.7 mrg OpenBSD
2514 1.7 mrg
2515 1.7 mrg * Support for OpenBSD/amd64 (x86_64-*-openbsd*) has been added and
2516 1.7 mrg support for OpenBSD/i386 (i386-*-openbsd*) has been rejuvenated.
2517 1.7 mrg
2518 1.3 skrll Windows (Cygwin)
2519 1.3 skrll
2520 1.3 skrll * Executables are now linked against shared libgcc by default. The
2521 1.3 skrll previous default was to link statically, which can still be done by
2522 1.3 skrll explicitly specifying -static or static-libgcc on the command line.
2523 1.3 skrll However it is strongly advised against, as it will cause problems
2524 1.3 skrll for any application that makes use of DLLs compiled by GCC. It
2525 1.3 skrll should be alright for a monolithic stand-alone application that
2526 1.3 skrll only links against the Windows DLLs, but offers little or no
2527 1.3 skrll benefit.
2528 1.3 skrll
2529 1.3 skrll GCC 4.8.1
2530 1.3 skrll
2531 1.3 skrll This is the [33]list of problem reports (PRs) from GCC's bug tracking
2532 1.3 skrll system that are known to be fixed in the 4.8.1 release. This list might
2533 1.3 skrll not be complete (that is, it is possible that some PRs that have been
2534 1.3 skrll fixed are not listed here).
2535 1.3 skrll
2536 1.3 skrll The C++11 <chrono> std::chrono::system_clock and
2537 1.3 skrll std::chrono::steady_clock classes have changed ABI in GCC 4.8.1, they
2538 1.3 skrll both are now separate (never typedefs of each other), both use
2539 1.3 skrll std::chrono::nanoseconds resolution, on most GNU/Linux configurations
2540 1.3 skrll std::chrono::steady_clock is now finally monotonic, and both classes
2541 1.3 skrll are mangled differently than in the previous GCC releases.
2542 1.3 skrll std::chrono::system_clock::now() with std::chrono::microseconds resp.
2543 1.3 skrll std::chrono::seconds resolution is still exported for backwards
2544 1.3 skrll compatibility with default configured libstdc++. Note that libstdc++
2545 1.3 skrll configured with --enable-libstdcxx-time= used to be ABI incompatible
2546 1.3 skrll with default configured libstdc++ for those two classes and no ABI
2547 1.3 skrll compatibility can be offered for those configurations, so any C++11
2548 1.3 skrll code that uses those classes and has been compiled and linked against
2549 1.3 skrll libstdc++ configured with the non-default --enable-libstdcxx-time=
2550 1.3 skrll configuration option needs to be recompiled.
2551 1.3 skrll
2552 1.3 skrll GCC 4.8.2
2553 1.3 skrll
2554 1.3 skrll This is the [34]list of problem reports (PRs) from GCC's bug tracking
2555 1.3 skrll system that are known to be fixed in the 4.8.2 release. This list might
2556 1.3 skrll not be complete (that is, it is possible that some PRs that have been
2557 1.3 skrll fixed are not listed here).
2558 1.3 skrll
2559 1.3 skrll GCC 4.8.3
2560 1.3 skrll
2561 1.3 skrll This is the [35]list of problem reports (PRs) from GCC's bug tracking
2562 1.3 skrll system that are known to be fixed in the 4.8.3 release. This list might
2563 1.3 skrll not be complete (that is, it is possible that some PRs that have been
2564 1.3 skrll fixed are not listed here).
2565 1.3 skrll
2566 1.3 skrll Support for the new powerpc64le-linux platform has been added. It
2567 1.3 skrll defaults to generating code that conforms to the ELFV2 ABI.
2568 1.3 skrll
2569 1.4 mrg GCC 4.8.4
2570 1.4 mrg
2571 1.4 mrg This is the [36]list of problem reports (PRs) from GCC's bug tracking
2572 1.4 mrg system that are known to be fixed in the 4.8.4 release. This list might
2573 1.4 mrg not be complete (that is, it is possible that some PRs that have been
2574 1.4 mrg fixed are not listed here).
2575 1.4 mrg
2576 1.4 mrg GCC 4.8.5
2577 1.4 mrg
2578 1.4 mrg This is the [37]list of problem reports (PRs) from GCC's bug tracking
2579 1.4 mrg system that are known to be fixed in the 4.8.5 release. This list might
2580 1.4 mrg not be complete (that is, it is possible that some PRs that have been
2581 1.4 mrg fixed are not listed here).
2582 1.4 mrg
2583 1.3 skrll
2584 1.3 skrll For questions related to the use of GCC, please consult these web
2585 1.4 mrg pages and the [38]GCC manuals. If that fails, the
2586 1.4 mrg [39]gcc-help (a] gcc.gnu.org mailing list might help. Comments on these
2587 1.3 skrll web pages and the development of GCC are welcome on our developer
2588 1.4 mrg list at [40]gcc (a] gcc.gnu.org. All of [41]our lists have public
2589 1.3 skrll archives.
2590 1.3 skrll
2591 1.4 mrg Copyright (C) [42]Free Software Foundation, Inc. Verbatim copying and
2592 1.3 skrll distribution of this entire article is permitted in any medium,
2593 1.3 skrll provided this notice is preserved.
2594 1.3 skrll
2595 1.4 mrg These pages are [43]maintained by the GCC team. Last modified
2596 1.7 mrg 2017-02-27[44].
2597 1.3 skrll
2598 1.3 skrll References
2599 1.3 skrll
2600 1.4 mrg 1. https://gcc.gnu.org/wiki/cxx-conversion
2601 1.3 skrll 2. ftp://gcc.gnu.org/pub/gcc/infrastructure/
2602 1.3 skrll 3. http://www.nongnu.org/avr-libc/
2603 1.4 mrg 4. https://gcc.gnu.org/PR54461
2604 1.4 mrg 5. https://gcc.gnu.org/gcc-4.8/porting_to.html
2605 1.5 mrg 6. https://github.com/google/sanitizers
2606 1.6 mrg 7. https://code.google.com/archive/p/data-race-test/wikis/ThreadSanitizer.wiki
2607 1.3 skrll 8. https://lkml.org/lkml/2006/11/28/239
2608 1.3 skrll 9. http://gcc.gnu.org/gcc-4.8/cxx0x_status.html
2609 1.3 skrll 10. http://gcc.gnu.org/gcc-4.8/cxx0x_status.html
2610 1.3 skrll 11. http://gcc.gnu.org/gcc-4.8/cxx0x_status.html
2611 1.3 skrll 12. http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2011/n3276.pdf
2612 1.3 skrll 13. http://gcc.gnu.org/gcc-4.8/cxx0x_status.html
2613 1.3 skrll 14. http://www.open-std.org/JTC1/SC22/WG21/docs/papers/2012/n3386.html
2614 1.3 skrll 15. http://gcc.gnu.org/projects/cxx1y.html
2615 1.4 mrg 16. https://gcc.gnu.org/onlinedocs/gcc-4.8.4/libstdc++/manual/manual/status.html#status.iso.2011
2616 1.4 mrg 17. https://gcc.gnu.org/onlinedocs/gfortran/BACKTRACE.html
2617 1.4 mrg 18. https://gcc.gnu.org/onlinedocs/gfortran/Error-and-Warning-Options.html
2618 1.4 mrg 19. https://gcc.gnu.org/onlinedocs/gfortran/Error-and-Warning-Options.html
2619 1.4 mrg 20. https://gcc.gnu.org/onlinedocs/gfortran/Code-Gen-Options.html
2620 1.4 mrg 21. https://gcc.gnu.org/onlinedocs/gfortran/Error-and-Warning-Options.html
2621 1.4 mrg 22. https://gcc.gnu.org/onlinedocs/gfortran/Error-and-Warning-Options.html
2622 1.4 mrg 23. https://gcc.gnu.org/onlinedocs/gfortran/TMPDIR.html
2623 1.4 mrg 24. https://gcc.gnu.org/wiki/Fortran2003Status
2624 1.4 mrg 25. https://gcc.gnu.org/wiki/TS29113Status
2625 1.7 mrg 26. https://gcc.gnu.org/viewcvs/trunk/libgfortran/libgfortran.h?content-type=text/plain&view=co
2626 1.3 skrll 27. http://chasm-interop.sourceforge.net/
2627 1.4 mrg 28. https://gcc.gnu.org/wiki/avr-gcc#Fixed-Point_Support
2628 1.4 mrg 29. https://gcc.gnu.org/onlinedocs/gcc/Fixed-Point.html
2629 1.6 mrg 30. https://gcc.gnu.org/onlinedocs/gcc/x86-Built-in-Functions.html
2630 1.6 mrg 31. https://gcc.gnu.org/onlinedocs/gcc/x86-Built-in-Functions.html
2631 1.4 mrg 32. https://gcc.gnu.org/wiki/FunctionMultiVersioning
2632 1.4 mrg 33. https://gcc.gnu.org/bugzilla/buglist.cgi?bug_status=RESOLVED&resolution=FIXED&target_milestone=4.8.1
2633 1.4 mrg 34. https://gcc.gnu.org/bugzilla/buglist.cgi?bug_status=RESOLVED&resolution=FIXED&target_milestone=4.8.2
2634 1.4 mrg 35. https://gcc.gnu.org/bugzilla/buglist.cgi?bug_status=RESOLVED&resolution=FIXED&target_milestone=4.8.3
2635 1.4 mrg 36. https://gcc.gnu.org/bugzilla/buglist.cgi?bug_status=RESOLVED&resolution=FIXED&target_milestone=4.8.4
2636 1.4 mrg 37. https://gcc.gnu.org/bugzilla/buglist.cgi?bug_status=RESOLVED&resolution=FIXED&target_milestone=4.8.5
2637 1.4 mrg 38. https://gcc.gnu.org/onlinedocs/
2638 1.4 mrg 39. mailto:gcc-help (a] gcc.gnu.org
2639 1.4 mrg 40. mailto:gcc (a] gcc.gnu.org
2640 1.4 mrg 41. https://gcc.gnu.org/lists.html
2641 1.4 mrg 42. http://www.fsf.org/
2642 1.4 mrg 43. https://gcc.gnu.org/about.html
2643 1.4 mrg 44. http://validator.w3.org/check/referer
2644 1.3 skrll ======================================================================
2645 1.3 skrll http://gcc.gnu.org/gcc-4.7/index.html
2646 1.3 skrll GCC 4.7 Release Series
2647 1.3 skrll
2648 1.4 mrg June 12, 2014
2649 1.3 skrll
2650 1.3 skrll The [1]GNU project and the GCC developers are pleased to announce the
2651 1.4 mrg release of GCC 4.7.4.
2652 1.3 skrll
2653 1.3 skrll This release is a bug-fix release, containing fixes for regressions in
2654 1.4 mrg GCC 4.7.3 relative to previous releases of GCC.
2655 1.3 skrll
2656 1.7 mrg This release series is no longer maintained.
2657 1.7 mrg
2658 1.3 skrll Release History
2659 1.3 skrll
2660 1.4 mrg GCC 4.7.4
2661 1.4 mrg June 12, 2014 ([2]changes, [3]documentation)
2662 1.4 mrg
2663 1.3 skrll GCC 4.7.3
2664 1.4 mrg April 11, 2013 ([4]changes, [5]documentation)
2665 1.3 skrll
2666 1.3 skrll GCC 4.7.2
2667 1.4 mrg September 20, 2012 ([6]changes, [7]documentation)
2668 1.3 skrll
2669 1.3 skrll GCC 4.7.1
2670 1.4 mrg June 14, 2012 ([8]changes, [9]documentation)
2671 1.3 skrll
2672 1.3 skrll GCC 4.7.0
2673 1.4 mrg March 22, 2012 ([10]changes, [11]documentation)
2674 1.3 skrll
2675 1.3 skrll References and Acknowledgements
2676 1.3 skrll
2677 1.3 skrll GCC used to stand for the GNU C Compiler, but since the compiler
2678 1.3 skrll supports several other languages aside from C, it now stands for the
2679 1.3 skrll GNU Compiler Collection.
2680 1.3 skrll
2681 1.4 mrg A list of [12]successful builds is updated as new information becomes
2682 1.3 skrll available.
2683 1.3 skrll
2684 1.3 skrll The GCC developers would like to thank the numerous people that have
2685 1.3 skrll contributed new features, improvements, bug fixes, and other changes as
2686 1.4 mrg well as test results to GCC. This [13]amazing group of volunteers is
2687 1.3 skrll what makes GCC successful.
2688 1.3 skrll
2689 1.4 mrg For additional information about GCC please refer to the [14]GCC
2690 1.4 mrg project web site or contact the [15]GCC development mailing list.
2691 1.3 skrll
2692 1.4 mrg To obtain GCC please use [16]our mirror sites or [17]our SVN server.
2693 1.3 skrll
2694 1.3 skrll
2695 1.3 skrll For questions related to the use of GCC, please consult these web
2696 1.4 mrg pages and the [18]GCC manuals. If that fails, the
2697 1.4 mrg [19]gcc-help (a] gcc.gnu.org mailing list might help. Comments on these
2698 1.3 skrll web pages and the development of GCC are welcome on our developer
2699 1.4 mrg list at [20]gcc (a] gcc.gnu.org. All of [21]our lists have public
2700 1.3 skrll archives.
2701 1.3 skrll
2702 1.4 mrg Copyright (C) [22]Free Software Foundation, Inc. Verbatim copying and
2703 1.3 skrll distribution of this entire article is permitted in any medium,
2704 1.3 skrll provided this notice is preserved.
2705 1.3 skrll
2706 1.4 mrg These pages are [23]maintained by the GCC team. Last modified
2707 1.7 mrg 2016-09-30[24].
2708 1.3 skrll
2709 1.3 skrll References
2710 1.3 skrll
2711 1.3 skrll 1. http://www.gnu.org/
2712 1.3 skrll 2. http://gcc.gnu.org/gcc-4.7/changes.html
2713 1.4 mrg 3. https://gcc.gnu.org/onlinedocs/4.7.4/
2714 1.3 skrll 4. http://gcc.gnu.org/gcc-4.7/changes.html
2715 1.4 mrg 5. https://gcc.gnu.org/onlinedocs/4.7.3/
2716 1.3 skrll 6. http://gcc.gnu.org/gcc-4.7/changes.html
2717 1.4 mrg 7. https://gcc.gnu.org/onlinedocs/4.7.2/
2718 1.3 skrll 8. http://gcc.gnu.org/gcc-4.7/changes.html
2719 1.4 mrg 9. https://gcc.gnu.org/onlinedocs/4.7.1/
2720 1.4 mrg 10. http://gcc.gnu.org/gcc-4.7/changes.html
2721 1.4 mrg 11. https://gcc.gnu.org/onlinedocs/4.7.0/
2722 1.4 mrg 12. http://gcc.gnu.org/gcc-4.7/buildstat.html
2723 1.4 mrg 13. https://gcc.gnu.org/onlinedocs/gcc/Contributors.html
2724 1.4 mrg 14. http://gcc.gnu.org/index.html
2725 1.4 mrg 15. mailto:gcc (a] gcc.gnu.org
2726 1.4 mrg 16. http://gcc.gnu.org/mirrors.html
2727 1.4 mrg 17. http://gcc.gnu.org/svn.html
2728 1.4 mrg 18. https://gcc.gnu.org/onlinedocs/
2729 1.4 mrg 19. mailto:gcc-help (a] gcc.gnu.org
2730 1.4 mrg 20. mailto:gcc (a] gcc.gnu.org
2731 1.4 mrg 21. https://gcc.gnu.org/lists.html
2732 1.4 mrg 22. http://www.fsf.org/
2733 1.4 mrg 23. https://gcc.gnu.org/about.html
2734 1.4 mrg 24. http://validator.w3.org/check/referer
2735 1.3 skrll ======================================================================
2736 1.3 skrll http://gcc.gnu.org/gcc-4.7/changes.html
2737 1.3 skrll GCC 4.7 Release Series
2738 1.3 skrll Changes, New Features, and Fixes
2739 1.3 skrll
2740 1.3 skrll Caveats
2741 1.3 skrll
2742 1.3 skrll * The -fconserve-space flag has been deprecated. The flag had no
2743 1.3 skrll effect for most targets: only targets without a global .bss section
2744 1.3 skrll and without support for switchable sections. Furthermore, the flag
2745 1.3 skrll only had an effect for G++, where it could result in wrong
2746 1.3 skrll semantics (please refer to the GCC manual for further details). The
2747 1.3 skrll flag will be removed in GCC 4.8
2748 1.3 skrll * Support for a number of older systems and recently unmaintained or
2749 1.3 skrll untested target ports of GCC has been declared obsolete in GCC 4.7.
2750 1.3 skrll Unless there is activity to revive them, the next release of GCC
2751 1.3 skrll will have their sources permanently removed.
2752 1.3 skrll All GCC ports for the following processor architectures have been
2753 1.3 skrll declared obsolete:
2754 1.3 skrll + picoChip (picochip-*)
2755 1.3 skrll The following ports for individual systems on particular
2756 1.3 skrll architectures have been obsoleted:
2757 1.3 skrll + IRIX 6.5 (mips-sgi-irix6.5)
2758 1.3 skrll + MIPS OpenBSD (mips*-*-openbsd*)
2759 1.3 skrll + Solaris 8 (*-*-solaris2.8). Details can be found in the
2760 1.3 skrll [1]announcement.
2761 1.3 skrll + Tru64 UNIX V5.1 (alpha*-dec-osf5.1*)
2762 1.3 skrll * On ARM, when compiling for ARMv6 (but not ARMv6-M), ARMv7-A,
2763 1.3 skrll ARMv7-R, or ARMv7-M, the new option -munaligned-access is active by
2764 1.3 skrll default, which for some sources generates code that accesses memory
2765 1.3 skrll on unaligned addresses. This requires the kernel of those systems
2766 1.3 skrll to enable such accesses (controlled by CP15 register c1, refer to
2767 1.3 skrll ARM documentation). Alternatively, or for compatibility with
2768 1.3 skrll kernels where unaligned accesses are not supported, all code has to
2769 1.3 skrll be compiled with -mno-unaligned-access. Upstream Linux kernel
2770 1.3 skrll releases have automatically and unconditionally supported unaligned
2771 1.3 skrll accesses as emitted by GCC due to this option being active since
2772 1.3 skrll version 2.6.28.
2773 1.3 skrll * Support on ARM for the legacy floating-point accelerator (FPA) and
2774 1.3 skrll the mixed-endian floating-point format that it used has been
2775 1.3 skrll obsoleted. The ports that still use this format have been obsoleted
2776 1.3 skrll as well. Many legacy ARM ports already provide an alternative that
2777 1.3 skrll uses the VFP floating-point format. The obsolete ports will be
2778 1.3 skrll deleted in the next release.
2779 1.3 skrll The obsolete ports with alternatives are:
2780 1.3 skrll + arm*-*-rtems (use arm*-*-rtemseabi)
2781 1.3 skrll + arm*-*-linux-gnu (use arm*-*-linux-gnueabi)
2782 1.3 skrll + arm*-*-elf (use arm*-*-eabi)
2783 1.3 skrll + arm*-*-uclinux* (use arm*-*-uclinux*eabi)
2784 1.3 skrll Note, however, that these alternatives are not binary compatible
2785 1.3 skrll with their legacy counterparts (although some can support running
2786 1.3 skrll legacy applications).
2787 1.3 skrll The obsolete ports that currently lack a modern alternative are:
2788 1.3 skrll + arm*-*-ecos-elf
2789 1.3 skrll + arm*-*-freebsd
2790 1.3 skrll + arm*-wince-pe*
2791 1.3 skrll New ports that support more recent versions of the architecture are
2792 1.3 skrll welcome.
2793 1.3 skrll * Support for the Maverick co-processor on ARM has been obsoleted.
2794 1.3 skrll Code to support it will be deleted in the next release.
2795 1.3 skrll * Support has been removed for Unix International threads on Solaris
2796 1.3 skrll 2, so the --enable-threads=solaris configure option and the
2797 1.3 skrll -threads compiler option don't work any longer.
2798 1.3 skrll * Support has been removed for the Solaris BSD Compatibility Package,
2799 1.3 skrll which lives in /usr/ucbinclude and /usr/ucblib. It has been removed
2800 1.3 skrll from Solaris 11, and was only intended as a migration aid from
2801 1.3 skrll SunOS 4 to SunOS 5. The -compat-bsd compiler option is not
2802 1.3 skrll recognized any longer.
2803 1.3 skrll * The AVR port's libgcc has been improved and its multilib structure
2804 1.3 skrll has been enhanced. As a result, all objects contributing to an
2805 1.3 skrll application must either be compiled with GCC versions up to 4.6.x
2806 1.3 skrll or with GCC versions 4.7.1 or later. If the compiler is used with
2807 1.3 skrll AVR Libc, you need a version that supports the new layout, i.e.
2808 1.3 skrll implements [2]#35407.
2809 1.3 skrll * The AVR port's -mshort-calls command-line option has been
2810 1.3 skrll deprecated. It will be removed in the GCC 4.8 release. See -mrelax
2811 1.3 skrll for a replacement.
2812 1.3 skrll * The AVR port only references startup code that clears .bss and the
2813 1.3 skrll common section resp. initializes the .data and .rodata section
2814 1.3 skrll provided respective sections (or subsections thereof) are not
2815 1.3 skrll empty, see [3]PR18145. Applications that put all static storage
2816 1.3 skrll objects into non-standard sections and / or define all static
2817 1.3 skrll storage objects in assembler modules, must reference __do_clear_bss
2818 1.3 skrll resp. __do_copy_data by hand or undefine the symbol(s) by means of
2819 1.3 skrll -Wl,-u,__do_clear_bss resp. -Wl,-u,__do_copy_data.
2820 1.3 skrll * The ARM port's -mwords-little-endian option has been deprecated. It
2821 1.3 skrll will be removed in a future release.
2822 1.3 skrll * Support has been removed for the NetWare x86 configuration
2823 1.3 skrll obsoleted in GCC 4.6.
2824 1.3 skrll * It is no longer possible to use the "l" constraint in MIPS16 asm
2825 1.3 skrll statements.
2826 1.3 skrll * GCC versions 4.7.0 and 4.7.1 had changes to the C++ standard
2827 1.3 skrll library which affected the ABI in C++11 mode: a data member was
2828 1.3 skrll added to std::list changing its size and altering the definitions
2829 1.3 skrll of some member functions, and std::pair's move constructor was
2830 1.3 skrll non-trivial which altered the calling convention for functions with
2831 1.3 skrll std::pair arguments or return types. The ABI incompatibilities have
2832 1.3 skrll been fixed for GCC version 4.7.2 but as a result C++11 code
2833 1.3 skrll compiled with GCC 4.7.0 or 4.7.1 may be incompatible with C++11
2834 1.3 skrll code compiled with different GCC versions and with C++98/C++03 code
2835 1.3 skrll compiled with any version.
2836 1.3 skrll * On ARM, a bug has been fixed in GCC's implementation of the AAPCS
2837 1.3 skrll rules for the layout of vectors that could lead to wrong code being
2838 1.3 skrll generated. Vectors larger than 8 bytes in size are now by default
2839 1.3 skrll aligned to an 8-byte boundary. This is an ABI change: code that
2840 1.3 skrll makes explicit use of vector types may be incompatible with binary
2841 1.3 skrll objects built with older versions of GCC. Auto-vectorized code is
2842 1.3 skrll not affected by this change. (This change affects GCC versions
2843 1.3 skrll 4.7.2 and later.)
2844 1.3 skrll * More information on porting to GCC 4.7 from previous versions of
2845 1.3 skrll GCC can be found in the [4]porting guide for this release.
2846 1.3 skrll
2847 1.3 skrll General Optimizer Improvements
2848 1.3 skrll
2849 1.3 skrll * Support for a new parameter --param case-values-threshold=n was
2850 1.3 skrll added to allow users to control the cutoff between doing switch
2851 1.3 skrll statements as a series of if statements and using a jump table.
2852 1.3 skrll * Link-time optimization (LTO) improvements:
2853 1.3 skrll + Improved scalability and reduced memory usage. Link time
2854 1.3 skrll optimization of Firefox now requires 3GB of RAM on a 64-bit
2855 1.3 skrll system, while over 8GB was needed previously. Linking time has
2856 1.3 skrll been improved, too. The serial stage of linking Firefox has
2857 1.3 skrll been sped up by about a factor of 10.
2858 1.3 skrll + Reduced size of object files and temporary storage used during
2859 1.3 skrll linking.
2860 1.3 skrll + Streaming performance (both outbound and inbound) has been
2861 1.3 skrll improved.
2862 1.3 skrll + ld -r is now supported with LTO.
2863 1.3 skrll + Several bug fixes, especially in symbol table handling and
2864 1.3 skrll merging.
2865 1.3 skrll * Interprocedural optimization improvements:
2866 1.3 skrll + Heuristics now take into account that after inlining code will
2867 1.3 skrll be optimized out because of known values (or properties) of
2868 1.3 skrll function parameters. For example:
2869 1.3 skrll void foo(int a)
2870 1.3 skrll {
2871 1.3 skrll if (a > 10)
2872 1.3 skrll ... huge code ...
2873 1.3 skrll }
2874 1.3 skrll void bar (void)
2875 1.3 skrll {
2876 1.3 skrll foo (0);
2877 1.3 skrll }
2878 1.3 skrll
2879 1.3 skrll The call of foo will be inlined into bar even when optimizing
2880 1.3 skrll for code size. Constructs based on __builtin_constant_p are
2881 1.3 skrll now understood by the inliner and code size estimates are
2882 1.3 skrll evaluated a lot more realistically.
2883 1.3 skrll + The representation of C++ virtual thunks and aliases (both
2884 1.3 skrll implicit and defined via the alias attribute) has been
2885 1.3 skrll re-engineered. Aliases no longer pose optimization barriers
2886 1.3 skrll and calls to an alias can be inlined and otherwise optimized.
2887 1.3 skrll + The inter-procedural constant propagation pass has been
2888 1.3 skrll rewritten. It now performs generic function specialization.
2889 1.3 skrll For example when compiling the following:
2890 1.3 skrll void foo(bool flag)
2891 1.3 skrll {
2892 1.3 skrll if (flag)
2893 1.3 skrll ... do something ...
2894 1.3 skrll else
2895 1.3 skrll ... do something else ...
2896 1.3 skrll }
2897 1.3 skrll void bar (void)
2898 1.3 skrll {
2899 1.3 skrll foo (false);
2900 1.3 skrll foo (true);
2901 1.3 skrll foo (false);
2902 1.3 skrll foo (true);
2903 1.3 skrll foo (false);
2904 1.3 skrll foo (true);
2905 1.3 skrll }
2906 1.3 skrll
2907 1.3 skrll GCC will now produce two copies of foo. One with flag being
2908 1.3 skrll true, while other with flag being false. This leads to
2909 1.3 skrll performance improvements previously possible only by inlining
2910 1.3 skrll all calls. Cloning causes a lot less code size growth.
2911 1.3 skrll * A string length optimization pass has been added. It attempts to
2912 1.3 skrll track string lengths and optimize various standard C string
2913 1.3 skrll functions like strlen, strchr, strcpy, strcat, stpcpy and their
2914 1.3 skrll _FORTIFY_SOURCE counterparts into faster alternatives. This pass is
2915 1.3 skrll enabled by default at -O2 or above, unless optimizing for size, and
2916 1.3 skrll can be disabled by the -fno-optimize-strlen option. The pass can
2917 1.3 skrll e.g. optimize
2918 1.3 skrll char *bar (const char *a)
2919 1.3 skrll {
2920 1.3 skrll size_t l = strlen (a) + 2;
2921 1.3 skrll char *p = malloc (l); if (p == NULL) return p;
2922 1.3 skrll strcpy (p, a); strcat (p, "/"); return p;
2923 1.3 skrll }
2924 1.3 skrll
2925 1.3 skrll into:
2926 1.3 skrll char *bar (const char *a)
2927 1.3 skrll {
2928 1.3 skrll size_t tmp = strlen (a);
2929 1.3 skrll char *p = malloc (tmp + 2); if (p == NULL) return p;
2930 1.3 skrll memcpy (p, a, tmp); memcpy (p + tmp, "/", 2); return p;
2931 1.3 skrll }
2932 1.3 skrll
2933 1.3 skrll or for hosted compilations where stpcpy is available in the runtime
2934 1.3 skrll and headers provide its prototype, e.g.
2935 1.3 skrll void foo (char *a, const char *b, const char *c, const char *d)
2936 1.3 skrll {
2937 1.3 skrll strcpy (a, b); strcat (a, c); strcat (a, d);
2938 1.3 skrll }
2939 1.3 skrll
2940 1.3 skrll can be optimized into:
2941 1.3 skrll void foo (char *a, const char *b, const char *c, const char *d)
2942 1.3 skrll {
2943 1.3 skrll strcpy (stpcpy (stpcpy (a, b), c), d);
2944 1.3 skrll }
2945 1.3 skrll
2946 1.3 skrll New Languages and Language specific improvements
2947 1.3 skrll
2948 1.3 skrll * Version 3.1 of the [5]OpenMP specification is now supported for the
2949 1.3 skrll C, C++, and Fortran compilers.
2950 1.3 skrll
2951 1.3 skrll Ada
2952 1.3 skrll
2953 1.3 skrll * The command-line option -feliminate-unused-debug-types has been
2954 1.3 skrll re-enabled by default, as it is for the other languages, leading to
2955 1.3 skrll a reduction in debug info size of 12.5% and more for relevant
2956 1.3 skrll cases, as well as to a small compilation speedup.
2957 1.3 skrll
2958 1.3 skrll C family
2959 1.3 skrll
2960 1.3 skrll * A new built-in, __builtin_assume_aligned, has been added, through
2961 1.3 skrll which the compiler can be hinted about pointer alignment and can
2962 1.3 skrll use it to improve generated code.
2963 1.3 skrll * A new warning option -Wunused-local-typedefs was added for C, C++,
2964 1.3 skrll Objective-C and Objective-C++. This warning diagnoses typedefs
2965 1.3 skrll locally defined in a function, and otherwise not used.
2966 1.3 skrll * A new experimental command-line option -ftrack-macro-expansion was
2967 1.3 skrll added for C, C++, Objective-C, Objective-C++ and Fortran. It allows
2968 1.3 skrll the compiler to emit diagnostic about the current macro expansion
2969 1.3 skrll stack when a compilation error occurs in a macro expansion.
2970 1.3 skrll * Experimental support for transactional memory has been added. It
2971 1.3 skrll includes support in the compiler, as well as a supporting runtime
2972 1.3 skrll library called libitm. To compile code with transactional memory
2973 1.3 skrll constructs, use the -fgnu-tm option.
2974 1.3 skrll Support is currently available for Alpha, ARM, PowerPC, SH, SPARC,
2975 1.3 skrll and 32-bit/64-bit x86 platforms.
2976 1.3 skrll For more details on transactional memory see [6]the GCC WiKi.
2977 1.3 skrll * Support for atomic operations specifying the C++11/C11 memory model
2978 1.3 skrll has been added. These new __atomic routines replace the existing
2979 1.3 skrll __sync built-in routines.
2980 1.3 skrll Atomic support is also available for memory blocks. Lock-free
2981 1.3 skrll instructions will be used if a memory block is the same size and
2982 1.3 skrll alignment as a supported integer type. Atomic operations which do
2983 1.3 skrll not have lock-free support are left as function calls. A set of
2984 1.3 skrll library functions is available on the GCC atomic wiki in the
2985 1.3 skrll "External Atomics Library" section.
2986 1.3 skrll For more details on the memory models and features, see the
2987 1.3 skrll [7]atomic wiki.
2988 1.3 skrll * When a binary operation is performed on vector types and one of the
2989 1.3 skrll operands is a uniform vector, it is possible to replace the vector
2990 1.3 skrll with the generating element. For example:
2991 1.3 skrll typedef int v4si __attribute__ ((vector_size (16)));
2992 1.3 skrll v4si res, a = {1,2,3,4};
2993 1.3 skrll int x;
2994 1.3 skrll
2995 1.3 skrll res = 2 + a; /* means {2,2,2,2} + a */
2996 1.3 skrll res = a - x; /* means a - {x,x,x,x} */
2997 1.3 skrll
2998 1.3 skrll C
2999 1.3 skrll
3000 1.3 skrll * There is support for some more features from the C11 revision of
3001 1.3 skrll the ISO C standard. GCC now accepts the options -std=c11 and
3002 1.3 skrll -std=gnu11, in addition to the previous -std=c1x and -std=gnu1x.
3003 1.3 skrll + Unicode strings (previously supported only with options such
3004 1.3 skrll as -std=gnu11, now supported with -std=c11), and the
3005 1.3 skrll predefined macros __STDC_UTF_16__ and __STDC_UTF_32__.
3006 1.3 skrll + Nonreturning functions (_Noreturn and <stdnoreturn.h>).
3007 1.3 skrll + Alignment support (_Alignas, _Alignof, max_align_t,
3008 1.3 skrll <stdalign.h>).
3009 1.3 skrll + A built-in function __builtin_complex is provided to support C
3010 1.3 skrll library implementation of the CMPLX family of macros.
3011 1.3 skrll
3012 1.3 skrll C++
3013 1.3 skrll
3014 1.3 skrll * G++ now accepts the -std=c++11, -std=gnu++11, and -Wc++11-compat
3015 1.3 skrll options, which are equivalent to -std=c++0x, -std=gnu++0x, and
3016 1.3 skrll -Wc++0x-compat, respectively.
3017 1.3 skrll * G++ now implements [8]C++11 extended friend syntax:
3018 1.3 skrll
3019 1.3 skrll template<class W>
3020 1.3 skrll class Q
3021 1.3 skrll {
3022 1.3 skrll static const int I = 2;
3023 1.3 skrll public:
3024 1.3 skrll friend W;
3025 1.3 skrll };
3026 1.3 skrll
3027 1.3 skrll struct B
3028 1.3 skrll {
3029 1.3 skrll int ar[Q<B>::I];
3030 1.3 skrll };
3031 1.3 skrll
3032 1.3 skrll * Thanks to Ville Voutilainen, G++ now implements [9]C++11 explicit
3033 1.3 skrll override control.
3034 1.3 skrll
3035 1.3 skrll struct B {
3036 1.3 skrll virtual void f() const final;
3037 1.3 skrll virtual void f(int);
3038 1.3 skrll };
3039 1.3 skrll
3040 1.3 skrll struct D : B {
3041 1.3 skrll void f() const; // error: D::f attempts to override final B::f
3042 1.3 skrll void f(long) override; // error: doesn't override anything
3043 1.3 skrll void f(int) override; // ok
3044 1.3 skrll };
3045 1.3 skrll
3046 1.3 skrll struct E final { };
3047 1.3 skrll struct F: E { }; // error: deriving from final class
3048 1.3 skrll
3049 1.3 skrll * G++ now implements [10]C++11 non-static data member initializers.
3050 1.3 skrll
3051 1.3 skrll struct A {
3052 1.3 skrll int i = 42;
3053 1.3 skrll } a; // initializes a.i to 42
3054 1.3 skrll
3055 1.3 skrll * Thanks to Ed Smith-Rowland, G++ now implements [11]C++11
3056 1.3 skrll user-defined literals.
3057 1.3 skrll
3058 1.3 skrll // Not actually a good approximation. :)
3059 1.3 skrll constexpr long double operator"" _degrees (long double d) { return d * 0.0175; }
3060 1.3 skrll long double pi = 180.0_degrees;
3061 1.3 skrll
3062 1.3 skrll * G++ now implements [12]C++11 alias-declarations.
3063 1.3 skrll
3064 1.3 skrll template <class T> using Ptr = T*;
3065 1.3 skrll Ptr<int> ip; // decltype(ip) is int*
3066 1.3 skrll
3067 1.7 mrg * Thanks to Ville Voutilainen and Pedro Lamaro, G++ now implements
3068 1.3 skrll [13]C++11 delegating constructors.
3069 1.3 skrll
3070 1.3 skrll struct A {
3071 1.3 skrll A(int);
3072 1.3 skrll A(): A(42) { } // delegate to the A(int) constructor
3073 1.3 skrll };
3074 1.3 skrll
3075 1.3 skrll * G++ now fully implements C++11 atomic classes rather than just
3076 1.3 skrll integer derived classes.
3077 1.3 skrll
3078 1.3 skrll class POD {
3079 1.3 skrll int a;
3080 1.3 skrll int b;
3081 1.3 skrll };
3082 1.3 skrll std::atomic<POD> my_atomic_POD;
3083 1.3 skrll
3084 1.3 skrll * G++ now sets the predefined macro __cplusplus to the correct value,
3085 1.3 skrll 199711L for C++98/03, and 201103L for C++11.
3086 1.3 skrll * G++ now correctly implements the two-phase lookup rules such that
3087 1.3 skrll an unqualified name used in a template must have an appropriate
3088 1.3 skrll declaration found either in scope at the point of definition of the
3089 1.3 skrll template or by argument-dependent lookup at the point of
3090 1.3 skrll instantiation. As a result, code that relies on a second
3091 1.3 skrll unqualified lookup at the point of instantiation to find functions
3092 1.3 skrll declared after the template or in dependent bases will be rejected.
3093 1.3 skrll The compiler will suggest ways to fix affected code, and using the
3094 1.3 skrll -fpermissive compiler flag will allow the code to compile with a
3095 1.3 skrll warning.
3096 1.3 skrll
3097 1.3 skrll template <class T>
3098 1.3 skrll void f() { g(T()); } // error, g(int) not found by argument-dependent lookup
3099 1.3 skrll void g(int) { } // fix by moving this declaration before the declaration of f
3100 1.3 skrll
3101 1.3 skrll template <class T>
3102 1.3 skrll struct A: T {
3103 1.3 skrll // error, B::g(B) not found by argument-dependent lookup
3104 1.3 skrll void f() { g(T()); } // fix by using this->g or A::g
3105 1.3 skrll };
3106 1.3 skrll
3107 1.3 skrll struct B { void g(B); };
3108 1.3 skrll
3109 1.3 skrll int main()
3110 1.3 skrll {
3111 1.3 skrll f<int>();
3112 1.3 skrll A<B>().f();
3113 1.3 skrll }
3114 1.3 skrll
3115 1.3 skrll * G++ now properly re-uses stack space allocated for temporary
3116 1.3 skrll objects when their lifetime ends, which can significantly lower
3117 1.3 skrll stack consumption for some C++ functions. As a result of this, some
3118 1.3 skrll code with undefined behavior will now break:
3119 1.3 skrll
3120 1.3 skrll const int &f(const int &i) { return i; }
3121 1.3 skrll ....
3122 1.3 skrll const int &x = f(1);
3123 1.3 skrll const int &y = f(2);
3124 1.3 skrll
3125 1.3 skrll Here, x refers to the temporary allocated to hold the 1 argument,
3126 1.3 skrll which only lives until the end of the initialization; it
3127 1.3 skrll immediately becomes a dangling reference. So the next statement
3128 1.3 skrll re-uses the stack slot to hold the 2 argument, and users of x get
3129 1.3 skrll that value instead.
3130 1.3 skrll Note that this should not cause any change of behavior for
3131 1.3 skrll temporaries of types with non-trivial destructors, as they are
3132 1.3 skrll already destroyed at end of full-expression; the change is that now
3133 1.3 skrll the storage is released as well.
3134 1.3 skrll * A new command-line option -Wdelete-non-virtual-dtor has been added
3135 1.3 skrll to warn when delete is used to destroy an instance of a class which
3136 1.3 skrll has virtual functions and non-virtual destructor. It is unsafe to
3137 1.3 skrll delete an instance of a derived class through a pointer to a base
3138 1.3 skrll class if the base class does not have a virtual destructor. This
3139 1.3 skrll warning is enabled by -Wall.
3140 1.3 skrll * A new command-line option -Wzero-as-null-pointer-constant has been
3141 1.3 skrll added to warn when a literal '0' is used as null pointer constant.
3142 1.3 skrll It can be useful to facilitate the conversion to nullptr in C++11.
3143 1.3 skrll * As per C++98, access-declarations are now deprecated by G++.
3144 1.3 skrll Using-declarations are to be used instead. Furthermore, some
3145 1.3 skrll efforts have been made to improve the support of class scope
3146 1.3 skrll using-declarations. In particular, using-declarations referring to
3147 1.3 skrll a dependent type now work as expected ([14]bug c++/14258).
3148 1.3 skrll * The ELF symbol visibility of a template instantiation is now
3149 1.3 skrll properly constrained by the visibility of its template arguments
3150 1.3 skrll ([15]bug c++/35688).
3151 1.3 skrll
3152 1.3 skrll Runtime Library (libstdc++)
3153 1.3 skrll
3154 1.3 skrll * [16]Improved experimental support for the new ISO C++ standard,
3155 1.3 skrll C++11, including:
3156 1.3 skrll + using noexcept in most of the library;
3157 1.3 skrll + implementations of pointer_traits, allocator_traits and
3158 1.3 skrll scoped_allocator_adaptor;
3159 1.3 skrll + uses-allocator construction for tuple;
3160 1.3 skrll + vector meets the allocator-aware container requirements;
3161 1.3 skrll + replacing monotonic_clock with steady_clock;
3162 1.3 skrll + enabling the thread support library on most POSIX targets;
3163 1.3 skrll + many small improvements to conform to the FDIS.
3164 1.3 skrll * Added --enable-clocale=newlib configure option.
3165 1.3 skrll * Debug Mode iterators for unordered associative containers.
3166 1.3 skrll * Avoid polluting the global namespace and do not include <unistd.h>.
3167 1.3 skrll
3168 1.3 skrll Fortran
3169 1.3 skrll
3170 1.3 skrll * The compile flag [17]-fstack-arrays has been added, which causes
3171 1.3 skrll all local arrays to be put on stack memory. For some programs this
3172 1.3 skrll will improve the performance significantly. If your program uses
3173 1.3 skrll very large local arrays, it is possible that you will have to
3174 1.3 skrll extend your runtime limits for stack memory.
3175 1.3 skrll * The [18]-Ofast flag now also implies [19]-fno-protect-parens and
3176 1.3 skrll [20]-fstack-arrays.
3177 1.3 skrll * Front-end optimizations can now be selected by the
3178 1.3 skrll [21]-ffrontend-optimize option and deselected by the
3179 1.3 skrll -fno-frontend-optimize option.
3180 1.3 skrll * When front-end optimization removes a function call,
3181 1.3 skrll [22]-Wfunction-elimination warns about that.
3182 1.3 skrll * When performing front-end-optimization, the
3183 1.3 skrll [23]-faggressive-function-elimination option allows the removal of
3184 1.3 skrll duplicate function calls even for impure functions.
3185 1.3 skrll * The flag [24]-Wreal-q-constant has been added, which warns if
3186 1.3 skrll floating-point literals have been specified using q (such as
3187 1.3 skrll 1.0q0); the q marker is now supported as a vendor extension to
3188 1.3 skrll denote quad precision (REAL(16) or, if not available, REAL(10)).
3189 1.3 skrll Consider using a kind parameter (such as in 1.0_qp) instead, which
3190 1.3 skrll can be obtained via [25]SELECTED_REAL_KIND.
3191 1.3 skrll * The GFORTRAN_USE_STDERR environment variable has been removed. GNU
3192 1.3 skrll Fortran now always prints error messages to standard error. If you
3193 1.3 skrll wish to redirect standard error, please consult the manual for your
3194 1.3 skrll OS, shell, batch environment etc. as appropriate.
3195 1.3 skrll * The -fdump-core option and GFORTRAN_ERROR_DUMPCORE environment
3196 1.3 skrll variable have been removed. When encountering a serious error,
3197 1.3 skrll gfortran will now always abort the program. Whether a core dump is
3198 1.3 skrll generated depends on the user environment settings; see the ulimit
3199 1.3 skrll -c setting for POSIX shells, limit coredumpsize for C shells, and
3200 1.3 skrll the [26]WER user-mode dumps settings on Windows.
3201 1.3 skrll * The [27]-fbacktrace option is now enabled by default. When
3202 1.3 skrll encountering a fatal error, gfortran will attempt to print a
3203 1.3 skrll backtrace to standard error before aborting. It can be disabled
3204 1.3 skrll with -fno-backtrace. Note: On POSIX targets with the addr2line
3205 1.3 skrll utility from GNU binutils, GNU Fortran can print a backtrace with
3206 1.3 skrll function name, file name, line number information in addition to
3207 1.3 skrll the addresses; otherwise only the addresses are printed.
3208 1.3 skrll * [28]Fortran 2003:
3209 1.3 skrll + Generic interface names which have the same name as derived
3210 1.3 skrll types are now supported, which allows to write constructor
3211 1.3 skrll functions. Note that Fortran does not support static
3212 1.3 skrll constructor functions; only default initialization or an
3213 1.3 skrll explicit structure-constructor initialization are available.
3214 1.3 skrll + [29]Polymorphic (class) arrays are now supported.
3215 1.3 skrll * [30]Fortran 2008:
3216 1.3 skrll + Support for the DO CONCURRENT construct has been added, which
3217 1.3 skrll allows the user to specify that individual loop iterations
3218 1.3 skrll have no interdependencies.
3219 1.3 skrll + [31]Coarrays: Full single-image support except for polymorphic
3220 1.3 skrll coarrays. Additionally, preliminary support for multiple
3221 1.3 skrll images via an MPI-based [32]coarray communication library has
3222 1.3 skrll been added. Note: The library version is not yet usable as
3223 1.3 skrll remote coarray access is not yet possible.
3224 1.3 skrll * [33]TS 29113:
3225 1.3 skrll + New flag [34]-std=f2008ts permits programs that are expected
3226 1.3 skrll to conform to the Fortran 2008 standard and the draft
3227 1.3 skrll Technical Specification (TS) 29113 on Further Interoperability
3228 1.3 skrll of Fortran with C.
3229 1.3 skrll + The OPTIONAL attribute is now allowed for dummy arguments of
3230 1.3 skrll BIND(C) procedures.
3231 1.3 skrll + The RANK intrinsic has been added.
3232 1.3 skrll + The implementation of the ASYNCHRONOUS attribute in GCC is
3233 1.3 skrll compatible with the candidate draft of TS 29113 (since GCC
3234 1.3 skrll 4.6).
3235 1.3 skrll
3236 1.3 skrll Go
3237 1.3 skrll
3238 1.3 skrll * GCC 4.7 implements the [35]Go 1 language standard. The library
3239 1.3 skrll support in 4.7.0 is not quite complete, due to release timing.
3240 1.3 skrll Release 4.7.1 includes complete support for Go 1. The Go library is
3241 1.3 skrll from the Go 1.0.1 release.
3242 1.3 skrll * Go has been tested on GNU/Linux and Solaris platforms. It may work
3243 1.3 skrll on other platforms as well.
3244 1.3 skrll
3245 1.3 skrll New Targets and Target Specific Improvements
3246 1.3 skrll
3247 1.3 skrll ARM
3248 1.3 skrll
3249 1.3 skrll * GCC now supports the Cortex-A7 processor implementing the v7-a
3250 1.3 skrll version of the architecture using the option -mcpu=cortex-a7.
3251 1.3 skrll * The default vector size in auto-vectorization for NEON is now 128
3252 1.3 skrll bits. If vectorization fails thusly, the vectorizer tries again
3253 1.3 skrll with 64-bit vectors.
3254 1.3 skrll * A new option -mvectorize-with-neon-double was added to allow users
3255 1.3 skrll to change the vector size to 64 bits.
3256 1.3 skrll
3257 1.3 skrll AVR
3258 1.3 skrll
3259 1.3 skrll * GCC now supports the XMEGA architecture. This requires GNU binutils
3260 1.3 skrll 2.22 or later.
3261 1.7 mrg * Support for the [36]named address spaces __flash, __flash1, ,
3262 1.3 skrll __flash5 and __memx has been added. These address spaces locate
3263 1.3 skrll read-only data in flash memory and allow reading from flash memory
3264 1.3 skrll by means of ordinary C code, i.e. without the need of (inline)
3265 1.3 skrll assembler code:
3266 1.3 skrll
3267 1.3 skrll const __flash int values[] = { 42, 31 };
3268 1.3 skrll
3269 1.3 skrll int add_values (const __flash int *p, int i)
3270 1.3 skrll {
3271 1.3 skrll return values[i] + *p;
3272 1.3 skrll }
3273 1.3 skrll
3274 1.3 skrll * Support has been added for the AVR-specific configure option
3275 1.3 skrll --with-avrlibc=yes in order to arrange for better integration of
3276 1.3 skrll [37]AVR-Libc. This configure option is supported in avr-gcc 4.7.2
3277 1.3 skrll and newer and will only take effect in non-RTEMS configurations. If
3278 1.3 skrll avr-gcc is configured for RTEMS, the option will be ignored which
3279 1.3 skrll is the same as specifying --with-avrlibc=no. See [38]PR54461 for
3280 1.3 skrll more technical details.
3281 1.3 skrll * Support for AVR-specific [39]built-in functions has been added.
3282 1.3 skrll * Support has been added for the signed and unsigned 24-bit scalar
3283 1.3 skrll integer types __int24 and __uint24.
3284 1.3 skrll * New command-line options -maccumulate-args, -mbranch-cost=cost and
3285 1.3 skrll -mstrict-X were added to allow better fine-tuning of code
3286 1.3 skrll optimization.
3287 1.7 mrg * The command-line option -fdata-sections now also takes affect on
3288 1.7 mrg the section names of variables with the progmem attribute.
3289 1.3 skrll * A new inline assembler print modifier %i to print a RAM address as
3290 1.3 skrll I/O address has been added:
3291 1.3 skrll
3292 1.3 skrll #include <avr/io.h> /* Port Definitions from AVR-LibC */
3293 1.3 skrll
3294 1.3 skrll void set_portb (uint8_t value)
3295 1.3 skrll {
3296 1.3 skrll asm volatile ("out %i0, %1" :: "n" (&PORTB), "r" (value) : "memory");
3297 1.3 skrll }
3298 1.3 skrll
3299 1.3 skrll The offset between an I/O address and the RAM address for that I/O
3300 1.3 skrll location is device-specific. This offset is taken into account when
3301 1.3 skrll printing a RAM address with the %i modifier so that the address is
3302 1.3 skrll suitable to be used as operand in an I/O command. The address must
3303 1.3 skrll be a constant integer known at compile time.
3304 1.3 skrll * The inline assembler constraint "R" to represent integers in the
3305 1.7 mrg range 6 5 has been removed without replacement.
3306 1.3 skrll * Many optimizations to:
3307 1.3 skrll + 64-bit integer arithmetic
3308 1.3 skrll + Widening multiplication
3309 1.3 skrll + Integer division by a constant
3310 1.3 skrll + Avoid constant reloading in multi-byte instructions.
3311 1.3 skrll + Micro-optimizations for special instruction sequences.
3312 1.3 skrll + Generic built-in functions like __builtin_ffs*,
3313 1.3 skrll __builtin_clz*, etc.
3314 1.3 skrll + If-else decision trees generated by switch instructions
3315 1.3 skrll + Merging of data located in flash memory
3316 1.3 skrll + New libgcc variants for devices with 8-bit wide stack pointer
3317 1.7 mrg +
3318 1.3 skrll * Better documentation:
3319 1.3 skrll + Handling of EIND and indirect jumps on devices with more than
3320 1.3 skrll 128 KiB of program memory.
3321 1.3 skrll + Handling of the RAMPD, RAMPX, RAMPY and RAMPZ special function
3322 1.3 skrll registers.
3323 1.3 skrll + Function attributes OS_main and OS_task.
3324 1.3 skrll + AVR-specific built-in macros.
3325 1.3 skrll
3326 1.3 skrll C6X
3327 1.3 skrll
3328 1.3 skrll * Support has been added for the Texas Instruments C6X family of
3329 1.3 skrll processors.
3330 1.3 skrll
3331 1.3 skrll CR16
3332 1.3 skrll
3333 1.3 skrll * Support has been added for National Semiconductor's CR16
3334 1.3 skrll architecture.
3335 1.3 skrll
3336 1.3 skrll Epiphany
3337 1.3 skrll
3338 1.3 skrll * Support has been added for Adapteva's Epiphany architecture.
3339 1.3 skrll
3340 1.3 skrll IA-32/x86-64
3341 1.3 skrll
3342 1.3 skrll * Support for Intel AVX2 intrinsics, built-in functions and code
3343 1.3 skrll generation is available via -mavx2.
3344 1.3 skrll * Support for Intel BMI2 intrinsics, built-in functions and code
3345 1.3 skrll generation is available via -mbmi2.
3346 1.3 skrll * Implementation and automatic generation of __builtin_clz* using the
3347 1.3 skrll lzcnt instruction is available via -mlzcnt.
3348 1.3 skrll * Support for Intel FMA3 intrinsics and code generation is available
3349 1.3 skrll via -mfma.
3350 1.3 skrll * A new -mfsgsbase command-line option is available that makes GCC
3351 1.3 skrll generate new segment register read/write instructions through
3352 1.3 skrll dedicated built-ins.
3353 1.3 skrll * Support for the new Intel rdrnd instruction is available via
3354 1.3 skrll -mrdrnd.
3355 1.3 skrll * Two additional AVX vector conversion instructions are available via
3356 1.3 skrll -mf16c.
3357 1.3 skrll * Support for new Intel processor codename IvyBridge with RDRND,
3358 1.3 skrll FSGSBASE and F16C is available through -march=core-avx-i.
3359 1.3 skrll * Support for the new Intel processor codename Haswell with AVX2,
3360 1.3 skrll FMA, BMI, BMI2, LZCNT is available through -march=core-avx2.
3361 1.3 skrll * Support for new AMD family 15h processors (Piledriver core) is now
3362 1.3 skrll available through -march=bdver2 and -mtune=bdver2 options.
3363 1.3 skrll * Support for [40]the x32 psABI is now available through the -mx32
3364 1.3 skrll option.
3365 1.3 skrll * Windows mingw targets are using the -mms-bitfields option by
3366 1.3 skrll default.
3367 1.3 skrll * Windows x86 targets are using the __thiscall calling convention for
3368 1.3 skrll C++ class-member functions.
3369 1.3 skrll * Support for the configure option --with-threads=posix for Windows
3370 1.3 skrll mingw targets.
3371 1.3 skrll
3372 1.3 skrll MIPS
3373 1.3 skrll
3374 1.3 skrll * GCC now supports thread-local storage (TLS) for MIPS16. This
3375 1.3 skrll requires GNU binutils 2.22 or later.
3376 1.3 skrll * GCC can now generate code specifically for the Cavium Octeon+ and
3377 1.3 skrll Octeon2 processors. The associated command-line options are
3378 1.3 skrll -march=octeon+ and -march=octeon2 respectively. Both options
3379 1.3 skrll require GNU binutils 2.22 or later.
3380 1.3 skrll * GCC can now work around certain 24k errata, under the control of
3381 1.3 skrll the command-line option -mfix-24k. These workarounds require GNU
3382 1.3 skrll binutils 2.20 or later.
3383 1.3 skrll * 32-bit MIPS GNU/Linux targets such as mips-linux-gnu can now build
3384 1.3 skrll n32 and n64 multilibs. The result is effectively a 64-bit GNU/Linux
3385 1.3 skrll toolchain that generates 32-bit code by default. Use the
3386 1.3 skrll configure-time option --enable-targets=all to select these extra
3387 1.3 skrll multilibs.
3388 1.3 skrll * Passing -fno-delayed-branch now also stops the assembler from
3389 1.3 skrll automatically filling delay slots.
3390 1.3 skrll
3391 1.3 skrll PowerPC/PowerPC64
3392 1.3 skrll
3393 1.3 skrll * Vectors of type vector long long or vector long are passed and
3394 1.3 skrll returned using the same method as other vectors with the VSX
3395 1.3 skrll instruction set. Previously GCC did not adhere to the ABI for
3396 1.3 skrll 128-bit vectors with 64-bit integer base types (PR 48857). This
3397 1.3 skrll will also be fixed in the GCC 4.6.1 and 4.5.4 releases.
3398 1.3 skrll * A new option -mno-pointers-to-nested-functions was added to allow
3399 1.3 skrll AIX 32-bit/64-bit and GNU/Linux 64-bit PowerPC users to specify
3400 1.3 skrll that the compiler should not load up the chain register (r11)
3401 1.3 skrll before calling a function through a pointer. If you use this
3402 1.3 skrll option, you cannot call nested functions through a pointer, or call
3403 1.3 skrll other languages that might use the static chain.
3404 1.3 skrll * A new option msave-toc-indirect was added to allow AIX
3405 1.3 skrll 32-bit/64-bit and GNU/Linux 64-bit PowerPC users control whether we
3406 1.3 skrll save the TOC in the prologue for indirect calls or generate the
3407 1.3 skrll save inline. This can speed up some programs that call through a
3408 1.3 skrll function pointer a lot, but it can slow down other functions that
3409 1.3 skrll only call through a function pointer in exceptional cases.
3410 1.3 skrll * The PowerPC port will now enable machine-specific built-in
3411 1.3 skrll functions when the user switches the target machine using the
3412 1.3 skrll #pragma GCC target or __attribute__ ((__target__ ("target"))) code
3413 1.3 skrll sequences. In addition, the target macros are updated. However, due
3414 1.3 skrll to the way the -save-temps switch is implemented, you won't see the
3415 1.3 skrll effect of these additional macros being defined in preprocessor
3416 1.3 skrll output.
3417 1.3 skrll
3418 1.3 skrll SH
3419 1.3 skrll
3420 1.3 skrll * A new option -msoft-atomic has been added. When it is specified,
3421 1.3 skrll GCC will generate GNU/Linux-compatible gUSA atomic sequences for
3422 1.3 skrll the new __atomic routines.
3423 1.3 skrll * Since it is neither supported by GAS nor officially documented,
3424 1.3 skrll code generation for little endian SH2A has been disabled.
3425 1.3 skrll Specifying -ml with -m2a* will now result in a compiler error.
3426 1.3 skrll * The defunct -mbranch-cost option has been fixed.
3427 1.3 skrll * Some improvements to the generated code of:
3428 1.3 skrll + Utilization of the tst #imm,R0 instruction.
3429 1.3 skrll + Dynamic shift instructions on SH2A.
3430 1.3 skrll + Integer absolute value calculations.
3431 1.3 skrll * The -mdiv= option for targets other than SHmedia has been fixed and
3432 1.3 skrll documented.
3433 1.3 skrll
3434 1.3 skrll SPARC
3435 1.3 skrll
3436 1.3 skrll * The option -mflat has been reinstated. When it is specified, the
3437 1.3 skrll compiler will generate code for a single register window model.
3438 1.3 skrll This is essentially a new implementation and the corresponding
3439 1.3 skrll debugger support has been added to GDB 7.4.
3440 1.3 skrll * Support for the options -mtune=native and -mcpu=native has been
3441 1.3 skrll added on selected native platforms (GNU/Linux and Solaris).
3442 1.3 skrll * Support for the SPARC T3 (Niagara 3) processor has been added.
3443 1.3 skrll * VIS:
3444 1.3 skrll + An intrinsics header visintrin.h has been added.
3445 1.3 skrll + Builtin intrinsics for the VIS 1.0 edge handling and pixel
3446 1.3 skrll compare instructions have been added.
3447 1.3 skrll + The little-endian version of alignaddr is now supported.
3448 1.3 skrll + When possible, VIS builtins are marked const, which should
3449 1.3 skrll increase the compiler's ability to optimize VIS operations.
3450 1.3 skrll + The compiler now properly tracks the %gsr register and how it
3451 1.3 skrll behaves as an input for various VIS instructions.
3452 1.3 skrll + Akin to fzero, the compiler can now generate fone instructions
3453 1.3 skrll in order to set all of the bits of a floating-point register
3454 1.3 skrll to 1.
3455 1.3 skrll + The documentation for the VIS intrinsics in the GCC manual has
3456 1.3 skrll been brought up to date and many inaccuracies were fixed.
3457 1.3 skrll + Intrinsics for the VIS 2.0 bmask, bshuffle, and
3458 1.3 skrll non-condition-code setting edge instructions have been added.
3459 1.3 skrll Their availability is controlled by the new -mvis2 and
3460 1.3 skrll -mno-vis2 options. They are enabled by default on
3461 1.3 skrll UltraSPARC-III and later CPUs.
3462 1.3 skrll * Support for UltraSPARC Fused Multiply-Add floating-point extensions
3463 1.3 skrll has been added. These instructions are enabled by default on SPARC
3464 1.3 skrll T3 (Niagara 3) and later CPUs.
3465 1.3 skrll
3466 1.3 skrll TILE-Gx/TILEPro
3467 1.3 skrll
3468 1.3 skrll * Support has been added for the Tilera TILE-Gx and TILEPro families
3469 1.3 skrll of processors.
3470 1.3 skrll
3471 1.3 skrll Other significant improvements
3472 1.3 skrll
3473 1.3 skrll * A new option (-grecord-gcc-switches) was added that appends
3474 1.3 skrll compiler command-line options that might affect code generation to
3475 1.3 skrll the DW_AT_producer attribute string in the DWARF debugging
3476 1.3 skrll information.
3477 1.3 skrll * GCC now supports various new GNU extensions to the DWARF debugging
3478 1.3 skrll information format, like [41]entry value and [42]call site
3479 1.3 skrll information, [43]typed DWARF stack or [44]a more compact macro
3480 1.3 skrll representation. Support for these extensions has been added to GDB
3481 1.3 skrll 7.4. They can be disabled through the -gstrict-dwarf command-line
3482 1.3 skrll option.
3483 1.3 skrll
3484 1.3 skrll GCC 4.7.1
3485 1.3 skrll
3486 1.3 skrll This is the [45]list of problem reports (PRs) from GCC's bug tracking
3487 1.3 skrll system that are known to be fixed in the 4.7.1 release. This list might
3488 1.3 skrll not be complete (that is, it is possible that some PRs that have been
3489 1.3 skrll fixed are not listed here).
3490 1.3 skrll
3491 1.3 skrll The Go frontend in the 4.7.1 release fully supports the [46]Go 1
3492 1.3 skrll language standard.
3493 1.3 skrll
3494 1.3 skrll GCC 4.7.2
3495 1.3 skrll
3496 1.3 skrll This is the [47]list of problem reports (PRs) from GCC's bug tracking
3497 1.3 skrll system that are known to be fixed in the 4.7.2 release. This list might
3498 1.3 skrll not be complete (that is, it is possible that some PRs that have been
3499 1.3 skrll fixed are not listed here).
3500 1.3 skrll
3501 1.3 skrll GCC 4.7.3
3502 1.3 skrll
3503 1.3 skrll This is the [48]list of problem reports (PRs) from GCC's bug tracking
3504 1.3 skrll system that are known to be fixed in the 4.7.3 release. This list might
3505 1.3 skrll not be complete (that is, it is possible that some PRs that have been
3506 1.3 skrll fixed are not listed here).
3507 1.3 skrll
3508 1.4 mrg GCC 4.7.4
3509 1.4 mrg
3510 1.4 mrg This is the [49]list of problem reports (PRs) from GCC's bug tracking
3511 1.4 mrg system that are known to be fixed in the 4.7.4 release. This list might
3512 1.4 mrg not be complete (that is, it is possible that some PRs that have been
3513 1.4 mrg fixed are not listed here).
3514 1.4 mrg
3515 1.3 skrll
3516 1.3 skrll For questions related to the use of GCC, please consult these web
3517 1.4 mrg pages and the [50]GCC manuals. If that fails, the
3518 1.4 mrg [51]gcc-help (a] gcc.gnu.org mailing list might help. Comments on these
3519 1.3 skrll web pages and the development of GCC are welcome on our developer
3520 1.4 mrg list at [52]gcc (a] gcc.gnu.org. All of [53]our lists have public
3521 1.3 skrll archives.
3522 1.3 skrll
3523 1.4 mrg Copyright (C) [54]Free Software Foundation, Inc. Verbatim copying and
3524 1.3 skrll distribution of this entire article is permitted in any medium,
3525 1.3 skrll provided this notice is preserved.
3526 1.3 skrll
3527 1.4 mrg These pages are [55]maintained by the GCC team. Last modified
3528 1.7 mrg 2017-03-03[56].
3529 1.3 skrll
3530 1.3 skrll References
3531 1.3 skrll
3532 1.4 mrg 1. https://gcc.gnu.org/ml/gcc-patches/2011-03/msg01263.html
3533 1.3 skrll 2. http://savannah.nongnu.org/bugs/?35407
3534 1.4 mrg 3. https://gcc.gnu.org/PR18145
3535 1.4 mrg 4. https://gcc.gnu.org/gcc-4.7/porting_to.html
3536 1.7 mrg 5. http://www.openmp.org/specifications/
3537 1.4 mrg 6. https://gcc.gnu.org/wiki/TransactionalMemory
3538 1.4 mrg 7. https://gcc.gnu.org/wiki/Atomic/GCCMM
3539 1.3 skrll 8. http://gcc.gnu.org/gcc-4.7/cxx0x_status.html
3540 1.3 skrll 9. http://gcc.gnu.org/gcc-4.7/cxx0x_status.html
3541 1.3 skrll 10. http://gcc.gnu.org/gcc-4.7/cxx0x_status.html
3542 1.3 skrll 11. http://gcc.gnu.org/gcc-4.7/cxx0x_status.html
3543 1.3 skrll 12. http://gcc.gnu.org/gcc-4.7/cxx0x_status.html
3544 1.3 skrll 13. http://gcc.gnu.org/gcc-4.7/cxx0x_status.html
3545 1.4 mrg 14. https://gcc.gnu.org/PR14258
3546 1.4 mrg 15. https://gcc.gnu.org/PR35688
3547 1.4 mrg 16. https://gcc.gnu.org/onlinedocs/gcc-4.7.4/libstdc++/manual/manual/status.html#status.iso.2011
3548 1.4 mrg 17. https://gcc.gnu.org/onlinedocs/gcc-4.7.1/gfortran/Code-Gen-Options.html#index-g_t_0040code_007bfstack-arrays_007d-254
3549 1.4 mrg 18. https://gcc.gnu.org/onlinedocs/gcc-4.7.1/gcc/Optimize-Options.html#index-Ofast-689
3550 1.4 mrg 19. https://gcc.gnu.org/onlinedocs/gcc-4.7.1/gfortran/Code-Gen-Options.html#index-g_t_0040code_007bfno-protect-parens_007d-270
3551 1.4 mrg 20. https://gcc.gnu.org/onlinedocs/gcc-4.7.1/gfortran/Code-Gen-Options.html#index-g_t_0040code_007bfstack-arrays_007d-254
3552 1.4 mrg 21. https://gcc.gnu.org/onlinedocs/gcc-4.7.1/gfortran/Code-Gen-Options.html#index-g_t_0040code_007bfrontend-optimize_007d-275
3553 1.4 mrg 22. https://gcc.gnu.org/onlinedocs/gcc-4.7.1/gfortran/Error-and-Warning-Options.html#index-g_t_0040code_007bWfunction-elimination_007d-170
3554 1.4 mrg 23. https://gcc.gnu.org/onlinedocs/gcc-4.7.1/gfortran/Code-Gen-Options.html#index-g_t_0040code_007bfaggressive-function-elimination_007d-270
3555 1.4 mrg 24. https://gcc.gnu.org/onlinedocs/gcc-4.7.1/gfortran/Error-and-Warning-Options.html#index-g_t_0040code_007bWreal-q-constant_007d-149
3556 1.4 mrg 25. https://gcc.gnu.org/onlinedocs/gcc-4.7.1/gfortran/SELECTED_005fREAL_005fKIND.html
3557 1.7 mrg 26. https://msdn.microsoft.com/en-us/library/bb787181(v=vs.85).aspx
3558 1.4 mrg 27. https://gcc.gnu.org/onlinedocs/gcc-4.7.1/gfortran/Debugging-Options.html#index-g_t_0040code_007bfno-backtrace_007d-183
3559 1.4 mrg 28. https://gcc.gnu.org/wiki/Fortran2003Status
3560 1.4 mrg 29. https://gcc.gnu.org/wiki/OOP
3561 1.4 mrg 30. https://gcc.gnu.org/wiki/Fortran2008Status
3562 1.4 mrg 31. https://gcc.gnu.org/wiki/Coarray
3563 1.4 mrg 32. https://gcc.gnu.org/wiki/CoarrayLib
3564 1.4 mrg 33. https://gcc.gnu.org/wiki/TS29113Status
3565 1.4 mrg 34. https://gcc.gnu.org/onlinedocs/gcc-4.7.1/gfortran/Fortran-Dialect-Options.html#index-g_t_0040code_007bstd_003d_007d_0040var_007bstd_007d-option-53
3566 1.5 mrg 35. https://golang.org/doc/go1
3567 1.4 mrg 36. https://gcc.gnu.org/onlinedocs/gcc-4.7.1/gcc/Named-Address-Spaces.html
3568 1.3 skrll 37. http://nongnu.org/avr-libc/
3569 1.4 mrg 38. https://gcc.gnu.org/PR54461
3570 1.7 mrg 39. https://gcc.gnu.org/onlinedocs/gcc-4.7.1/gcc/AVR-Built_002din-Functions.html
3571 1.3 skrll 40. https://sites.google.com/site/x32abi/
3572 1.3 skrll 41. http://www.dwarfstd.org/ShowIssue.php?issue=100909.1
3573 1.3 skrll 42. http://www.dwarfstd.org/ShowIssue.php?issue=100909.2
3574 1.7 mrg 43. http://www.dwarfstd.org/ShowIssue.php?issue=140425.1
3575 1.3 skrll 44. http://www.dwarfstd.org/ShowIssue.php?issue=110722.1
3576 1.4 mrg 45. https://gcc.gnu.org/bugzilla/buglist.cgi?bug_status=RESOLVED&resolution=FIXED&target_milestone=4.7.1
3577 1.5 mrg 46. https://golang.org/doc/go1
3578 1.4 mrg 47. https://gcc.gnu.org/bugzilla/buglist.cgi?bug_status=RESOLVED&resolution=FIXED&target_milestone=4.7.2
3579 1.4 mrg 48. https://gcc.gnu.org/bugzilla/buglist.cgi?bug_status=RESOLVED&resolution=FIXED&target_milestone=4.7.3
3580 1.4 mrg 49. https://gcc.gnu.org/bugzilla/buglist.cgi?bug_status=RESOLVED&resolution=FIXED&target_milestone=4.7.4
3581 1.4 mrg 50. https://gcc.gnu.org/onlinedocs/
3582 1.4 mrg 51. mailto:gcc-help (a] gcc.gnu.org
3583 1.4 mrg 52. mailto:gcc (a] gcc.gnu.org
3584 1.4 mrg 53. https://gcc.gnu.org/lists.html
3585 1.4 mrg 54. http://www.fsf.org/
3586 1.4 mrg 55. https://gcc.gnu.org/about.html
3587 1.4 mrg 56. http://validator.w3.org/check/referer
3588 1.3 skrll ======================================================================
3589 1.3 skrll http://gcc.gnu.org/gcc-4.6/index.html
3590 1.3 skrll GCC 4.6 Release Series
3591 1.3 skrll
3592 1.3 skrll April 12, 2013
3593 1.3 skrll
3594 1.3 skrll The [1]GNU project and the GCC developers are pleased to announce the
3595 1.3 skrll release of GCC 4.6.4.
3596 1.3 skrll
3597 1.3 skrll This release is a bug-fix release, containing fixes for regressions in
3598 1.3 skrll GCC 4.6.3 relative to previous releases of GCC.
3599 1.3 skrll
3600 1.7 mrg This release series is no longer maintained.
3601 1.7 mrg
3602 1.3 skrll Release History
3603 1.3 skrll
3604 1.3 skrll GCC 4.6.4
3605 1.3 skrll April 12, 2013 ([2]changes, [3]documentation)
3606 1.3 skrll
3607 1.3 skrll GCC 4.6.3
3608 1.3 skrll March 1, 2012 ([4]changes, [5]documentation)
3609 1.3 skrll
3610 1.3 skrll GCC 4.6.2
3611 1.3 skrll October 26, 2011 ([6]changes, [7]documentation)
3612 1.3 skrll
3613 1.3 skrll GCC 4.6.1
3614 1.3 skrll June 27, 2011 ([8]changes, [9]documentation)
3615 1.3 skrll
3616 1.3 skrll GCC 4.6.0
3617 1.3 skrll March 25, 2011 ([10]changes, [11]documentation)
3618 1.3 skrll
3619 1.3 skrll References and Acknowledgements
3620 1.3 skrll
3621 1.3 skrll GCC used to stand for the GNU C Compiler, but since the compiler
3622 1.3 skrll supports several other languages aside from C, it now stands for the
3623 1.3 skrll GNU Compiler Collection.
3624 1.3 skrll
3625 1.3 skrll A list of [12]successful builds is updated as new information becomes
3626 1.3 skrll available.
3627 1.3 skrll
3628 1.3 skrll The GCC developers would like to thank the numerous people that have
3629 1.3 skrll contributed new features, improvements, bug fixes, and other changes as
3630 1.3 skrll well as test results to GCC. This [13]amazing group of volunteers is
3631 1.3 skrll what makes GCC successful.
3632 1.3 skrll
3633 1.3 skrll For additional information about GCC please refer to the [14]GCC
3634 1.3 skrll project web site or contact the [15]GCC development mailing list.
3635 1.3 skrll
3636 1.3 skrll To obtain GCC please use [16]our mirror sites or [17]our SVN server.
3637 1.3 skrll
3638 1.3 skrll
3639 1.3 skrll For questions related to the use of GCC, please consult these web
3640 1.3 skrll pages and the [18]GCC manuals. If that fails, the
3641 1.3 skrll [19]gcc-help (a] gcc.gnu.org mailing list might help. Comments on these
3642 1.3 skrll web pages and the development of GCC are welcome on our developer
3643 1.3 skrll list at [20]gcc (a] gcc.gnu.org. All of [21]our lists have public
3644 1.3 skrll archives.
3645 1.3 skrll
3646 1.3 skrll Copyright (C) [22]Free Software Foundation, Inc. Verbatim copying and
3647 1.3 skrll distribution of this entire article is permitted in any medium,
3648 1.3 skrll provided this notice is preserved.
3649 1.3 skrll
3650 1.3 skrll These pages are [23]maintained by the GCC team. Last modified
3651 1.7 mrg 2016-09-30[24].
3652 1.3 skrll
3653 1.3 skrll References
3654 1.3 skrll
3655 1.3 skrll 1. http://www.gnu.org/
3656 1.3 skrll 2. http://gcc.gnu.org/gcc-4.6/changes.html
3657 1.4 mrg 3. https://gcc.gnu.org/onlinedocs/4.6.4/
3658 1.3 skrll 4. http://gcc.gnu.org/gcc-4.6/changes.html
3659 1.4 mrg 5. https://gcc.gnu.org/onlinedocs/4.6.3/
3660 1.3 skrll 6. http://gcc.gnu.org/gcc-4.6/changes.html
3661 1.4 mrg 7. https://gcc.gnu.org/onlinedocs/4.6.2/
3662 1.3 skrll 8. http://gcc.gnu.org/gcc-4.6/changes.html
3663 1.4 mrg 9. https://gcc.gnu.org/onlinedocs/4.6.1/
3664 1.3 skrll 10. http://gcc.gnu.org/gcc-4.6/changes.html
3665 1.4 mrg 11. https://gcc.gnu.org/onlinedocs/4.6.0/
3666 1.3 skrll 12. http://gcc.gnu.org/gcc-4.6/buildstat.html
3667 1.4 mrg 13. https://gcc.gnu.org/onlinedocs/gcc/Contributors.html
3668 1.3 skrll 14. http://gcc.gnu.org/index.html
3669 1.3 skrll 15. mailto:gcc (a] gcc.gnu.org
3670 1.3 skrll 16. http://gcc.gnu.org/mirrors.html
3671 1.3 skrll 17. http://gcc.gnu.org/svn.html
3672 1.4 mrg 18. https://gcc.gnu.org/onlinedocs/
3673 1.3 skrll 19. mailto:gcc-help (a] gcc.gnu.org
3674 1.3 skrll 20. mailto:gcc (a] gcc.gnu.org
3675 1.4 mrg 21. https://gcc.gnu.org/lists.html
3676 1.3 skrll 22. http://www.fsf.org/
3677 1.4 mrg 23. https://gcc.gnu.org/about.html
3678 1.3 skrll 24. http://validator.w3.org/check/referer
3679 1.3 skrll ======================================================================
3680 1.3 skrll http://gcc.gnu.org/gcc-4.6/changes.html
3681 1.3 skrll GCC 4.6 Release Series
3682 1.3 skrll Changes, New Features, and Fixes
3683 1.3 skrll
3684 1.3 skrll Caveats
3685 1.3 skrll
3686 1.3 skrll * The options -b <machine> and -V <version> have been removed because
3687 1.3 skrll they were unreliable. Instead, users should directly run
3688 1.3 skrll <machine>-gcc when cross-compiling, or <machine>-gcc-<version> to
3689 1.3 skrll run a different version of gcc.
3690 1.3 skrll * GCC now has stricter checks for invalid command-line options. In
3691 1.3 skrll particular, when gcc was called to link object files rather than
3692 1.3 skrll compile source code, it would previously accept and ignore all
3693 1.3 skrll options starting with --, including linker options such as
3694 1.3 skrll --as-needed and --export-dynamic, although such options would
3695 1.3 skrll result in errors if any source code was compiled. Such options, if
3696 1.3 skrll unknown to the compiler, are now rejected in all cases; if the
3697 1.3 skrll intent was to pass them to the linker, options such as
3698 1.3 skrll -Wl,--as-needed should be used.
3699 1.3 skrll * Versions of the GNU C library up to and including 2.11.1 included
3700 1.3 skrll an [1]incorrect implementation of the cproj function. GCC optimizes
3701 1.3 skrll its builtin cproj according to the behavior specified and allowed
3702 1.3 skrll by the ISO C99 standard. If you want to avoid discrepancies between
3703 1.3 skrll the C library and GCC's builtin transformations when using cproj in
3704 1.3 skrll your code, use GLIBC 2.12 or later. If you are using an older GLIBC
3705 1.3 skrll and actually rely on the incorrect behavior of cproj, then you can
3706 1.3 skrll disable GCC's transformations using -fno-builtin-cproj.
3707 1.3 skrll * The C-only intermodule optimization framework (IMA, enabled by
3708 1.3 skrll -combine) has been removed in favor of the new generic link-time
3709 1.3 skrll optimization framework (LTO) introduced in [2]GCC 4.5.0.
3710 1.3 skrll * GCC now ships with the LGPL-licensed libquadmath library, which
3711 1.3 skrll provides quad-precision mathematical functions for targets with a
3712 1.3 skrll __float128 datatype. __float128 is available for targets on 32-bit
3713 1.3 skrll x86, x86-64 and Itanium architectures. The libquadmath library is
3714 1.3 skrll automatically built on such targets when building the Fortran
3715 1.3 skrll compiler.
3716 1.3 skrll * New -Wunused-but-set-variable and -Wunused-but-set-parameter
3717 1.3 skrll warnings were added for C, C++, Objective-C and Objective-C++.
3718 1.3 skrll These warnings diagnose variables respective parameters which are
3719 1.3 skrll only set in the code and never otherwise used. Usually such
3720 1.3 skrll variables are useless and often even the value assigned to them is
3721 1.3 skrll computed needlessly, sometimes expensively. The
3722 1.3 skrll -Wunused-but-set-variable warning is enabled by default by -Wall
3723 1.3 skrll flag and -Wunused-but-set-parameter by -Wall -Wextra flags.
3724 1.3 skrll * On ARM, a bug has been fixed in GCC's implementation of the AAPCS
3725 1.3 skrll rules for the layout of vectors that could lead to wrong code being
3726 1.3 skrll generated. Vectors larger than 8 bytes in size are now by default
3727 1.3 skrll aligned to an 8-byte boundary. This is an ABI change: code that
3728 1.3 skrll makes explicit use of vector types may be incompatible with binary
3729 1.3 skrll objects built with older versions of GCC. Auto-vectorized code is
3730 1.3 skrll not affected by this change. (This change affects GCC versions
3731 1.3 skrll 4.6.4 and later, with the exception of versions 4.7.0 and 4.7.1.)
3732 1.3 skrll * On AVR, variables with the progmem attribute to locate data in
3733 1.3 skrll flash memory must be qualified as const.
3734 1.3 skrll * Support for a number of older systems and recently unmaintained or
3735 1.3 skrll untested target ports of GCC has been declared obsolete in GCC 4.6.
3736 1.3 skrll Unless there is activity to revive them, the next release of GCC
3737 1.3 skrll will have their sources permanently removed.
3738 1.3 skrll All GCC ports for the following processor architectures have been
3739 1.3 skrll declared obsolete:
3740 1.3 skrll + Argonaut ARC (arc-*)
3741 1.3 skrll + National Semiconductor CRX (crx-*)
3742 1.3 skrll + Motorola 68HC11 and 68HC12 (m68hc11-*-*, m6811-*-*,
3743 1.3 skrll m68hc12-*-*, m6812-*-*)
3744 1.3 skrll + Sunplus S+core (score-*)
3745 1.3 skrll The following ports for individual systems on particular
3746 1.3 skrll architectures have been obsoleted:
3747 1.3 skrll + Interix (i[34567]86-*-interix3*)
3748 1.3 skrll + NetWare x86 (i[3456x]86-*-netware*)
3749 1.3 skrll + Generic ARM PE (arm-*-pe* other than arm*-wince-pe*)
3750 1.3 skrll + MCore PE (mcore-*-pe*)
3751 1.3 skrll + SH SymbianOS (sh*-*-symbianelf*)
3752 1.3 skrll + GNU Hurd on Alpha and PowerPC (alpha*-*-gnu*, powerpc*-*-gnu*)
3753 1.3 skrll + M68K uClinux old ABI (m68k-*-uclinuxoldabi*)
3754 1.3 skrll + a.out NetBSD (arm*-*-netbsd*, i[34567]86-*-netbsd*,
3755 1.3 skrll vax-*-netbsd*, but not *-*-netbsdelf*)
3756 1.3 skrll The i[34567]86-*-pe alias for Cygwin targets has also been
3757 1.3 skrll obsoleted; users should configure for i[34567]86-*-cygwin* instead.
3758 1.3 skrll Certain configure options to control the set of libraries built
3759 1.3 skrll with GCC on some targets have been obsoleted. On ARM targets, the
3760 1.3 skrll options --disable-fpu, --disable-26bit, --disable-underscore,
3761 1.3 skrll --disable-interwork, --disable-biendian and --disable-nofmult have
3762 1.3 skrll been obsoleted. On MIPS targets, the options
3763 1.3 skrll --disable-single-float, --disable-biendian and --disable-softfloat
3764 1.3 skrll have been obsoleted.
3765 1.3 skrll * Support has been removed for all the [3]configurations obsoleted in
3766 1.3 skrll GCC 4.5.
3767 1.3 skrll * More information on porting to GCC 4.6 from previous versions of
3768 1.3 skrll GCC can be found in the [4]porting guide for this release.
3769 1.3 skrll
3770 1.3 skrll General Optimizer Improvements
3771 1.3 skrll
3772 1.3 skrll * A new general optimization level, -Ofast, has been introduced. It
3773 1.3 skrll combines the existing optimization level -O3 with options that can
3774 1.3 skrll affect standards compliance but result in better optimized code.
3775 1.3 skrll For example, -Ofast enables -ffast-math.
3776 1.3 skrll * Link-time optimization improvements:
3777 1.3 skrll + The [5]Scalable Whole Program Optimizer (WHOPR) project has
3778 1.3 skrll stabilized to the point of being usable. It has become the
3779 1.3 skrll default mode when using the LTO optimization model. Link time
3780 1.3 skrll optimization can now split itself into multiple parallel
3781 1.3 skrll compilations. Parallelism is controlled with -flto=n (where n
3782 1.3 skrll specifies the number of compilations to execute in parallel).
3783 1.3 skrll GCC can also cooperate with a GNU make job server by
3784 1.3 skrll specifying the -flto=jobserver option and adding + to the
3785 1.3 skrll beginning of the Makefile rule executing the linker.
3786 1.3 skrll Classical LTO mode can be enforced by -flto-partition=none.
3787 1.3 skrll This may result in small code quality improvements.
3788 1.3 skrll + A large number of bugs were fixed. GCC itself, Mozilla Firefox
3789 1.3 skrll and other large applications can be built with LTO enabled.
3790 1.3 skrll + The linker plugin support improvements
3791 1.3 skrll o Linker plugin is now enabled by default when the linker
3792 1.3 skrll is detected to have plugin support. This is the case for
3793 1.3 skrll GNU ld 2.21.51 or newer (on ELF and Cygwin targets) and
3794 1.3 skrll the Gold linker on ELF targets. Plugin support of the
3795 1.3 skrll Apple linker on Darwin is not compatible with GCC. The
3796 1.3 skrll linker plugin can also be controlled by the
3797 1.7 mrg -fuse-linker-plugin command-line option.
3798 1.3 skrll o Resolution information from the linker plugin is used to
3799 1.3 skrll drive whole program assumptions. Use of the linker plugin
3800 1.3 skrll results in more aggressive optimization on binaries and
3801 1.3 skrll on shared libraries that use the hidden visibility
3802 1.3 skrll attribute. Consequently the use of -fwhole-program is not
3803 1.3 skrll necessary in addition to LTO.
3804 1.3 skrll + Hidden symbols used from non-LTO objects now have to be
3805 1.3 skrll explicitly annotated with externally_visible when the linker
3806 1.3 skrll plugin is not used.
3807 1.3 skrll + C++ inline functions and virtual tables are now privatized
3808 1.3 skrll more aggressively, leading to better inter-procedural
3809 1.3 skrll optimization and faster dynamic linking.
3810 1.3 skrll + Memory usage and intermediate language streaming performance
3811 1.3 skrll have been improved.
3812 1.3 skrll + Static constructors and destructors from individual units are
3813 1.3 skrll inlined into a single function. This can significantly improve
3814 1.3 skrll startup times of large C++ applications where static
3815 1.3 skrll constructors are very common. For example, static constructors
3816 1.3 skrll are used when including the iostream header.
3817 1.3 skrll + Support for the Ada language has been added.
3818 1.3 skrll * Interprocedural optimization improvements
3819 1.3 skrll + The interprocedural framework was re-tuned for link time
3820 1.3 skrll optimization. Several scalability issues were resolved.
3821 1.3 skrll + Improved auto-detection of const and pure functions. Newly,
3822 1.3 skrll noreturn functions are auto-detected.
3823 1.3 skrll The [6]-Wsuggest-attribute=[const|pure|noreturn] flag is
3824 1.3 skrll available that informs users when adding attributes to headers
3825 1.3 skrll might improve code generation.
3826 1.3 skrll + A number of inlining heuristic improvements. In particular:
3827 1.3 skrll o Partial inlining is now supported and enabled by default
3828 1.3 skrll at -O2 and greater. The feature can be controlled via
3829 1.3 skrll -fpartial-inlining.
3830 1.3 skrll Partial inlining splits functions with short hot path to
3831 1.3 skrll return. This allows more aggressive inlining of the hot
3832 1.3 skrll path leading to better performance and often to code size
3833 1.3 skrll reductions (because cold parts of functions are not
3834 1.3 skrll duplicated).
3835 1.3 skrll o Scalability for large compilation units was improved
3836 1.3 skrll significantly.
3837 1.3 skrll o Inlining of callbacks is now more aggressive.
3838 1.3 skrll o Virtual methods are considered for inlining when the
3839 1.3 skrll caller is inlined and devirtualization is then possible.
3840 1.3 skrll o Inlining when optimizing for size (either in cold regions
3841 1.3 skrll of a program or when compiling with -Os) was improved to
3842 1.3 skrll better handle C++ programs with larger abstraction
3843 1.3 skrll penalty, leading to smaller and faster code.
3844 1.3 skrll + The IPA reference optimization pass detecting global variables
3845 1.3 skrll used or modified by functions was strengthened and sped up.
3846 1.3 skrll + Functions whose address was taken are now optimized out when
3847 1.3 skrll all references to them are dead.
3848 1.3 skrll + A new inter-procedural static profile estimation pass detects
3849 1.3 skrll functions that are executed once or unlikely to be executed.
3850 1.3 skrll Unlikely executed functions are optimized for size. Functions
3851 1.3 skrll executed once are optimized for size except for the inner
3852 1.3 skrll loops.
3853 1.3 skrll + On most targets with named section support, functions used
3854 1.3 skrll only at startup (static constructors and main), functions used
3855 1.3 skrll only at exit and functions detected to be cold are placed into
3856 1.3 skrll separate text segment subsections. This extends the
3857 1.3 skrll -freorder-functions feature and is controlled by the same
3858 1.3 skrll switch. The goal is to improve the startup time of large C++
3859 1.3 skrll programs.
3860 1.3 skrll Proper function placement requires linker support. GNU ld
3861 1.3 skrll 2.21.51 on ELF targets was updated to place those functions
3862 1.3 skrll together within the text section leading to better code
3863 1.3 skrll locality and faster startup times of large C++ programs. The
3864 1.3 skrll feature is also supported in the Apple linker. Support in the
3865 1.3 skrll gold linker is planned.
3866 1.3 skrll * A new switch -fstack-usage has been added. It makes the compiler
3867 1.3 skrll output stack usage information for the program, on a per-function
3868 1.3 skrll basis, in an auxiliary file.
3869 1.3 skrll * A new switch -fcombine-stack-adjustments has been added. It can be
3870 1.3 skrll used to enable or disable the compiler's stack-slot combining pass
3871 1.3 skrll which before was enabled automatically at -O1 and above, but could
3872 1.3 skrll not be controlled on its own.
3873 1.3 skrll * A new switch -fstrict-volatile-bitfields has been added. Using it
3874 1.3 skrll indicates that accesses to volatile bitfields should use a single
3875 1.3 skrll access of the width of the field's type. This option can be useful
3876 1.3 skrll for precisely defining and accessing memory-mapped peripheral
3877 1.3 skrll registers from C or C++.
3878 1.3 skrll
3879 1.3 skrll Compile time and memory usage improvements
3880 1.3 skrll
3881 1.3 skrll * Datastructures used by the dataflow framework in GCC were
3882 1.3 skrll reorganized for better memory usage and more cache locality.
3883 1.3 skrll Compile time is improved especially on units with large functions
3884 1.3 skrll (possibly resulting from a lot of inlining) not fitting into the
3885 1.3 skrll processor cache. The compile time of the GCC C compiler binary with
3886 1.3 skrll link-time optimization went down by over 10% (benchmarked on x86-64
3887 1.3 skrll target).
3888 1.3 skrll
3889 1.3 skrll New Languages and Language specific improvements
3890 1.3 skrll
3891 1.3 skrll Ada
3892 1.3 skrll
3893 1.3 skrll * Stack checking has been improved on selected architectures (Alpha,
3894 1.3 skrll IA-32/x86-64, RS/6000 and SPARC): it now will detect stack
3895 1.3 skrll overflows in all cases on these architectures.
3896 1.3 skrll * Initial support for Ada 2012 has been added.
3897 1.3 skrll
3898 1.3 skrll C family
3899 1.3 skrll
3900 1.3 skrll * A new warning, enabled by -Wdouble-promotion, has been added that
3901 1.3 skrll warns about cases where a value of type float is implicitly
3902 1.3 skrll promoted to double. This is especially helpful for CPUs that handle
3903 1.3 skrll the former in hardware, but emulate the latter in software.
3904 1.3 skrll * A new function attribute leaf was introduced. This attribute allows
3905 1.3 skrll better inter-procedural optimization across calls to functions that
3906 1.3 skrll return to the current unit only via returning or exception
3907 1.3 skrll handling. This is the case for most library functions that have no
3908 1.3 skrll callbacks.
3909 1.3 skrll * Support for a new data type __int128 for targets having wide enough
3910 1.3 skrll machine-mode support.
3911 1.3 skrll * The new function attribute callee_pop_aggregate allows to specify
3912 1.3 skrll if the caller or callee is responsible for popping the aggregate
3913 1.3 skrll return pointer value from the stack.
3914 1.3 skrll * Support for selectively enabling and disabling warnings via #pragma
3915 1.3 skrll GCC diagnostic has been added. For instance:
3916 1.3 skrll #pragma GCC diagnostic error "-Wuninitialized"
3917 1.3 skrll foo(a); /* error is given for this one */
3918 1.3 skrll #pragma GCC diagnostic push
3919 1.3 skrll #pragma GCC diagnostic ignored "-Wuninitialized"
3920 1.3 skrll foo(b); /* no diagnostic for this one */
3921 1.3 skrll #pragma GCC diagnostic pop
3922 1.3 skrll foo(c); /* error is given for this one */
3923 1.3 skrll #pragma GCC diagnostic pop
3924 1.7 mrg foo(d); /* depends on command-line options */
3925 1.3 skrll
3926 1.3 skrll * The -fmax-errors=N option is now supported. Using this option
3927 1.3 skrll causes the compiler to exit after N errors have been issued.
3928 1.3 skrll
3929 1.3 skrll C
3930 1.3 skrll
3931 1.3 skrll * There is now experimental support for some features from the
3932 1.3 skrll upcoming C1X revision of the ISO C standard. This support may be
3933 1.3 skrll selected with -std=c1x, or -std=gnu1x for C1X with GNU extensions.
3934 1.3 skrll Note that this support is experimental and may change incompatibly
3935 1.3 skrll in future releases for consistency with changes to the C1X standard
3936 1.3 skrll draft. The following features are newly supported as described in
3937 1.3 skrll the N1539 draft of C1X (with changes agreed at the March 2011 WG14
3938 1.3 skrll meeting); some other features were already supported with no
3939 1.3 skrll compiler changes being needed, or have some support but not in full
3940 1.3 skrll accord with N1539 (as amended).
3941 1.3 skrll + Static assertions (_Static_assert keyword)
3942 1.3 skrll + Typedef redefinition
3943 1.3 skrll + New macros in <float.h>
3944 1.3 skrll + Anonymous structures and unions
3945 1.3 skrll * The new -fplan9-extensions option directs the compiler to support
3946 1.3 skrll some extensions for anonymous struct fields which are implemented
3947 1.3 skrll by the Plan 9 compiler. A pointer to a struct may be automatically
3948 1.3 skrll converted to a pointer to an anonymous field when calling a
3949 1.3 skrll function, in order to make the types match. An anonymous struct
3950 1.3 skrll field whose type is a typedef name may be referred to using the
3951 1.3 skrll typedef name.
3952 1.3 skrll
3953 1.3 skrll C++
3954 1.3 skrll
3955 1.3 skrll * Improved [7]experimental support for the upcoming C++0x ISO C++
3956 1.3 skrll standard, including support for constexpr (thanks to Gabriel Dos
3957 1.3 skrll Reis and Jason Merrill), nullptr (thanks to Magnus Fromreide),
3958 1.3 skrll noexcept, unrestricted unions, range-based for loops (thanks to
3959 1.3 skrll Rodrigo Rivas Costa), opaque enum declarations (thanks also to
3960 1.3 skrll Rodrigo), implicitly deleted functions and implicit move
3961 1.3 skrll constructors.
3962 1.3 skrll * When an extern declaration within a function does not match a
3963 1.3 skrll declaration in the enclosing context, G++ now properly declares the
3964 1.3 skrll name within the namespace of the function rather than the namespace
3965 1.3 skrll which was open just before the function definition ([8]c++/43145).
3966 1.3 skrll * GCC now warns by default when casting integers to larger pointer
3967 1.3 skrll types. These warnings can be disabled with the option
3968 1.3 skrll -Wno-int-to-pointer-cast, which is now also available in C++.
3969 1.3 skrll * G++ no longer optimizes using the assumption that a value of
3970 1.3 skrll enumeration type will fall within the range specified by the
3971 1.3 skrll standard, since that assumption is easily violated with a
3972 1.3 skrll conversion from integer type ([9]c++/43680). The old behavior can
3973 1.3 skrll be restored with -fstrict-enums.
3974 1.3 skrll * The new -fnothrow-opt flag changes the semantics of a throw()
3975 1.3 skrll exception specification to match the proposed semantics of the
3976 1.3 skrll noexcept specification: just call terminate if an exception tries
3977 1.3 skrll to propagate out of a function with such an exception
3978 1.3 skrll specification. This dramatically reduces or eliminates the code
3979 1.3 skrll size overhead from adding the exception specification.
3980 1.3 skrll * The new -Wnoexcept flag will suggest adding a noexcept qualifier to
3981 1.3 skrll a function that the compiler can tell doesn't throw if it would
3982 1.3 skrll change the value of a noexcept expression.
3983 1.3 skrll * The -Wshadow option now warns if a local variable or type
3984 1.3 skrll declaration shadows another type in C++. Note that the compiler
3985 1.3 skrll will not warn if a local variable shadows a struct/class/enum, but
3986 1.3 skrll will warn if it shadows an explicit typedef.
3987 1.3 skrll * When an identifier is not found in the current scope, G++ now
3988 1.3 skrll offers suggestions about which identifier might have been intended.
3989 1.3 skrll * G++ now issues clearer diagnostics for missing semicolons after
3990 1.3 skrll class, struct, and union definitions.
3991 1.3 skrll * G++ now issues clearer diagnostics for missing semicolons after
3992 1.3 skrll class member declarations.
3993 1.3 skrll * G++ now issues clearer diagnostics when a colon is used in a place
3994 1.3 skrll where a double-colon was intended.
3995 1.3 skrll * G++ no longer accepts mutable on reference members ([10]c++/33558).
3996 1.3 skrll Use -fpermissive to allow the old, non-conforming behaviour.
3997 1.3 skrll * A few mangling fixes have been made, to attribute const/volatile on
3998 1.3 skrll function pointer types, decltype of a plain decl, and use of a
3999 1.3 skrll function parameter in the declaration of another parameter. By
4000 1.3 skrll default the compiler still uses the old mangling, but emits aliases
4001 1.3 skrll with the new mangling on targets that support strong aliases. Users
4002 1.3 skrll can switch over entirely to the new mangling with -fabi-version=5
4003 1.3 skrll or -fabi-version=0. -Wabi will now warn about code that uses the
4004 1.3 skrll old mangling.
4005 1.3 skrll * In 4.6.0 and 4.6.1 G++ no longer allows objects of const-qualified
4006 1.3 skrll type to be default initialized unless the type has a user-declared
4007 1.3 skrll default constructor. In 4.6.2 G++ implements the proposed
4008 1.3 skrll resolution of [11]DR 253, so default initialization is allowed if
4009 1.3 skrll it initializes all subobjects. Code that fails to compile can be
4010 1.3 skrll fixed by providing an initializer e.g.
4011 1.3 skrll struct A { A(); };
4012 1.3 skrll struct B : A { int i; };
4013 1.3 skrll const B b = B();
4014 1.3 skrll Use -fpermissive to allow the old, non-conforming behaviour.
4015 1.3 skrll
4016 1.3 skrll Runtime Library (libstdc++)
4017 1.3 skrll
4018 1.3 skrll * [12]Improved experimental support for the upcoming ISO C++
4019 1.3 skrll standard, C++0x, including using constexpr and nullptr.
4020 1.7 mrg * Performance improvements to the [13]Debug Mode, thanks to Franois
4021 1.3 skrll Dumont.
4022 1.3 skrll * Atomic operations used for reference-counting are annotated so that
4023 1.3 skrll they can be understood by race detectors such as Helgrind, see
4024 1.3 skrll [14]Data Race Hunting.
4025 1.3 skrll * Most libstdc++ standard headers have been changed to no longer
4026 1.3 skrll include the cstddef header as an implementation detail. Code that
4027 1.3 skrll relied on that header being included as side-effect of including
4028 1.3 skrll other standard headers will need to include cstddef explicitly.
4029 1.3 skrll
4030 1.3 skrll Fortran
4031 1.3 skrll
4032 1.3 skrll * On systems supporting the libquadmath library, GNU Fortran now also
4033 1.3 skrll supports a quad-precision, kind=16 floating-point data type
4034 1.3 skrll (REAL(16), COMPLEX(16)). As the data type is not fully supported in
4035 1.3 skrll hardware, calculations might be one to two orders of magnitude
4036 1.3 skrll slower than with the 4, 8 or 10 bytes floating-point data types.
4037 1.3 skrll This change does not affect systems which support REAL(16) in
4038 1.3 skrll hardware nor those which do not support libquadmath.
4039 1.3 skrll * Much improved compile time for large array constructors.
4040 1.3 skrll * In order to reduce execution time and memory consumption, use of
4041 1.3 skrll temporary arrays in assignment expressions is avoided for many
4042 1.3 skrll cases. The compiler now reverses loops in order to avoid generating
4043 1.3 skrll a temporary array where possible.
4044 1.3 skrll * Improved diagnostics, especially with -fwhole-file.
4045 1.3 skrll * The -fwhole-file flag is now enabled by default. This improves code
4046 1.3 skrll generation and diagnostics. It can be disabled using the deprecated
4047 1.3 skrll -fno-whole-file flag.
4048 1.3 skrll * Support the generation of Makefile dependencies via the [15]-M...
4049 1.3 skrll flags of GCC; you may need to specify the -cpp option in addition.
4050 1.3 skrll The dependencies take modules, Fortran's include, and CPP's
4051 1.3 skrll #include into account. Note: Using -M for the module path is no
4052 1.3 skrll longer supported, use -J instead.
4053 1.3 skrll * The flag -Wconversion has been modified to only issue warnings
4054 1.3 skrll where a conversion leads to information loss. This drastically
4055 1.3 skrll reduces the number of warnings; -Wconversion is thus now enabled
4056 1.3 skrll with -Wall. The flag -Wconversion-extra has been added and also
4057 1.3 skrll warns about other conversions; -Wconversion-extra typically issues
4058 1.3 skrll a huge number of warnings, most of which can be ignored.
4059 1.3 skrll * A new command-line option -Wunused-dummy-argument warns about
4060 1.3 skrll unused dummy arguments and is included in -Wall. Before,
4061 1.3 skrll -Wunused-variable also warned about unused dummy arguments.
4062 1.3 skrll * Fortran 2003 support has been extended:
4063 1.3 skrll + Improved support for polymorphism between libraries and
4064 1.3 skrll programs and for complicated inheritance patterns (cf.
4065 1.3 skrll [16]object-oriented programming).
4066 1.3 skrll + Experimental support of the ASSOCIATE construct.
4067 1.3 skrll + In pointer assignments it is now possible to specify the lower
4068 1.3 skrll bounds of the pointer and, for a rank-1 or a simply contiguous
4069 1.3 skrll data-target, to remap the bounds.
4070 1.3 skrll + Automatic (re)allocation: In intrinsic assignments to
4071 1.3 skrll allocatable variables the left-hand side will be automatically
4072 1.3 skrll allocated (if unallocated) or reallocated (if the shape or
4073 1.3 skrll type parameter is different). To avoid the small performance
4074 1.3 skrll penalty, you can use a(:) = ... instead of a = ... for arrays
4075 1.7 mrg and character strings or disable the feature using -std=f95
4076 1.3 skrll or -fno-realloc-lhs.
4077 1.3 skrll + Deferred type parameter: For scalar allocatable and pointer
4078 1.3 skrll variables the character length can be deferred.
4079 1.3 skrll + Namelist variables with allocatable and pointer attribute and
4080 1.3 skrll nonconstant length type parameter are supported.
4081 1.3 skrll * Fortran 2008 support has been extended:
4082 1.3 skrll + Experimental [17]coarray support (for one image only, i.e.
4083 1.3 skrll num_images() == 1); use the [18]-fcoarray=single flag to
4084 1.3 skrll enable it.
4085 1.3 skrll + The STOP and the new ERROR STOP statements now support all
4086 1.3 skrll constant expressions.
4087 1.3 skrll + Support for the CONTIGUOUS attribute.
4088 1.3 skrll + Support for ALLOCATE with MOLD.
4089 1.3 skrll + Support for the STORAGE_SIZE intrinsic inquiry function.
4090 1.3 skrll + Support of the NORM2 and PARITY intrinsic functions.
4091 1.3 skrll + The following bit intrinsics were added: POPCNT and POPPAR for
4092 1.3 skrll counting the number of 1 bits and returning the parity; BGE,
4093 1.3 skrll BGT, BLE, and BLT for bitwise comparisons; DSHIFTL and DSHIFTR
4094 1.3 skrll for combined left and right shifts, MASKL and MASKR for simple
4095 1.3 skrll left and right justified masks, MERGE_BITS for a bitwise merge
4096 1.3 skrll using a mask, SHIFTA, SHIFTL and SHIFTR for shift operations,
4097 1.3 skrll and the transformational bit intrinsics IALL, IANY and
4098 1.3 skrll IPARITY.
4099 1.3 skrll + Support of the EXECUTE_COMMAND_LINE intrinsic subroutine.
4100 1.3 skrll + Support for the IMPURE attribute for procedures, which allows
4101 1.3 skrll for ELEMENTAL procedures without the restrictions of PURE.
4102 1.3 skrll + Null pointers (including NULL()) and not allocated variables
4103 1.3 skrll can be used as actual argument to optional non-pointer,
4104 1.3 skrll non-allocatable dummy arguments, denoting an absent argument.
4105 1.3 skrll + Non-pointer variables with TARGET attribute can be used as
4106 1.3 skrll actual argument to POINTER dummies with INTENT(IN)
4107 1.3 skrll + Pointers including procedure pointers and those in a derived
4108 1.3 skrll type (pointer components) can now be initialized by a target
4109 1.3 skrll instead of only by NULL.
4110 1.3 skrll + The EXIT statement (with construct-name) can now be used to
4111 1.3 skrll leave not only the DO but also the ASSOCIATE, BLOCK, IF,
4112 1.3 skrll SELECT CASE and SELECT TYPE constructs.
4113 1.3 skrll + Internal procedures can now be used as actual argument.
4114 1.3 skrll + The named constants INTEGER_KINDS, LOGICAL_KINDS, REAL_KINDS
4115 1.3 skrll and CHARACTER_KINDS of the intrinsic module ISO_FORTRAN_ENV
4116 1.3 skrll have been added; these arrays contain the supported kind
4117 1.3 skrll values for the respective types.
4118 1.3 skrll + The module procedures C_SIZEOF of the intrinsic module
4119 1.3 skrll ISO_C_BINDINGS and COMPILER_VERSION and COMPILER_OPTIONS of
4120 1.3 skrll ISO_FORTRAN_ENV have been implemented.
4121 1.3 skrll + Minor changes: obsolescence diagnostics for ENTRY was added
4122 1.3 skrll for -std=f2008; a line may start with a semicolon; for
4123 1.3 skrll internal and module procedures END can be used instead of END
4124 1.3 skrll SUBROUTINE and END FUNCTION; SELECTED_REAL_KIND now also takes
4125 1.3 skrll a RADIX argument; intrinsic types are supported for
4126 1.3 skrll TYPE(intrinsic-type-spec); multiple type-bound procedures can
4127 1.3 skrll be declared in a single PROCEDURE statement; implied-shape
4128 1.3 skrll arrays are supported for named constants (PARAMETER). The
4129 1.3 skrll transformational, three argument versions of BESSEL_JN and
4130 1.7 mrg BESSEL_YN were added the elemental, two-argument version had
4131 1.3 skrll been added in GCC 4.4; note that the transformational
4132 1.3 skrll functions use a recurrence algorithm.
4133 1.3 skrll
4134 1.3 skrll Go
4135 1.3 skrll
4136 1.3 skrll Support for the [19]Go programming language has been added to GCC. It
4137 1.3 skrll is not enabled by default when you build GCC; use the
4138 1.3 skrll --enable-languages configure option to build it. The driver program for
4139 1.3 skrll compiling Go code is gccgo.
4140 1.3 skrll
4141 1.3 skrll Go is currently known to work on GNU/Linux and RTEMS. Solaris support
4142 1.3 skrll is in progress. It may or may not work on other platforms.
4143 1.3 skrll
4144 1.3 skrll Objective-C and Objective-C++
4145 1.3 skrll
4146 1.3 skrll * The -fobjc-exceptions flag is now required to enable Objective-C
4147 1.3 skrll exception and synchronization syntax (introduced by the keywords
4148 1.3 skrll @try, @catch, @finally and @synchronized).
4149 1.3 skrll * A number of Objective-C 2.0 features and extensions are now
4150 1.3 skrll supported by GCC. These features are enabled by default; you can
4151 1.3 skrll disable them by using the new -fobjc-std=objc1 command-line option.
4152 1.3 skrll * The Objective-C 2.0 dot-syntax is now supported. It is an
4153 1.3 skrll alternative syntax for using getters and setters; object.count is
4154 1.3 skrll automatically converted into [object count] or [object setCount:
4155 1.3 skrll ...] depending on context; for example if (object.count > 0) is
4156 1.3 skrll automatically compiled into the equivalent of if ([object count] >
4157 1.3 skrll 0) while object.count = 0; is automatically compiled into the
4158 1.3 skrll equivalent ot [object setCount: 0];. The dot-syntax can be used
4159 1.3 skrll with instance and class objects and with any setters or getters, no
4160 1.3 skrll matter if they are part of a declared property or not.
4161 1.3 skrll * Objective-C 2.0 declared properties are now supported. They are
4162 1.3 skrll declared using the new @property keyword, and are most commonly
4163 1.3 skrll used in conjunction with the new Objective-C 2.0 dot-syntax. The
4164 1.3 skrll nonatomic, readonly, readwrite, assign, retain, copy, setter and
4165 1.3 skrll getter attributes are all supported. Marking declared properties
4166 1.3 skrll with __attribute__ ((deprecated)) is supported too.
4167 1.3 skrll * The Objective-C 2.0 @synthesize and @dynamic keywords are
4168 1.3 skrll supported. @synthesize causes the compiler to automatically
4169 1.3 skrll synthesize a declared property, while @dynamic is used to disable
4170 1.3 skrll all warnings for a declared property for which no implementation is
4171 1.3 skrll provided at compile time. Synthesizing declared properties requires
4172 1.3 skrll runtime support in most useful cases; to be able to use it with the
4173 1.3 skrll GNU runtime, appropriate helper functions have been added to the
4174 1.3 skrll GNU Objective-C runtime ABI, and are implemented by the GNU
4175 1.3 skrll Objective-C runtime library shipped with GCC.
4176 1.3 skrll * The Objective-C 2.0 fast enumeration syntax is supported in
4177 1.3 skrll Objective-C. This is currently not yet available in Objective-C++.
4178 1.3 skrll Fast enumeration requires support in the runtime, and such support
4179 1.3 skrll has been added to the GNU Objective-C runtime library (shipped with
4180 1.3 skrll GCC).
4181 1.3 skrll * The Objective-C 2.0 @optional keyword is supported. It allows you
4182 1.3 skrll to mark methods or properties in a protocol as optional as opposed
4183 1.3 skrll to required.
4184 1.3 skrll * The Objective-C 2.0 @package keyword is supported. It has currently
4185 1.3 skrll the same effect as the @public keyword.
4186 1.3 skrll * Objective-C 2.0 method attributes are supported. Currently the
4187 1.3 skrll supported attributes are deprecated, sentinel, noreturn and format.
4188 1.3 skrll * Objective-C 2.0 method argument attributes are supported. The most
4189 1.3 skrll widely used attribute is unused, to mark an argument as unused in
4190 1.3 skrll the implementation.
4191 1.3 skrll * Objective-C 2.0 class and protocol attributes are supported.
4192 1.3 skrll Currently the only supported attribute is deprecated.
4193 1.3 skrll * Objective-C 2.0 class extensions are supported. A class extension
4194 1.3 skrll has the same syntax as a category declaration with no category
4195 1.3 skrll name, and the methods and properties declared in it are added
4196 1.3 skrll directly to the main class. It is mostly used as an alternative to
4197 1.3 skrll a category to add methods to a class without advertising them in
4198 1.3 skrll the public headers, with the advantage that for class extensions
4199 1.3 skrll the compiler checks that all the privately declared methods are
4200 1.3 skrll actually implemented.
4201 1.3 skrll * As a result of these enhancements, GCC can now be used to build
4202 1.3 skrll Objective-C and Objective-C++ software that uses Foundation and
4203 1.3 skrll other important system frameworks with the NeXT runtime on Darwin 9
4204 1.3 skrll and Darwin 10 (OSX 10.5 and 10.6).
4205 1.3 skrll * Many bugs in the compiler have been fixed in this release; in
4206 1.3 skrll particular, LTO can now be used when compiling Objective-C and
4207 1.3 skrll Objective-C++ and the parser is much more robust in dealing with
4208 1.3 skrll invalid code.
4209 1.3 skrll
4210 1.3 skrll Runtime Library (libobjc)
4211 1.3 skrll
4212 1.3 skrll * The GNU Objective-C runtime library now defines the macro
4213 1.3 skrll __GNU_LIBOBJC__ (with a value that is increased at every release
4214 1.3 skrll where there is any change to the API) in objc/objc.h, making it
4215 1.3 skrll easy to determine if the GNU Objective-C runtime library is being
4216 1.3 skrll used, and if so, which version. Previous versions of the GNU
4217 1.3 skrll Objective-C runtime library (and other Objective-C runtime
4218 1.3 skrll libraries such as the Apple one) do not define this macro.
4219 1.3 skrll * A new Objective-C 2.0 API, almost identical to the one implemented
4220 1.3 skrll by the Apple Objective-C runtime, has been implemented in the GNU
4221 1.3 skrll Objective-C runtime library. The new API hides the internals of
4222 1.3 skrll most runtime structures but provides a more extensive set of
4223 1.3 skrll functions to operate on them. It is much easier, for example, to
4224 1.3 skrll create or modify classes at runtime. The new API also makes it
4225 1.3 skrll easier to port software from Apple to GNU as almost no changes
4226 1.3 skrll should be required. The old API is still supported for backwards
4227 1.3 skrll compatibility; including the old objc/objc-api.h header file
4228 1.3 skrll automatically selects the old API, while including the new
4229 1.3 skrll objc/runtime.h header file automatically selects the new API.
4230 1.3 skrll Support for the old API is being phased out and upgrading the
4231 1.3 skrll software to use the new API is strongly recommended. To check for
4232 1.3 skrll the availability of the new API, the __GNU_LIBOBJC__ macro can be
4233 1.3 skrll used as older versions of the GNU Objective-C runtime library,
4234 1.3 skrll which do not support the new API, do not define such a macro.
4235 1.3 skrll * Runtime support for @synchronized has been added.
4236 1.3 skrll * Runtime support for Objective-C 2.0 synthesized property accessors
4237 1.3 skrll has been added.
4238 1.3 skrll * Runtime support for Objective-C 2.0 fast enumeration has been
4239 1.3 skrll added.
4240 1.3 skrll
4241 1.3 skrll New Targets and Target Specific Improvements
4242 1.3 skrll
4243 1.3 skrll ARM
4244 1.3 skrll
4245 1.3 skrll * GCC now supports the Cortex-M4 processor implementing the v7-em
4246 1.3 skrll version of the architecture using the option -mcpu=cortex-m4.
4247 1.3 skrll * Scheduling descriptions for the Cortex-M4, the Neon and the
4248 1.3 skrll floating point units of the Cortex-A9 and a pipeline description
4249 1.3 skrll for the Cortex-A5 have been added.
4250 1.3 skrll * Synchronization primitives such as __sync_fetch_and_add and friends
4251 1.3 skrll are now inlined for supported architectures rather than calling
4252 1.3 skrll into a kernel helper function.
4253 1.3 skrll * SSA loop prefetching is enabled by default for the Cortex-A9 at
4254 1.3 skrll -O3.
4255 1.3 skrll * Several improvements were committed to improve code generation for
4256 1.3 skrll the ARM architecture including a rewritten implementation for load
4257 1.3 skrll and store multiples.
4258 1.3 skrll * Several enhancements were committed to improve SIMD code generation
4259 1.3 skrll for NEON by adding support for widening instructions, misaligned
4260 1.3 skrll loads and stores, vector conditionals and support for 64 bit
4261 1.3 skrll arithmetic.
4262 1.3 skrll * Support was added for the Faraday cores fa526, fa606te, fa626te,
4263 1.3 skrll fmp626te, fmp626 and fa726te and can be used with the respective
4264 1.3 skrll names as parameters to the -mcpu= option.
4265 1.3 skrll * Basic support was added for Cortex-A15 and is available through
4266 1.3 skrll -mcpu=cortex-a15.
4267 1.3 skrll * GCC for AAPCS configurations now more closely adheres to the AAPCS
4268 1.3 skrll specification by enabling -fstrict-volatile-bitfields by default.
4269 1.3 skrll
4270 1.3 skrll IA-32/x86-64
4271 1.3 skrll
4272 1.3 skrll * The new -fsplit-stack option permits programs to use a
4273 1.3 skrll discontiguous stack. This is useful for threaded programs, in that
4274 1.3 skrll it is no longer necessary to specify the maximum stack size when
4275 1.3 skrll creating a thread. This feature is currently only implemented for
4276 1.3 skrll 32-bit and 64-bit x86 GNU/Linux targets.
4277 1.3 skrll * Support for emitting profiler counter calls before function
4278 1.3 skrll prologues. This is enabled via a new command-line option -mfentry.
4279 1.3 skrll * Optimization for the Intel Core 2 processors is now available
4280 1.3 skrll through the -march=core2 and -mtune=core2 options.
4281 1.3 skrll * Support for Intel Core i3/i5/i7 processors is now available through
4282 1.3 skrll the -march=corei7 and -mtune=corei7 options.
4283 1.3 skrll * Support for Intel Core i3/i5/i7 processors with AVX is now
4284 1.3 skrll available through the -march=corei7-avx and -mtune=corei7-avx
4285 1.3 skrll options.
4286 1.3 skrll * Support for AMD Bobcat (family 14) processors is now available
4287 1.3 skrll through the -march=btver1 and -mtune=btver1 options.
4288 1.3 skrll * Support for AMD Bulldozer (family 15) processors is now available
4289 1.3 skrll through the -march=bdver1 and -mtune=bdver1 options.
4290 1.3 skrll * The default setting (when not optimizing for size) for 32-bit
4291 1.3 skrll GNU/Linux and Darwin x86 targets has been changed to
4292 1.3 skrll -fomit-frame-pointer. The default can be reverted to
4293 1.3 skrll -fno-omit-frame-pointer by configuring GCC with the
4294 1.3 skrll --enable-frame-pointer configure option.
4295 1.3 skrll * Darwin, FreeBSD, Solaris 2, MinGW and Cygwin now all support
4296 1.3 skrll __float128 on 32-bit and 64-bit x86 targets.
4297 1.3 skrll * AVX floating-point arithmetic can now be enabled by default at
4298 1.3 skrll configure time with the new --with-fpmath=avx option.
4299 1.3 skrll * The SSA loop prefetching pass is enabled when using -O3 when
4300 1.3 skrll optimizing for CPUs where prefetching is beneficial (AMD CPUs newer
4301 1.3 skrll than K6).
4302 1.3 skrll * Support for TBM (Trailing Bit Manipulation) built-in functions and
4303 1.3 skrll code generation is available via -mtbm.
4304 1.3 skrll * Support for AMD's BMI (Bit Manipulation) built-in functions and
4305 1.3 skrll code generation is available via -mbmi.
4306 1.3 skrll
4307 1.3 skrll MicroBlaze
4308 1.3 skrll
4309 1.3 skrll * Support has been added for the Xilinx MicroBlaze softcore processor
4310 1.3 skrll (microblaze-elf) embedded target. This configurable processor is
4311 1.3 skrll supported on several Xilinx Spartan and Virtex FPGAs.
4312 1.3 skrll
4313 1.3 skrll MIPS
4314 1.3 skrll
4315 1.3 skrll * GCC now supports the Loongson 3A processor. Its canonical -march=
4316 1.3 skrll and -mtune= name is loongson3a.
4317 1.3 skrll
4318 1.3 skrll MN10300 / AM33
4319 1.3 skrll
4320 1.3 skrll * The inline assembly register constraint "A" has been renamed "c".
4321 1.3 skrll This constraint is used to select a floating-point register that
4322 1.3 skrll can be used as the destination of a multiply-accumulate
4323 1.3 skrll instruction.
4324 1.3 skrll * New inline assembly register constraints "A" and "D" have been
4325 1.3 skrll added. These constraint letters resolve to all general registers
4326 1.3 skrll when compiling for AM33, and resolve to address registers only or
4327 1.3 skrll data registers only when compiling for MN10300.
4328 1.3 skrll * The MDR register is represented in the compiler. One can access the
4329 1.3 skrll register via the "z" constraint in inline assembly. It can be
4330 1.3 skrll marked as clobbered or used as a local register variable via the
4331 1.3 skrll "mdr" name. The compiler uses the RETF instruction if the function
4332 1.3 skrll does not modify the MDR register, so it is important that inline
4333 1.3 skrll assembly properly annotate any usage of the register.
4334 1.3 skrll
4335 1.3 skrll PowerPC/PowerPC64
4336 1.3 skrll
4337 1.3 skrll * GCC now supports the Applied Micro Titan processor with
4338 1.3 skrll -mcpu=titan.
4339 1.3 skrll * The -mrecip option has been added, which indicates whether the
4340 1.3 skrll reciprocal and reciprocal square root instructions should be used.
4341 1.3 skrll * The -mveclibabi=mass option can be used to enable the compiler to
4342 1.3 skrll autovectorize mathematical functions using the Mathematical
4343 1.3 skrll Acceleration Subsystem library.
4344 1.3 skrll * The -msingle-pic-base option has been added, which instructs the
4345 1.3 skrll compiler to avoid loading the PIC base register in function
4346 1.3 skrll prologues. The PIC base register must be initialized by the runtime
4347 1.3 skrll system.
4348 1.3 skrll * The -mblock-move-inline-limit option has been added, which enables
4349 1.3 skrll the user to control the maximum size of inlined memcpy calls and
4350 1.3 skrll similar.
4351 1.3 skrll * PowerPC64 GNU/Linux support for applications requiring a large TOC
4352 1.3 skrll section has been improved. A new command-line option,
4353 1.3 skrll -mcmodel=MODEL, controls this feature; valid values for MODEL are
4354 1.3 skrll small, medium, or large.
4355 1.3 skrll * The Altivec builtin functions vec_ld and vec_st have been modified
4356 1.3 skrll to generate the Altivec memory instructions LVX and STVX, even if
4357 1.3 skrll the -mvsx option is used. In the initial GCC 4.5 release, these
4358 1.3 skrll builtin functions were changed to generate VSX memory reference
4359 1.3 skrll instructions instead of Altivec memory instructions, but there are
4360 1.3 skrll differences between the two instructions. If the VSX instruction
4361 1.3 skrll set is available, you can now use the new builtin functions
4362 1.3 skrll vec_vsx_ld and vec_vsx_st which always generates the VSX memory
4363 1.3 skrll instructions.
4364 1.3 skrll * The GCC compiler on AIX now defaults to a process layout with a
4365 1.3 skrll larger data space allowing larger programs to be compiled.
4366 1.3 skrll * The GCC long double type on AIX 6.1 and above has reverted to 64
4367 1.3 skrll bit double precision, matching the AIX XL compiler default, because
4368 1.3 skrll of missing C99 symbols required by the GCC runtime.
4369 1.3 skrll * The default processor scheduling model and tuning for PowerPC64
4370 1.3 skrll GNU/Linux and for AIX 6.1 and above now is POWER7.
4371 1.3 skrll * Starting with GCC 4.6.1, vectors of type vector long long or vector
4372 1.3 skrll long are passed and returned in the same method as other vectors
4373 1.3 skrll with the VSX instruction set. Previously the GCC compiler did not
4374 1.3 skrll adhere to the ABI for 128-bit vectors with 64-bit integer base
4375 1.3 skrll types (PR 48857). This is also fixed in the GCC 4.5.4 release.
4376 1.3 skrll
4377 1.3 skrll S/390, zSeries and System z9/z10, IBM zEnterprise z196
4378 1.3 skrll
4379 1.3 skrll * Support for the zEnterprise z196 processor has been added. When
4380 1.3 skrll using the -march=z196 option, the compiler will generate code
4381 1.3 skrll making use of the following instruction facilities:
4382 1.3 skrll + Conditional load/store
4383 1.3 skrll + Distinct-operands
4384 1.3 skrll + Floating-point-extension
4385 1.3 skrll + Interlocked-access
4386 1.3 skrll + Population-count
4387 1.3 skrll The -mtune=z196 option avoids the compare and branch instructions
4388 1.3 skrll as well as the load address instruction with an index register as
4389 1.3 skrll much as possible and performs instruction scheduling appropriate
4390 1.3 skrll for the new out-of-order pipeline architecture.
4391 1.3 skrll * When using the -m31 -mzarch options the generated code still
4392 1.3 skrll conforms to the 32-bit ABI but uses the general purpose registers
4393 1.3 skrll as 64-bit registers internally. This requires a Linux kernel saving
4394 1.3 skrll the whole 64-bit registers when doing a context switch. Kernels
4395 1.3 skrll providing that feature indicate that by the 'highgprs' string in
4396 1.3 skrll /proc/cpuinfo.
4397 1.3 skrll * The SSA loop prefetching pass is enabled when using -O3.
4398 1.3 skrll
4399 1.3 skrll SPARC
4400 1.3 skrll
4401 1.3 skrll * GCC now supports the LEON series of SPARC V8 processors. The code
4402 1.3 skrll generated by the compiler can either be tuned to it by means of the
4403 1.3 skrll --with-tune=leon configure option and -mtune=leon compilation
4404 1.3 skrll option, or the compiler can be built for the sparc-leon-{elf,linux}
4405 1.3 skrll and sparc-leon3-{elf,linux} targets directly.
4406 1.3 skrll * GCC has stopped sign/zero-extending parameter registers in the
4407 1.3 skrll callee for functions taking parameters with sub-word size in 32-bit
4408 1.3 skrll mode, since this is redundant with the specification of the ABI.
4409 1.3 skrll GCC has never done so in 64-bit mode since this is also redundant.
4410 1.7 mrg * The command-line option -mfix-at697f has been added to enable the
4411 1.3 skrll documented workaround for the single erratum of the Atmel AT697F
4412 1.3 skrll processor.
4413 1.3 skrll
4414 1.3 skrll Operating Systems
4415 1.3 skrll
4416 1.3 skrll Android
4417 1.3 skrll
4418 1.3 skrll * GCC now supports the Bionic C library and provides a convenient way
4419 1.3 skrll of building native libraries and applications for the Android
4420 1.3 skrll platform. Refer to the documentation of the -mandroid and -mbionic
4421 1.3 skrll options for details on building native code. At the moment, Android
4422 1.3 skrll support is enabled only for ARM.
4423 1.3 skrll
4424 1.3 skrll Darwin/Mac OS X
4425 1.3 skrll
4426 1.3 skrll * General
4427 1.3 skrll + Initial support for CFString types has been added.
4428 1.3 skrll This allows GCC to build projects including the system Core
4429 1.3 skrll Foundation frameworks. The GCC Objective-C family supports
4430 1.3 skrll CFString "toll-free bridged" as per the Mac OS X system tools.
4431 1.3 skrll CFString is also recognized in the context of format
4432 1.3 skrll attributes and arguments (see the documentation for format
4433 1.3 skrll attributes for limitations). At present, 8-bit character types
4434 1.3 skrll are supported.
4435 1.3 skrll + Object file size reduction.
4436 1.3 skrll The Darwin zeroed memory allocators have been re-written to
4437 1.3 skrll make more use of .zerofill sections. For non-debug code, this
4438 1.3 skrll can reduce object file size significantly.
4439 1.3 skrll + Objective-C family 64-bit support (NeXT ABI 2).
4440 1.3 skrll Initial support has been added to support 64-bit Objective-C
4441 1.3 skrll code using the Darwin/OS X native (NeXT) runtime. ABI version
4442 1.3 skrll 2 will be selected automatically when 64-bit code is built.
4443 1.3 skrll + Objective-C family 32-bit ABI 1.
4444 1.3 skrll For 32-bit code ABI 1 is also now also allowed. At present it
4445 1.3 skrll must be selected manually using -fobjc-abi-version=1 where
4446 1.3 skrll applicable - i.e. on Darwin 9/10 (OS X 10.5/10.6).
4447 1.3 skrll * x86 Architecture
4448 1.3 skrll + The -mdynamic-no-pic option has been enabled.
4449 1.3 skrll Code supporting -mdynamic-no-pic optimization has been added
4450 1.3 skrll and is applicable to -m32 builds. The compiler bootstrap uses
4451 1.3 skrll the option where appropriate.
4452 1.3 skrll + The default value for -mtune= has been changed.
4453 1.3 skrll Since Darwin systems are primarily Xeon, Core-2 or similar the
4454 1.3 skrll default tuning has been changed to -mtune=core2.
4455 1.3 skrll + Enable 128-bit long double (__float128) support on Darwin.
4456 1.3 skrll * PPC Architecture
4457 1.3 skrll + Darwin64 ABI.
4458 1.3 skrll Several significant bugs have been fixed, such that GCC now
4459 1.3 skrll produces code compatible with the Darwin64 PowerPC ABI.
4460 1.3 skrll + libffi and boehm-gc.
4461 1.3 skrll The Darwin ports of the libffi and boehm-gc libraries have
4462 1.3 skrll been upgraded to include a Darwin64 implementation. This means
4463 1.3 skrll that powerpc*-*-darwin9 platforms may now, for example, build
4464 1.3 skrll Java applications with -m64 enabled.
4465 1.3 skrll + Plug-in support has been enabled.
4466 1.3 skrll + The -fsection-anchors option is now available although,
4467 1.3 skrll presently, not heavily tested.
4468 1.3 skrll
4469 1.3 skrll Solaris 2
4470 1.3 skrll
4471 1.3 skrll New Features
4472 1.3 skrll
4473 1.3 skrll * Support symbol versioning with the Sun linker.
4474 1.3 skrll * Allow libstdc++ to leverage full ISO C99 support on Solaris 10+.
4475 1.3 skrll * Support thread-local storage (TLS) with the Sun assembler on
4476 1.3 skrll Solaris 2/x86.
4477 1.3 skrll * Support TLS on Solaris 8/9 if prerequisites are met.
4478 1.3 skrll * Support COMDAT group with the GNU assembler and recent Sun linker.
4479 1.3 skrll * Support the Sun assembler visibility syntax.
4480 1.3 skrll * Default Solaris 2/x86 to -march=pentium4 (Solaris 10+) resp.
4481 1.3 skrll -march=pentiumpro (Solaris 8/9).
4482 1.3 skrll * Don't use SSE on Solaris 8/9 x86 by default.
4483 1.3 skrll * Enable 128-bit long double (__float128) support on Solaris 2/x86.
4484 1.3 skrll
4485 1.3 skrll ABI Change
4486 1.3 skrll
4487 1.3 skrll * Change the ABI for returning 8-byte vectors like __m64 in MMX
4488 1.3 skrll registers on Solaris 10+/x86 to match the Sun Studio 12.1+
4489 1.3 skrll compilers. This is an incompatible change. If you use such types,
4490 1.3 skrll you must either recompile all your code with the new compiler or
4491 1.3 skrll use the new -mvect8-ret-in-mem option to remain compatible with
4492 1.3 skrll previous versions of GCC and Sun Studio.
4493 1.3 skrll
4494 1.3 skrll Windows x86/x86_64
4495 1.3 skrll
4496 1.3 skrll * Initial support for decimal floating point.
4497 1.3 skrll * Support for the __thiscall calling-convention.
4498 1.3 skrll * Support for hot-patchable function prologues via the
4499 1.3 skrll ms_hook_prologue attribute for x86_64 in addition to 32-bit x86.
4500 1.3 skrll * Improvements of stack-probing and stack-allocation mechanisms.
4501 1.3 skrll * Support of push/pop-macro pragma as preprocessor command.
4502 1.3 skrll With #pragma push_macro("macro-name") the current definition of
4503 1.3 skrll macro-name is saved and can be restored with #pragma
4504 1.3 skrll pop_macro("macro-name") to its saved definition.
4505 1.3 skrll * Enable 128-bit long double (__float128) support on MinGW and
4506 1.3 skrll Cygwin.
4507 1.3 skrll
4508 1.3 skrll Other significant improvements
4509 1.3 skrll
4510 1.3 skrll Installation changes
4511 1.3 skrll
4512 1.3 skrll * An install-strip make target is provided that installs stripped
4513 1.3 skrll executables, and may install libraries with unneeded or debugging
4514 1.3 skrll sections stripped.
4515 1.3 skrll * On Power7 systems, there is a potential problem if you build the
4516 1.3 skrll GCC compiler with a host compiler using options that enable the VSX
4517 1.3 skrll instruction set generation. If the host compiler has been patched
4518 1.3 skrll so that the vec_ld and vec_st builtin functions generate Altivec
4519 1.3 skrll memory instructions instead of VSX memory instructions, then you
4520 1.3 skrll should be able to build the compiler with VSX instruction
4521 1.3 skrll generation.
4522 1.3 skrll
4523 1.3 skrll Changes for GCC Developers
4524 1.3 skrll
4525 1.3 skrll Note: these changes concern developers that develop GCC itself or
4526 1.3 skrll software that integrates with GCC, such as plugins, and not the general
4527 1.3 skrll GCC users.
4528 1.3 skrll * The gengtype utility, which previously was internal to the GCC
4529 1.3 skrll build process, has been enchanced to provide GC root information
4530 1.3 skrll for plugins as necessary.
4531 1.3 skrll * The old GC allocation interface of ggc_alloc and friends was
4532 1.3 skrll replaced with a type-safe alternative.
4533 1.3 skrll
4534 1.3 skrll GCC 4.6.1
4535 1.3 skrll
4536 1.3 skrll This is the [20]list of problem reports (PRs) from GCC's bug tracking
4537 1.3 skrll system that are known to be fixed in the 4.6.1 release. This list might
4538 1.3 skrll not be complete (that is, it is possible that some PRs that have been
4539 1.3 skrll fixed are not listed here).
4540 1.3 skrll
4541 1.3 skrll GCC 4.6.2
4542 1.3 skrll
4543 1.3 skrll This is the [21]list of problem reports (PRs) from GCC's bug tracking
4544 1.3 skrll system that are known to be fixed in the 4.6.2 release. This list might
4545 1.3 skrll not be complete (that is, it is possible that some PRs that have been
4546 1.3 skrll fixed are not listed here).
4547 1.3 skrll
4548 1.3 skrll GCC 4.6.3
4549 1.3 skrll
4550 1.3 skrll This is the [22]list of problem reports (PRs) from GCC's bug tracking
4551 1.3 skrll system that are known to be fixed in the 4.6.3 release. This list might
4552 1.3 skrll not be complete (that is, it is possible that some PRs that have been
4553 1.3 skrll fixed are not listed here).
4554 1.3 skrll
4555 1.3 skrll GCC 4.6.4
4556 1.3 skrll
4557 1.3 skrll This is the [23]list of problem reports (PRs) from GCC's bug tracking
4558 1.3 skrll system that are known to be fixed in the 4.6.4 release. This list might
4559 1.3 skrll not be complete (that is, it is possible that some PRs that have been
4560 1.3 skrll fixed are not listed here).
4561 1.3 skrll
4562 1.3 skrll
4563 1.3 skrll For questions related to the use of GCC, please consult these web
4564 1.3 skrll pages and the [24]GCC manuals. If that fails, the
4565 1.3 skrll [25]gcc-help (a] gcc.gnu.org mailing list might help. Comments on these
4566 1.3 skrll web pages and the development of GCC are welcome on our developer
4567 1.3 skrll list at [26]gcc (a] gcc.gnu.org. All of [27]our lists have public
4568 1.3 skrll archives.
4569 1.3 skrll
4570 1.3 skrll Copyright (C) [28]Free Software Foundation, Inc. Verbatim copying and
4571 1.3 skrll distribution of this entire article is permitted in any medium,
4572 1.3 skrll provided this notice is preserved.
4573 1.3 skrll
4574 1.3 skrll These pages are [29]maintained by the GCC team. Last modified
4575 1.7 mrg 2016-11-27[30].
4576 1.3 skrll
4577 1.3 skrll References
4578 1.3 skrll
4579 1.6 mrg 1. https://sourceware.org/bugzilla/show_bug.cgi?id=10401
4580 1.3 skrll 2. http://gcc.gnu.org/gcc-4.5/changes.html
4581 1.3 skrll 3. http://gcc.gnu.org/gcc-4.5/changes.html#obsoleted
4582 1.3 skrll 4. http://gcc.gnu.org/gcc-4.6/porting_to.html
4583 1.3 skrll 5. http://gcc.gnu.org/projects/lto/whopr.pdf
4584 1.4 mrg 6. https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#Warning-Options
4585 1.3 skrll 7. http://gcc.gnu.org/gcc-4.6/cxx0x_status.html
4586 1.4 mrg 8. https://gcc.gnu.org/PR43145
4587 1.4 mrg 9. https://gcc.gnu.org/PR43680
4588 1.4 mrg 10. https://gcc.gnu.org/PR33558
4589 1.3 skrll 11. http://www.open-std.org/jtc1/sc22/wg21/docs/cwg_active.html#253
4590 1.4 mrg 12. https://gcc.gnu.org/onlinedocs/gcc-4.6.4/libstdc++/manual/manual/status.html#status.iso.200x
4591 1.4 mrg 13. https://gcc.gnu.org/onlinedocs/libstdc++/manual/debug_mode.html
4592 1.4 mrg 14. https://gcc.gnu.org/onlinedocs/libstdc++/manual/debug.html#debug.races
4593 1.4 mrg 15. https://gcc.gnu.org/onlinedocs/gcc/Preprocessor-Options.html
4594 1.4 mrg 16. https://gcc.gnu.org/wiki/OOP
4595 1.4 mrg 17. https://gcc.gnu.org/wiki/Coarray
4596 1.4 mrg 18. https://gcc.gnu.org/onlinedocs/gfortran/Code-Gen-Options.html#index-g_t_0040code_007bfcoarray_007d-233
4597 1.5 mrg 19. https://golang.org/
4598 1.4 mrg 20. https://gcc.gnu.org/bugzilla/buglist.cgi?bug_status=RESOLVED&resolution=FIXED&target_milestone=4.6.1
4599 1.4 mrg 21. https://gcc.gnu.org/bugzilla/buglist.cgi?bug_status=RESOLVED&resolution=FIXED&target_milestone=4.6.2
4600 1.4 mrg 22. https://gcc.gnu.org/bugzilla/buglist.cgi?bug_status=RESOLVED&resolution=FIXED&target_milestone=4.6.3
4601 1.4 mrg 23. https://gcc.gnu.org/bugzilla/buglist.cgi?bug_status=RESOLVED&resolution=FIXED&target_milestone=4.6.4
4602 1.4 mrg 24. https://gcc.gnu.org/onlinedocs/
4603 1.3 skrll 25. mailto:gcc-help (a] gcc.gnu.org
4604 1.3 skrll 26. mailto:gcc (a] gcc.gnu.org
4605 1.4 mrg 27. https://gcc.gnu.org/lists.html
4606 1.3 skrll 28. http://www.fsf.org/
4607 1.4 mrg 29. https://gcc.gnu.org/about.html
4608 1.3 skrll 30. http://validator.w3.org/check/referer
4609 1.3 skrll ======================================================================
4610 1.1 mrg http://gcc.gnu.org/gcc-4.5/index.html
4611 1.1 mrg GCC 4.5 Release Series
4612 1.1 mrg
4613 1.3 skrll Jul 2, 2012
4614 1.1 mrg
4615 1.1 mrg The [1]GNU project and the GCC developers are pleased to announce the
4616 1.3 skrll release of GCC 4.5.4.
4617 1.1 mrg
4618 1.1 mrg This release is a bug-fix release, containing fixes for regressions in
4619 1.3 skrll GCC 4.5.3 relative to previous releases of GCC.
4620 1.1 mrg
4621 1.7 mrg This release series is no longer maintained.
4622 1.7 mrg
4623 1.1 mrg Release History
4624 1.1 mrg
4625 1.3 skrll GCC 4.5.4
4626 1.3 skrll Jul 2, 2012 ([2]changes)
4627 1.3 skrll
4628 1.1 mrg GCC 4.5.3
4629 1.3 skrll Apr 28, 2011 ([3]changes)
4630 1.1 mrg
4631 1.1 mrg GCC 4.5.2
4632 1.3 skrll Dec 16, 2010 ([4]changes)
4633 1.1 mrg
4634 1.1 mrg GCC 4.5.1
4635 1.3 skrll Jul 31, 2010 ([5]changes)
4636 1.1 mrg
4637 1.1 mrg GCC 4.5.0
4638 1.3 skrll April 14, 2010 ([6]changes)
4639 1.1 mrg
4640 1.1 mrg References and Acknowledgements
4641 1.1 mrg
4642 1.1 mrg GCC used to stand for the GNU C Compiler, but since the compiler
4643 1.1 mrg supports several other languages aside from C, it now stands for the
4644 1.1 mrg GNU Compiler Collection.
4645 1.1 mrg
4646 1.3 skrll A list of [7]successful builds is updated as new information becomes
4647 1.1 mrg available.
4648 1.1 mrg
4649 1.1 mrg The GCC developers would like to thank the numerous people that have
4650 1.1 mrg contributed new features, improvements, bug fixes, and other changes as
4651 1.3 skrll well as test results to GCC. This [8]amazing group of volunteers is
4652 1.1 mrg what makes GCC successful.
4653 1.1 mrg
4654 1.3 skrll For additional information about GCC please refer to the [9]GCC project
4655 1.3 skrll web site or contact the [10]GCC development mailing list.
4656 1.1 mrg
4657 1.3 skrll To obtain GCC please use [11]our mirror sites or [12]our SVN server.
4658 1.1 mrg
4659 1.1 mrg
4660 1.1 mrg For questions related to the use of GCC, please consult these web
4661 1.3 skrll pages and the [13]GCC manuals. If that fails, the
4662 1.3 skrll [14]gcc-help (a] gcc.gnu.org mailing list might help. Comments on these
4663 1.1 mrg web pages and the development of GCC are welcome on our developer
4664 1.3 skrll list at [15]gcc (a] gcc.gnu.org. All of [16]our lists have public
4665 1.1 mrg archives.
4666 1.1 mrg
4667 1.3 skrll Copyright (C) [17]Free Software Foundation, Inc. Verbatim copying and
4668 1.1 mrg distribution of this entire article is permitted in any medium,
4669 1.1 mrg provided this notice is preserved.
4670 1.1 mrg
4671 1.3 skrll These pages are [18]maintained by the GCC team. Last modified
4672 1.7 mrg 2016-09-30[19].
4673 1.1 mrg
4674 1.1 mrg References
4675 1.1 mrg
4676 1.1 mrg 1. http://www.gnu.org/
4677 1.1 mrg 2. http://gcc.gnu.org/gcc-4.5/changes.html
4678 1.1 mrg 3. http://gcc.gnu.org/gcc-4.5/changes.html
4679 1.1 mrg 4. http://gcc.gnu.org/gcc-4.5/changes.html
4680 1.1 mrg 5. http://gcc.gnu.org/gcc-4.5/changes.html
4681 1.3 skrll 6. http://gcc.gnu.org/gcc-4.5/changes.html
4682 1.3 skrll 7. http://gcc.gnu.org/gcc-4.5/buildstat.html
4683 1.4 mrg 8. https://gcc.gnu.org/onlinedocs/gcc/Contributors.html
4684 1.3 skrll 9. http://gcc.gnu.org/index.html
4685 1.3 skrll 10. mailto:gcc (a] gcc.gnu.org
4686 1.3 skrll 11. http://gcc.gnu.org/mirrors.html
4687 1.3 skrll 12. http://gcc.gnu.org/svn.html
4688 1.4 mrg 13. https://gcc.gnu.org/onlinedocs/
4689 1.3 skrll 14. mailto:gcc-help (a] gcc.gnu.org
4690 1.3 skrll 15. mailto:gcc (a] gcc.gnu.org
4691 1.4 mrg 16. https://gcc.gnu.org/lists.html
4692 1.3 skrll 17. http://www.fsf.org/
4693 1.4 mrg 18. https://gcc.gnu.org/about.html
4694 1.3 skrll 19. http://validator.w3.org/check/referer
4695 1.1 mrg ======================================================================
4696 1.1 mrg http://gcc.gnu.org/gcc-4.5/changes.html
4697 1.1 mrg GCC 4.5 Release Series
4698 1.1 mrg Changes, New Features, and Fixes
4699 1.1 mrg
4700 1.1 mrg Caveats
4701 1.1 mrg
4702 1.1 mrg * GCC now requires the [1]MPC library in order to build. See the
4703 1.1 mrg [2]prerequisites page for version requirements.
4704 1.1 mrg * Support for a number of older systems and recently unmaintained or
4705 1.1 mrg untested target ports of GCC has been declared obsolete in GCC 4.5.
4706 1.1 mrg Unless there is activity to revive them, the next release of GCC
4707 1.1 mrg will have their sources permanently removed.
4708 1.1 mrg The following ports for individual systems on particular
4709 1.1 mrg architectures have been obsoleted:
4710 1.1 mrg + IRIX releases before 6.5 (mips-sgi-irix5*,
4711 1.1 mrg mips-sgi-irix6.[0-4])
4712 1.1 mrg + Solaris 7 (*-*-solaris2.7)
4713 1.1 mrg + Tru64 UNIX releases before V5.1 (alpha*-dec-osf4*,
4714 1.1 mrg alpha-dec-osf5.0*)
4715 1.1 mrg + Details for the IRIX, Solaris 7, and Tru64 UNIX obsoletions
4716 1.1 mrg can be found in the [3]announcement.
4717 1.1 mrg Support for the classic POWER architecture implemented in the
4718 1.1 mrg original RIOS and RIOS2 processors of the old IBM RS/6000 product
4719 1.1 mrg line has been obsoleted in the rs6000 port. This does not affect
4720 1.1 mrg the new generation Power and PowerPC architectures.
4721 1.1 mrg * Support has been removed for all the [4]configurations obsoleted in
4722 1.1 mrg GCC 4.4.
4723 1.1 mrg * Support has been removed for the protoize and unprotoize utilities,
4724 1.1 mrg obsoleted in GCC 4.4.
4725 1.1 mrg * Support has been removed for tuning for Itanium1 (Merced) variants.
4726 1.1 mrg Note that code tuned for Itanium2 should also run correctly on
4727 1.1 mrg Itanium1.
4728 1.1 mrg * GCC now generates unwind info also for epilogues. DWARF debuginfo
4729 1.1 mrg generated by GCC now uses more features of DWARF3 than before, and
4730 1.1 mrg also some DWARF4 features. GDB older than 7.0 is not able to handle
4731 1.1 mrg either of these, so to debug GCC 4.5 generated binaries or
4732 1.1 mrg libraries GDB 7.0 or later is needed. You can disable use of DWARF4
4733 1.1 mrg features with the -gdwarf-3 -gstrict-dwarf options, or use
4734 1.1 mrg -gdwarf-2 -gstrict-dwarf to restrict GCC to just DWARF2, but
4735 1.1 mrg epilogue unwind info is emitted unconditionally whenever unwind
4736 1.1 mrg info is emitted.
4737 1.1 mrg * On x86 targets, code containing floating-point calculations may run
4738 1.7 mrg significantly more slowly when compiled with GCC 4.5 in strict C99
4739 1.1 mrg conformance mode than they did with earlier GCC versions. This is
4740 1.1 mrg due to stricter standard conformance of the compiler and can be
4741 1.1 mrg avoided by using the option -fexcess-precision=fast; also see
4742 1.1 mrg [5]below.
4743 1.1 mrg * The function attribute noinline no longer prevents GCC from cloning
4744 1.1 mrg the function. A new attribute noclone has been introduced for this
4745 1.1 mrg purpose. Cloning a function means that it is duplicated and the new
4746 1.1 mrg copy is specialized for certain contexts (for example when a
4747 1.1 mrg parameter is a known constant).
4748 1.1 mrg
4749 1.1 mrg General Optimizer Improvements
4750 1.1 mrg
4751 1.1 mrg * The -save-temps now takes an optional argument. The -save-temps and
4752 1.1 mrg -save-temps=cwd switches write the temporary files in the current
4753 1.1 mrg working directory based on the original source file. The
4754 1.1 mrg -save-temps=obj switch will write files into the directory
4755 1.1 mrg specified with the -o option, and the intermediate filenames are
4756 1.1 mrg based on the output file. This will allow the user to get the
4757 1.1 mrg compiler intermediate files when doing parallel builds without two
4758 1.1 mrg builds of the same filename located in different directories from
4759 1.1 mrg interfering with each other.
4760 1.1 mrg * Debugging dumps are now created in the same directory as the object
4761 1.1 mrg file rather than in the current working directory. This allows the
4762 1.1 mrg user to get debugging dumps when doing parallel builds without two
4763 1.1 mrg builds of the same filename interfering with each other.
4764 1.1 mrg * GCC has been integrated with the [6]MPC library. This allows GCC to
4765 1.1 mrg evaluate complex arithmetic at compile time [7]more accurately. It
4766 1.1 mrg also allows GCC to evaluate calls to complex built-in math
4767 1.1 mrg functions having constant arguments and replace them at compile
4768 1.1 mrg time with their mathematically equivalent results. In doing so, GCC
4769 1.1 mrg can generate correct results regardless of the math library
4770 1.1 mrg implementation or floating point precision of the host platform.
4771 1.1 mrg This also allows GCC to generate identical results regardless of
4772 1.1 mrg whether one compiles in native or cross-compile configurations to a
4773 1.1 mrg particular target. The following built-in functions take advantage
4774 1.1 mrg of this new capability: cacos, cacosh, casin, casinh, catan,
4775 1.1 mrg catanh, ccos, ccosh, cexp, clog, cpow, csin, csinh, csqrt, ctan,
4776 1.1 mrg and ctanh. The float and long double variants of these functions
4777 1.1 mrg (e.g. csinf and csinl) are also handled.
4778 1.1 mrg * A new link-time optimizer has been added ([8]-flto). When this
4779 1.1 mrg option is used, GCC generates a bytecode representation of each
4780 1.3 skrll input file and writes it to specially-named sections in each object
4781 1.1 mrg file. When the object files are linked together, all the function
4782 1.3 skrll bodies are read from these named sections and instantiated as if
4783 1.3 skrll they had been part of the same translation unit. This enables
4784 1.1 mrg interprocedural optimizations to work across different files (and
4785 1.1 mrg even different languages), potentially improving the performance of
4786 1.1 mrg the generated code. To use the link-timer optimizer, -flto needs to
4787 1.1 mrg be specified at compile time and during the final link. If the
4788 1.1 mrg program does not require any symbols to be exported, it is possible
4789 1.1 mrg to combine -flto and the experimental [9]-fwhopr with
4790 1.1 mrg [10]-fwhole-program to allow the interprocedural optimizers to use
4791 1.1 mrg more aggressive assumptions.
4792 1.1 mrg * The automatic parallelization pass was enhanced to support
4793 1.1 mrg parallelization of outer loops.
4794 1.1 mrg * Automatic parallelization can be enabled as part of Graphite. In
4795 1.1 mrg addition to -ftree-parallelize-loops=, specify
4796 1.1 mrg -floop-parallelize-all to enable the Graphite-based optimization.
4797 1.1 mrg * The infrastructure for optimizing based on [11]restrict qualified
4798 1.1 mrg pointers has been rewritten and should result in code generation
4799 1.1 mrg improvements. Optimizations based on restrict qualified pointers
4800 1.1 mrg are now also available when using -fno-strict-aliasing.
4801 1.1 mrg * There is a new optimization pass that attempts to change prototype
4802 1.1 mrg of functions to avoid unused parameters, pass only relevant parts
4803 1.1 mrg of structures and turn arguments passed by reference to arguments
4804 1.1 mrg passed by value when possible. It is enabled by -O2 and above as
4805 1.1 mrg well as -Os and can be manually invoked using the new command-line
4806 1.1 mrg switch -fipa-sra.
4807 1.1 mrg * GCC now optimize exception handling code. In particular cleanup
4808 1.1 mrg regions that are proved to not have any effect are optimized out.
4809 1.1 mrg
4810 1.1 mrg New Languages and Language specific improvements
4811 1.1 mrg
4812 1.1 mrg All languages
4813 1.1 mrg
4814 1.1 mrg * The -fshow-column option is now on by default. This means error
4815 1.1 mrg messages now have a column associated with them.
4816 1.1 mrg
4817 1.1 mrg Ada
4818 1.1 mrg
4819 1.1 mrg * Compilation of programs heavily using discriminated record types
4820 1.1 mrg with variant parts has been sped up and generates more compact
4821 1.1 mrg code.
4822 1.1 mrg * Stack checking now works reasonably well on most plaforms. In some
4823 1.1 mrg specific cases, stack overflows may still fail to be detected, but
4824 1.1 mrg a compile-time warning will be issued for these cases.
4825 1.1 mrg
4826 1.1 mrg C family
4827 1.1 mrg
4828 1.1 mrg * If a header named in a #include directive is not found, the
4829 1.1 mrg compiler exits immediately. This avoids a cascade of errors arising
4830 1.1 mrg from declarations expected to be found in that header being
4831 1.1 mrg missing.
4832 1.1 mrg * A new built-in function __builtin_unreachable() has been added that
4833 1.1 mrg tells the compiler that control will never reach that point. It may
4834 1.1 mrg be used after asm statements that terminate by transferring control
4835 1.1 mrg elsewhere, and in other places that are known to be unreachable.
4836 1.1 mrg * The -Wlogical-op option now warns for logical expressions such as
4837 1.1 mrg (c == 1 && c == 2) and (c != 1 || c != 2), which are likely to be
4838 1.1 mrg mistakes. This option is disabled by default.
4839 1.1 mrg * An asm goto feature has been added to allow asm statements that
4840 1.1 mrg jump to C labels.
4841 1.1 mrg * C++0x raw strings are supported for C++ and for C with -std=gnu99.
4842 1.1 mrg * The deprecated attribute now takes an optional string argument, for
4843 1.1 mrg example, __attribute__((deprecated("text string"))), that will be
4844 1.1 mrg printed together with the deprecation warning.
4845 1.1 mrg
4846 1.1 mrg C
4847 1.1 mrg
4848 1.1 mrg * The -Wenum-compare option, which warns when comparing values of
4849 1.1 mrg different enum types, now works for C. It formerly only worked for
4850 1.1 mrg C++. This warning is enabled by -Wall. It may be avoided by using a
4851 1.1 mrg type cast.
4852 1.1 mrg * The -Wcast-qual option now warns about casts which are unsafe in
4853 1.1 mrg that they permit const-correctness to be violated without further
4854 1.1 mrg warnings. Specifically, it warns about cases where a qualifier is
4855 1.1 mrg added when all the lower types are not const. For example, it warns
4856 1.1 mrg about a cast from char ** to const char **.
4857 1.1 mrg * The -Wc++-compat option is significantly improved. It issues new
4858 1.1 mrg warnings for:
4859 1.1 mrg + Using C++ reserved operator names as identifiers.
4860 1.1 mrg + Conversions to enum types without explicit casts.
4861 1.1 mrg + Using va_arg with an enum type.
4862 1.1 mrg + Using different enum types in the two branches of ?:.
4863 1.1 mrg + Using ++ or -- on a variable of enum type.
4864 1.1 mrg + Using the same name as both a struct, union or enum tag and a
4865 1.1 mrg typedef, unless the typedef refers to the tagged type itself.
4866 1.1 mrg + Using a struct, union, or enum which is defined within another
4867 1.1 mrg struct or union.
4868 1.1 mrg + A struct field defined using a typedef if there is a field in
4869 1.1 mrg the struct, or an enclosing struct, whose name is the typedef
4870 1.1 mrg name.
4871 1.1 mrg + Duplicate definitions at file scope.
4872 1.1 mrg + Uninitialized const variables.
4873 1.1 mrg + A global variable with an anonymous struct, union, or enum
4874 1.1 mrg type.
4875 1.1 mrg + Using a string constant to initialize a char array whose size
4876 1.1 mrg is the length of the string.
4877 1.1 mrg * The new -Wjump-misses-init option warns about cases where a goto or
4878 1.1 mrg switch skips the initialization of a variable. This sort of branch
4879 1.1 mrg is an error in C++ but not in C. This warning is enabled by
4880 1.1 mrg -Wc++-compat.
4881 1.1 mrg * GCC now ensures that a C99-conforming <stdint.h> is present on most
4882 1.1 mrg targets, and uses information about the types in this header to
4883 1.1 mrg implement the Fortran bindings to those types. GCC does not ensure
4884 1.1 mrg the presence of such a header, and does not implement the Fortran
4885 1.1 mrg bindings, on the following targets: NetBSD, VxWorks, VMS,
4886 1.1 mrg SymbianOS, WinCE, LynxOS, Netware, QNX, Interix, TPF.
4887 1.1 mrg * GCC now implements C90- and C99-conforming rules for constant
4888 1.1 mrg expressions. This may cause warnings or errors for some code using
4889 1.1 mrg expressions that can be folded to a constant but are not constant
4890 1.1 mrg expressions as defined by ISO C.
4891 1.1 mrg * All known target-independent C90 and C90 Amendment 1 conformance
4892 1.1 mrg bugs, and all known target-independent C99 conformance bugs not
4893 1.1 mrg related to floating point or extended identifiers, have been fixed.
4894 1.1 mrg * The C decimal floating point support now includes support for the
4895 1.1 mrg FLOAT_CONST_DECIMAL64 pragma.
4896 1.1 mrg * The named address space feature from ISO/IEC TR 18037 is now
4897 1.1 mrg supported. This is currently only implemented for the SPU
4898 1.1 mrg processor.
4899 1.1 mrg
4900 1.1 mrg C++
4901 1.1 mrg
4902 1.1 mrg * Improved [12]experimental support for the upcoming C++0x ISO C++
4903 1.1 mrg standard, including support for raw strings, lambda expressions and
4904 1.1 mrg explicit type conversion operators.
4905 1.1 mrg * When printing the name of a class template specialization, G++ will
4906 1.1 mrg now omit any template arguments which come from default template
4907 1.1 mrg arguments. This behavior (and the pretty-printing of function
4908 1.1 mrg template specializations as template signature and arguments) can
4909 1.1 mrg be disabled with the -fno-pretty-templates option.
4910 1.1 mrg * Access control is now applied to typedef names used in a template,
4911 1.1 mrg which may cause G++ to reject some ill-formed code that was
4912 1.1 mrg accepted by earlier releases. The -fno-access-control option can be
4913 1.1 mrg used as a temporary workaround until the code is corrected.
4914 1.1 mrg * Compilation time for code that uses templates should now scale
4915 1.1 mrg linearly with the number of instantiations rather than
4916 1.1 mrg quadratically, as template instantiations are now looked up using
4917 1.1 mrg hash tables.
4918 1.1 mrg * Declarations of functions that look like builtin declarations of
4919 1.1 mrg library functions are only considered to be redeclarations if they
4920 1.1 mrg are declared with extern "C". This may cause problems with code
4921 1.1 mrg that omits extern "C" on hand-written declarations of C library
4922 1.1 mrg functions such as abort or memcpy. Such code is ill-formed, but was
4923 1.1 mrg accepted by earlier releases.
4924 1.1 mrg * Diagnostics that used to complain about passing non-POD types to
4925 1.1 mrg ... or jumping past the declaration of a non-POD variable now check
4926 1.1 mrg for triviality rather than PODness, as per C++0x.
4927 1.1 mrg * In C++0x mode local and anonymous classes are now allowed as
4928 1.1 mrg template arguments, and in declarations of variables and functions
4929 1.1 mrg with linkage, so long as any such declaration that is used is also
4930 1.1 mrg defined ([13]DR 757).
4931 1.1 mrg * Labels may now have attributes, as has been permitted for a while
4932 1.1 mrg in C. This is only permitted when the label definition and the
4933 1.7 mrg attribute specifier is followed by a semicoloni.e., the label
4934 1.1 mrg applies to an empty statement. The only useful attribute for a
4935 1.1 mrg label is unused.
4936 1.1 mrg * G++ now implements [14]DR 176. Previously G++ did not support using
4937 1.1 mrg the injected-class-name of a template base class as a type name,
4938 1.1 mrg and lookup of the name found the declaration of the template in the
4939 1.1 mrg enclosing scope. Now lookup of the name finds the
4940 1.1 mrg injected-class-name, which can be used either as a type or as a
4941 1.1 mrg template, depending on whether or not the name is followed by a
4942 1.1 mrg template argument list. As a result of this change, some code that
4943 1.1 mrg was previously accepted may be ill-formed because
4944 1.1 mrg 1. The injected-class-name is not accessible because it's from a
4945 1.1 mrg private base, or
4946 1.1 mrg 2. The injected-class-name cannot be used as an argument for a
4947 1.1 mrg template template parameter.
4948 1.1 mrg In either of these cases, the code can be fixed by adding a
4949 1.1 mrg nested-name-specifier to explicitly name the template. The first
4950 1.1 mrg can be worked around with -fno-access-control; the second is only
4951 1.1 mrg rejected with -pedantic.
4952 1.1 mrg * A new standard mangling for SIMD vector types has been added, to
4953 1.1 mrg avoid name clashes on systems with vectors of varying length. By
4954 1.1 mrg default the compiler still uses the old mangling, but emits aliases
4955 1.1 mrg with the new mangling on targets that support strong aliases. Users
4956 1.1 mrg can switch over entirely to the new mangling with -fabi-version=4
4957 1.1 mrg or -fabi-version=0. -Wabi will now warn about code that uses the
4958 1.1 mrg old mangling.
4959 1.1 mrg * The command-line option -ftemplate-depth-N is now written as
4960 1.1 mrg -ftemplate-depth=N and the old form is deprecated.
4961 1.1 mrg * Conversions between NULL and non-pointer types are now warned by
4962 1.1 mrg default. The new option -Wno-conversion-null disables these
4963 1.1 mrg warnings. Previously these warnings were only available when using
4964 1.1 mrg -Wconversion explicitly.
4965 1.1 mrg
4966 1.1 mrg Runtime Library (libstdc++)
4967 1.1 mrg
4968 1.4 mrg * Improved experimental support for the upcoming ISO C++ standard,
4969 1.4 mrg C++0x, including:
4970 1.1 mrg + Support for <future>, <functional>, and <random>.
4971 1.1 mrg + Existing facilities now exploit explicit operators and the
4972 1.1 mrg newly implemented core C++0x features.
4973 1.4 mrg + The header <cstdatomic> has been renamed to <atomic>.
4974 1.4 mrg * An experimental [15]profile mode has been added. This is an
4975 1.1 mrg implementation of many C++ standard library constructs with an
4976 1.1 mrg additional analysis layer that gives performance improvement advice
4977 1.1 mrg based on recognition of suboptimal usage patterns. For example,
4978 1.1 mrg #include <vector>
4979 1.1 mrg int main()
4980 1.1 mrg {
4981 1.1 mrg std::vector<int> v;
4982 1.1 mrg for (int k = 0; k < 1024; ++k)
4983 1.1 mrg v.insert(v.begin(), k);
4984 1.1 mrg }
4985 1.1 mrg
4986 1.1 mrg When instrumented via the profile mode, can return suggestions
4987 1.1 mrg about the initial size and choice of the container used as follows:
4988 1.1 mrg vector-to-list: improvement = 5: call stack = 0x804842c ...
4989 1.1 mrg : advice = change std::vector to std::list
4990 1.1 mrg vector-size: improvement = 3: call stack = 0x804842c ...
4991 1.1 mrg : advice = change initial container size from 0 to 1024
4992 1.1 mrg
4993 1.1 mrg These constructs can be substituted for the normal libstdc++
4994 1.1 mrg constructs on a piecemeal basis, or all existing components can be
4995 1.1 mrg transformed via the -D_GLIBCXX_PROFILE macro.
4996 1.4 mrg * [16]Support for decimal floating-point arithmetic (aka ISO C++ TR
4997 1.1 mrg 24733) has been added. This support is in header file
4998 1.1 mrg <decimal/decimal>, uses namespace std::decimal, and includes
4999 1.1 mrg classes decimal32, decimal64, and decimal128.
5000 1.1 mrg * Sources have been audited for application of function attributes
5001 1.1 mrg nothrow, const, pure, and noreturn.
5002 1.1 mrg * Python pretty-printers have been added for many standard library
5003 1.1 mrg components that simplify the internal representation and present a
5004 1.1 mrg more intuitive view of components when used with
5005 1.1 mrg appropriately-advanced versions of GDB. For more information,
5006 1.4 mrg please consult the more [17]detailed description.
5007 1.1 mrg * The default behavior for comparing typeinfo names has changed, so
5008 1.1 mrg in <typeinfo>, __GXX_MERGED_TYPEINFO_NAMES now defaults to zero.
5009 1.1 mrg * The new -static-libstdc++ option directs g++ to link the C++
5010 1.1 mrg library statically, even if the default would normally be to link
5011 1.1 mrg it dynamically.
5012 1.1 mrg
5013 1.1 mrg Fortran
5014 1.1 mrg
5015 1.7 mrg * The COMMON default padding has been changed instead of adding the
5016 1.1 mrg padding before a variable it is now added afterwards, which
5017 1.1 mrg increases the compatibility with other vendors and helps to obtain
5018 1.1 mrg the correct output in some cases. Cf. also the -falign-commons
5019 1.4 mrg option ([18]added in 4.4).
5020 1.1 mrg * The -finit-real= option now also supports the value snan for
5021 1.6 mrg signaling not-a-number; to be effective, one additionally needs to
5022 1.1 mrg enable trapping (e.g. via -ffpe-trap=). Note: Compile-time
5023 1.6 mrg optimizations can turn a signaling NaN into a quiet one.
5024 1.1 mrg * The new option -fcheck= has been added with the options bounds,
5025 1.1 mrg array-temps, do, pointer, and recursive. The bounds and array-temps
5026 1.1 mrg options are equivalent to -fbounds-check and
5027 1.1 mrg -fcheck-array-temporaries. The do option checks for invalid
5028 1.1 mrg modification of loop iteration variables, and the recursive option
5029 1.1 mrg tests for recursive calls to subroutines/functions which are not
5030 1.1 mrg marked as recursive. With pointer pointer association checks in
5031 1.1 mrg calls are performed; however, neither undefined pointers nor
5032 1.1 mrg pointers in expressions are handled. Using -fcheck=all enables all
5033 1.1 mrg these run-time checks.
5034 1.1 mrg * The run-time checking -fcheck=bounds now warns about invalid string
5035 1.1 mrg lengths of character dummy arguments. Additionally, more
5036 1.1 mrg compile-time checks have been added.
5037 1.4 mrg * The new option [19]-fno-protect-parens has been added; if set, the
5038 1.1 mrg compiler may reorder REAL and COMPLEX expressions without regard to
5039 1.1 mrg parentheses.
5040 1.1 mrg * GNU Fortran no longer links against libgfortranbegin. As before,
5041 1.1 mrg MAIN__ (assembler symbol name) is the actual Fortran main program,
5042 1.1 mrg which is invoked by the main function. However, main is now
5043 1.1 mrg generated and put in the same object file as MAIN__. For the time
5044 1.1 mrg being, libgfortranbegin still exists for backward compatibility.
5045 1.4 mrg For details see the new [20]Mixed-Language Programming chapter in
5046 1.1 mrg the manual.
5047 1.1 mrg * The I/O library was restructured for performance and cleaner code.
5048 1.1 mrg * Array assignments and WHERE are now run in parallel when OpenMP's
5049 1.1 mrg WORKSHARE is used.
5050 1.1 mrg * The experimental option -fwhole-file was added. The option allows
5051 1.1 mrg whole-file checking of procedure arguments and allows for better
5052 1.1 mrg optimizations. It can also be used with -fwhole-program, which is
5053 1.1 mrg now also supported in gfortran.
5054 1.1 mrg * More Fortran 2003 and Fortran 2008 mathematical functions can now
5055 1.1 mrg be used as initialization expressions.
5056 1.1 mrg * Some extended attributes such as STDCALL are now supported via the
5057 1.4 mrg [21]GCC$ compiler directive.
5058 1.1 mrg * For Fortran 77 compatibility: If -fno-sign-zero is used, the SIGN
5059 1.1 mrg intrinsic behaves now as if zero were always positive.
5060 1.1 mrg * For legacy compatibiliy: On Cygwin and MinGW, the special files
5061 1.1 mrg CONOUT$ and CONIN$ (and CONERR$ which maps to CONOUT$) are now
5062 1.1 mrg supported.
5063 1.1 mrg * Fortran 2003 support has been extended:
5064 1.1 mrg + Procedure-pointer function results and procedure-pointer
5065 1.1 mrg components (including PASS),
5066 1.1 mrg + allocatable scalars (experimental),
5067 1.1 mrg + DEFERRED type-bound procedures,
5068 1.1 mrg + the ERRMSG= argument of the ALLOCATE and DEALLOCATE statements
5069 1.1 mrg have been implemented.
5070 1.1 mrg + The ALLOCATE statement supports type-specs and the SOURCE=
5071 1.1 mrg argument.
5072 1.1 mrg + OPERATOR(*) and ASSIGNMENT(=) are now allowed as GENERIC
5073 1.1 mrg type-bound procedure (i.e. as type-bound operators).
5074 1.1 mrg + Rounding (ROUND=, RZ, ...) for output is now supported.
5075 1.1 mrg + The INT_FAST{8,16,32,64,128}_T kind type parameters of the
5076 1.1 mrg intrinsic module ISO_C_BINDING are now supported, except for
5077 1.1 mrg the targets listed above as ones where GCC does not have
5078 1.1 mrg <stdint.h> type information.
5079 1.1 mrg + Extensible derived types with type-bound procedure or
5080 1.1 mrg procedure pointer with PASS attribute now have to use CLASS in
5081 1.1 mrg line with the Fortran 2003 standard; the workaround to use
5082 1.1 mrg TYPE is no longer supported.
5083 1.4 mrg + [22]Experimental, incomplete support for polymorphism,
5084 1.1 mrg including CLASS, SELECT TYPE and dynamic dispatch of
5085 1.1 mrg type-bound procedure calls. Some features do not work yet such
5086 1.1 mrg as unlimited polymorphism (CLASS(*)).
5087 1.1 mrg * Fortran 2008 support has been extended:
5088 1.1 mrg + The OPEN statement now supports the NEWUNIT= option, which
5089 1.1 mrg returns a unique file unit, thus preventing inadvertent use of
5090 1.1 mrg the same unit in different parts of the program.
5091 1.1 mrg + Support for unlimited format items has been added.
5092 1.1 mrg + The INT{8,16,32} and REAL{32,64,128} kind type parameters of
5093 1.1 mrg the intrinsic module ISO_FORTRAN_ENV are now supported.
5094 1.1 mrg + Using complex arguments with TAN, SINH, COSH, TANH, ASIN,
5095 1.1 mrg ACOS, and ATAN is now possible; the functions ASINH, ACOSH,
5096 1.1 mrg and ATANH have been added (for real and complex arguments) and
5097 1.1 mrg ATAN(Y,X) is now an alias for ATAN2(Y,X).
5098 1.1 mrg + The BLOCK construct has been implemented.
5099 1.1 mrg
5100 1.1 mrg New Targets and Target Specific Improvements
5101 1.1 mrg
5102 1.1 mrg AIX
5103 1.1 mrg
5104 1.1 mrg * Full cross-toolchain support now available with GNU Binutils
5105 1.1 mrg
5106 1.1 mrg ARM
5107 1.1 mrg
5108 1.1 mrg * GCC now supports the Cortex-M0 and Cortex-A5 processors.
5109 1.1 mrg * GCC now supports the ARM v7E-M architecture.
5110 1.1 mrg * GCC now supports VFPv4-based FPUs and FPUs with
5111 1.1 mrg single-precision-only VFP.
5112 1.1 mrg * GCC has many improvements to optimization for other ARM processors,
5113 1.1 mrg including scheduling support for the integer pipeline on Cortex-A9.
5114 1.1 mrg * GCC now supports the IEEE 754-2008 half-precision floating-point
5115 1.1 mrg type, and a variant ARM-specific half-precision type. This type is
5116 1.1 mrg specified using __fp16, with the layout determined by
5117 1.1 mrg -mfp16-format. With appropriate -mfpu options, the Cortex-A9 and
5118 1.1 mrg VFPv4 half-precision instructions will be used.
5119 1.1 mrg * GCC now supports the variant of AAPCS that uses VFP registers for
5120 1.1 mrg parameter passing and return values.
5121 1.1 mrg
5122 1.1 mrg AVR
5123 1.1 mrg
5124 1.1 mrg * The -mno-tablejump option has been removed because it has the same
5125 1.1 mrg effect as the -fno-jump-tables option.
5126 1.1 mrg * Added support for these new AVR devices:
5127 1.1 mrg + ATmega8U2
5128 1.1 mrg + ATmega16U2
5129 1.1 mrg + ATmega32U2
5130 1.1 mrg
5131 1.1 mrg IA-32/x86-64
5132 1.1 mrg
5133 1.1 mrg * GCC now will set the default for -march= based on the configure
5134 1.1 mrg target.
5135 1.1 mrg * GCC now supports handling floating-point excess precision arising
5136 1.1 mrg from use of the x87 floating-point unit in a way that conforms to
5137 1.1 mrg ISO C99. This is enabled with -fexcess-precision=standard and with
5138 1.1 mrg standards conformance options such as -std=c99, and may be disabled
5139 1.1 mrg using -fexcess-precision=fast.
5140 1.1 mrg * Support for the Intel Atom processor is now available through the
5141 1.1 mrg -march=atom and -mtune=atom options.
5142 1.1 mrg * A new -mcrc32 option is now available to enable crc32 intrinsics.
5143 1.1 mrg * A new -mmovbe option is now available to enable GCC to use the
5144 1.1 mrg movbe instruction to implement __builtin_bswap32 and
5145 1.1 mrg __builtin_bswap64.
5146 1.1 mrg * SSE math now can be enabled by default at configure time with the
5147 1.1 mrg new --with-fpmath=sse option.
5148 1.1 mrg * There is a new intrinsic header file, <x86intrin.h>. It should be
5149 1.1 mrg included before using any IA-32/x86-64 intrinsics.
5150 1.1 mrg * Support for the XOP, FMA4, and LWP instruction sets for the AMD
5151 1.1 mrg Orochi processors are now available with the -mxop, -mfma4, and
5152 1.1 mrg -mlwp options.
5153 1.1 mrg * The -mabm option enables GCC to use the popcnt and lzcnt
5154 1.1 mrg instructions on AMD processors.
5155 1.1 mrg * The -mpopcnt option enables GCC to use the popcnt instructions on
5156 1.1 mrg both AMD and Intel processors.
5157 1.1 mrg
5158 1.1 mrg M68K/ColdFire
5159 1.1 mrg
5160 1.1 mrg * GCC now supports ColdFire 51xx, 5221x, 5225x, 52274, 52277, 5301x
5161 1.1 mrg and 5441x devices.
5162 1.1 mrg * GCC now supports thread-local storage (TLS) on M68K and ColdFire
5163 1.1 mrg processors.
5164 1.1 mrg
5165 1.1 mrg MeP
5166 1.1 mrg
5167 1.1 mrg Support has been added for the Toshiba Media embedded Processor (MeP,
5168 1.1 mrg or mep-elf) embedded target.
5169 1.1 mrg
5170 1.1 mrg MIPS
5171 1.1 mrg
5172 1.1 mrg * GCC now supports MIPS 1004K processors.
5173 1.1 mrg * GCC can now be configured with options --with-arch-32,
5174 1.1 mrg --with-arch-64, --with-tune-32 and --with-tune-64 to control the
5175 1.1 mrg default optimization separately for 32-bit and 64-bit modes.
5176 1.1 mrg * MIPS targets now support an alternative _mcount interface, in which
5177 1.1 mrg register $12 points to the function's save slot for register $31.
5178 1.1 mrg This interface is selected by the -mcount-ra-address option; see
5179 1.1 mrg the documentation for more details.
5180 1.1 mrg * GNU/Linux targets can now generate read-only .eh_frame sections.
5181 1.1 mrg This optimization requires GNU binutils 2.20 or above, and is only
5182 1.1 mrg available if GCC is configured with a suitable version of binutils.
5183 1.1 mrg * GNU/Linux targets can now attach special relocations to indirect
5184 1.1 mrg calls, so that the linker can turn them into direct jumps or
5185 1.1 mrg branches. This optimization requires GNU binutils 2.20 or later,
5186 1.1 mrg and is automatically selected if GCC is configured with an
5187 1.1 mrg appropriate version of binutils. It can be explicitly enabled or
5188 1.1 mrg disabled using the -mrelax-pic-calls command-line option.
5189 1.1 mrg * GCC now generates more heavily-optimized atomic operations on
5190 1.1 mrg Octeon processors.
5191 1.1 mrg * MIPS targets now support the -fstack-protector option.
5192 1.1 mrg * GCC now supports an -msynci option, which specifies that synci is
5193 1.1 mrg enough to flush the instruction cache, without help from the
5194 1.1 mrg operating system. GCC uses this information to optimize
5195 1.1 mrg automatically-generated cache flush operations, such as those used
5196 1.1 mrg for nested functions in C. There is also a --with-synci
5197 1.1 mrg configure-time option, which makes -msynci the default.
5198 1.1 mrg * GCC supports four new function attributes for interrupt handlers:
5199 1.1 mrg interrupt, use_shadow_register_set, keep_interrupts_masked and
5200 1.1 mrg use_debug_exception_return. See the documentation for more details
5201 1.1 mrg about these attributes.
5202 1.1 mrg
5203 1.1 mrg RS/6000 (POWER/PowerPC)
5204 1.1 mrg
5205 1.1 mrg * GCC now supports the Power ISA 2.06, which includes the VSX
5206 1.1 mrg instructions that add vector 64-bit floating point support, new
5207 1.1 mrg population count instructions, and conversions between floating
5208 1.1 mrg point and unsigned types.
5209 1.1 mrg * Support for the power7 processor is now available through the
5210 1.1 mrg -mcpu=power7 and -mtune=power7.
5211 1.1 mrg * GCC will now vectorize loops that contain simple math functions
5212 1.1 mrg like copysign when generating code for altivec or VSX targets.
5213 1.1 mrg * Support for the A2 processor is now available through the -mcpu=a2
5214 1.1 mrg and -mtune=a2 options.
5215 1.1 mrg * Support for the 476 processor is now available through the
5216 1.1 mrg -mcpu={476,476fp} and -mtune={476,476fp} options.
5217 1.1 mrg * Support for the e500mc64 processor is now available through the
5218 1.1 mrg -mcpu=e500mc64 and -mtune=e500mc64 options.
5219 1.1 mrg * GCC can now be configured with options --with-cpu-32,
5220 1.1 mrg --with-cpu-64, --with-tune-32 and --with-tune-64 to control the
5221 1.1 mrg default optimization separately for 32-bit and 64-bit modes.
5222 1.3 skrll * Starting with GCC 4.5.4, vectors of type vector long long or vector
5223 1.3 skrll long are passed and returned in the same method as other vectors
5224 1.3 skrll with the VSX instruction set. Previously the GCC compiler did not
5225 1.3 skrll adhere to the ABI for 128-bit vectors with 64-bit integer base
5226 1.3 skrll types (PR 48857). This is also fixed in the GCC 4.6.1 release.
5227 1.1 mrg
5228 1.1 mrg RX
5229 1.1 mrg
5230 1.1 mrg Support has been added for the Renesas RX Processor (rx-elf) target.
5231 1.1 mrg
5232 1.1 mrg Operating Systems
5233 1.1 mrg
5234 1.1 mrg Windows (Cygwin and MinGW)
5235 1.1 mrg
5236 1.1 mrg * GCC now installs all the major language runtime libraries as DLLs
5237 1.1 mrg when configured with the --enable-shared option.
5238 1.1 mrg * GCC now makes use of the new support for aligned common variables
5239 1.1 mrg in versions of binutils >= 2.20 to fix bugs in the support for SSE
5240 1.1 mrg data types.
5241 1.1 mrg * Improvements to the libffi support library increase the reliability
5242 1.1 mrg of code generated by GCJ on all Windows platforms. Libgcj is
5243 1.1 mrg enabled by default for the first time.
5244 1.1 mrg * Libtool improvements simplify installation by placing the generated
5245 1.1 mrg DLLs in the correct binaries directory.
5246 1.1 mrg * Numerous other minor bugfixes and improvements, and substantial
5247 1.1 mrg enhancements to the Fortran language support library.
5248 1.1 mrg
5249 1.3 skrll >
5250 1.1 mrg
5251 1.1 mrg Other significant improvements
5252 1.1 mrg
5253 1.1 mrg Plugins
5254 1.1 mrg
5255 1.1 mrg * It is now possible to extend the compiler without having to modify
5256 1.1 mrg its source code. A new option -fplugin=file.so tells GCC to load
5257 1.1 mrg the shared object file.so and execute it as part of the compiler.
5258 1.1 mrg The internal documentation describes the details on how plugins can
5259 1.1 mrg interact with the compiler.
5260 1.1 mrg
5261 1.1 mrg Installation changes
5262 1.1 mrg
5263 1.1 mrg * The move to newer autotools changed default installation
5264 1.1 mrg directories and switches to control them: The --with-datarootdir,
5265 1.1 mrg --with-docdir, --with-pdfdir, and --with-htmldir switches are not
5266 1.1 mrg used any more. Instead, you can now use --datarootdir, --docdir,
5267 1.1 mrg --htmldir, and --pdfdir. The default installation directories have
5268 1.1 mrg changed as follows according to the GNU Coding Standards:
5269 1.1 mrg
5270 1.1 mrg datarootdir read-only architecture-independent data root [PREFIX/share]
5271 1.1 mrg localedir locale-specific message catalogs [DATAROOTDIR/locale]
5272 1.1 mrg docdir documentation root [DATAROOTDIR/doc/PACKAGE]
5273 1.1 mrg htmldir html documentation [DOCDIR]
5274 1.1 mrg dvidir dvi documentation [DOCDIR]
5275 1.1 mrg pdfdir pdf documentation [DOCDIR]
5276 1.1 mrg psdir ps documentation [DOCDIR]
5277 1.1 mrg The following variables have new default values:
5278 1.1 mrg
5279 1.1 mrg datadir read-only architecture-independent data [DATAROOTDIR]
5280 1.1 mrg infodir info documentation [DATAROOTDIR/info]
5281 1.1 mrg mandir man documentation [DATAROOTDIR/man]
5282 1.1 mrg
5283 1.1 mrg GCC 4.5.1
5284 1.1 mrg
5285 1.4 mrg This is the [23]list of problem reports (PRs) from GCC's bug tracking
5286 1.1 mrg system that are known to be fixed in the 4.5.1 release. This list might
5287 1.1 mrg not be complete (that is, it is possible that some PRs that have been
5288 1.1 mrg fixed are not listed here).
5289 1.1 mrg
5290 1.1 mrg All languages
5291 1.1 mrg
5292 1.4 mrg * GCC's new link-time optimizer ([24]-flto) now also works on a few
5293 1.1 mrg non-ELF targets:
5294 1.1 mrg + Cygwin (*-cygwin*)
5295 1.1 mrg + MinGW (*-mingw*)
5296 1.1 mrg + Darwin on x86-64 (x86_64-apple-darwin*)
5297 1.1 mrg LTO is not enabled by default for these targets. To enable LTO, you
5298 1.1 mrg should configure with the --enable-lto option.
5299 1.1 mrg
5300 1.1 mrg GCC 4.5.2
5301 1.1 mrg
5302 1.4 mrg This is the [25]list of problem reports (PRs) from GCC's bug tracking
5303 1.1 mrg system that are known to be fixed in the 4.5.2 release. This list might
5304 1.1 mrg not be complete (that is, it is possible that some PRs that have been
5305 1.1 mrg fixed are not listed here).
5306 1.1 mrg
5307 1.1 mrg GCC 4.5.3
5308 1.1 mrg
5309 1.4 mrg This is the [26]list of problem reports (PRs) from GCC's bug tracking
5310 1.3 skrll system that are known to be fixed in the 4.5.3 release. This list might
5311 1.1 mrg not be complete (that is, it is possible that some PRs that have been
5312 1.1 mrg fixed are not listed here).
5313 1.1 mrg
5314 1.3 skrll On the PowerPC compiler, the Altivec builtin functions vec_ld and
5315 1.1 mrg vec_st have been modified to generate the Altivec memory instructions
5316 1.1 mrg LVX and STVX, even if the -mvsx option is used. In the initial GCC 4.5
5317 1.1 mrg release, these builtin functions were changed to generate VSX memory
5318 1.1 mrg reference instructions instead of Altivec memory instructions, but
5319 1.1 mrg there are differences between the two instructions. If the VSX
5320 1.1 mrg instruction set is available, you can now use the new builtin functions
5321 1.1 mrg vec_vsx_ld and vec_vsx_st which always generates the VSX memory
5322 1.1 mrg instructions.
5323 1.1 mrg
5324 1.3 skrll GCC 4.5.4
5325 1.3 skrll
5326 1.4 mrg This is the [27]list of problem reports (PRs) from GCC's bug tracking
5327 1.3 skrll system that are known to be fixed in the 4.5.4 release. This list might
5328 1.3 skrll not be complete (that is, it is possible that some PRs that have been
5329 1.3 skrll fixed are not listed here).
5330 1.3 skrll
5331 1.1 mrg
5332 1.1 mrg For questions related to the use of GCC, please consult these web
5333 1.4 mrg pages and the [28]GCC manuals. If that fails, the
5334 1.4 mrg [29]gcc-help (a] gcc.gnu.org mailing list might help. Comments on these
5335 1.1 mrg web pages and the development of GCC are welcome on our developer
5336 1.4 mrg list at [30]gcc (a] gcc.gnu.org. All of [31]our lists have public
5337 1.1 mrg archives.
5338 1.1 mrg
5339 1.4 mrg Copyright (C) [32]Free Software Foundation, Inc. Verbatim copying and
5340 1.1 mrg distribution of this entire article is permitted in any medium,
5341 1.1 mrg provided this notice is preserved.
5342 1.1 mrg
5343 1.4 mrg These pages are [33]maintained by the GCC team. Last modified
5344 1.7 mrg 2017-02-28[34].
5345 1.1 mrg
5346 1.1 mrg References
5347 1.1 mrg
5348 1.1 mrg 1. http://www.multiprecision.org/
5349 1.4 mrg 2. https://gcc.gnu.org/install/prerequisites.html
5350 1.4 mrg 3. https://gcc.gnu.org/ml/gcc/2010-01/msg00510.html
5351 1.1 mrg 4. http://gcc.gnu.org/gcc-4.4/changes.html#obsoleted
5352 1.1 mrg 5. http://gcc.gnu.org/gcc-4.5/changes.html#x86
5353 1.1 mrg 6. http://www.multiprecision.org/
5354 1.4 mrg 7. https://gcc.gnu.org/PR30789
5355 1.4 mrg 8. https://gcc.gnu.org/onlinedocs/gcc/Optimize-Options.html#index-flto-801
5356 1.4 mrg 9. https://gcc.gnu.org/onlinedocs/gcc/Optimize-Options.html#index-fwhopr-802
5357 1.4 mrg 10. https://gcc.gnu.org/onlinedocs/gcc/Optimize-Options.html#index-fwhole-program-800
5358 1.4 mrg 11. https://gcc.gnu.org/onlinedocs/gcc/Restricted-Pointers.html
5359 1.1 mrg 12. http://gcc.gnu.org/gcc-4.5/cxx0x_status.html
5360 1.1 mrg 13. http://www.open-std.org/jtc1/sc22/wg21/docs/cwg_defects.html#757
5361 1.1 mrg 14. http://www.open-std.org/jtc1/sc22/wg21/docs/cwg_defects.html#176
5362 1.4 mrg 15. https://gcc.gnu.org/onlinedocs/libstdc++/manual/profile_mode.html
5363 1.4 mrg 16. https://gcc.gnu.org/onlinedocs/libstdc++/manual/status.html#status.iso.tr24733
5364 1.6 mrg 17. https://sourceware.org/gdb/wiki/STLSupport
5365 1.4 mrg 18. http://gcc.gnu.org/gcc-4.4/changes.html
5366 1.4 mrg 19. https://gcc.gnu.org/onlinedocs/gfortran/Code-Gen-Options.html
5367 1.4 mrg 20. https://gcc.gnu.org/onlinedocs/gfortran/Mixed-Language-Programming.html
5368 1.4 mrg 21. https://gcc.gnu.org/onlinedocs/gfortran/GNU-Fortran-Compiler-Directives.html
5369 1.4 mrg 22. https://gcc.gnu.org/wiki/OOP
5370 1.4 mrg 23. https://gcc.gnu.org/bugzilla/buglist.cgi?bug_status=RESOLVED&resolution=FIXED&target_milestone=4.5.1
5371 1.4 mrg 24. https://gcc.gnu.org/onlinedocs/gcc/Optimize-Options.html#index-flto-801
5372 1.4 mrg 25. https://gcc.gnu.org/bugzilla/buglist.cgi?bug_status=RESOLVED&resolution=FIXED&target_milestone=4.5.2
5373 1.4 mrg 26. https://gcc.gnu.org/bugzilla/buglist.cgi?bug_status=RESOLVED&resolution=FIXED&target_milestone=4.5.3
5374 1.4 mrg 27. https://gcc.gnu.org/bugzilla/buglist.cgi?bug_status=RESOLVED&resolution=FIXED&target_milestone=4.5.4
5375 1.4 mrg 28. https://gcc.gnu.org/onlinedocs/
5376 1.4 mrg 29. mailto:gcc-help (a] gcc.gnu.org
5377 1.4 mrg 30. mailto:gcc (a] gcc.gnu.org
5378 1.4 mrg 31. https://gcc.gnu.org/lists.html
5379 1.4 mrg 32. http://www.fsf.org/
5380 1.4 mrg 33. https://gcc.gnu.org/about.html
5381 1.4 mrg 34. http://validator.w3.org/check/referer
5382 1.1 mrg ======================================================================
5383 1.1 mrg http://gcc.gnu.org/gcc-4.4/index.html
5384 1.1 mrg GCC 4.4 Release Series
5385 1.1 mrg
5386 1.3 skrll March 13, 2012
5387 1.1 mrg
5388 1.1 mrg The [1]GNU project and the GCC developers are pleased to announce the
5389 1.3 skrll release of GCC 4.4.7.
5390 1.1 mrg
5391 1.1 mrg This release is a bug-fix release, containing fixes for regressions in
5392 1.3 skrll GCC 4.4.6 relative to previous releases of GCC.
5393 1.1 mrg
5394 1.7 mrg This release series is no longer maintained.
5395 1.7 mrg
5396 1.1 mrg Release History
5397 1.1 mrg
5398 1.3 skrll GCC 4.4.7
5399 1.3 skrll March 13, 2012 ([2]changes)
5400 1.3 skrll
5401 1.1 mrg GCC 4.4.6
5402 1.3 skrll April 16, 2011 ([3]changes)
5403 1.1 mrg
5404 1.1 mrg GCC 4.4.5
5405 1.3 skrll October 1, 2010 ([4]changes)
5406 1.1 mrg
5407 1.1 mrg GCC 4.4.4
5408 1.3 skrll April 29, 2010 ([5]changes)
5409 1.1 mrg
5410 1.1 mrg GCC 4.4.3
5411 1.3 skrll January 21, 2010 ([6]changes)
5412 1.1 mrg
5413 1.1 mrg GCC 4.4.2
5414 1.3 skrll October 15, 2009 ([7]changes)
5415 1.1 mrg
5416 1.1 mrg GCC 4.4.1
5417 1.3 skrll July 22, 2009 ([8]changes)
5418 1.1 mrg
5419 1.1 mrg GCC 4.4.0
5420 1.3 skrll April 21, 2009 ([9]changes)
5421 1.1 mrg
5422 1.1 mrg References and Acknowledgements
5423 1.1 mrg
5424 1.1 mrg GCC used to stand for the GNU C Compiler, but since the compiler
5425 1.1 mrg supports several other languages aside from C, it now stands for the
5426 1.1 mrg GNU Compiler Collection.
5427 1.1 mrg
5428 1.3 skrll A list of [10]successful builds is updated as new information becomes
5429 1.1 mrg available.
5430 1.1 mrg
5431 1.1 mrg The GCC developers would like to thank the numerous people that have
5432 1.1 mrg contributed new features, improvements, bug fixes, and other changes as
5433 1.3 skrll well as test results to GCC. This [11]amazing group of volunteers is
5434 1.1 mrg what makes GCC successful.
5435 1.1 mrg
5436 1.3 skrll For additional information about GCC please refer to the [12]GCC
5437 1.3 skrll project web site or contact the [13]GCC development mailing list.
5438 1.1 mrg
5439 1.3 skrll To obtain GCC please use [14]our mirror sites or [15]our SVN server.
5440 1.1 mrg
5441 1.1 mrg
5442 1.1 mrg For questions related to the use of GCC, please consult these web
5443 1.3 skrll pages and the [16]GCC manuals. If that fails, the
5444 1.3 skrll [17]gcc-help (a] gcc.gnu.org mailing list might help. Comments on these
5445 1.1 mrg web pages and the development of GCC are welcome on our developer
5446 1.3 skrll list at [18]gcc (a] gcc.gnu.org. All of [19]our lists have public
5447 1.1 mrg archives.
5448 1.1 mrg
5449 1.3 skrll Copyright (C) [20]Free Software Foundation, Inc. Verbatim copying and
5450 1.1 mrg distribution of this entire article is permitted in any medium,
5451 1.1 mrg provided this notice is preserved.
5452 1.1 mrg
5453 1.3 skrll These pages are [21]maintained by the GCC team. Last modified
5454 1.7 mrg 2016-09-30[22].
5455 1.1 mrg
5456 1.1 mrg References
5457 1.1 mrg
5458 1.1 mrg 1. http://www.gnu.org/
5459 1.1 mrg 2. http://gcc.gnu.org/gcc-4.4/changes.html
5460 1.1 mrg 3. http://gcc.gnu.org/gcc-4.4/changes.html
5461 1.1 mrg 4. http://gcc.gnu.org/gcc-4.4/changes.html
5462 1.1 mrg 5. http://gcc.gnu.org/gcc-4.4/changes.html
5463 1.1 mrg 6. http://gcc.gnu.org/gcc-4.4/changes.html
5464 1.1 mrg 7. http://gcc.gnu.org/gcc-4.4/changes.html
5465 1.1 mrg 8. http://gcc.gnu.org/gcc-4.4/changes.html
5466 1.3 skrll 9. http://gcc.gnu.org/gcc-4.4/changes.html
5467 1.3 skrll 10. http://gcc.gnu.org/gcc-4.4/buildstat.html
5468 1.4 mrg 11. https://gcc.gnu.org/onlinedocs/gcc/Contributors.html
5469 1.3 skrll 12. http://gcc.gnu.org/index.html
5470 1.3 skrll 13. mailto:gcc (a] gcc.gnu.org
5471 1.3 skrll 14. http://gcc.gnu.org/mirrors.html
5472 1.3 skrll 15. http://gcc.gnu.org/svn.html
5473 1.4 mrg 16. https://gcc.gnu.org/onlinedocs/
5474 1.3 skrll 17. mailto:gcc-help (a] gcc.gnu.org
5475 1.3 skrll 18. mailto:gcc (a] gcc.gnu.org
5476 1.4 mrg 19. https://gcc.gnu.org/lists.html
5477 1.3 skrll 20. http://www.fsf.org/
5478 1.4 mrg 21. https://gcc.gnu.org/about.html
5479 1.3 skrll 22. http://validator.w3.org/check/referer
5480 1.1 mrg ======================================================================
5481 1.1 mrg http://gcc.gnu.org/gcc-4.4/changes.html
5482 1.1 mrg GCC 4.4 Release Series
5483 1.1 mrg Changes, New Features, and Fixes
5484 1.1 mrg
5485 1.3 skrll The latest release in the 4.4 release series is [1]GCC 4.4.7.
5486 1.1 mrg
5487 1.1 mrg Caveats
5488 1.1 mrg
5489 1.1 mrg * __builtin_stdarg_start has been completely removed from GCC.
5490 1.1 mrg Support for <varargs.h> had been deprecated since GCC 4.0. Use
5491 1.1 mrg __builtin_va_start as a replacement.
5492 1.1 mrg * Some of the errors issued by the C++ front end that could be
5493 1.1 mrg downgraded to warnings in previous releases by using -fpermissive
5494 1.1 mrg are now warnings by default. They can be converted into errors by
5495 1.1 mrg using -pedantic-errors.
5496 1.1 mrg * Use of the cpp assertion extension will now emit a warning when
5497 1.1 mrg -Wdeprecated or -pedantic is used. This extension has been
5498 1.1 mrg deprecated for many years, but never warned about.
5499 1.1 mrg * Packed bit-fields of type char were not properly bit-packed on many
5500 1.1 mrg targets prior to GCC 4.4. On these targets, the fix in GCC 4.4
5501 1.1 mrg causes an ABI change. For example there is no longer a 4-bit
5502 1.1 mrg padding between field a and b in this structure:
5503 1.1 mrg struct foo
5504 1.1 mrg {
5505 1.1 mrg char a:4;
5506 1.1 mrg char b:8;
5507 1.1 mrg } __attribute__ ((packed));
5508 1.1 mrg There is a new warning to help identify fields that are affected:
5509 1.1 mrg foo.c:5: note: Offset of packed bit-field 'b' has changed in GCC 4.4
5510 1.1 mrg The warning can be disabled with -Wno-packed-bitfield-compat.
5511 1.1 mrg * On ARM EABI targets, the C++ mangling of the va_list type has been
5512 1.1 mrg changed to conform to the current revision of the EABI. This does
5513 1.1 mrg not affect the libstdc++ library included with GCC.
5514 1.1 mrg * The SCOUNT and POS bits of the MIPS DSP control register are now
5515 1.1 mrg treated as global. Previous versions of GCC treated these fields as
5516 1.1 mrg call-clobbered instead.
5517 1.1 mrg * The MIPS port no longer recognizes the h asm constraint. It was
5518 1.1 mrg necessary to remove this constraint in order to avoid generating
5519 1.1 mrg unpredictable code sequences.
5520 1.1 mrg One of the main uses of the h constraint was to extract the high
5521 1.1 mrg part of a multiplication on 64-bit targets. For example:
5522 1.1 mrg asm ("dmultu\t%1,%2" : "=h" (result) : "r" (x), "r" (y));
5523 1.1 mrg You can now achieve the same effect using 128-bit types:
5524 1.1 mrg typedef unsigned int uint128_t __attribute__((mode(TI)));
5525 1.1 mrg result = ((uint128_t) x * y) >> 64;
5526 1.1 mrg The second sequence is better in many ways. For example, if x and y
5527 1.1 mrg are constants, the compiler can perform the multiplication at
5528 1.1 mrg compile time. If x and y are not constants, the compiler can
5529 1.1 mrg schedule the runtime multiplication better than it can schedule an
5530 1.1 mrg asm statement.
5531 1.1 mrg * Support for a number of older systems and recently unmaintained or
5532 1.1 mrg untested target ports of GCC has been declared obsolete in GCC 4.4.
5533 1.1 mrg Unless there is activity to revive them, the next release of GCC
5534 1.1 mrg will have their sources permanently removed.
5535 1.1 mrg The following ports for individual systems on particular
5536 1.1 mrg architectures have been obsoleted:
5537 1.1 mrg + Generic a.out on IA32 and m68k (i[34567]86-*-aout*,
5538 1.1 mrg m68k-*-aout*)
5539 1.1 mrg + Generic COFF on ARM, H8300, IA32, m68k and SH (arm-*-coff*,
5540 1.1 mrg armel-*-coff*, h8300-*-*, i[34567]86-*-coff*, m68k-*-coff*,
5541 1.1 mrg sh-*-*). This does not affect other more specific targets
5542 1.1 mrg using the COFF object format on those architectures, or the
5543 1.1 mrg more specific H8300 and SH targets (h8300-*-rtems*,
5544 1.1 mrg h8300-*-elf*, sh-*-elf*, sh-*-symbianelf*, sh-*-linux*,
5545 1.1 mrg sh-*-netbsdelf*, sh-*-rtems*, sh-wrs-vxworks).
5546 1.1 mrg + 2BSD on PDP-11 (pdp11-*-bsd)
5547 1.1 mrg + AIX 4.1 and 4.2 on PowerPC (rs6000-ibm-aix4.[12]*,
5548 1.1 mrg powerpc-ibm-aix4.[12]*)
5549 1.1 mrg + Tuning support for Itanium1 (Merced) variants. Note that code
5550 1.1 mrg tuned for Itanium2 should also run correctly on Itanium1.
5551 1.1 mrg * The protoize and unprotoize utilities have been obsoleted and will
5552 1.1 mrg be removed in GCC 4.5. These utilities have not been installed by
5553 1.1 mrg default since GCC 3.0.
5554 1.1 mrg * Support has been removed for all the [2]configurations obsoleted in
5555 1.1 mrg GCC 4.3.
5556 1.1 mrg * Unknown -Wno-* options are now silently ignored by GCC if no other
5557 1.1 mrg diagnostics are issued. If other diagnostics are issued, then GCC
5558 1.1 mrg warns about the unknown options.
5559 1.1 mrg * More information on porting to GCC 4.4 from previous versions of
5560 1.1 mrg GCC can be found in the [3]porting guide for this release.
5561 1.1 mrg
5562 1.1 mrg General Optimizer Improvements
5563 1.1 mrg
5564 1.1 mrg * A new command-line switch -findirect-inlining has been added. When
5565 1.1 mrg turned on it allows the inliner to also inline indirect calls that
5566 1.1 mrg are discovered to have known targets at compile time thanks to
5567 1.1 mrg previous inlining.
5568 1.1 mrg * A new command-line switch -ftree-switch-conversion has been added.
5569 1.1 mrg This new pass turns simple initializations of scalar variables in
5570 1.1 mrg switch statements into initializations from a static array, given
5571 1.1 mrg that all the values are known at compile time and the ratio between
5572 1.1 mrg the new array size and the original switch branches does not exceed
5573 1.1 mrg the parameter --param switch-conversion-max-branch-ratio (default
5574 1.1 mrg is eight).
5575 1.1 mrg * A new command-line switch -ftree-builtin-call-dce has been added.
5576 1.1 mrg This optimization eliminates unnecessary calls to certain builtin
5577 1.1 mrg functions when the return value is not used, in cases where the
5578 1.1 mrg calls can not be eliminated entirely because the function may set
5579 1.1 mrg errno. This optimization is on by default at -O2 and above.
5580 1.1 mrg * A new command-line switch -fconserve-stack directs the compiler to
5581 1.1 mrg minimize stack usage even if it makes the generated code slower.
5582 1.1 mrg This affects inlining decisions.
5583 1.1 mrg * When the assembler supports it, the compiler will now emit unwind
5584 1.1 mrg information using assembler .cfi directives. This makes it possible
5585 1.1 mrg to use such directives in inline assembler code. The new option
5586 1.1 mrg -fno-dwarf2-cfi-asm directs the compiler to not use .cfi
5587 1.1 mrg directives.
5588 1.1 mrg * The [4]Graphite branch has been merged. This merge has brought in a
5589 1.1 mrg new framework for loop optimizations based on a polyhedral
5590 1.1 mrg intermediate representation. These optimizations apply to all the
5591 1.1 mrg languages supported by GCC. The following new code transformations
5592 1.1 mrg are available in GCC 4.4:
5593 1.1 mrg + -floop-interchange performs loop interchange transformations
5594 1.1 mrg on loops. Interchanging two nested loops switches the inner
5595 1.1 mrg and outer loops. For example, given a loop like:
5596 1.1 mrg DO J = 1, M
5597 1.1 mrg DO I = 1, N
5598 1.1 mrg A(J, I) = A(J, I) * C
5599 1.1 mrg ENDDO
5600 1.1 mrg ENDDO
5601 1.1 mrg
5602 1.1 mrg loop interchange will transform the loop as if the user had
5603 1.1 mrg written:
5604 1.1 mrg DO I = 1, N
5605 1.1 mrg DO J = 1, M
5606 1.1 mrg A(J, I) = A(J, I) * C
5607 1.1 mrg ENDDO
5608 1.1 mrg ENDDO
5609 1.1 mrg
5610 1.1 mrg which can be beneficial when N is larger than the caches,
5611 1.1 mrg because in Fortran, the elements of an array are stored in
5612 1.1 mrg memory contiguously by column, and the original loop iterates
5613 1.1 mrg over rows, potentially creating at each access a cache miss.
5614 1.1 mrg + -floop-strip-mine performs loop strip mining transformations
5615 1.1 mrg on loops. Strip mining splits a loop into two nested loops.
5616 1.1 mrg The outer loop has strides equal to the strip size and the
5617 1.1 mrg inner loop has strides of the original loop within a strip.
5618 1.1 mrg For example, given a loop like:
5619 1.1 mrg DO I = 1, N
5620 1.1 mrg A(I) = A(I) + C
5621 1.1 mrg ENDDO
5622 1.1 mrg
5623 1.1 mrg loop strip mining will transform the loop as if the user had
5624 1.1 mrg written:
5625 1.1 mrg DO II = 1, N, 4
5626 1.1 mrg DO I = II, min (II + 3, N)
5627 1.1 mrg A(I) = A(I) + C
5628 1.1 mrg ENDDO
5629 1.1 mrg ENDDO
5630 1.1 mrg
5631 1.1 mrg + -floop-block performs loop blocking transformations on loops.
5632 1.1 mrg Blocking strip mines each loop in the loop nest such that the
5633 1.1 mrg memory accesses of the element loops fit inside caches. For
5634 1.1 mrg example, given a loop like:
5635 1.1 mrg DO I = 1, N
5636 1.1 mrg DO J = 1, M
5637 1.1 mrg A(J, I) = B(I) + C(J)
5638 1.1 mrg ENDDO
5639 1.1 mrg ENDDO
5640 1.1 mrg
5641 1.1 mrg loop blocking will transform the loop as if the user had
5642 1.1 mrg written:
5643 1.1 mrg DO II = 1, N, 64
5644 1.1 mrg DO JJ = 1, M, 64
5645 1.1 mrg DO I = II, min (II + 63, N)
5646 1.1 mrg DO J = JJ, min (JJ + 63, M)
5647 1.1 mrg A(J, I) = B(I) + C(J)
5648 1.1 mrg ENDDO
5649 1.1 mrg ENDDO
5650 1.1 mrg ENDDO
5651 1.1 mrg ENDDO
5652 1.1 mrg
5653 1.1 mrg which can be beneficial when M is larger than the caches,
5654 1.1 mrg because the innermost loop will iterate over a smaller amount
5655 1.1 mrg of data that can be kept in the caches.
5656 1.1 mrg * A new register allocator has replaced the old one. It is called
5657 1.1 mrg integrated register allocator (IRA) because coalescing, register
5658 1.1 mrg live range splitting, and hard register preferencing are done
5659 1.1 mrg on-the-fly during coloring. It also has better integration with the
5660 1.1 mrg reload pass. IRA is a regional register allocator which uses modern
5661 1.1 mrg Chaitin-Briggs coloring instead of Chow's priority coloring used in
5662 1.1 mrg the old register allocator. More info about IRA internals and
5663 1.1 mrg options can be found in the GCC manuals.
5664 1.1 mrg * A new instruction scheduler and software pipeliner, based on the
5665 1.1 mrg selective scheduling approach, has been added. The new pass
5666 1.1 mrg performs instruction unification, register renaming, substitution
5667 1.1 mrg through register copies, and speculation during scheduling. The
5668 1.1 mrg software pipeliner is able to pipeline non-countable loops. The new
5669 1.1 mrg pass is targeted at scheduling-eager in-order platforms. In GCC 4.4
5670 1.1 mrg it is available for the Intel Itanium platform working by default
5671 1.1 mrg as the second scheduling pass (after register allocation) at the
5672 1.1 mrg -O3 optimization level.
5673 1.1 mrg * When using -fprofile-generate with a multi-threaded program, the
5674 1.1 mrg profile counts may be slightly wrong due to race conditions. The
5675 1.1 mrg new -fprofile-correction option directs the compiler to apply
5676 1.1 mrg heuristics to smooth out the inconsistencies. By default the
5677 1.1 mrg compiler will give an error message when it finds an inconsistent
5678 1.1 mrg profile.
5679 1.1 mrg * The new -fprofile-dir=PATH option permits setting the directory
5680 1.1 mrg where profile data files are stored when using -fprofile-generate
5681 1.1 mrg and friends, and the directory used when reading profile data files
5682 1.1 mrg using -fprofile-use and friends.
5683 1.1 mrg
5684 1.1 mrg New warning options
5685 1.1 mrg
5686 1.1 mrg * The new -Wframe-larger-than=NUMBER option directs GCC to emit a
5687 1.1 mrg warning if any stack frame is larger than NUMBER bytes. This may be
5688 1.1 mrg used to help ensure that code fits within a limited amount of stack
5689 1.1 mrg space.
5690 1.1 mrg * The command-line option -Wlarger-than-N is now written as
5691 1.1 mrg -Wlarger-than=N and the old form is deprecated.
5692 1.1 mrg * The new -Wno-mudflap option disables warnings about constructs
5693 1.1 mrg which can not be instrumented when using -fmudflap.
5694 1.1 mrg
5695 1.1 mrg New Languages and Language specific improvements
5696 1.1 mrg
5697 1.7 mrg * Version 3.0 of the OpenMP specification is now supported for the C,
5698 1.7 mrg C++, and Fortran compilers.
5699 1.7 mrg * New character data types, per [5]TR 19769: New character types in
5700 1.1 mrg C, are now supported for the C compiler in -std=gnu99 mode, as
5701 1.1 mrg __CHAR16_TYPE__ and __CHAR32_TYPE__, and for the C++ compiler in
5702 1.1 mrg -std=c++0x and -std=gnu++0x modes, as char16_t and char32_t too.
5703 1.1 mrg
5704 1.1 mrg C family
5705 1.1 mrg
5706 1.1 mrg * A new optimize attribute was added to allow programmers to change
5707 1.1 mrg the optimization level and particular optimization options for an
5708 1.1 mrg individual function. You can also change the optimization options
5709 1.1 mrg via the GCC optimize pragma for functions defined after the pragma.
5710 1.1 mrg The GCC push_options pragma and the GCC pop_options pragma allow
5711 1.1 mrg you temporarily save and restore the options used. The GCC
5712 1.1 mrg reset_options pragma restores the options to what was specified on
5713 1.1 mrg the command line.
5714 1.1 mrg * Uninitialized warnings do not require enabling optimization
5715 1.1 mrg anymore, that is, -Wuninitialized can be used together with -O0.
5716 1.1 mrg Nonetheless, the warnings given by -Wuninitialized will probably be
5717 1.1 mrg more accurate if optimization is enabled.
5718 1.1 mrg * -Wparentheses now warns about expressions such as (!x | y) and (!x
5719 1.1 mrg & y). Using explicit parentheses, such as in ((!x) | y), silences
5720 1.1 mrg this warning.
5721 1.1 mrg * -Wsequence-point now warns within if, while,do while and for
5722 1.1 mrg conditions, and within for begin/end expressions.
5723 1.1 mrg * A new option -dU is available to dump definitions of preprocessor
5724 1.1 mrg macros that are tested or expanded.
5725 1.1 mrg
5726 1.1 mrg C++
5727 1.1 mrg
5728 1.7 mrg * [6]Improved experimental support for the upcoming ISO C++ standard,
5729 1.1 mrg C++0x. Including support for auto, inline namespaces, generalized
5730 1.1 mrg initializer lists, defaulted and deleted functions, new character
5731 1.1 mrg types, and scoped enums.
5732 1.1 mrg * Those errors that may be downgraded to warnings to build legacy
5733 1.1 mrg code now mention -fpermissive when -fdiagnostics-show-option is
5734 1.1 mrg enabled.
5735 1.1 mrg * -Wconversion now warns if the result of a static_cast to enumeral
5736 1.1 mrg type is unspecified because the value is outside the range of the
5737 1.1 mrg enumeral type.
5738 1.1 mrg * -Wuninitialized now warns if a non-static reference or non-static
5739 1.1 mrg const member appears in a class without constructors.
5740 1.1 mrg * G++ now properly implements value-initialization, so objects with
5741 1.1 mrg an initializer of () and an implicitly defined default constructor
5742 1.1 mrg will be zero-initialized before the default constructor is called.
5743 1.1 mrg
5744 1.1 mrg Runtime Library (libstdc++)
5745 1.1 mrg
5746 1.4 mrg * Improved experimental support for the upcoming ISO C++ standard,
5747 1.1 mrg C++0x, including:
5748 1.1 mrg + Support for <chrono>, <condition_variable>, <cstdatomic>,
5749 1.1 mrg <forward_list>, <initializer_list>, <mutex>, <ratio>,
5750 1.1 mrg <system_error>, and <thread>.
5751 1.1 mrg + unique_ptr, <algorithm> additions, exception propagation, and
5752 1.1 mrg support for the new character types in <string> and <limits>.
5753 1.1 mrg + Existing facilities now exploit initializer lists, defaulted
5754 1.1 mrg and deleted functions, and the newly implemented core C++0x
5755 1.1 mrg features.
5756 1.1 mrg + Some standard containers are more efficient together with
5757 1.1 mrg stateful allocators, i.e., no allocator is constructed on the
5758 1.1 mrg fly at element construction time.
5759 1.1 mrg * Experimental support for non-standard pointer types in containers.
5760 1.1 mrg * The long standing libstdc++/30928 has been fixed for targets
5761 1.1 mrg running glibc 2.10 or later.
5762 1.1 mrg * As usual, many small and larger bug fixes, in particular quite a
5763 1.1 mrg few corner cases in <locale>.
5764 1.1 mrg
5765 1.1 mrg Fortran
5766 1.1 mrg
5767 1.1 mrg * GNU Fortran now employs libcpp directly instead of using cc1 as an
5768 1.7 mrg external preprocessor. The [7]-cpp option was added to allow manual
5769 1.1 mrg invocation of the preprocessor without relying on filename
5770 1.1 mrg extensions.
5771 1.7 mrg * The [8]-Warray-temporaries option warns about array temporaries
5772 1.1 mrg generated by the compiler, as an aid to optimization.
5773 1.7 mrg * The [9]-fcheck-array-temporaries option has been added, printing a
5774 1.1 mrg notification at run time, when an array temporary had to be created
5775 1.1 mrg for an function argument. Contrary to -Warray-temporaries the
5776 1.1 mrg warning is only printed if the array is noncontiguous.
5777 1.1 mrg * Improved generation of DWARF debugging symbols
5778 1.1 mrg * If using an intrinsic not part of the selected standard (via -std=
5779 1.1 mrg and -fall-intrinsics) gfortran will now treat it as if this
5780 1.1 mrg procedure were declared EXTERNAL and try to link to a user-supplied
5781 1.1 mrg procedure. -Wintrinsics-std will warn whenever this happens. The
5782 1.1 mrg now-useless option -Wnonstd-intrinsic was removed.
5783 1.1 mrg * The flag -falign-commons has been added to control the alignment of
5784 1.1 mrg variables in COMMON blocks, which is enabled by default in line
5785 1.1 mrg with previous GCC version. Using -fno-align-commons one can force
5786 1.1 mrg commons to be contiguous in memory as required by the Fortran
5787 1.1 mrg standard, however, this slows down the memory access. The option
5788 1.1 mrg -Walign-commons, which is enabled by default, warns when padding
5789 1.1 mrg bytes were added for alignment. The proper solution is to sort the
5790 1.1 mrg common objects by decreasing storage size, which avoids the
5791 1.1 mrg alignment problems.
5792 1.1 mrg * Fortran 2003 support has been extended:
5793 1.1 mrg + Wide characters (ISO 10646, UCS-4, kind=4) and UTF-8 I/O is
5794 1.1 mrg now supported (except internal reads from/writes to wide
5795 1.7 mrg strings). [10]-fbackslash now supports also \unnnn and
5796 1.1 mrg \Unnnnnnnn to enter Unicode characters.
5797 1.1 mrg + Asynchronous I/O (implemented as synchronous I/O) and the
5798 1.1 mrg decimal=, size=, sign=, pad=, blank=, and delim= specifiers
5799 1.1 mrg are now supported in I/O statements.
5800 1.1 mrg + Support for Fortran 2003 structure constructors and for array
5801 1.1 mrg constructor with typespec has been added.
5802 1.1 mrg + Procedure Pointers (but not yet as component in derived types
5803 1.1 mrg and as function results) are now supported.
5804 1.1 mrg + Abstract types, type extension, and type-bound procedures
5805 1.1 mrg (both PROCEDURE and GENERIC but not as operators). Note: As
5806 1.1 mrg CLASS/polymorphyic types are not implemented, type-bound
5807 1.1 mrg procedures with PASS accept as non-standard extension TYPE
5808 1.1 mrg arguments.
5809 1.1 mrg * Fortran 2008 support has been added:
5810 1.1 mrg + The -std=f2008 option and support for the file extensions
5811 1.1 mrg .f2008 and .F2008 has been added.
5812 1.1 mrg + The g0 format descriptor is now supported.
5813 1.1 mrg + The Fortran 2008 mathematical intrinsics ASINH, ACOSH, ATANH,
5814 1.1 mrg ERF, ERFC, GAMMA, LOG_GAMMA, BESSEL_*, HYPOT, and ERFC_SCALED
5815 1.1 mrg are now available (some of them existed as GNU extension
5816 1.1 mrg before). Note: The hyperbolic functions are not yet supporting
5817 1.1 mrg complex arguments and the three- argument version of BESSEL_*N
5818 1.1 mrg is not available.
5819 1.1 mrg + The bit intrinsics LEADZ and TRAILZ have been added.
5820 1.1 mrg
5821 1.1 mrg Java (GCJ)
5822 1.1 mrg
5823 1.1 mrg Ada
5824 1.1 mrg
5825 1.1 mrg * The Ada runtime now supports multilibs on many platforms including
5826 1.1 mrg x86_64, SPARC and PowerPC. Their build is enabled by default.
5827 1.1 mrg
5828 1.1 mrg New Targets and Target Specific Improvements
5829 1.1 mrg
5830 1.1 mrg ARM
5831 1.1 mrg
5832 1.1 mrg * GCC now supports optimizing for the Cortex-A9, Cortex-R4 and
5833 1.1 mrg Cortex-R4F processors and has many other improvements to
5834 1.1 mrg optimization for ARM processors.
5835 1.1 mrg * GCC now supports the VFPv3 variant with 16 double-precision
5836 1.1 mrg registers with -mfpu=vfpv3-d16. The option -mfpu=vfp3 has been
5837 1.1 mrg renamed to -mfpu=vfpv3.
5838 1.1 mrg * GCC now supports the -mfix-cortex-m3-ldrd option to work around an
5839 1.1 mrg erratum on Cortex-M3 processors.
5840 1.1 mrg * GCC now supports the __sync_* atomic operations for ARM EABI
5841 1.1 mrg GNU/Linux.
5842 1.1 mrg * The section anchors optimization is now enabled by default when
5843 1.1 mrg optimizing for ARM.
5844 1.1 mrg * GCC now uses a new EABI-compatible profiling interface for EABI
5845 1.1 mrg targets. This requires a function __gnu_mcount_nc, which is
5846 1.1 mrg provided by GNU libc versions 2.8 and later.
5847 1.1 mrg
5848 1.1 mrg AVR
5849 1.1 mrg
5850 1.1 mrg * The -mno-tablejump option has been deprecated because it has the
5851 1.1 mrg same effect as the -fno-jump-tables option.
5852 1.1 mrg * Added support for these new AVR devices:
5853 1.1 mrg + ATA6289
5854 1.1 mrg + ATtiny13A
5855 1.1 mrg + ATtiny87
5856 1.1 mrg + ATtiny167
5857 1.1 mrg + ATtiny327
5858 1.1 mrg + ATmega8C1
5859 1.1 mrg + ATmega16C1
5860 1.1 mrg + ATmega32C1
5861 1.1 mrg + ATmega8M1
5862 1.1 mrg + ATmega16M1
5863 1.1 mrg + ATmega32M1
5864 1.1 mrg + ATmega32U4
5865 1.1 mrg + ATmega16HVB
5866 1.1 mrg + ATmega4HVD
5867 1.1 mrg + ATmega8HVD
5868 1.1 mrg + ATmega64C1
5869 1.1 mrg + ATmega64M1
5870 1.1 mrg + ATmega16U4
5871 1.1 mrg + ATmega32U6
5872 1.1 mrg + ATmega128RFA1
5873 1.1 mrg + AT90PWM81
5874 1.1 mrg + AT90SCR100
5875 1.1 mrg + M3000F
5876 1.1 mrg + M3000S
5877 1.1 mrg + M3001B
5878 1.1 mrg
5879 1.1 mrg IA-32/x86-64
5880 1.1 mrg
5881 1.1 mrg * Support for Intel AES built-in functions and code generation is
5882 1.1 mrg available via -maes.
5883 1.1 mrg * Support for Intel PCLMUL built-in function and code generation is
5884 1.1 mrg available via -mpclmul.
5885 1.1 mrg * Support for Intel AVX built-in functions and code generation is
5886 1.1 mrg available via -mavx.
5887 1.1 mrg * Automatically align the stack for local variables with alignment
5888 1.1 mrg requirement.
5889 1.1 mrg * GCC can now utilize the SVML library for vectorizing calls to a set
5890 1.1 mrg of C99 functions if -mveclibabi=svml is specified and you link to
5891 1.1 mrg an SVML ABI compatible library.
5892 1.1 mrg * On x86-64, the ABI has been changed in the following cases to
5893 1.1 mrg conform to the x86-64 ABI:
5894 1.1 mrg + Passing/returning structures with flexible array member:
5895 1.1 mrg struct foo
5896 1.1 mrg {
5897 1.1 mrg int i;
5898 1.1 mrg int flex[];
5899 1.1 mrg };
5900 1.1 mrg + Passing/returning structures with complex float member:
5901 1.1 mrg struct foo
5902 1.1 mrg {
5903 1.1 mrg int i;
5904 1.1 mrg __complex__ float f;
5905 1.1 mrg };
5906 1.1 mrg + Passing/returning unions with long double member:
5907 1.1 mrg union foo
5908 1.1 mrg {
5909 1.1 mrg int x;
5910 1.1 mrg long double ld;
5911 1.1 mrg };
5912 1.1 mrg Code built with previous versions of GCC that uses any of these is
5913 1.1 mrg not compatible with code built with GCC 4.4.0 or later.
5914 1.1 mrg * A new target attribute was added to allow programmers to change the
5915 1.1 mrg target options like -msse2 or -march=k8 for an individual function.
5916 1.1 mrg You can also change the target options via the GCC target pragma
5917 1.1 mrg for functions defined after the pragma.
5918 1.1 mrg * GCC can now be configured with options --with-arch-32,
5919 1.1 mrg --with-arch-64, --with-cpu-32, --with-cpu-64, --with-tune-32 and
5920 1.1 mrg --with-tune-64 to control the default optimization separately for
5921 1.1 mrg 32-bit and 64-bit modes.
5922 1.1 mrg
5923 1.1 mrg IA-32/IA64
5924 1.1 mrg
5925 1.1 mrg * Support for __float128 (TFmode) IEEE quad type and corresponding
5926 1.1 mrg TCmode IEEE complex quad type is available via the soft-fp library
5927 1.1 mrg on IA-32/IA64 targets. This includes basic arithmetic operations
5928 1.1 mrg (addition, subtraction, negation, multiplication and division) on
5929 1.1 mrg __float128 real and TCmode complex values, the full set of IEEE
5930 1.1 mrg comparisons between __float128 values, conversions to and from
5931 1.1 mrg float, double and long double floating point types, as well as
5932 1.1 mrg conversions to and from signed or unsigned integer, signed or
5933 1.1 mrg unsigned long integer and signed or unsigned quad (TImode, IA64
5934 1.1 mrg only) integer types. Additionally, all operations generate the full
5935 1.1 mrg set of IEEE exceptions and support the full set of IEEE rounding
5936 1.1 mrg modes.
5937 1.1 mrg
5938 1.1 mrg M68K/ColdFire
5939 1.1 mrg
5940 1.1 mrg * GCC now supports instruction scheduling for ColdFire V1, V3 and V4
5941 1.1 mrg processors. (Scheduling support for ColdFire V2 processors was
5942 1.1 mrg added in GCC 4.3.)
5943 1.1 mrg * GCC now supports the -mxgot option to support programs requiring
5944 1.1 mrg many GOT entries on ColdFire.
5945 1.1 mrg * The m68k-*-linux-gnu target now builds multilibs by default.
5946 1.1 mrg
5947 1.1 mrg MIPS
5948 1.1 mrg
5949 1.1 mrg * MIPS Technologies have extended the original MIPS SVR4 ABI to
5950 1.1 mrg include support for procedure linkage tables (PLTs) and copy
5951 1.1 mrg relocations. These extensions allow GNU/Linux executables to use a
5952 1.1 mrg significantly more efficient code model than the one defined by the
5953 1.1 mrg original ABI.
5954 1.1 mrg GCC support for this code model is available via a new command-line
5955 1.1 mrg option, -mplt. There is also a new configure-time option,
5956 1.1 mrg --with-mips-plt, to make -mplt the default.
5957 1.1 mrg The new code model requires support from the assembler, the linker,
5958 1.1 mrg and the runtime C library. This support is available in binutils
5959 1.1 mrg 2.19 and GLIBC 2.9.
5960 1.1 mrg * GCC can now generate MIPS16 code for 32-bit GNU/Linux executables
5961 1.1 mrg and 32-bit GNU/Linux shared libraries. This feature requires GNU
5962 1.1 mrg binutils 2.19 or above.
5963 1.1 mrg * Support for RMI's XLR processor is now available through the
5964 1.1 mrg -march=xlr and -mtune=xlr options.
5965 1.1 mrg * 64-bit targets can now perform 128-bit multiplications inline,
5966 1.1 mrg instead of relying on a libgcc function.
5967 1.1 mrg * Native GNU/Linux toolchains now support -march=native and
5968 1.1 mrg -mtune=native, which select the host processor.
5969 1.1 mrg * GCC now supports the R10K, R12K, R14K and R16K processors. The
5970 1.1 mrg canonical -march= and -mtune= names for these processors are
5971 1.1 mrg r10000, r12000, r14000 and r16000 respectively.
5972 1.1 mrg * GCC can now work around the side effects of speculative execution
5973 1.1 mrg on R10K processors. Please see the documentation of the
5974 1.1 mrg -mr10k-cache-barrier option for details.
5975 1.1 mrg * Support for the MIPS64 Release 2 instruction set has been added.
5976 1.1 mrg The option -march=mips64r2 enables generation of these
5977 1.1 mrg instructions.
5978 1.1 mrg * GCC now supports Cavium Networks' Octeon processor. This support is
5979 1.1 mrg available through the -march=octeon and -mtune=octeon options.
5980 1.1 mrg * GCC now supports STMicroelectronics' Loongson 2E/2F processors. The
5981 1.1 mrg canonical -march= and -mtune= names for these processors are
5982 1.1 mrg loongson2e and loongson2f.
5983 1.1 mrg
5984 1.1 mrg picochip
5985 1.1 mrg
5986 1.1 mrg Picochip is a 16-bit processor. A typical picoChip contains over 250
5987 1.1 mrg small cores, each with small amounts of memory. There are three
5988 1.1 mrg processor variants (STAN, MEM and CTRL) with different instruction sets
5989 1.1 mrg and memory configurations and they can be chosen using the -mae option.
5990 1.1 mrg
5991 1.1 mrg This port is intended to be a "C" only port.
5992 1.1 mrg
5993 1.1 mrg Power Architecture and PowerPC
5994 1.1 mrg
5995 1.1 mrg * GCC now supports the e300c2, e300c3 and e500mc processors.
5996 1.1 mrg * GCC now supports Xilinx processors with a single-precision FPU.
5997 1.1 mrg * Decimal floating point is now supported for e500 processors.
5998 1.1 mrg
5999 1.1 mrg S/390, zSeries and System z9/z10
6000 1.1 mrg
6001 1.1 mrg * Support for the IBM System z10 EC/BC processor has been added. When
6002 1.1 mrg using the -march=z10 option, the compiler will generate code making
6003 1.1 mrg use of instructions provided by the General-Instruction-Extension
6004 1.1 mrg Facility and the Execute-Extension Facility.
6005 1.1 mrg
6006 1.1 mrg VxWorks
6007 1.1 mrg
6008 1.1 mrg * GCC now supports the thread-local storage mechanism used on
6009 1.1 mrg VxWorks.
6010 1.1 mrg
6011 1.1 mrg Xtensa
6012 1.1 mrg
6013 1.1 mrg * GCC now supports thread-local storage (TLS) for Xtensa processor
6014 1.1 mrg configurations that include the Thread Pointer option. TLS also
6015 1.1 mrg requires support from the assembler and linker; this support is
6016 1.1 mrg provided in the GNU binutils beginning with version 2.19.
6017 1.1 mrg
6018 1.1 mrg Documentation improvements
6019 1.1 mrg
6020 1.1 mrg Other significant improvements
6021 1.1 mrg
6022 1.1 mrg GCC 4.4.1
6023 1.1 mrg
6024 1.7 mrg This is the [11]list of problem reports (PRs) from GCC's bug tracking
6025 1.1 mrg system that are known to be fixed in the 4.4.1 release. This list might
6026 1.1 mrg not be complete (that is, it is possible that some PRs that have been
6027 1.1 mrg fixed are not listed here).
6028 1.1 mrg
6029 1.1 mrg GCC 4.4.2
6030 1.1 mrg
6031 1.7 mrg This is the [12]list of problem reports (PRs) from GCC's bug tracking
6032 1.1 mrg system that are known to be fixed in the 4.4.2 release. This list might
6033 1.1 mrg not be complete (that is, it is possible that some PRs that have been
6034 1.1 mrg fixed are not listed here).
6035 1.1 mrg
6036 1.1 mrg GCC 4.4.3
6037 1.1 mrg
6038 1.7 mrg This is the [13]list of problem reports (PRs) from GCC's bug tracking
6039 1.1 mrg system that are known to be fixed in the 4.4.3 release. This list might
6040 1.1 mrg not be complete (that is, it is possible that some PRs that have been
6041 1.1 mrg fixed are not listed here).
6042 1.1 mrg
6043 1.1 mrg GCC 4.4.4
6044 1.1 mrg
6045 1.7 mrg This is the [14]list of problem reports (PRs) from GCC's bug tracking
6046 1.1 mrg system that are known to be fixed in the 4.4.4 release. This list might
6047 1.1 mrg not be complete (that is, it is possible that some PRs that have been
6048 1.1 mrg fixed are not listed here).
6049 1.1 mrg
6050 1.1 mrg GCC 4.4.5
6051 1.1 mrg
6052 1.7 mrg This is the [15]list of problem reports (PRs) from GCC's bug tracking
6053 1.1 mrg system that are known to be fixed in the 4.4.5 release. This list might
6054 1.1 mrg not be complete (that is, it is possible that some PRs that have been
6055 1.1 mrg fixed are not listed here).
6056 1.1 mrg
6057 1.1 mrg GCC 4.4.6
6058 1.1 mrg
6059 1.7 mrg This is the [16]list of problem reports (PRs) from GCC's bug tracking
6060 1.1 mrg system that are known to be fixed in the 4.4.6 release. This list might
6061 1.1 mrg not be complete (that is, it is possible that some PRs that have been
6062 1.1 mrg fixed are not listed here).
6063 1.1 mrg
6064 1.3 skrll GCC 4.4.7
6065 1.3 skrll
6066 1.7 mrg This is the [17]list of problem reports (PRs) from GCC's bug tracking
6067 1.3 skrll system that are known to be fixed in the 4.4.7 release. This list might
6068 1.3 skrll not be complete (that is, it is possible that some PRs that have been
6069 1.3 skrll fixed are not listed here).
6070 1.3 skrll
6071 1.1 mrg
6072 1.1 mrg For questions related to the use of GCC, please consult these web
6073 1.7 mrg pages and the [18]GCC manuals. If that fails, the
6074 1.7 mrg [19]gcc-help (a] gcc.gnu.org mailing list might help. Comments on these
6075 1.1 mrg web pages and the development of GCC are welcome on our developer
6076 1.7 mrg list at [20]gcc (a] gcc.gnu.org. All of [21]our lists have public
6077 1.1 mrg archives.
6078 1.1 mrg
6079 1.7 mrg Copyright (C) [22]Free Software Foundation, Inc. Verbatim copying and
6080 1.1 mrg distribution of this entire article is permitted in any medium,
6081 1.1 mrg provided this notice is preserved.
6082 1.1 mrg
6083 1.7 mrg These pages are [23]maintained by the GCC team. Last modified
6084 1.7 mrg 2016-12-28[24].
6085 1.1 mrg
6086 1.1 mrg References
6087 1.1 mrg
6088 1.3 skrll 1. http://gcc.gnu.org/gcc-4.4/changes.html#4.4.7
6089 1.1 mrg 2. http://gcc.gnu.org/gcc-4.3/changes.html#obsoleted
6090 1.1 mrg 3. http://gcc.gnu.org/gcc-4.4/porting_to.html
6091 1.4 mrg 4. https://gcc.gnu.org/wiki/Graphite
6092 1.7 mrg 5. http://www.open-std.org/jtc1/sc22/wg14/www/docs/n1040.pdf
6093 1.7 mrg 6. http://gcc.gnu.org/gcc-4.4/cxx0x_status.html
6094 1.7 mrg 7. https://gcc.gnu.org/onlinedocs/gfortran/Preprocessing-Options.html
6095 1.7 mrg 8. https://gcc.gnu.org/onlinedocs/gfortran/Error-and-Warning-Options.html#index-g_t_0040code_007bWarray-temporaries_007d-125
6096 1.7 mrg 9. https://gcc.gnu.org/onlinedocs/gfortran/Code-Gen-Options.html#index-g_t_0040code_007bfcheck-array-temporaries_007d-221
6097 1.7 mrg 10. https://gcc.gnu.org/onlinedocs/gfortran/Fortran-Dialect-Options.html#index-g_t_0040code_007bbackslash_007d-34
6098 1.7 mrg 11. https://gcc.gnu.org/bugzilla/buglist.cgi?bug_status=RESOLVED&resolution=FIXED&target_milestone=4.4.1
6099 1.7 mrg 12. https://gcc.gnu.org/bugzilla/buglist.cgi?bug_status=RESOLVED&resolution=FIXED&target_milestone=4.4.2
6100 1.7 mrg 13. https://gcc.gnu.org/bugzilla/buglist.cgi?bug_status=RESOLVED&resolution=FIXED&target_milestone=4.4.3
6101 1.7 mrg 14. https://gcc.gnu.org/bugzilla/buglist.cgi?bug_status=RESOLVED&resolution=FIXED&target_milestone=4.4.4
6102 1.7 mrg 15. https://gcc.gnu.org/bugzilla/buglist.cgi?bug_status=RESOLVED&resolution=FIXED&target_milestone=4.4.5
6103 1.7 mrg 16. https://gcc.gnu.org/bugzilla/buglist.cgi?bug_status=RESOLVED&resolution=FIXED&target_milestone=4.4.6
6104 1.7 mrg 17. https://gcc.gnu.org/bugzilla/buglist.cgi?bug_status=RESOLVED&resolution=FIXED&target_milestone=4.4.7
6105 1.7 mrg 18. https://gcc.gnu.org/onlinedocs/
6106 1.7 mrg 19. mailto:gcc-help (a] gcc.gnu.org
6107 1.7 mrg 20. mailto:gcc (a] gcc.gnu.org
6108 1.7 mrg 21. https://gcc.gnu.org/lists.html
6109 1.7 mrg 22. http://www.fsf.org/
6110 1.7 mrg 23. https://gcc.gnu.org/about.html
6111 1.7 mrg 24. http://validator.w3.org/check/referer
6112 1.1 mrg ======================================================================
6113 1.1 mrg http://gcc.gnu.org/gcc-4.3/index.html
6114 1.1 mrg GCC 4.3 Release Series
6115 1.1 mrg
6116 1.3 skrll Jun 27, 2011
6117 1.1 mrg
6118 1.1 mrg The [1]GNU project and the GCC developers are pleased to announce the
6119 1.3 skrll release of GCC 4.3.6.
6120 1.1 mrg
6121 1.1 mrg This release is a bug-fix release, containing fixes for regressions in
6122 1.3 skrll GCC 4.3.5 relative to previous releases of GCC.
6123 1.1 mrg
6124 1.7 mrg This release series is no longer maintained.
6125 1.7 mrg
6126 1.1 mrg Release History
6127 1.1 mrg
6128 1.3 skrll GCC 4.3.6
6129 1.3 skrll Jun 27, 2011 ([2]changes)
6130 1.3 skrll
6131 1.1 mrg GCC 4.3.5
6132 1.3 skrll May 22, 2010 ([3]changes)
6133 1.1 mrg
6134 1.1 mrg GCC 4.3.4
6135 1.3 skrll August 4, 2009 ([4]changes)
6136 1.1 mrg
6137 1.1 mrg GCC 4.3.3
6138 1.3 skrll January 24, 2009 ([5]changes)
6139 1.1 mrg
6140 1.1 mrg GCC 4.3.2
6141 1.3 skrll August 27, 2008 ([6]changes)
6142 1.1 mrg
6143 1.1 mrg GCC 4.3.1
6144 1.3 skrll June 6, 2008 ([7]changes)
6145 1.1 mrg
6146 1.1 mrg GCC 4.3.0
6147 1.3 skrll March 5, 2008 ([8]changes)
6148 1.1 mrg
6149 1.1 mrg References and Acknowledgements
6150 1.1 mrg
6151 1.1 mrg GCC used to stand for the GNU C Compiler, but since the compiler
6152 1.1 mrg supports several other languages aside from C, it now stands for the
6153 1.1 mrg GNU Compiler Collection.
6154 1.1 mrg
6155 1.3 skrll A list of [9]successful builds is updated as new information becomes
6156 1.1 mrg available.
6157 1.1 mrg
6158 1.1 mrg The GCC developers would like to thank the numerous people that have
6159 1.1 mrg contributed new features, improvements, bug fixes, and other changes as
6160 1.3 skrll well as test results to GCC. This [10]amazing group of volunteers is
6161 1.1 mrg what makes GCC successful.
6162 1.1 mrg
6163 1.3 skrll For additional information about GCC please refer to the [11]GCC
6164 1.3 skrll project web site or contact the [12]GCC development mailing list.
6165 1.1 mrg
6166 1.3 skrll To obtain GCC please use [13]our mirror sites or [14]our SVN server.
6167 1.1 mrg
6168 1.1 mrg
6169 1.1 mrg For questions related to the use of GCC, please consult these web
6170 1.3 skrll pages and the [15]GCC manuals. If that fails, the
6171 1.3 skrll [16]gcc-help (a] gcc.gnu.org mailing list might help. Comments on these
6172 1.1 mrg web pages and the development of GCC are welcome on our developer
6173 1.3 skrll list at [17]gcc (a] gcc.gnu.org. All of [18]our lists have public
6174 1.1 mrg archives.
6175 1.1 mrg
6176 1.3 skrll Copyright (C) [19]Free Software Foundation, Inc. Verbatim copying and
6177 1.1 mrg distribution of this entire article is permitted in any medium,
6178 1.1 mrg provided this notice is preserved.
6179 1.1 mrg
6180 1.3 skrll These pages are [20]maintained by the GCC team. Last modified
6181 1.7 mrg 2016-09-30[21].
6182 1.1 mrg
6183 1.1 mrg References
6184 1.1 mrg
6185 1.1 mrg 1. http://www.gnu.org/
6186 1.1 mrg 2. http://gcc.gnu.org/gcc-4.3/changes.html
6187 1.1 mrg 3. http://gcc.gnu.org/gcc-4.3/changes.html
6188 1.1 mrg 4. http://gcc.gnu.org/gcc-4.3/changes.html
6189 1.1 mrg 5. http://gcc.gnu.org/gcc-4.3/changes.html
6190 1.1 mrg 6. http://gcc.gnu.org/gcc-4.3/changes.html
6191 1.1 mrg 7. http://gcc.gnu.org/gcc-4.3/changes.html
6192 1.3 skrll 8. http://gcc.gnu.org/gcc-4.3/changes.html
6193 1.3 skrll 9. http://gcc.gnu.org/gcc-4.3/buildstat.html
6194 1.4 mrg 10. https://gcc.gnu.org/onlinedocs/gcc/Contributors.html
6195 1.3 skrll 11. http://gcc.gnu.org/index.html
6196 1.3 skrll 12. mailto:gcc (a] gcc.gnu.org
6197 1.3 skrll 13. http://gcc.gnu.org/mirrors.html
6198 1.3 skrll 14. http://gcc.gnu.org/svn.html
6199 1.4 mrg 15. https://gcc.gnu.org/onlinedocs/
6200 1.3 skrll 16. mailto:gcc-help (a] gcc.gnu.org
6201 1.3 skrll 17. mailto:gcc (a] gcc.gnu.org
6202 1.4 mrg 18. https://gcc.gnu.org/lists.html
6203 1.3 skrll 19. http://www.fsf.org/
6204 1.4 mrg 20. https://gcc.gnu.org/about.html
6205 1.3 skrll 21. http://validator.w3.org/check/referer
6206 1.1 mrg ======================================================================
6207 1.1 mrg http://gcc.gnu.org/gcc-4.3/changes.html
6208 1.1 mrg GCC 4.3 Release Series
6209 1.1 mrg Changes, New Features, and Fixes
6210 1.1 mrg
6211 1.1 mrg The latest release in the 4.3 release series is [1]GCC 4.3.5.
6212 1.1 mrg
6213 1.1 mrg Caveats
6214 1.1 mrg
6215 1.1 mrg * GCC requires the [2]GMP and [3]MPFR libraries for building all the
6216 1.1 mrg various front-end languages it supports. See the [4]prerequisites
6217 1.1 mrg page for version requirements.
6218 1.1 mrg * ColdFire targets now treat long double as having the same format as
6219 1.1 mrg double. In earlier versions of GCC, they used the 68881 long double
6220 1.1 mrg format instead.
6221 1.1 mrg * The m68k-uclinux target now uses the same calling conventions as
6222 1.1 mrg m68k-linux-gnu. You can select the original calling conventions by
6223 1.1 mrg configuring for m68k-uclinuxoldabi instead. Note that
6224 1.1 mrg m68k-uclinuxoldabi also retains the original 80-bit long double on
6225 1.1 mrg ColdFire targets.
6226 1.1 mrg * The -fforce-mem option has been removed because it has had no
6227 1.1 mrg effect in the last few GCC releases.
6228 1.1 mrg * The i386 -msvr3-shlib option has been removed since it is no longer
6229 1.1 mrg used.
6230 1.1 mrg * Fastcall for i386 has been changed not to pass aggregate arguments
6231 1.1 mrg in registers, following Microsoft compilers.
6232 1.1 mrg * Support for the AOF assembler has been removed from the ARM back
6233 1.1 mrg end; this affects only the targets arm-semi-aof and armel-semi-aof,
6234 1.1 mrg which are no longer recognized. We removed these targets without a
6235 1.1 mrg deprecation period because we discovered that they have been
6236 1.1 mrg unusable since GCC 4.0.0.
6237 1.1 mrg * Support for the TMS320C3x/C4x processor (targets c4x-* and tic4x-*)
6238 1.1 mrg has been removed. This support had been deprecated since GCC 4.0.0.
6239 1.1 mrg * Support for a number of older systems and recently unmaintained or
6240 1.1 mrg untested target ports of GCC has been declared obsolete in GCC 4.3.
6241 1.1 mrg Unless there is activity to revive them, the next release of GCC
6242 1.1 mrg will have their sources permanently removed.
6243 1.1 mrg All GCC ports for the following processor architectures have been
6244 1.1 mrg declared obsolete:
6245 1.1 mrg + Morpho MT (mt-*)
6246 1.1 mrg The following aliases for processor architectures have been
6247 1.1 mrg declared obsolete. Users should use the indicated generic target
6248 1.1 mrg names instead, with compile-time options such as -mcpu or
6249 1.1 mrg configure-time options such as --with-cpu to control the
6250 1.1 mrg configuration more precisely.
6251 1.1 mrg + strongarm*-*-*, ep9312*-*-*, xscale*-*-* (use arm*-*-*
6252 1.1 mrg instead).
6253 1.1 mrg + parisc*-*-* (use hppa*-*-* instead).
6254 1.1 mrg + m680[012]0-*-* (use m68k-*-* instead).
6255 1.1 mrg All GCC ports for the following operating systems have been
6256 1.1 mrg declared obsolete:
6257 1.1 mrg + BeOS (*-*-beos*)
6258 1.1 mrg + kaOS (*-*-kaos*)
6259 1.1 mrg + GNU/Linux using the a.out object format (*-*-linux*aout*)
6260 1.1 mrg + GNU/Linux using version 1 of the GNU C Library
6261 1.1 mrg (*-*-linux*libc1*)
6262 1.1 mrg + Solaris versions before Solaris 7 (*-*-solaris2.[0-6],
6263 1.1 mrg *-*-solaris2.[0-6].*)
6264 1.1 mrg + Miscellaneous System V (*-*-sysv*)
6265 1.1 mrg + WindISS (*-*-windiss*)
6266 1.1 mrg Also, those for some individual systems on particular architectures
6267 1.1 mrg have been obsoleted:
6268 1.1 mrg + UNICOS/mk on DEC Alpha (alpha*-*-unicosmk*)
6269 1.1 mrg + CRIS with a.out object format (cris-*-aout)
6270 1.1 mrg + BSD 4.3 on PA-RISC (hppa1.1-*-bsd*)
6271 1.1 mrg + OSF/1 on PA-RISC (hppa1.1-*-osf*)
6272 1.1 mrg + PRO on PA-RISC (hppa1.1-*-pro*)
6273 1.1 mrg + Sequent PTX on IA32 (i[34567]86-sequent-ptx4*,
6274 1.1 mrg i[34567]86-sequent-sysv4*)
6275 1.1 mrg + SCO Open Server 5 on IA32 (i[34567]86-*-sco3.2v5*)
6276 1.1 mrg + UWIN on IA32 (i[34567]86-*-uwin*) (support for UWIN as a host
6277 1.1 mrg was previously [5]removed in 2001, leaving only the support
6278 1.1 mrg for UWIN as a target now being deprecated)
6279 1.1 mrg + ChorusOS on PowerPC (powerpc-*-chorusos*)
6280 1.1 mrg + All VAX configurations apart from NetBSD and OpenBSD
6281 1.1 mrg (vax-*-bsd*, vax-*-sysv*, vax-*-ultrix*)
6282 1.1 mrg * The [6]-Wconversion option has been modified. Its purpose now is to
6283 1.1 mrg warn for implicit conversions that may alter a value. This new
6284 1.1 mrg behavior is available for both C and C++. Warnings about
6285 1.1 mrg conversions between signed and unsigned integers can be disabled by
6286 1.1 mrg using -Wno-sign-conversion. In C++, they are disabled by default
6287 1.1 mrg unless -Wsign-conversion is explicitly requested. The old behavior
6288 1.1 mrg of -Wconversion, that is, warn for prototypes causing a type
6289 1.1 mrg conversion that is different from what would happen to the same
6290 1.1 mrg argument in the absence of a prototype, has been moved to a new
6291 1.1 mrg option -Wtraditional-conversion, which is only available for C.
6292 1.1 mrg * The -m386, -m486, -mpentium and -mpentiumpro tuning options have
6293 1.1 mrg been removed because they were deprecated for more than 3 GCC major
6294 1.1 mrg releases. Use -mtune=i386, -mtune=i486, -mtune=pentium or
6295 1.1 mrg -mtune=pentiumpro as a replacement.
6296 1.1 mrg * The -funsafe-math-optimizations option now automatically turns on
6297 1.1 mrg -fno-trapping-math in addition to -fno-signed-zeros, as it enables
6298 1.1 mrg reassociation and thus may introduce or remove traps.
6299 1.1 mrg * The -ftree-vectorize option is now on by default under -O3. In
6300 1.1 mrg order to generate code for a SIMD extension, it has to be enabled
6301 1.1 mrg as well: use -maltivec for PowerPC platforms and -msse/-msse2 for
6302 1.1 mrg i?86 and x86_64.
6303 1.1 mrg * More information on porting to GCC 4.3 from previous versions of
6304 1.1 mrg GCC can be found in the [7]porting guide for this release.
6305 1.1 mrg
6306 1.1 mrg General Optimizer Improvements
6307 1.1 mrg
6308 1.1 mrg * The GCC middle-end has been integrated with the [8]MPFR library.
6309 1.1 mrg This allows GCC to evaluate and replace at compile-time calls to
6310 1.1 mrg built-in math functions having constant arguments with their
6311 1.1 mrg mathematically equivalent results. In making use of [9]MPFR, GCC
6312 1.1 mrg can generate correct results regardless of the math library
6313 1.1 mrg implementation or floating point precision of the host platform.
6314 1.1 mrg This also allows GCC to generate identical results regardless of
6315 1.1 mrg whether one compiles in native or cross-compile configurations to a
6316 1.1 mrg particular target. The following built-in functions take advantage
6317 1.1 mrg of this new capability: acos, acosh, asin, asinh, atan2, atan,
6318 1.1 mrg atanh, cbrt, cos, cosh, drem, erf, erfc, exp10, exp2, exp, expm1,
6319 1.1 mrg fdim, fma, fmax, fmin, gamma_r, hypot, j0, j1, jn, lgamma_r, log10,
6320 1.1 mrg log1p, log2, log, pow10, pow, remainder, remquo, sin, sincos, sinh,
6321 1.1 mrg tan, tanh, tgamma, y0, y1 and yn. The float and long double
6322 1.1 mrg variants of these functions (e.g. sinf and sinl) are also handled.
6323 1.1 mrg The sqrt and cabs functions with constant arguments were already
6324 1.1 mrg optimized in prior GCC releases. Now they also use [10]MPFR.
6325 1.1 mrg * A new forward propagation pass on RTL was added. The new pass
6326 1.1 mrg replaces several slower transformations, resulting in compile-time
6327 1.1 mrg improvements as well as better code generation in some cases.
6328 1.1 mrg * A new command-line switch -frecord-gcc-switches has been added to
6329 1.1 mrg GCC, although it is only enabled for some targets. The switch
6330 1.1 mrg causes the command line that was used to invoke the compiler to be
6331 1.1 mrg recorded into the object file that is being created. The exact
6332 1.1 mrg format of this recording is target and binary file format
6333 1.1 mrg dependent, but it usually takes the form of a note section
6334 1.1 mrg containing ASCII text. The switch is related to the -fverbose-asm
6335 1.1 mrg switch, but that one only records the information in the assembler
6336 1.1 mrg output file as comments, so the information never reaches the
6337 1.1 mrg object file.
6338 1.1 mrg * The inliner heuristic is now aware of stack frame consumption. New
6339 1.1 mrg command-line parameters --param large-stack-frame and --param
6340 1.1 mrg large-stack-frame-growth can be used to limit stack frame size
6341 1.1 mrg growth caused by inlining.
6342 1.1 mrg * During feedback directed optimizations, the expected block size the
6343 1.1 mrg memcpy, memset and bzero functions operate on is discovered and for
6344 1.1 mrg cases of commonly used small sizes, specialized inline code is
6345 1.1 mrg generated.
6346 1.1 mrg * __builtin_expect no longer requires its argument to be a compile
6347 1.1 mrg time constant.
6348 1.1 mrg * Interprocedural optimization was reorganized to work on functions
6349 1.1 mrg in SSA form. This enables more precise and cheaper dataflow
6350 1.1 mrg analysis and makes writing interprocedural optimizations easier.
6351 1.1 mrg The following improvements have been implemented on top of this
6352 1.1 mrg framework:
6353 1.1 mrg + Pre-inline optimization: Selected local optimization passes
6354 1.1 mrg are run before the inliner (and other interprocedural passes)
6355 1.1 mrg are executed. This significantly improves the accuracy of code
6356 1.1 mrg growth estimates used by the inliner and reduces the overall
6357 1.1 mrg memory footprint for large compilation units.
6358 1.1 mrg + Early inlining (a simple bottom-up inliner pass inlining only
6359 1.1 mrg functions whose body is smaller than the expected call
6360 1.1 mrg overhead) is now executed with the early optimization passes,
6361 1.1 mrg thus inlining already optimized function bodies into an
6362 1.1 mrg unoptimized function that is subsequently optimized by early
6363 1.1 mrg optimizers. This enables the compiler to quickly eliminate
6364 1.1 mrg abstraction penalty in C++ programs.
6365 1.1 mrg + Interprocedural constant propagation now operate on SSA form
6366 1.1 mrg increasing accuracy of the analysis.
6367 1.1 mrg * A new internal representation for GIMPLE statements has been
6368 1.1 mrg contributed, resulting in compile-time memory savings.
6369 1.1 mrg * The vectorizer was enhanced to support vectorization of outer
6370 1.1 mrg loops, intra-iteration parallelism (loop-aware SLP), vectorization
6371 1.1 mrg of strided accesses and loops with multiple data-types. Run-time
6372 1.1 mrg dependency testing using loop versioning was added. The cost model,
6373 1.1 mrg turned on by -fvect-cost-model, was developed.
6374 1.1 mrg
6375 1.1 mrg New Languages and Language specific improvements
6376 1.1 mrg
6377 1.1 mrg * We have added new command-line options
6378 1.1 mrg -finstrument-functions-exclude-function-list and
6379 1.1 mrg -finstrument-functions-exclude-file-list. They provide more control
6380 1.1 mrg over which functions are annotated by the -finstrument-functions
6381 1.1 mrg option.
6382 1.1 mrg
6383 1.1 mrg C family
6384 1.1 mrg
6385 1.1 mrg * Implicit conversions between generic vector types are now only
6386 1.1 mrg permitted when the two vectors in question have the same number of
6387 1.1 mrg elements and compatible element types. (Note that the restriction
6388 1.1 mrg involves compatible element types, not implicitly-convertible
6389 1.1 mrg element types: thus, a vector type with element type int may not be
6390 1.1 mrg implicitly converted to a vector type with element type unsigned
6391 1.1 mrg int.) This restriction, which is in line with specifications for
6392 1.1 mrg SIMD architectures such as AltiVec, may be relaxed using the flag
6393 1.1 mrg -flax-vector-conversions. This flag is intended only as a
6394 1.1 mrg compatibility measure and should not be used for new code.
6395 1.1 mrg * -Warray-bounds has been added and is now enabled by default for
6396 1.1 mrg -Wall . It produces warnings for array subscripts that can be
6397 1.1 mrg determined at compile time to be always out of bounds.
6398 1.1 mrg -Wno-array-bounds will disable the warning.
6399 1.1 mrg * The constructor and destructor function attributes now accept
6400 1.1 mrg optional priority arguments which control the order in which the
6401 1.1 mrg constructor and destructor functions are run.
6402 1.1 mrg * New [11]command-line options -Wtype-limits,
6403 1.1 mrg -Wold-style-declaration, -Wmissing-parameter-type, -Wempty-body,
6404 1.1 mrg -Wclobbered and -Wignored-qualifiers have been added for finer
6405 1.1 mrg control of the diverse warnings enabled by -Wextra.
6406 1.1 mrg * A new function attribute alloc_size has been added to mark up
6407 1.1 mrg malloc style functions. For constant sized allocations this can be
6408 1.1 mrg used to find out the size of the returned pointer using the
6409 1.1 mrg __builtin_object_size() function for buffer overflow checking and
6410 1.1 mrg similar. This supplements the already built-in malloc and calloc
6411 1.1 mrg constant size handling.
6412 1.1 mrg * Integer constants written in binary are now supported as a GCC
6413 1.1 mrg extension. They consist of a prefix 0b or 0B, followed by a
6414 1.1 mrg sequence of 0 and 1 digits.
6415 1.1 mrg * A new predefined macro __COUNTER__ has been added. It expands to
6416 1.1 mrg sequential integral values starting from 0. In conjunction with the
6417 1.1 mrg ## operator, this provides a convenient means to generate unique
6418 1.1 mrg identifiers.
6419 1.1 mrg * A new command-line option -fdirectives-only has been added. It
6420 1.1 mrg enables a special preprocessing mode which improves the performance
6421 1.1 mrg of applications like distcc and ccache.
6422 1.1 mrg * Fixed-point data types and operators have been added. They are
6423 1.1 mrg based on Chapter 4 of the Embedded-C specification (n1169.pdf).
6424 1.1 mrg Currently, only MIPS targets are supported.
6425 1.1 mrg * Decimal floating-point arithmetic based on draft ISO/IEC TR 24732,
6426 1.1 mrg N1241, is now supported as a GCC extension to C for targets
6427 1.1 mrg i[34567]86-*-linux-gnu, powerpc*-*-linux-gnu, s390*-ibm-linux-gnu,
6428 1.1 mrg and x86_64-*-linux-gnu. The feature introduces new data types
6429 1.1 mrg _Decimal32, _Decimal64, and _Decimal128 with constant suffixes DF,
6430 1.1 mrg DD, and DL.
6431 1.1 mrg
6432 1.1 mrg C++
6433 1.1 mrg
6434 1.1 mrg * [12]Experimental support for the upcoming ISO C++ standard, C++0x.
6435 1.1 mrg * -Wc++0x-compat has been added and is now enabled by default for
6436 1.1 mrg -Wall. It produces warnings for constructs whose meaning differs
6437 1.1 mrg between ISO C++ 1998 and C++0x.
6438 1.1 mrg * The -Wparentheses option now works for C++ as it does for C. It
6439 1.1 mrg warns if parentheses are omitted when operators with confusing
6440 1.1 mrg precedence are nested. It also warns about ambiguous else
6441 1.1 mrg statements. Since -Wparentheses is enabled by -Wall, this may cause
6442 1.1 mrg additional warnings with existing C++ code which uses -Wall. These
6443 1.1 mrg new warnings may be disabled by using -Wall -Wno-parentheses.
6444 1.1 mrg * The -Wmissing-declarations now works for C++ as it does for C.
6445 1.1 mrg * The -fvisibility-ms-compat flag was added, to make it easier to
6446 1.1 mrg port larger projects using shared libraries from Microsoft's Visual
6447 1.1 mrg Studio to ELF and Mach-O systems.
6448 1.1 mrg * C++ attribute handling has been overhauled for template arguments
6449 1.1 mrg (ie dependent types). In particular, __attribute__((aligned(T)));
6450 1.1 mrg works for C++ types.
6451 1.1 mrg
6452 1.1 mrg Runtime Library (libstdc++)
6453 1.1 mrg
6454 1.1 mrg * [13]Experimental support for the upcoming ISO C++ standard, C++0x.
6455 1.1 mrg * Support for TR1 mathematical special functions and regular
6456 1.7 mrg expressions.
6457 1.1 mrg * Default what implementations give more elaborate exception strings
6458 1.1 mrg for bad_cast, bad_typeid, bad_exception, and bad_alloc.
6459 1.1 mrg * Header dependencies have been streamlined, reducing unnecessary
6460 1.1 mrg includes and pre-processed bloat.
6461 1.1 mrg * Variadic template implementations of items in <tuple> and
6462 1.1 mrg <functional>.
6463 1.7 mrg * An experimental [14]parallel mode has been added. This is a
6464 1.1 mrg parallel implementation of many C++ Standard library algorithms,
6465 1.1 mrg like std::accumulate, std::for_each, std::transform, or std::sort,
6466 1.1 mrg to give but four examples. These algorithms can be substituted for
6467 1.1 mrg the normal (sequential) libstdc++ algorithms on a piecemeal basis,
6468 1.1 mrg or all existing algorithms can be transformed via the
6469 1.1 mrg -D_GLIBCXX_PARALLEL macro.
6470 1.1 mrg * Debug mode versions of classes in <unordered_set> and
6471 1.1 mrg <unordered_map>.
6472 1.1 mrg * Formal deprecation of <ext/hash_set> and <ext/hash_map>, which are
6473 1.1 mrg now <backward/hash_set> and <backward/hash_map>. This code:
6474 1.1 mrg #include <ext/hash_set>
6475 1.1 mrg __gnu_cxx::hash_set<int> s;
6476 1.1 mrg
6477 1.1 mrg Can be transformed (in order of preference) to:
6478 1.1 mrg #include <tr1/unordered_set>
6479 1.1 mrg std::tr1::unordered_set<int> s;
6480 1.1 mrg
6481 1.1 mrg or
6482 1.1 mrg #include <backward/hash_set>
6483 1.1 mrg __gnu_cxx::hash_set<int> s;
6484 1.1 mrg
6485 1.1 mrg Similar transformations apply to __gnu_cxx::hash_map,
6486 1.1 mrg __gnu_cxx::hash_multimap, __gnu_cxx::hash_set,
6487 1.1 mrg __gnu_cxx::hash_multiset.
6488 1.1 mrg
6489 1.1 mrg Fortran
6490 1.1 mrg
6491 1.5 mrg * Due to the fact that the GMP and MPFR libraries are required for
6492 1.5 mrg all languages, Fortran is no longer special in this regard and is
6493 1.5 mrg available by default.
6494 1.7 mrg * The [15]-fexternal-blas option has been added, which generates
6495 1.1 mrg calls to BLAS routines for intrinsic matrix operations such as
6496 1.1 mrg matmul rather than using the built-in algorithms.
6497 1.1 mrg * Support to give a backtrace (compiler flag -fbacktrace or
6498 1.1 mrg environment variable GFORTRAN_ERROR_BACKTRACE; on glibc systems
6499 1.1 mrg only) or a core dump (-fdump-core, GFORTRAN_ERROR_DUMPCORE) when a
6500 1.1 mrg run-time error occured.
6501 1.1 mrg * GNU Fortran now defines __GFORTRAN__ when it runs the C
6502 1.1 mrg preprocessor (CPP).
6503 1.7 mrg * The [16]-finit-local-zero, -finit-real, -finit-integer,
6504 1.1 mrg -finit-character, and -finit-logical options have been added, which
6505 1.1 mrg can be used to initialize local variables.
6506 1.7 mrg * The intrinsic procedures [17]GAMMA and [18]LGAMMA have been added,
6507 1.1 mrg which calculate the Gamma function and its logarithm. Use EXTERNAL
6508 1.1 mrg gamma if you want to use your own gamma function.
6509 1.1 mrg * GNU Fortran now regards the backslash character as literal (as
6510 1.7 mrg required by the Fortran 2003 standard); using [19]-fbackslash GNU
6511 1.1 mrg Fortran interprets backslashes as C-style escape characters.
6512 1.7 mrg * The [20]interpretation of binary, octal and hexadecimal (BOZ)
6513 1.1 mrg literal constants has been changed. Before they were always
6514 1.1 mrg interpreted as integer; now they are bit-wise transferred as
6515 1.1 mrg argument of INT, REAL, DBLE and CMPLX as required by the Fortran
6516 1.1 mrg 2003 standard, and for real and complex variables in DATA
6517 1.1 mrg statements or when directly assigned to real and complex variables.
6518 1.1 mrg Everywhere else and especially in expressions they are still
6519 1.1 mrg regarded as integer constants.
6520 1.1 mrg * Fortran 2003 support has been extended:
6521 1.1 mrg + Intrinsic statements IMPORT, PROTECTED, VALUE and VOLATILE
6522 1.1 mrg + Pointer intent
6523 1.1 mrg + Intrinsic module ISO_ENV_FORTRAN
6524 1.1 mrg + Interoperability with C (ISO C Bindings)
6525 1.1 mrg + ABSTRACT INTERFACES and PROCEDURE statements (without POINTER
6526 1.1 mrg attribute)
6527 1.1 mrg + Fortran 2003 BOZ
6528 1.1 mrg
6529 1.1 mrg Java (GCJ)
6530 1.1 mrg
6531 1.1 mrg * GCJ now uses the Eclipse Java compiler for its Java parsing needs.
6532 1.1 mrg This enables the use of all 1.5 language features, and fixes most
6533 1.1 mrg existing front end bugs.
6534 1.1 mrg * libgcj now supports all 1.5 language features which require runtime
6535 1.1 mrg support: foreach, enum, annotations, generics, and auto-boxing.
6536 1.1 mrg * We've made many changes to the tools shipped with gcj.
6537 1.1 mrg + The old jv-scan tool has been removed. This tool never really
6538 1.1 mrg worked properly. There is no replacement.
6539 1.1 mrg + gcjh has been rewritten. Some of its more obscure options no
6540 1.1 mrg longer work, but are still recognized in an attempt at
6541 1.1 mrg compatibility. gjavah is a new program with similar
6542 1.1 mrg functionality but different command-line options.
6543 1.1 mrg + grmic and grmiregistry have been rewritten. grmid has been
6544 1.1 mrg added.
6545 1.1 mrg + gjar replaces the old fastjar.
6546 1.1 mrg + gjarsigner (used for signing jars), gkeytool (used for key
6547 1.1 mrg management), gorbd (for CORBA), gserialver (computes
6548 1.1 mrg serialization UIDs), and gtnameserv (also for CORBA) are now
6549 1.1 mrg installed.
6550 1.1 mrg * The ability to dump the contents of the java run time heap to a
6551 1.1 mrg file for off-line analysis has been added. The heap dumps may be
6552 1.1 mrg analyzed with the new gc-analyze tool. They may be generated on
6553 1.1 mrg out-of-memory conditions or on demand and are controlled by the new
6554 1.1 mrg run time class gnu.gcj.util.GCInfo.
6555 1.1 mrg * java.util.TimeZone can now read files from /usr/share/zoneinfo to
6556 1.1 mrg provide correct, updated, timezone information. This means that
6557 1.1 mrg packagers no longer have to update libgcj when a time zone change
6558 1.1 mrg is published.
6559 1.1 mrg
6560 1.1 mrg New Targets and Target Specific Improvements
6561 1.1 mrg
6562 1.1 mrg IA-32/x86-64
6563 1.1 mrg
6564 1.1 mrg * Tuning for Intel Core 2 processors is available via -mtune=core2
6565 1.1 mrg and -march=core2.
6566 1.1 mrg * Tuning for AMD Geode processors is available via -mtune=geode and
6567 1.1 mrg -march=geode.
6568 1.1 mrg * Code generation of block move (memcpy) and block set (memset) was
6569 1.1 mrg rewritten. GCC can now pick the best algorithm (loop, unrolled
6570 1.1 mrg loop, instruction with rep prefix or a library call) based on the
6571 1.1 mrg size of the block being copied and the CPU being optimized for. A
6572 1.1 mrg new option -minline-stringops-dynamically has been added. With this
6573 1.1 mrg option string operations of unknown size are expanded such that
6574 1.1 mrg small blocks are copied by in-line code, while for large blocks a
6575 1.1 mrg library call is used. This results in faster code than
6576 1.1 mrg -minline-all-stringops when the library implementation is capable
6577 1.1 mrg of using cache hierarchy hints. The heuristic choosing the
6578 1.1 mrg particular algorithm can be overwritten via -mstringop-strategy.
6579 1.1 mrg Newly also memset of values different from 0 is inlined.
6580 1.1 mrg * GCC no longer places the cld instruction before string operations.
6581 1.1 mrg Both i386 and x86-64 ABI documents mandate the direction flag to be
6582 1.1 mrg clear at the entry of a function. It is now invalid to set the flag
6583 1.1 mrg in asm statement without reseting it afterward.
6584 1.1 mrg * Support for SSSE3 built-in functions and code generation are
6585 1.1 mrg available via -mssse3.
6586 1.1 mrg * Support for SSE4.1 built-in functions and code generation are
6587 1.1 mrg available via -msse4.1.
6588 1.1 mrg * Support for SSE4.2 built-in functions and code generation are
6589 1.1 mrg available via -msse4.2.
6590 1.1 mrg * Both SSE4.1 and SSE4.2 support can be enabled via -msse4.
6591 1.1 mrg * A new set of options -mpc32, -mpc64 and -mpc80 have been added to
6592 1.1 mrg allow explicit control of x87 floating point precision.
6593 1.1 mrg * Support for __float128 (TFmode) IEEE quad type and corresponding
6594 1.1 mrg TCmode IEEE complex quad type is available via the soft-fp library
6595 1.1 mrg on x86_64 targets. This includes basic arithmetic operations
6596 1.1 mrg (addition, subtraction, negation, multiplication and division) on
6597 1.1 mrg __float128 real and TCmode complex values, the full set of IEEE
6598 1.1 mrg comparisons between __float128 values, conversions to and from
6599 1.1 mrg float, double and long double floating point types, as well as
6600 1.1 mrg conversions to and from signed or unsigned integer, signed or
6601 1.1 mrg unsigned long integer and signed or unsigned quad (TImode) integer
6602 1.1 mrg types. Additionally, all operations generate the full set of IEEE
6603 1.1 mrg exceptions and support the full set of IEEE rounding modes.
6604 1.1 mrg * GCC can now utilize the ACML library for vectorizing calls to a set
6605 1.1 mrg of C99 functions on x86_64 if -mveclibabi=acml is specified and you
6606 1.1 mrg link to an ACML ABI compatible library.
6607 1.1 mrg
6608 1.1 mrg ARM
6609 1.1 mrg
6610 1.1 mrg * Compiler and Library support for Thumb-2 and the ARMv7 architecture
6611 1.1 mrg has been added.
6612 1.1 mrg
6613 1.1 mrg CRIS
6614 1.1 mrg
6615 1.1 mrg New features
6616 1.1 mrg
6617 1.1 mrg * Compiler and Library support for the CRIS v32 architecture, as
6618 1.1 mrg found in Axis Communications ETRAX FS and ARTPEC-3 chips, has been
6619 1.1 mrg added.
6620 1.1 mrg
6621 1.1 mrg Configuration changes
6622 1.1 mrg
6623 1.1 mrg * The cris-*-elf target now includes support for CRIS v32, including
6624 1.1 mrg libraries, through the -march=v32 option.
6625 1.1 mrg * A new crisv32-*-elf target defaults to generate code for CRIS v32.
6626 1.1 mrg * A new crisv32-*-linux* target defaults to generate code for CRIS
6627 1.1 mrg v32.
6628 1.1 mrg * The cris-*-aout target has been obsoleted.
6629 1.1 mrg
6630 1.1 mrg Improved support for built-in functions
6631 1.1 mrg
6632 1.1 mrg * GCC can now use the lz and swapwbr instructions to implement the
6633 1.1 mrg __builtin_clz, __builtin_ctz and __builtin_ffs family of functions.
6634 1.1 mrg * __builtin_bswap32 is now implemented using the swapwb instruction,
6635 1.1 mrg when available.
6636 1.1 mrg
6637 1.1 mrg m68k and ColdFire
6638 1.1 mrg
6639 1.1 mrg New features
6640 1.1 mrg
6641 1.1 mrg * Support for several new ColdFire processors has been added. You can
6642 1.1 mrg generate code for them using the new -mcpu option.
6643 1.1 mrg * All targets now support ColdFire processors.
6644 1.1 mrg * m68k-uclinux targets have improved support for C++ constructors and
6645 1.1 mrg destructors, and for shared libraries.
6646 1.1 mrg * It is now possible to set breakpoints on the first or last line of
6647 1.1 mrg a function, even if there are no statements on that line.
6648 1.1 mrg
6649 1.1 mrg Optimizations
6650 1.1 mrg
6651 1.1 mrg * Support for sibling calls has been added.
6652 1.1 mrg * More use is now made of the ColdFire mov3q instruction.
6653 1.1 mrg * __builtin_clz is now implemented using the ff1 ColdFire
6654 1.1 mrg instruction, when available.
6655 1.1 mrg * GCC now honors the -m68010 option. 68010 code now uses clr rather
6656 1.1 mrg than move to zero volatile memory.
6657 1.1 mrg * 68020 targets and above can now use symbol(index.size*scale)
6658 1.1 mrg addresses for indexed array accesses. Earlier compilers would
6659 1.1 mrg always load the symbol into a base register first.
6660 1.1 mrg
6661 1.1 mrg Configuration changes
6662 1.1 mrg
6663 1.1 mrg * All m68k and ColdFire targets now allow the default processor to be
6664 1.1 mrg set at configure time using --with-cpu.
6665 1.1 mrg * A --with-arch configuration option has been added. This option
6666 1.1 mrg allows you to restrict a target to ColdFire or non-ColdFire
6667 1.1 mrg processors.
6668 1.1 mrg
6669 1.1 mrg Preprocessor macros
6670 1.1 mrg
6671 1.1 mrg * An __mcfv*__ macro is now defined for all ColdFire targets.
6672 1.1 mrg (Earlier versions of GCC only defined __mcfv4e__.)
6673 1.1 mrg * __mcf_cpu_*, __mcf_family_* and __mcffpu__ macros have been added.
6674 1.1 mrg * All targets now define __mc68010 and __mc68010__ when generating
6675 1.1 mrg 68010 code.
6676 1.1 mrg
6677 1.1 mrg Command-line changes
6678 1.1 mrg
6679 1.1 mrg * New command-line options -march, -mcpu, -mtune and -mhard-float
6680 1.1 mrg have been added. These options apply to both m68k and ColdFire
6681 1.1 mrg targets.
6682 1.1 mrg * -mno-short, -mno-bitfield and -mno-rtd are now accepted as negative
6683 1.1 mrg versions of -mshort, etc.
6684 1.1 mrg * -fforce-addr has been removed. It is now ignored by the compiler.
6685 1.1 mrg
6686 1.1 mrg Other improvements
6687 1.1 mrg
6688 1.1 mrg * ColdFire targets now try to maintain a 4-byte-aligned stack where
6689 1.1 mrg possible.
6690 1.1 mrg * m68k-uclinux targets now try to avoid situations that lead to the
6691 1.1 mrg load-time error: BINFMT_FLAT: reloc outside program.
6692 1.1 mrg
6693 1.1 mrg MIPS
6694 1.1 mrg
6695 1.1 mrg Changes to existing configurations
6696 1.1 mrg
6697 1.1 mrg * libffi and libjava now support all three GNU/Linux ABIs: o32, n32
6698 1.1 mrg and n64. Every GNU/Linux configuration now builds these libraries
6699 1.1 mrg by default.
6700 1.1 mrg * GNU/Linux configurations now generate -mno-shared code unless
6701 1.1 mrg overridden by -fpic, -fPIC, -fpie or -fPIE.
6702 1.1 mrg * mipsisa32*-linux-gnu configurations now generate hard-float code by
6703 1.1 mrg default, just like other mipsisa32* and mips*-linux-gnu
6704 1.1 mrg configurations. You can build a soft-float version of any
6705 1.1 mrg mips*-linux-gnu configuration by passing --with-float=soft to
6706 1.1 mrg configure.
6707 1.1 mrg * mips-wrs-vxworks now supports run-time processes (RTPs).
6708 1.1 mrg
6709 1.1 mrg Changes to existing command-line options
6710 1.1 mrg
6711 1.1 mrg * The -march and -mtune options no longer accept 24k as a processor
6712 1.1 mrg name. Please use 24kc, 24kf2_1 or 24kf1_1 instead.
6713 1.1 mrg * The -march and -mtune options now accept 24kf2_1, 24kef2_1 and
6714 1.1 mrg 34kf2_1 as synonyms for 24kf, 24kef and 34kf respectively. The
6715 1.1 mrg options also accept 24kf1_1, 24kef1_1 and 34kf1_1 as synonyms for
6716 1.1 mrg 24kx, 24kex and 34kx.
6717 1.1 mrg
6718 1.1 mrg New configurations
6719 1.1 mrg
6720 1.1 mrg GCC now supports the following configurations:
6721 1.1 mrg * mipsisa32r2*-linux-gnu*, which generates MIPS32 revision 2 code by
6722 1.1 mrg default. Earlier releases also recognized this configuration, but
6723 1.1 mrg they treated it in the same way as mipsisa32*-linux-gnu*. Note that
6724 1.1 mrg you can customize any mips*-linux-gnu* configuration to a
6725 1.1 mrg particular ISA or processor by passing an appropriate --with-arch
6726 1.1 mrg option to configure.
6727 1.1 mrg * mipsisa*-sde-elf*, which provides compatibility with MIPS
6728 1.1 mrg Technologies' SDE toolchains. The configuration uses the SDE
6729 1.1 mrg libraries by default, but you can use it like other newlib-based
6730 1.1 mrg ELF configurations by passing --with-newlib to configure. It is the
6731 1.1 mrg only configuration besides mips64vr*-elf* to build MIPS16 as well
6732 1.1 mrg as non-MIPS16 libraries.
6733 1.1 mrg * mipsisa*-elfoabi*, which is similar to the general mipsisa*-elf*
6734 1.1 mrg configuration, but uses the o32 and o64 ABIs instead of the 32-bit
6735 1.1 mrg and 64-bit forms of the EABI.
6736 1.1 mrg
6737 1.1 mrg New processors and application-specific extensions
6738 1.1 mrg
6739 1.1 mrg * Support for the SmartMIPS ASE is available through the new
6740 1.1 mrg -msmartmips option.
6741 1.1 mrg * Support for revision 2 of the DSP ASE is available through the new
6742 1.1 mrg -mdspr2 option. A new preprocessor macro called __mips_dsp_rev
6743 1.1 mrg indicates the revision of the ASE in use.
6744 1.1 mrg * Support for the 4KS and 74K families of processors is available
6745 1.1 mrg through the -march and -mtune options.
6746 1.1 mrg
6747 1.1 mrg Improved support for built-in functions
6748 1.1 mrg
6749 1.1 mrg * GCC can now use load-linked, store-conditional and sync
6750 1.1 mrg instructions to implement atomic built-in functions such as
6751 1.1 mrg __sync_fetch_and_add. The memory reference must be 4 bytes wide for
6752 1.1 mrg 32-bit targets and either 4 or 8 bytes wide for 64-bit targets.
6753 1.1 mrg * GCC can now use the clz and dclz instructions to implement the
6754 1.1 mrg __builtin_ctz and __builtin_ffs families of functions.
6755 1.1 mrg * There is a new __builtin___clear_cache function for flushing the
6756 1.1 mrg instruction cache. GCC expands this function inline on MIPS32
6757 1.1 mrg revision 2 targets, otherwise it calls the function specified by
6758 1.1 mrg -mcache-flush-func.
6759 1.1 mrg
6760 1.1 mrg MIPS16 improvements
6761 1.1 mrg
6762 1.1 mrg * GCC can now compile objects that contain a mixture of MIPS16 and
6763 1.1 mrg non-MIPS16 code. There are two new attributes, mips16 and nomips16,
6764 1.1 mrg for specifying which mode a function should use.
6765 1.1 mrg * A new option called -minterlink-mips16 makes non-MIPS16 code
6766 1.1 mrg link-compatible with MIPS16 code.
6767 1.1 mrg * After many bug fixes, the long-standing MIPS16 -mhard-float support
6768 1.1 mrg should now work fairly reliably.
6769 1.1 mrg * GCC can now use the MIPS16e save and restore instructions.
6770 1.1 mrg * -fsection-anchors now works in MIPS16 mode. MIPS16 code compiled
6771 1.1 mrg with -G0 -fsection-anchors is often smaller than code compiled with
6772 1.1 mrg -G8. However, please note that you must usually compile all objects
6773 1.1 mrg in your application with the same -G option; see the documentation
6774 1.1 mrg of -G for details.
6775 1.1 mrg * A new option called-mcode-readable specifies which instructions are
6776 1.1 mrg allowed to load from the code segment. -mcode-readable=yes is the
6777 1.1 mrg default and says that any instruction may load from the code
6778 1.1 mrg segment. The other alternatives are -mcode-readable=pcrel, which
6779 1.1 mrg says that only PC-relative MIPS16 instructions may load from the
6780 1.1 mrg code segment, and -mcode-readable=no, which says that no
6781 1.1 mrg instruction may do so. Please see the documentation for more
6782 1.1 mrg details, including example uses.
6783 1.1 mrg
6784 1.1 mrg Small-data improvements
6785 1.1 mrg
6786 1.1 mrg There are three new options for controlling small data:
6787 1.1 mrg * -mno-extern-sdata, which disables small-data accesses for
6788 1.1 mrg externally-defined variables. Code compiled with -Gn
6789 1.1 mrg -mno-extern-sdata will be link-compatible with any -G setting
6790 1.1 mrg between -G0 and -Gn inclusive.
6791 1.1 mrg * -mno-local-sdata, which disables the use of small-data sections for
6792 1.1 mrg data that is not externally visible. This option can be a useful
6793 1.1 mrg way of reducing small-data usage in less performance-critical parts
6794 1.1 mrg of an application.
6795 1.1 mrg * -mno-gpopt, which disables the use of the $gp register while still
6796 1.1 mrg honoring the -G limit when placing externally-visible data. This
6797 1.1 mrg option implies -mno-extern-sdata and -mno-local-sdata and it can be
6798 1.1 mrg useful in situations where $gp does not necessarily hold the
6799 1.1 mrg expected value.
6800 1.1 mrg
6801 1.1 mrg Miscellaneous improvements
6802 1.1 mrg
6803 1.1 mrg * There is a new option called -mbranch-cost for tweaking the
6804 1.1 mrg perceived cost of branches.
6805 1.1 mrg * If GCC is configured to use a version of GAS that supports the
6806 1.1 mrg .gnu_attribute directive, it will use that directive to record
6807 1.1 mrg certain properties of the output code. .gnu_attribute is new to GAS
6808 1.1 mrg 2.18.
6809 1.1 mrg * There are two new function attributes, near and far, for overriding
6810 1.1 mrg the command-line setting of -mlong-calls on a function-by-function
6811 1.1 mrg basis.
6812 1.1 mrg * -mfp64, which previously required a 64-bit target, now works with
6813 1.1 mrg MIPS32 revision 2 targets as well. The mipsisa*-elfoabi* and
6814 1.1 mrg mipsisa*-sde-elf* configurations provide suitable library support.
6815 1.1 mrg * GCC now recognizes the -mdmx and -mmt options and passes them down
6816 1.1 mrg to the assembler. It does nothing else with the options at present.
6817 1.1 mrg
6818 1.1 mrg SPU (Synergistic Processor Unit) of the Cell Broadband Engine Architecture
6819 1.1 mrg (BEA)
6820 1.1 mrg
6821 1.1 mrg * Support has been added for this new architecture.
6822 1.1 mrg
6823 1.1 mrg RS6000 (POWER/PowerPC)
6824 1.1 mrg
6825 1.1 mrg * Support for the PowerPC 750CL paired-single instructions has been
6826 1.1 mrg added with a new powerpc-*-linux*paired* target configuration. It
6827 1.1 mrg is enabled by an associated -mpaired option and can be accessed
6828 1.1 mrg using new built-in functions.
6829 1.1 mrg * Support for auto-detecting architecture and system configuration to
6830 1.1 mrg auto-select processor optimization tuning.
6831 1.1 mrg * Support for VMX on AIX 5.3 has been added.
6832 1.1 mrg * Support for AIX Version 6.1 has been added.
6833 1.1 mrg
6834 1.1 mrg S/390, zSeries and System z9
6835 1.1 mrg
6836 1.1 mrg * Support for the IBM System z9 EC/BC processor (z9 GA3) has been
6837 1.1 mrg added. When using the -march=z9-ec option, the compiler will
6838 1.1 mrg generate code making use of instructions provided by the decimal
6839 1.1 mrg floating point facility and the floating point conversion facility
6840 1.1 mrg (pfpo). Besides the instructions used to implement decimal floating
6841 1.1 mrg point operations these facilities also contain instructions to move
6842 1.1 mrg between general purpose and floating point registers and to modify
6843 1.1 mrg and copy the sign-bit of floating point values.
6844 1.1 mrg * When the -march=z9-ec option is used the new
6845 1.1 mrg -mhard-dfp/-mno-hard-dfp options can be used to specify whether the
6846 1.1 mrg decimal floating point hardware instructions will be used or not.
6847 1.1 mrg If none of them is given the hardware support is enabled by
6848 1.1 mrg default.
6849 1.1 mrg * The -mstack-guard option can now be omitted when using stack
6850 1.1 mrg checking via -mstack-size in order to let GCC choose a sensible
6851 1.1 mrg stack guard value according to the frame size of each function.
6852 1.1 mrg * Various changes to improve performance of generated code have been
6853 1.1 mrg implemented, including:
6854 1.1 mrg + The condition code set by an add logical with carry
6855 1.1 mrg instruction is now available for overflow checks like: a + b +
6856 1.1 mrg carry < b.
6857 1.1 mrg + The test data class instruction is now used to implement
6858 1.1 mrg sign-bit and infinity checks of binary and decimal floating
6859 1.1 mrg point numbers.
6860 1.1 mrg
6861 1.3 skrll SPARC
6862 1.3 skrll
6863 1.3 skrll * Support for the Sun UltraSPARC T2 (Niagara 2) processor has been
6864 1.3 skrll added.
6865 1.3 skrll
6866 1.1 mrg Xtensa
6867 1.1 mrg
6868 1.1 mrg * Stack unwinding for exception handling now uses by default a
6869 1.1 mrg specialized version of DWARF unwinding. This is not
6870 1.1 mrg binary-compatible with the setjmp/longjmp (sjlj) unwinding used for
6871 1.1 mrg Xtensa with previous versions of GCC.
6872 1.1 mrg * For Xtensa processors that include the Conditional Store option,
6873 1.1 mrg the built-in functions for atomic memory access are now implemented
6874 1.1 mrg using S32C1I instructions.
6875 1.1 mrg * If the Xtensa NSA option is available, GCC will use it to implement
6876 1.1 mrg the __builtin_ctz and __builtin_clz functions.
6877 1.1 mrg
6878 1.1 mrg Documentation improvements
6879 1.1 mrg
6880 1.1 mrg * Existing libstdc++ documentation has been edited and restructured
6881 1.1 mrg into a single DocBook XML manual. The results can be viewed online
6882 1.7 mrg [21]here.
6883 1.1 mrg
6884 1.1 mrg Other significant improvements
6885 1.1 mrg
6886 1.1 mrg * The compiler's --help command-line option has been extended so that
6887 1.1 mrg it now takes an optional set of arguments. These arguments restrict
6888 1.1 mrg the information displayed to specific classes of command-line
6889 1.1 mrg options, and possibly only a subset of those options. It is also
6890 1.1 mrg now possible to replace the descriptive text associated with each
6891 1.1 mrg displayed option with an indication of its current value, or for
6892 1.1 mrg binary options, whether it has been enabled or disabled.
6893 1.1 mrg Here are some examples. The following will display all the options
6894 1.1 mrg controlling warning messages:
6895 1.1 mrg --help=warnings
6896 1.1 mrg
6897 1.1 mrg Whereas this will display all the undocumented, target specific
6898 1.1 mrg options:
6899 1.1 mrg --help=target,undocumented
6900 1.1 mrg
6901 1.1 mrg This sequence of commands will display the binary optimizations
6902 1.1 mrg that are enabled by -O3:
6903 1.1 mrg gcc -c -Q -O3 --help=optimizers > /tmp/O3-opts
6904 1.1 mrg gcc -c -Q -O2 --help=optimizers > /tmp/O2-opts
6905 1.1 mrg diff /tmp/O2-opts /tmp/O3-opts | grep enabled
6906 1.1 mrg
6907 1.1 mrg * The configure options --with-pkgversion and --with-bugurl have been
6908 1.1 mrg added. These allow distributors of GCC to include a
6909 1.1 mrg distributor-specific string in manuals and --version output and to
6910 1.1 mrg specify the URL for reporting bugs in their versions of GCC.
6911 1.1 mrg
6912 1.1 mrg GCC 4.3.1
6913 1.1 mrg
6914 1.7 mrg This is the [22]list of problem reports (PRs) from GCC's bug tracking
6915 1.1 mrg system that are known to be fixed in the 4.3.1 release. This list might
6916 1.1 mrg not be complete (that is, it is possible that some PRs that have been
6917 1.1 mrg fixed are not listed here).
6918 1.1 mrg
6919 1.1 mrg Target Specific Changes
6920 1.1 mrg
6921 1.1 mrg IA-32/x86-64
6922 1.1 mrg
6923 1.1 mrg ABI changes
6924 1.1 mrg
6925 1.1 mrg * Starting with GCC 4.3.1, decimal floating point variables are
6926 1.1 mrg aligned to their natural boundaries when they are passed on the
6927 1.1 mrg stack for i386.
6928 1.1 mrg
6929 1.1 mrg Command-line changes
6930 1.1 mrg
6931 1.1 mrg * Starting with GCC 4.3.1, the -mcld option has been added to
6932 1.1 mrg automatically generate a cld instruction in the prologue of
6933 1.1 mrg functions that use string instructions. This option is used for
6934 1.1 mrg backward compatibility on some operating systems and can be enabled
6935 1.1 mrg by default for 32-bit x86 targets by configuring GCC with the
6936 1.1 mrg --enable-cld configure option.
6937 1.1 mrg
6938 1.1 mrg GCC 4.3.2
6939 1.1 mrg
6940 1.7 mrg This is the [23]list of problem reports (PRs) from GCC's bug tracking
6941 1.1 mrg system that are known to be fixed in the 4.3.2 release. This list might
6942 1.1 mrg not be complete (that is, it is possible that some PRs that have been
6943 1.1 mrg fixed are not listed here).
6944 1.1 mrg
6945 1.1 mrg GCC 4.3.3
6946 1.1 mrg
6947 1.7 mrg This is the [24]list of problem reports (PRs) from GCC's bug tracking
6948 1.1 mrg system that are known to be fixed in the 4.3.3 release. This list might
6949 1.1 mrg not be complete (that is, it is possible that some PRs that have been
6950 1.1 mrg fixed are not listed here).
6951 1.1 mrg
6952 1.1 mrg GCC 4.3.4
6953 1.1 mrg
6954 1.7 mrg This is the [25]list of problem reports (PRs) from GCC's bug tracking
6955 1.1 mrg system that are known to be fixed in the 4.3.4 release. This list might
6956 1.1 mrg not be complete (that is, it is possible that some PRs that have been
6957 1.1 mrg fixed are not listed here).
6958 1.1 mrg
6959 1.1 mrg GCC 4.3.5
6960 1.1 mrg
6961 1.7 mrg This is the [26]list of problem reports (PRs) from GCC's bug tracking
6962 1.1 mrg system that are known to be fixed in the 4.3.5 release. This list might
6963 1.1 mrg not be complete (that is, it is possible that some PRs that have been
6964 1.1 mrg fixed are not listed here).
6965 1.1 mrg
6966 1.3 skrll GCC 4.3.6
6967 1.3 skrll
6968 1.7 mrg This is the [27]list of problem reports (PRs) from GCC's bug tracking
6969 1.3 skrll system that are known to be fixed in the 4.3.6 release. This list might
6970 1.3 skrll not be complete (that is, it is possible that some PRs that have been
6971 1.3 skrll fixed are not listed here).
6972 1.3 skrll
6973 1.1 mrg
6974 1.1 mrg For questions related to the use of GCC, please consult these web
6975 1.7 mrg pages and the [28]GCC manuals. If that fails, the
6976 1.7 mrg [29]gcc-help (a] gcc.gnu.org mailing list might help. Comments on these
6977 1.1 mrg web pages and the development of GCC are welcome on our developer
6978 1.7 mrg list at [30]gcc (a] gcc.gnu.org. All of [31]our lists have public
6979 1.1 mrg archives.
6980 1.1 mrg
6981 1.7 mrg Copyright (C) [32]Free Software Foundation, Inc. Verbatim copying and
6982 1.1 mrg distribution of this entire article is permitted in any medium,
6983 1.1 mrg provided this notice is preserved.
6984 1.1 mrg
6985 1.7 mrg These pages are [33]maintained by the GCC team. Last modified
6986 1.7 mrg 2017-02-07[34].
6987 1.1 mrg
6988 1.1 mrg References
6989 1.1 mrg
6990 1.1 mrg 1. http://gcc.gnu.org/gcc-4.3/changes.html#4.3.5
6991 1.5 mrg 2. https://gmplib.org/
6992 1.1 mrg 3. http://www.mpfr.org/
6993 1.4 mrg 4. https://gcc.gnu.org/install/prerequisites.html
6994 1.4 mrg 5. https://gcc.gnu.org/ml/gcc-announce/2001/msg00000.html
6995 1.4 mrg 6. https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#Warning-Options
6996 1.1 mrg 7. http://gcc.gnu.org/gcc-4.3/porting_to.html
6997 1.1 mrg 8. http://www.mpfr.org/
6998 1.1 mrg 9. http://www.mpfr.org/
6999 1.1 mrg 10. http://www.mpfr.org/
7000 1.4 mrg 11. https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html
7001 1.1 mrg 12. http://gcc.gnu.org/gcc-4.3/cxx0x_status.html
7002 1.1 mrg 13. http://gcc.gnu.org/gcc-4.3/cxx0x_status.html
7003 1.7 mrg 14. https://gcc.gnu.org/onlinedocs/libstdc++/manual/parallel_mode.html
7004 1.7 mrg 15. https://gcc.gnu.org/onlinedocs/gfortran/Code-Gen-Options.html#Code-Gen-Options
7005 1.7 mrg 16. https://gcc.gnu.org/onlinedocs/gfortran/Code-Gen-Options.html#index-g_t_0040code_007bfinit-local-zero_007d-167
7006 1.7 mrg 17. https://gcc.gnu.org/onlinedocs/gcc-4.3.0/gfortran/GAMMA.html
7007 1.7 mrg 18. https://gcc.gnu.org/onlinedocs/gcc-4.3.0/gfortran/LGAMMA.html
7008 1.7 mrg 19. https://gcc.gnu.org/onlinedocs/gfortran/Fortran-Dialect-Options.html
7009 1.7 mrg 20. https://gcc.gnu.org/onlinedocs/gfortran/BOZ-literal-constants.html
7010 1.7 mrg 21. https://gcc.gnu.org/onlinedocs/libstdc++/
7011 1.7 mrg 22. https://gcc.gnu.org/bugzilla/buglist.cgi?bug_status=RESOLVED&resolution=FIXED&target_milestone=4.3.1
7012 1.7 mrg 23. https://gcc.gnu.org/bugzilla/buglist.cgi?bug_status=RESOLVED&resolution=FIXED&target_milestone=4.3.2
7013 1.7 mrg 24. https://gcc.gnu.org/bugzilla/buglist.cgi?bug_status=RESOLVED&resolution=FIXED&target_milestone=4.3.3
7014 1.7 mrg 25. https://gcc.gnu.org/bugzilla/buglist.cgi?bug_status=RESOLVED&resolution=FIXED&target_milestone=4.3.4
7015 1.7 mrg 26. https://gcc.gnu.org/bugzilla/buglist.cgi?bug_status=RESOLVED&resolution=FIXED&target_milestone=4.3.5
7016 1.7 mrg 27. https://gcc.gnu.org/bugzilla/buglist.cgi?bug_status=RESOLVED&resolution=FIXED&target_milestone=4.3.6
7017 1.7 mrg 28. https://gcc.gnu.org/onlinedocs/
7018 1.7 mrg 29. mailto:gcc-help (a] gcc.gnu.org
7019 1.7 mrg 30. mailto:gcc (a] gcc.gnu.org
7020 1.7 mrg 31. https://gcc.gnu.org/lists.html
7021 1.7 mrg 32. http://www.fsf.org/
7022 1.7 mrg 33. https://gcc.gnu.org/about.html
7023 1.7 mrg 34. http://validator.w3.org/check/referer
7024 1.1 mrg ======================================================================
7025 1.1 mrg http://gcc.gnu.org/gcc-4.2/index.html
7026 1.1 mrg GCC 4.2 Release Series
7027 1.1 mrg
7028 1.1 mrg May 19, 2008
7029 1.1 mrg
7030 1.1 mrg The [1]GNU project and the GCC developers are pleased to announce the
7031 1.1 mrg release of GCC 4.2.4.
7032 1.1 mrg
7033 1.1 mrg This release is a bug-fix release, containing fixes for regressions in
7034 1.1 mrg GCC 4.2.3 relative to previous releases of GCC.
7035 1.1 mrg
7036 1.7 mrg This release series is no longer maintained.
7037 1.7 mrg
7038 1.1 mrg Release History
7039 1.1 mrg
7040 1.1 mrg GCC 4.2.4
7041 1.1 mrg May 19, 2008 ([2]changes)
7042 1.1 mrg
7043 1.1 mrg GCC 4.2.3
7044 1.1 mrg February 1, 2008 ([3]changes)
7045 1.1 mrg
7046 1.1 mrg GCC 4.2.2
7047 1.1 mrg October 7, 2007 ([4]changes)
7048 1.1 mrg
7049 1.1 mrg GCC 4.2.1
7050 1.1 mrg July 18, 2007 ([5]changes)
7051 1.1 mrg
7052 1.1 mrg GCC 4.2.0
7053 1.1 mrg May 13, 2007 ([6]changes)
7054 1.1 mrg
7055 1.1 mrg References and Acknowledgements
7056 1.1 mrg
7057 1.1 mrg GCC used to stand for the GNU C Compiler, but since the compiler
7058 1.1 mrg supports several other languages aside from C, it now stands for the
7059 1.1 mrg GNU Compiler Collection.
7060 1.1 mrg
7061 1.1 mrg A list of [7]successful builds is updated as new information becomes
7062 1.1 mrg available.
7063 1.1 mrg
7064 1.1 mrg The GCC developers would like to thank the numerous people that have
7065 1.1 mrg contributed new features, improvements, bug fixes, and other changes as
7066 1.1 mrg well as test results to GCC. This [8]amazing group of volunteers is
7067 1.1 mrg what makes GCC successful.
7068 1.1 mrg
7069 1.1 mrg For additional information about GCC please refer to the [9]GCC project
7070 1.1 mrg web site or contact the [10]GCC development mailing list.
7071 1.1 mrg
7072 1.1 mrg To obtain GCC please use [11]our mirror sites or [12]our SVN server.
7073 1.1 mrg
7074 1.1 mrg
7075 1.1 mrg For questions related to the use of GCC, please consult these web
7076 1.1 mrg pages and the [13]GCC manuals. If that fails, the
7077 1.1 mrg [14]gcc-help (a] gcc.gnu.org mailing list might help. Comments on these
7078 1.1 mrg web pages and the development of GCC are welcome on our developer
7079 1.1 mrg list at [15]gcc (a] gcc.gnu.org. All of [16]our lists have public
7080 1.1 mrg archives.
7081 1.1 mrg
7082 1.1 mrg Copyright (C) [17]Free Software Foundation, Inc. Verbatim copying and
7083 1.1 mrg distribution of this entire article is permitted in any medium,
7084 1.1 mrg provided this notice is preserved.
7085 1.1 mrg
7086 1.1 mrg These pages are [18]maintained by the GCC team. Last modified
7087 1.7 mrg 2016-09-30[19].
7088 1.1 mrg
7089 1.1 mrg References
7090 1.1 mrg
7091 1.1 mrg 1. http://www.gnu.org/
7092 1.1 mrg 2. http://gcc.gnu.org/gcc-4.2/changes.html
7093 1.1 mrg 3. http://gcc.gnu.org/gcc-4.2/changes.html
7094 1.1 mrg 4. http://gcc.gnu.org/gcc-4.2/changes.html
7095 1.1 mrg 5. http://gcc.gnu.org/gcc-4.2/changes.html
7096 1.1 mrg 6. http://gcc.gnu.org/gcc-4.2/changes.html
7097 1.1 mrg 7. http://gcc.gnu.org/gcc-4.2/buildstat.html
7098 1.4 mrg 8. https://gcc.gnu.org/onlinedocs/gcc/Contributors.html
7099 1.1 mrg 9. http://gcc.gnu.org/index.html
7100 1.1 mrg 10. mailto:gcc (a] gcc.gnu.org
7101 1.1 mrg 11. http://gcc.gnu.org/mirrors.html
7102 1.1 mrg 12. http://gcc.gnu.org/svn.html
7103 1.4 mrg 13. https://gcc.gnu.org/onlinedocs/
7104 1.1 mrg 14. mailto:gcc-help (a] gcc.gnu.org
7105 1.1 mrg 15. mailto:gcc (a] gcc.gnu.org
7106 1.4 mrg 16. https://gcc.gnu.org/lists.html
7107 1.1 mrg 17. http://www.fsf.org/
7108 1.4 mrg 18. https://gcc.gnu.org/about.html
7109 1.1 mrg 19. http://validator.w3.org/check/referer
7110 1.1 mrg ======================================================================
7111 1.1 mrg http://gcc.gnu.org/gcc-4.2/changes.html
7112 1.1 mrg GCC 4.2 Release Series
7113 1.1 mrg Changes, New Features, and Fixes
7114 1.1 mrg
7115 1.1 mrg Caveats
7116 1.1 mrg
7117 1.1 mrg * GCC no longer accepts the -fshared-data option. This option has had
7118 1.1 mrg no effect in any GCC 4 release; the targets to which the option
7119 1.1 mrg used to apply had been removed before GCC 4.0.
7120 1.1 mrg
7121 1.1 mrg General Optimizer Improvements
7122 1.1 mrg
7123 1.1 mrg * New command-line options specify the possible relationships among
7124 1.1 mrg parameters and between parameters and global data. For example,
7125 1.1 mrg -fargument-noalias-anything specifies that arguments do not alias
7126 1.1 mrg any other storage.
7127 1.1 mrg Each language will automatically use whatever option is required by
7128 1.1 mrg the language standard. You should not need to use these options
7129 1.1 mrg yourself.
7130 1.1 mrg
7131 1.1 mrg New Languages and Language specific improvements
7132 1.1 mrg
7133 1.1 mrg * [1]OpenMP is now supported for the C, C++ and Fortran compilers.
7134 1.1 mrg * New command-line options -fstrict-overflow and -Wstrict-overflow
7135 1.1 mrg have been added. -fstrict-overflow tells the compiler that it may
7136 1.1 mrg assume that the program follows the strict signed overflow
7137 1.1 mrg semantics permitted for the language: for C and C++ this means that
7138 1.1 mrg the compiler may assume that signed overflow does not occur. For
7139 1.1 mrg example, a loop like
7140 1.1 mrg for (i = 1; i > 0; i *= 2)
7141 1.1 mrg
7142 1.1 mrg is presumably intended to continue looping until i overflows. With
7143 1.1 mrg -fstrict-overflow, the compiler may assume that signed overflow
7144 1.1 mrg will not occur, and transform this into an infinite loop.
7145 1.1 mrg -fstrict-overflow is turned on by default at -O2, and may be
7146 1.1 mrg disabled via -fno-strict-overflow. The -Wstrict-overflow option may
7147 1.1 mrg be used to warn about cases where the compiler assumes that signed
7148 1.1 mrg overflow will not occur. It takes five different levels:
7149 1.1 mrg -Wstrict-overflow=1 to 5. See the [2]documentation for details.
7150 1.1 mrg -Wstrict-overflow=1 is enabled by -Wall.
7151 1.1 mrg * The new command-line option -fno-toplevel-reorder directs GCC to
7152 1.1 mrg emit top-level functions, variables, and asm statements in the same
7153 1.1 mrg order that they appear in the input file. This is intended to
7154 1.1 mrg support existing code which relies on a particular ordering (for
7155 1.1 mrg example, code which uses top-level asm statements to switch
7156 1.1 mrg sections). For new code, it is generally better to use function and
7157 1.1 mrg variable attributes. The -fno-toplevel-reorder option may be used
7158 1.1 mrg for most cases which currently use -fno-unit-at-a-time. The
7159 1.1 mrg -fno-unit-at-a-time option will be removed in some future version
7160 1.1 mrg of GCC. If you know of a case which requires -fno-unit-at-a-time
7161 1.1 mrg which is not fixed by -fno-toplevel-reorder, please open a bug
7162 1.1 mrg report.
7163 1.1 mrg
7164 1.1 mrg C family
7165 1.1 mrg
7166 1.1 mrg * The pragma redefine_extname will now macro expand its tokens for
7167 1.1 mrg compatibility with SunPRO.
7168 1.1 mrg * In the next release of GCC, 4.3, -std=c99 or -std=gnu99 will direct
7169 1.1 mrg GCC to handle inline functions as specified in the C99 standard. In
7170 1.1 mrg preparation for this, GCC 4.2 will warn about any use of non-static
7171 1.1 mrg inline functions in gnu99 or c99 mode. This new warning may be
7172 1.1 mrg disabled with the new gnu_inline function attribute or the new
7173 1.1 mrg -fgnu89-inline command-line option. Also, GCC 4.2 and later will
7174 1.1 mrg define one of the preprocessor macros __GNUC_GNU_INLINE__ or
7175 1.1 mrg __GNUC_STDC_INLINE__ to indicate the semantics of inline functions
7176 1.1 mrg in the current compilation.
7177 1.1 mrg * A new command-line option -Waddress has been added to warn about
7178 1.1 mrg suspicious uses of memory addresses as, for example, using the
7179 1.1 mrg address of a function in a conditional expression, and comparisons
7180 1.1 mrg against the memory address of a string literal. This warning is
7181 1.1 mrg enabled by -Wall.
7182 1.1 mrg
7183 1.1 mrg C++
7184 1.1 mrg
7185 1.1 mrg * C++ visibility handling has been overhauled.
7186 1.1 mrg Restricted visiblity is propagated from classes to members, from
7187 1.1 mrg functions to local statics, and from templates and template
7188 1.1 mrg arguments to instantiations, unless the latter has explicitly
7189 1.1 mrg declared visibility.
7190 1.1 mrg The visibility attribute for a class must come between the
7191 1.1 mrg class-key and the name, not after the closing brace.
7192 1.1 mrg Attributes are now allowed for enums and elaborated-type-specifiers
7193 1.1 mrg that only declare a type.
7194 1.1 mrg Members of the anonymous namespace are now local to a particular
7195 1.1 mrg translation unit, along with any other declarations which use them,
7196 1.1 mrg though they are still treated as having external linkage for
7197 1.1 mrg language semantics.
7198 1.1 mrg * The (undocumented) extension which permitted templates with default
7199 1.1 mrg arguments to be bound to template template parameters with fewer
7200 1.1 mrg parameters has been removed. For example:
7201 1.1 mrg template <template <typename> class C>
7202 1.1 mrg void f(C<double>) {}
7203 1.1 mrg
7204 1.1 mrg template <typename T, typename U = int>
7205 1.1 mrg struct S {};
7206 1.1 mrg
7207 1.1 mrg template void f(S<double>);
7208 1.1 mrg
7209 1.1 mrg is no longer accepted by G++. The reason this code is not accepted
7210 1.1 mrg is that S is a template with two parameters; therefore, it cannot
7211 1.1 mrg be bound to C which has only one parameter.
7212 1.1 mrg * The <?, >?, <?=, and >?= operators, deprecated in previous GCC
7213 1.1 mrg releases, have been removed.
7214 1.1 mrg * The command-line option -fconst-strings, deprecated in previous GCC
7215 1.1 mrg releases, has been removed.
7216 1.1 mrg * The configure variable enable-__cxa_atexit is now enabled by
7217 1.1 mrg default for more targets. Enabling this variable is necessary in
7218 1.1 mrg order for static destructors to be executed in the correct order,
7219 1.1 mrg but it depends upon the presence of a non-standard C library in the
7220 1.1 mrg target library in order to work. The variable is now enabled for
7221 1.1 mrg more targets which are known to have suitable C libraries.
7222 1.1 mrg * -Wextra will produce warnings for if statements with a semicolon as
7223 1.1 mrg the only body, to catch code like:
7224 1.1 mrg if (a);
7225 1.1 mrg return 1;
7226 1.1 mrg return 0;
7227 1.1 mrg
7228 1.1 mrg To suppress the warning in valid cases, use { } instead.
7229 1.1 mrg * The C++ frontend now also produces strict aliasing warnings when
7230 1.1 mrg -fstrict-aliasing -Wstrict-aliasing is in effect.
7231 1.1 mrg
7232 1.1 mrg Runtime Library (libstdc++)
7233 1.1 mrg
7234 1.1 mrg * Added support for TR1 <random>, <complex>, and C compatibility
7235 1.1 mrg headers. In addition, a lock-free version of shared_ptr was
7236 1.1 mrg contributed as part of Phillip Jordan's Google Summer of Code
7237 1.7 mrg project on lock-free containers.
7238 1.1 mrg * In association with the Summer of Code work on lock-free
7239 1.1 mrg containers, the interface for atomic builtins was adjusted,
7240 1.1 mrg creating simpler alternatives for non-threaded code paths. Also,
7241 1.1 mrg usage was consolidated and all elements were moved from namespace
7242 1.1 mrg std to namespace__gnu_cxx. Affected interfaces are the functions
7243 1.1 mrg __exchange_and_add, __atomic_add, and the objects __mutex,
7244 1.1 mrg __recursive_mutex, and __scoped_lock.
7245 1.1 mrg * Support for versioning weak symbol names via namespace association
7246 1.1 mrg was added. However, as this changes the names of exported symbols,
7247 1.1 mrg this is turned off by default in the current ABI. Intrepid users
7248 1.1 mrg can enable this feature by using
7249 1.1 mrg --enable-symvers=gnu-versioned-namespace during configuration.
7250 1.1 mrg * Revised, simplified, and expanded policy-based associative
7251 1.1 mrg containers, including data types for tree and trie forms
7252 1.1 mrg (basic_tree, tree, trie), lists (list_update), and both
7253 1.1 mrg collision-chaining and probing hash-based containers
7254 1.1 mrg (basic_hash_table, cc_hash_table, gp_hash_table). More details per
7255 1.7 mrg the [3]documentation.
7256 1.1 mrg * The implementation of the debug mode was modified, whereby the
7257 1.1 mrg debug namespaces were nested inside of namespace std and namespace
7258 1.1 mrg __gnu_cxx in order to resolve some long standing corner cases
7259 1.1 mrg involving name lookup. Debug functionality from the policy-based
7260 1.1 mrg data structures was consolidated and enabled with the single macro,
7261 1.1 mrg _GLIBCXX_DEBUG. See PR 26142 for more information.
7262 1.1 mrg * Added extensions for type traits: __conditional_type,
7263 1.1 mrg __numeric_traits, __add_unsigned, __removed_unsigned, __enable_if.
7264 1.1 mrg * Added a typelist implementation for compile-time meta-programming.
7265 1.1 mrg Elements for typelist construction and operation can be found
7266 1.1 mrg within namespace __gnu_cxx::typelist.
7267 1.1 mrg * Added a new allocator, __gnu_cxx::throw_allocator, for testing
7268 1.1 mrg exception-safety.
7269 1.1 mrg * Enabled library-wide visibility control, allowing -fvisibility to
7270 1.1 mrg be used.
7271 1.1 mrg * Consolidated all nested namespaces and the conversion of
7272 1.1 mrg __gnu_internal implementation-private details to anonymous
7273 1.1 mrg namespaces whenever possible.
7274 1.1 mrg * Implemented LWG resolutions DR 431 and DR 538.
7275 1.1 mrg
7276 1.1 mrg Fortran
7277 1.1 mrg
7278 1.1 mrg * Support for allocatable components has been added (TR 15581 and
7279 1.1 mrg Fortran 2003).
7280 1.1 mrg * Support for the Fortran 2003 streaming IO extension has been added.
7281 1.1 mrg * The GNU Fortran compiler now uses 4-byte record markers by default
7282 1.1 mrg for unformatted files to be compatible with g77 and most other
7283 1.1 mrg compilers. The implementation allows for records greater than 2 GB
7284 1.1 mrg and is compatible with several other compilers. Older versions of
7285 1.1 mrg gfortran used 8-byte record markers by default (on most systems).
7286 1.1 mrg In order to change the length of the record markers, e.g. to read
7287 1.1 mrg unformatted files created by older gfortran versions, the
7288 1.7 mrg [4]-frecord-marker=8 option can be used.
7289 1.1 mrg
7290 1.1 mrg Java (GCJ)
7291 1.1 mrg
7292 1.1 mrg * A new command-line option -static-libgcj has been added for targets
7293 1.1 mrg that use a linker compatible with GNU Binutils. As its name
7294 1.1 mrg implies, this causes libgcj to be linked statically. In some cases
7295 1.1 mrg this causes the resulting executable to start faster and use less
7296 1.1 mrg memory than if the shared version of libgcj were used. However
7297 1.1 mrg caution should be used as it can also cause essential parts of the
7298 1.1 mrg library to be omitted. Some of these issues are discussed in:
7299 1.7 mrg [5]https://gcc.gnu.org/wiki/Statically_linking_libgcj
7300 1.1 mrg * fastjar is no longer bundled with GCC. To build libgcj, you will
7301 1.1 mrg need either InfoZIP (both zip and unzip) or an external jar
7302 1.1 mrg program. In the former case, the GCC build will install a jar shell
7303 1.1 mrg script that is based on InfoZIP and provides the same functionality
7304 1.1 mrg as fastjar.
7305 1.1 mrg
7306 1.1 mrg New Targets and Target Specific Improvements
7307 1.1 mrg
7308 1.1 mrg IA-32/x86-64
7309 1.1 mrg
7310 1.1 mrg * -mtune=generic can now be used to generate code running well on
7311 1.1 mrg common x86 chips. This includes AMD Athlon, AMD Opteron, Intel
7312 1.1 mrg Pentium-M, Intel Pentium 4 and Intel Core 2.
7313 1.1 mrg * -mtune=native and -march=native will produce code optimized for the
7314 1.1 mrg host architecture as detected using the cpuid instruction.
7315 1.1 mrg * Added a new command-line option -fstackrealign and and
7316 1.1 mrg __attribute__ ((force_align_arg_pointer)) to realign the stack at
7317 1.1 mrg runtime. This allows functions compiled with a vector-aligned stack
7318 1.1 mrg to be invoked from legacy objects that keep only word-alignment.
7319 1.1 mrg
7320 1.1 mrg SPARC
7321 1.1 mrg
7322 1.1 mrg * The default CPU setting has been changed from V7 to V9 in 32-bit
7323 1.1 mrg mode on Solaris 7 and above. This is already the case in 64-bit
7324 1.1 mrg mode. It can be overridden by specifying --with-cpu at configure
7325 1.1 mrg time.
7326 1.1 mrg * Back-end support of built-in functions for atomic memory access has
7327 1.1 mrg been implemented.
7328 1.1 mrg * Support for the Sun UltraSPARC T1 (Niagara) processor has been
7329 1.1 mrg added.
7330 1.1 mrg
7331 1.1 mrg M32C
7332 1.1 mrg
7333 1.1 mrg * Various bug fixes have made some functions (notably, functions
7334 1.1 mrg returning structures) incompatible with previous releases.
7335 1.1 mrg Recompiling all libraries is recommended. Note that code quality
7336 1.1 mrg has considerably improved since 4.1, making a recompile even more
7337 1.1 mrg beneficial.
7338 1.1 mrg
7339 1.1 mrg MIPS
7340 1.1 mrg
7341 1.1 mrg * Added support for the Broadcom SB-1A core.
7342 1.1 mrg
7343 1.1 mrg IA-64
7344 1.1 mrg
7345 1.1 mrg * Added support for IA-64 data and control speculation. By default
7346 1.1 mrg speculation is enabled only during second scheduler pass. A number
7347 1.1 mrg of machine flags was introduced to control the usage of speculation
7348 1.1 mrg for both scheduler passes.
7349 1.1 mrg
7350 1.1 mrg HPPA
7351 1.1 mrg
7352 1.1 mrg * Added Java language support (libffi and libjava) for 32-bit HP-UX
7353 1.1 mrg 11 target.
7354 1.1 mrg
7355 1.1 mrg Obsolete Systems
7356 1.1 mrg
7357 1.1 mrg Documentation improvements
7358 1.1 mrg
7359 1.1 mrg PDF Documentation
7360 1.1 mrg
7361 1.1 mrg * A make pdf target has been added to the top-level makefile,
7362 1.1 mrg enabling automated production of PDF documentation files.
7363 1.1 mrg (Front-ends external to GCC should modify their Make-lang.in file
7364 1.1 mrg to add a lang.pdf: target.)
7365 1.1 mrg
7366 1.1 mrg Other significant improvements
7367 1.1 mrg
7368 1.1 mrg Build system improvements
7369 1.1 mrg
7370 1.1 mrg * All the components of the compiler are now bootstrapped by default.
7371 1.1 mrg This improves the resilience to bugs in the system compiler or
7372 1.1 mrg binary compatibility problems, as well as providing better testing
7373 1.1 mrg of GCC 4.2 itself. In addition, if you build the compiler from a
7374 1.1 mrg combined tree, the assembler, linker, etc. will also be
7375 1.1 mrg bootstrapped (i.e. built with themselves).
7376 1.1 mrg You can disable this behavior, and go back to the pre-GCC 4.2 set
7377 1.1 mrg up, by configuring GCC with --disable-bootstrap.
7378 1.1 mrg * The rules that configure follows to find target tools resemble more
7379 1.1 mrg closely the locations that the built compiler will search. In
7380 1.1 mrg addition, you can use the new configure option --with-target-tools
7381 1.1 mrg to specify where to find the target tools used during the build,
7382 1.1 mrg without affecting what the built compiler will use.
7383 1.1 mrg This can be especially useful when building packages of GCC. For
7384 1.1 mrg example, you may want to build GCC with GNU as or ld, even if the
7385 1.1 mrg resulting compiler to work with the native assembler and linker. To
7386 1.1 mrg do so, you can use --with-target-tools to point to the native
7387 1.1 mrg tools.
7388 1.1 mrg
7389 1.1 mrg Incompatible changes to the build system
7390 1.1 mrg
7391 1.1 mrg * Front-ends external to GCC should modify their Make-lang.in file to
7392 1.1 mrg replace double-colon rules (e.g. dvi::) with normal rules (like
7393 1.1 mrg lang.dvi:). Front-end makefile hooks do not use double-colon rules
7394 1.1 mrg anymore.
7395 1.1 mrg * Up to GCC 4.1, a popular way to specify the target tools used
7396 1.1 mrg during the build was to create directories named gas, binutils,
7397 1.1 mrg etc. in the build tree, and create links to the tools from there.
7398 1.1 mrg This does not work any more when the compiler is bootstrapped. The
7399 1.1 mrg new configure option --with-target-tools provides a better way to
7400 1.1 mrg achieve the same effect, and works for all native and cross
7401 1.1 mrg settings.
7402 1.1 mrg
7403 1.1 mrg
7404 1.1 mrg For questions related to the use of GCC, please consult these web
7405 1.7 mrg pages and the [6]GCC manuals. If that fails, the
7406 1.7 mrg [7]gcc-help (a] gcc.gnu.org mailing list might help. Comments on these
7407 1.1 mrg web pages and the development of GCC are welcome on our developer
7408 1.7 mrg list at [8]gcc (a] gcc.gnu.org. All of [9]our lists have public archives.
7409 1.1 mrg
7410 1.7 mrg Copyright (C) [10]Free Software Foundation, Inc. Verbatim copying and
7411 1.1 mrg distribution of this entire article is permitted in any medium,
7412 1.1 mrg provided this notice is preserved.
7413 1.1 mrg
7414 1.7 mrg These pages are [11]maintained by the GCC team. Last modified
7415 1.7 mrg 2017-02-07[12].
7416 1.1 mrg
7417 1.1 mrg References
7418 1.1 mrg
7419 1.1 mrg 1. http://gcc.gnu.org/projects/gomp/
7420 1.4 mrg 2. https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html
7421 1.7 mrg 3. https://gcc.gnu.org/onlinedocs/libstdc++/ext/pb_ds/index.html
7422 1.7 mrg 4. https://gcc.gnu.org/onlinedocs/gfortran/Runtime-Options.html
7423 1.7 mrg 5. https://gcc.gnu.org/wiki/Statically_linking_libgcj
7424 1.7 mrg 6. https://gcc.gnu.org/onlinedocs/
7425 1.7 mrg 7. mailto:gcc-help (a] gcc.gnu.org
7426 1.7 mrg 8. mailto:gcc (a] gcc.gnu.org
7427 1.7 mrg 9. https://gcc.gnu.org/lists.html
7428 1.7 mrg 10. http://www.fsf.org/
7429 1.7 mrg 11. https://gcc.gnu.org/about.html
7430 1.7 mrg 12. http://validator.w3.org/check/referer
7431 1.1 mrg ======================================================================
7432 1.1 mrg http://gcc.gnu.org/gcc-4.1/index.html
7433 1.1 mrg GCC 4.1 Release Series
7434 1.1 mrg
7435 1.1 mrg February 13, 2007
7436 1.1 mrg
7437 1.1 mrg The [1]GNU project and the GCC developers are pleased to announce the
7438 1.1 mrg release of GCC 4.1.2.
7439 1.1 mrg
7440 1.1 mrg This release is a bug-fix release, containing fixes for regressions in
7441 1.1 mrg GCC 4.1.1 relative to previous releases of GCC.
7442 1.1 mrg
7443 1.7 mrg This release series is no longer maintained.
7444 1.7 mrg
7445 1.1 mrg Release History
7446 1.1 mrg
7447 1.1 mrg GCC 4.1.2
7448 1.1 mrg February 13, 2007 ([2]changes)
7449 1.1 mrg
7450 1.1 mrg GCC 4.1.1
7451 1.1 mrg May 24, 2006 ([3]changes)
7452 1.1 mrg
7453 1.1 mrg GCC 4.1.0
7454 1.1 mrg February 28, 2006 ([4]changes)
7455 1.1 mrg
7456 1.1 mrg References and Acknowledgements
7457 1.1 mrg
7458 1.1 mrg GCC used to stand for the GNU C Compiler, but since the compiler
7459 1.1 mrg supports several other languages aside from C, it now stands for the
7460 1.1 mrg GNU Compiler Collection.
7461 1.1 mrg
7462 1.1 mrg A list of [5]successful builds is updated as new information becomes
7463 1.1 mrg available.
7464 1.1 mrg
7465 1.1 mrg The GCC developers would like to thank the numerous people that have
7466 1.1 mrg contributed new features, improvements, bug fixes, and other changes as
7467 1.1 mrg well as test results to GCC. This [6]amazing group of volunteers is
7468 1.1 mrg what makes GCC successful.
7469 1.1 mrg
7470 1.1 mrg For additional information about GCC please refer to the [7]GCC project
7471 1.1 mrg web site or contact the [8]GCC development mailing list.
7472 1.1 mrg
7473 1.1 mrg To obtain GCC please use [9]our mirror sites or [10]our SVN server.
7474 1.1 mrg
7475 1.1 mrg
7476 1.1 mrg For questions related to the use of GCC, please consult these web
7477 1.1 mrg pages and the [11]GCC manuals. If that fails, the
7478 1.1 mrg [12]gcc-help (a] gcc.gnu.org mailing list might help. Comments on these
7479 1.1 mrg web pages and the development of GCC are welcome on our developer
7480 1.1 mrg list at [13]gcc (a] gcc.gnu.org. All of [14]our lists have public
7481 1.1 mrg archives.
7482 1.1 mrg
7483 1.1 mrg Copyright (C) [15]Free Software Foundation, Inc. Verbatim copying and
7484 1.1 mrg distribution of this entire article is permitted in any medium,
7485 1.1 mrg provided this notice is preserved.
7486 1.1 mrg
7487 1.1 mrg These pages are [16]maintained by the GCC team. Last modified
7488 1.7 mrg 2016-09-30[17].
7489 1.1 mrg
7490 1.1 mrg References
7491 1.1 mrg
7492 1.1 mrg 1. http://www.gnu.org/
7493 1.1 mrg 2. http://gcc.gnu.org/gcc-4.1/changes.html#4.1.2
7494 1.1 mrg 3. http://gcc.gnu.org/gcc-4.1/changes.html
7495 1.1 mrg 4. http://gcc.gnu.org/gcc-4.1/changes.html
7496 1.1 mrg 5. http://gcc.gnu.org/gcc-4.1/buildstat.html
7497 1.4 mrg 6. https://gcc.gnu.org/onlinedocs/gcc/Contributors.html
7498 1.1 mrg 7. http://gcc.gnu.org/index.html
7499 1.1 mrg 8. mailto:gcc (a] gcc.gnu.org
7500 1.1 mrg 9. http://gcc.gnu.org/mirrors.html
7501 1.1 mrg 10. http://gcc.gnu.org/svn.html
7502 1.4 mrg 11. https://gcc.gnu.org/onlinedocs/
7503 1.1 mrg 12. mailto:gcc-help (a] gcc.gnu.org
7504 1.1 mrg 13. mailto:gcc (a] gcc.gnu.org
7505 1.4 mrg 14. https://gcc.gnu.org/lists.html
7506 1.1 mrg 15. http://www.fsf.org/
7507 1.4 mrg 16. https://gcc.gnu.org/about.html
7508 1.1 mrg 17. http://validator.w3.org/check/referer
7509 1.1 mrg ======================================================================
7510 1.1 mrg http://gcc.gnu.org/gcc-4.1/changes.html
7511 1.1 mrg GCC 4.1 Release Series
7512 1.1 mrg Changes, New Features, and Fixes
7513 1.1 mrg
7514 1.1 mrg The latest release in the 4.1 release series is [1]GCC 4.1.2.
7515 1.1 mrg
7516 1.1 mrg Caveats
7517 1.1 mrg
7518 1.1 mrg General Optimizer Improvements
7519 1.1 mrg
7520 1.1 mrg * GCC now has infrastructure for inter-procedural optimizations and
7521 1.1 mrg the following inter-procedural optimizations are implemented:
7522 1.1 mrg + Profile guided inlining. When doing profile feedback guided
7523 1.1 mrg optimization, GCC can now use the profile to make better
7524 1.1 mrg informed decisions on whether inlining of a function is
7525 1.1 mrg profitable or not. This means that GCC will no longer inline
7526 1.1 mrg functions at call sites that are not executed very often, and
7527 1.1 mrg that functions at hot call sites are more likely to be
7528 1.1 mrg inlined.
7529 1.1 mrg A new parameter min-inline-recursive-probability is also now
7530 1.1 mrg available to throttle recursive inlining of functions with
7531 1.1 mrg small average recursive depths.
7532 1.1 mrg + Discovery of pure and const functions, a form of side-effects
7533 1.1 mrg analysis. While older GCC releases could also discover such
7534 1.1 mrg special functions, the new IPA-based pass runs earlier so that
7535 1.1 mrg the results are available to more optimizers. The pass is also
7536 1.1 mrg simply more powerful than the old one.
7537 1.1 mrg + Analysis of references to static variables and type escape
7538 1.1 mrg analysis, also forms of side-effects analysis. The results of
7539 1.1 mrg these passes allow the compiler to be less conservative about
7540 1.1 mrg call-clobbered variables and references. This results in more
7541 1.1 mrg redundant loads being eliminated and in making static
7542 1.1 mrg variables candidates for register promotion.
7543 1.1 mrg + Improvement of RTL-based alias analysis. The results of type
7544 1.1 mrg escape analysis are fed to the RTL type-based alias analyzer,
7545 1.1 mrg allowing it to disambiguate more memory references.
7546 1.1 mrg + Interprocedural constant propagation and function versioning.
7547 1.1 mrg This pass looks for functions that are always called with the
7548 1.1 mrg same constant value for one or more of the function arguments,
7549 1.1 mrg and propagates those constants into those functions.
7550 1.1 mrg + GCC will now eliminate static variables whose usage was
7551 1.1 mrg optimized out.
7552 1.1 mrg + -fwhole-program --combine can now be used to make all
7553 1.1 mrg functions in program static allowing whole program
7554 1.1 mrg optimization. As an exception, the main function and all
7555 1.1 mrg functions marked with the new externally_visible attribute are
7556 1.1 mrg kept global so that programs can link with runtime libraries.
7557 1.1 mrg * GCC can now do a form of partial dead code elimination (PDCE) that
7558 1.1 mrg allows code motion of expressions to the paths where the result of
7559 1.1 mrg the expression is actually needed. This is not always a win, so the
7560 1.1 mrg pass has been limited to only consider profitable cases. Here is an
7561 1.1 mrg example:
7562 1.1 mrg int foo (int *, int *);
7563 1.1 mrg int
7564 1.1 mrg bar (int d)
7565 1.1 mrg {
7566 1.1 mrg int a, b, c;
7567 1.1 mrg b = d + 1;
7568 1.1 mrg c = d + 2;
7569 1.1 mrg a = b + c;
7570 1.1 mrg if (d)
7571 1.1 mrg {
7572 1.1 mrg foo (&b, &c);
7573 1.1 mrg a = b + c;
7574 1.1 mrg }
7575 1.1 mrg printf ("%d\n", a);
7576 1.1 mrg }
7577 1.1 mrg
7578 1.1 mrg The a = b + c can be sunk to right before the printf. Normal code
7579 1.1 mrg sinking will not do this, it will sink the first one above into the
7580 1.1 mrg else-branch of the conditional jump, which still gives you two
7581 1.1 mrg copies of the code.
7582 1.1 mrg * GCC now has a value range propagation pass. This allows the
7583 1.1 mrg compiler to eliminate bounds checks and branches. The results of
7584 1.1 mrg the pass can also be used to accurately compute branch
7585 1.1 mrg probabilities.
7586 1.1 mrg * The pass to convert PHI nodes to straight-line code (a form of
7587 1.1 mrg if-conversion for GIMPLE) has been improved significantly. The two
7588 1.1 mrg most significant improvements are an improved algorithm to
7589 1.1 mrg determine the order in which the PHI nodes are considered, and an
7590 1.1 mrg improvement that allow the pass to consider if-conversions of basic
7591 1.1 mrg blocks with more than two predecessors.
7592 1.1 mrg * Alias analysis improvements. GCC can now differentiate between
7593 1.1 mrg different fields of structures in Tree-SSA's virtual operands form.
7594 1.1 mrg This lets stores/loads from non-overlapping structure fields not
7595 1.1 mrg conflict. A new algorithm to compute points-to sets was contributed
7596 1.1 mrg that can allows GCC to see now that p->a and p->b, where p is a
7597 1.1 mrg pointer to a structure, can never point to the same field.
7598 1.1 mrg * Various enhancements to auto-vectorization:
7599 1.1 mrg + Incrementally preserve SSA form when vectorizing.
7600 1.1 mrg + Incrementally preserve loop-closed form when vectorizing.
7601 1.1 mrg + Improvements to peeling for alignment: generate better code
7602 1.1 mrg when the misalignment of an access is known at compile time,
7603 1.1 mrg or when different accesses are known to have the same
7604 1.1 mrg misalignment, even if the misalignment amount itself is
7605 1.1 mrg unknown.
7606 1.1 mrg + Consider dependence distance in the vectorizer.
7607 1.1 mrg + Externalize generic parts of data reference analysis to make
7608 1.1 mrg this analysis available to other passes.
7609 1.1 mrg + Vectorization of conditional code.
7610 1.1 mrg + Reduction support.
7611 1.1 mrg * GCC can now partition functions in sections of hot and cold code.
7612 1.1 mrg This can significantly improve performance due to better
7613 1.1 mrg instruction cache locality. This feature works best together with
7614 1.1 mrg profile feedback driven optimization.
7615 1.1 mrg * A new pass to avoid saving of unneeded arguments to the stack in
7616 1.1 mrg vararg functions if the compiler can prove that they will not be
7617 1.1 mrg needed.
7618 1.1 mrg * Transition of basic block profiling to tree level implementation
7619 1.1 mrg has been completed. The new implementation should be considerably
7620 1.1 mrg more reliable (hopefully avoiding profile mismatch errors when
7621 1.1 mrg using -fprofile-use or -fbranch-probabilities) and can be used to
7622 1.1 mrg drive higher level optimizations, such as inlining.
7623 1.1 mrg The -ftree-based-profiling command-line option was removed and
7624 1.1 mrg -fprofile-use now implies disabling old RTL level loop optimizer
7625 1.1 mrg (-fno-loop-optimize). Speculative prefetching optimization
7626 1.1 mrg (originally enabled by -fspeculative-prefetching) was removed.
7627 1.1 mrg
7628 1.1 mrg New Languages and Language specific improvements
7629 1.1 mrg
7630 1.1 mrg C and Objective-C
7631 1.1 mrg
7632 1.1 mrg * The old Bison-based C and Objective-C parser has been replaced by a
7633 1.1 mrg new, faster hand-written recursive-descent parser.
7634 1.1 mrg
7635 1.1 mrg Ada
7636 1.1 mrg
7637 1.1 mrg * The build infrastructure for the Ada runtime library and tools has
7638 1.1 mrg been changed to be better integrated with the rest of the build
7639 1.1 mrg infrastructure of GCC. This should make doing cross builds of Ada a
7640 1.1 mrg bit easier.
7641 1.1 mrg
7642 1.1 mrg C++
7643 1.1 mrg
7644 1.1 mrg * ARM-style name-injection of friend declarations is no longer the
7645 1.1 mrg default. For example:
7646 1.1 mrg struct S {
7647 1.1 mrg friend void f();
7648 1.1 mrg };
7649 1.1 mrg
7650 1.1 mrg void g() { f(); }
7651 1.1 mrg will not be accepted; instead a declaration of f will need to be
7652 1.1 mrg present outside of the scope of S. The new -ffriend-injection
7653 1.1 mrg option will enable the old behavior.
7654 1.1 mrg * The (undocumented) extension which permitted templates with default
7655 1.1 mrg arguments to be bound to template template parameters with fewer
7656 1.1 mrg parameters has been deprecated, and will be removed in the next
7657 1.1 mrg major release of G++. For example:
7658 1.1 mrg template <template <typename> class C>
7659 1.1 mrg void f(C<double>) {}
7660 1.1 mrg
7661 1.1 mrg template <typename T, typename U = int>
7662 1.1 mrg struct S {};
7663 1.1 mrg
7664 1.1 mrg template void f(S<double>);
7665 1.1 mrg
7666 1.1 mrg makes use of the deprecated extension. The reason this code is not
7667 1.1 mrg valid ISO C++ is that S is a template with two parameters;
7668 1.1 mrg therefore, it cannot be bound to C which has only one parameter.
7669 1.1 mrg
7670 1.1 mrg Runtime Library (libstdc++)
7671 1.1 mrg
7672 1.1 mrg * Optimization work:
7673 1.1 mrg + A new implementation of std::search_n is provided, better
7674 1.1 mrg performing in case of random access iterators.
7675 1.1 mrg + Added further efficient specializations of istream functions,
7676 1.1 mrg i.e., character array and string extractors.
7677 1.1 mrg + Other smaller improvements throughout.
7678 1.1 mrg * Policy-based associative containers, designed for high-performance,
7679 1.1 mrg flexibility and semantic safety are delivered in ext/pb_assoc.
7680 1.1 mrg * A versatile string class, __gnu_cxx::__versa_string, providing
7681 1.1 mrg facilities conforming to the standard requirements for
7682 1.1 mrg basic_string, is delivered in <ext/vstring.h>. In particular:
7683 1.1 mrg + Two base classes are provided: the default one avoids
7684 1.1 mrg reference counting and is optimized for short strings; the
7685 1.1 mrg alternate one, still uses it while improving in a few low
7686 1.1 mrg level areas (e.g., alignment). See vstring_fwd.h for some
7687 1.1 mrg useful typedefs.
7688 1.1 mrg + Various algorithms have been rewritten (e.g., replace), the
7689 1.1 mrg code streamlined and simple optimizations added.
7690 1.1 mrg + Option 3 of DR 431 is implemented for both available bases,
7691 1.1 mrg thus improving the support for stateful allocators.
7692 1.1 mrg * As usual, many bugs have been fixed (e.g., libstdc++/13583,
7693 1.1 mrg libstdc++/23953) and LWG resolutions put into effect for the first
7694 1.1 mrg time (e.g., DR 280, DR 464, N1780 recommendations for DR 233, TR1
7695 1.1 mrg Issue 6.19). The implementation status of TR1 is now tracked in the
7696 1.1 mrg docs in tr1.html.
7697 1.1 mrg
7698 1.1 mrg Objective-C++
7699 1.1 mrg
7700 1.1 mrg * A new language front end for Objective-C++ has been added. This
7701 1.1 mrg language allows users to mix the object oriented features of
7702 1.1 mrg Objective-C with those of C++.
7703 1.1 mrg
7704 1.1 mrg Java (GCJ)
7705 1.1 mrg
7706 1.1 mrg * Core library (libgcj) updates based on GNU Classpath 0.15 - 0.19
7707 1.1 mrg features (plus some 0.20 bug-fixes)
7708 1.1 mrg + Networking
7709 1.1 mrg o The java.net.HttpURLConnection implementation no longer
7710 1.1 mrg buffers the entire response body in memory. This means
7711 1.1 mrg that response bodies larger than available memory can now
7712 1.1 mrg be handled.
7713 1.1 mrg + (N)IO
7714 1.1 mrg o NIO FileChannel.map implementation, fast bulk put
7715 1.1 mrg implementation for DirectByteBuffer (speeds up this
7716 1.1 mrg method 10x).
7717 1.1 mrg o FileChannel.lock() and FileChannel.force() implemented.
7718 1.1 mrg + XML
7719 1.1 mrg o gnu.xml fix for nodes created outside a namespace
7720 1.1 mrg context.
7721 1.1 mrg o Add support for output indenting and
7722 1.1 mrg cdata-section-elements output instruction in
7723 1.1 mrg xml.transform.
7724 1.1 mrg o xml.xpath corrections for cases where elements/attributes
7725 1.1 mrg might have been created in non-namespace-aware mode.
7726 1.1 mrg Corrections to handling of XSL variables and minor
7727 1.1 mrg conformance updates.
7728 1.1 mrg + AWT
7729 1.1 mrg o GNU JAWT implementation, the AWT Native Interface, which
7730 1.1 mrg allows direct access to native screen resources from
7731 1.1 mrg within a Canvas's paint method. GNU Classpath Examples
7732 1.1 mrg comes with a Demo, see libjava/classpath/examples/README.
7733 1.1 mrg o awt.datatransfer updated to 1.5 with support for
7734 1.1 mrg FlavorEvents. The gtk+ awt peers now allow copy/paste of
7735 1.1 mrg text, images, URIs/files and serialized objects with
7736 1.1 mrg other applications and tracking clipboard change events
7737 1.1 mrg with gtk+ 2.6 (for gtk+ 2.4 only text and serialized
7738 1.1 mrg objects are supported). A GNU Classpath Examples
7739 1.1 mrg datatransfer Demo was added to show the new
7740 1.1 mrg functionality.
7741 1.1 mrg o Split gtk+ awt peers event handling in two threads and
7742 1.1 mrg improve gdk lock handling (solves several awt lock ups).
7743 1.1 mrg o Speed up awt Image loading.
7744 1.1 mrg o Better gtk+ scrollbar peer implementation when using gtk+
7745 1.1 mrg >= 2.6.
7746 1.1 mrg o Handle image loading errors correctly for gdkpixbuf and
7747 1.1 mrg MediaTracker.
7748 1.1 mrg o Better handle GDK lock. Properly prefix gtkpeer native
7749 1.1 mrg functions (cp_gtk).
7750 1.1 mrg o GdkGraphics2D has been updated to use Cairo 0.5.x or
7751 1.1 mrg higher.
7752 1.1 mrg o BufferedImage and GtkImage rewrites. All image drawing
7753 1.1 mrg operations should now work correctly (flipping requires
7754 1.1 mrg gtk+ >= 2.6)
7755 1.1 mrg o Future Graphics2D, image and text work is documented at:
7756 1.1 mrg [2]http://developer.classpath.org/mediation/ClasspathGrap
7757 1.1 mrg hicsImagesText
7758 1.1 mrg o When gtk+ 2.6 or higher is installed the default log
7759 1.1 mrg handler will produce stack traces whenever a WARNING,
7760 1.1 mrg CRITICAL or ERROR message is produced.
7761 1.1 mrg + Free Swing
7762 1.1 mrg o The RepaintManager has been reworked for more efficient
7763 1.1 mrg painting, especially for large GUIs.
7764 1.1 mrg o The layout manager OverlayLayout has been implemented,
7765 1.1 mrg the BoxLayout has been rewritten to make use of the
7766 1.1 mrg SizeRequirements utility class and caching for more
7767 1.1 mrg efficient layout.
7768 1.1 mrg o Improved accessibility support.
7769 1.1 mrg o Significant progress has been made in the implementation
7770 1.1 mrg of the javax.swing.plaf.metal package, with most UI
7771 1.1 mrg delegates in a working state now. Please test this with
7772 1.1 mrg your own applications and provide feedback that will help
7773 1.1 mrg us to improve this package.
7774 1.1 mrg o The GUI demo (gnu.classpath.examples.swing.Demo) has been
7775 1.1 mrg extended to highlight various features in our Free Swing
7776 1.1 mrg implementation. And it includes a look and feel switcher
7777 1.1 mrg for Metal (default), Ocean and GNU themes.
7778 1.1 mrg o The javax.swing.plaf.multi package is now implemented.
7779 1.1 mrg o Editing and several key actions for JTree and JTable were
7780 1.1 mrg implemented.
7781 1.1 mrg o Lots of icons and look and feel improvements for Free
7782 1.1 mrg Swing basic and metal themes were added. Try running the
7783 1.1 mrg GNU Classpath Swing Demo in examples
7784 1.1 mrg (gnu.classpath.examples.swing.Demo) with:
7785 1.1 mrg -Dswing.defaultlaf=javax.swing.plaf.basic.BasicLookAndFee
7786 1.1 mrg l or
7787 1.1 mrg -Dswing.defaultlaf=javax.swing.plaf.metal.MetalLookAndFee
7788 1.1 mrg l
7789 1.1 mrg o Start of styled text capabilites for java.swing.text.
7790 1.1 mrg o DefaultMutableTreeNode pre-order, post-order, depth-first
7791 1.1 mrg and breadth-first traversal enumerations implemented.
7792 1.1 mrg o JInternalFrame colors and titlebar draw properly.
7793 1.1 mrg o JTree is working up to par (icons, selection and keyboard
7794 1.1 mrg traversal).
7795 1.1 mrg o JMenus were made more compatible in visual and
7796 1.1 mrg programmatic behavior.
7797 1.1 mrg o JTable changeSelection and multiple selections
7798 1.1 mrg implemented.
7799 1.1 mrg o JButton and JToggleButton change states work properly
7800 1.1 mrg now.
7801 1.1 mrg o JFileChooser fixes.
7802 1.1 mrg o revalidate() and repaint() fixes which make Free Swing
7803 1.1 mrg much more responsive.
7804 1.1 mrg o MetalIconFactory implemented.
7805 1.1 mrg o Free Swing Top-Level Compatibility. JFrame, JDialog,
7806 1.1 mrg JApplet, JInternalFrame, and JWindow are now 1.5
7807 1.1 mrg compatible in the sense that you can call add() and
7808 1.1 mrg setLayout() directly on them, which will have the same
7809 1.1 mrg effect as calling getContentPane().add() and
7810 1.1 mrg getContentPane().setLayout().
7811 1.1 mrg o The JTree interface has been completed. JTrees now
7812 1.1 mrg recognizes mouse clicks and selections work.
7813 1.1 mrg o BoxLayout works properly now.
7814 1.1 mrg o Fixed GrayFilter to actually work.
7815 1.1 mrg o Metal SplitPane implemented.
7816 1.1 mrg o Lots of Free Swing text and editor stuff work now.
7817 1.1 mrg + Free RMI and Corba
7818 1.1 mrg o Andrew Watson, Vice President and Technical Director of
7819 1.1 mrg the Object Management Group, has officially assigned us
7820 1.1 mrg 20 bit Vendor Minor Code Id: 0x47430 ("GC") that will
7821 1.1 mrg mark remote classpath-specific system exceptions.
7822 1.1 mrg Obtaining the VMCID means that GNU Classpath now is a
7823 1.1 mrg recogniseable type of node in a highly interoperable
7824 1.1 mrg CORBA world.
7825 1.1 mrg o GNU Classpath now includes the first working draft to
7826 1.1 mrg support the RMI over IIOP protocol. The current
7827 1.1 mrg implementation is capable of remote invocations,
7828 1.1 mrg transferring various Serializables and Externalizables
7829 1.1 mrg via RMI-IIOP protocol. It can flatten graphs and, at
7830 1.1 mrg least for the simple cases, is interoperable with 1.5
7831 1.1 mrg JDKs.
7832 1.1 mrg o org.omg.PortableInterceptor and related functionality in
7833 1.1 mrg other packages is now implemented:
7834 1.1 mrg # The sever and client interceptors work as required
7835 1.1 mrg since 1.4.
7836 1.1 mrg # The IOR interceptor works as needed for 1.5.
7837 1.1 mrg o The org.omg.DynamicAny package is completed and passes
7838 1.1 mrg the prepared tests.
7839 1.1 mrg o The Portable Object Adapter should now support the output
7840 1.1 mrg of the recent IDL to java compilers. These compilers now
7841 1.1 mrg generate servants and not CORBA objects as before, making
7842 1.1 mrg the output depend on the existing POA implementation.
7843 1.1 mrg Completing POA means that such code can already be tried
7844 1.1 mrg to run on Classpath. Our POA is tested for the following
7845 1.1 mrg usager scenarios:
7846 1.1 mrg # POA converts servant to the CORBA object.
7847 1.1 mrg # Servant provides to the CORBA object.
7848 1.1 mrg # POA activates new CORBA object with the given Object
7849 1.1 mrg Id (byte array) that is later accessible for the
7850 1.1 mrg servant.
7851 1.1 mrg # During the first call, the ServantActivator provides
7852 1.1 mrg servant for this and all subsequent calls on the
7853 1.1 mrg current object.
7854 1.1 mrg # During each call, the ServantLocator provides
7855 1.1 mrg servant for this call only.
7856 1.1 mrg # ServantLocator or ServantActivator forwards call to
7857 1.1 mrg another server.
7858 1.1 mrg # POA has a single servant, responsible for all
7859 1.1 mrg objects.
7860 1.1 mrg # POA has a default servant, but some objects are
7861 1.1 mrg explicitly connected to they specific servants.
7862 1.1 mrg The POA is verified using tests from the former
7863 1.1 mrg cost.omg.org.
7864 1.1 mrg o The CORBA implementation is now a working prototype that
7865 1.1 mrg should support features up to 1.3 inclusive. We invite
7866 1.1 mrg groups writing CORBA dependent applications to try
7867 1.1 mrg Classpath implementation, reporting any possible bugs.
7868 1.1 mrg The CORBA prototype is interoperable with Sun's
7869 1.1 mrg implementation v 1.4, transferring object references,
7870 1.1 mrg primitive types, narrow and wide strings, arrays,
7871 1.1 mrg structures, trees, abstract interfaces and value types
7872 1.1 mrg (feature of CORBA 2.3) between these two platforms.
7873 1.1 mrg Remote exceptions are transferred and handled correctly.
7874 1.1 mrg The stringified object references (IORs) from various
7875 1.1 mrg sources are parsed as required. The transient (for
7876 1.1 mrg current session) and permanent (till jre restart)
7877 1.1 mrg redirections work. Both Little and Big Endian encoded
7878 1.1 mrg messages are accepted. The implementation is verified
7879 1.1 mrg using tests from the former cost.omg.org. The current
7880 1.1 mrg release includes working examples (see the examples
7881 1.1 mrg directory), demonstrating the client-server
7882 1.1 mrg communication, using either CORBA Request or IDL-based
7883 1.1 mrg stub (usually generated by a IDL to java compiler). These
7884 1.1 mrg examples also show how to use the Classpath CORBA naming
7885 1.1 mrg service. The IDL to java compiler is not yet written, but
7886 1.1 mrg as our library must be compatible, it naturally accepts
7887 1.1 mrg the output of other idlj implementations.
7888 1.1 mrg + Misc
7889 1.1 mrg o Updated TimeZone data against Olson tzdata2005l.
7890 1.1 mrg o Make zip and jar packages UTF-8 clean.
7891 1.1 mrg o "native" code builds and compiles (warning free) on
7892 1.1 mrg Darwin and Solaris.
7893 1.1 mrg o java.util.logging.FileHandler now rotates files.
7894 1.1 mrg o Start of a generic JDWP framework in gnu/classpath/jdwp.
7895 1.1 mrg This is unfinished, but feedback (at classpath (a] gnu.org)
7896 1.1 mrg from runtime hackers is greatly appreciated. Although
7897 1.1 mrg most of the work is currently being done around gcj/gij
7898 1.1 mrg we want this framework to be as VM neutral as possible.
7899 1.1 mrg Early design is described in:
7900 1.4 mrg [3]https://gcc.gnu.org/ml/java/2005-05/msg00260.html
7901 1.1 mrg o QT4 AWT peers, enable by giving configure
7902 1.1 mrg --enable-qt-peer. Included, but not ready for production
7903 1.1 mrg yet. They are explicitly disabled and not supported. But
7904 1.1 mrg if you want to help with the development of these new
7905 1.1 mrg features we are interested in feedback. You will have to
7906 1.1 mrg explicitly enable them to try them out (and they will
7907 1.1 mrg most likely contain bugs).
7908 1.1 mrg o Documentation fixes all over the place. See
7909 1.1 mrg [4]http://developer.classpath.org/doc/
7910 1.1 mrg
7911 1.1 mrg New Targets and Target Specific Improvements
7912 1.1 mrg
7913 1.1 mrg IA-32/x86-64
7914 1.1 mrg
7915 1.1 mrg * The x86-64 medium model (that allows building applications whose
7916 1.1 mrg data segment exceeds 4GB) was redesigned to match latest ABI draft.
7917 1.1 mrg New implementation split large datastructures into separate segment
7918 1.1 mrg improving performance of accesses to small datastructures and also
7919 1.1 mrg allows linking of small model libraries into medium model programs
7920 1.1 mrg as long as the libraries are not accessing the large datastructures
7921 1.1 mrg directly. Medium model is also supported in position independent
7922 1.1 mrg code now.
7923 1.1 mrg The ABI change results in partial incompatibility among medium
7924 1.1 mrg model objects. Linking medium model libraries (or objects) compiled
7925 1.1 mrg with new compiler into medium model program compiled with older
7926 1.1 mrg will likely result in exceeding ranges of relocations.
7927 1.1 mrg Binutils 2.16.91 or newer are required for compiling medium model
7928 1.1 mrg now.
7929 1.1 mrg
7930 1.1 mrg RS6000 (POWER/PowerPC)
7931 1.1 mrg
7932 1.1 mrg * The AltiVec vector primitives in <altivec.h> are now implemented in
7933 1.1 mrg a way that puts a smaller burden on the preprocessor, instead
7934 1.1 mrg processing the "overloading" in the front ends. This should benefit
7935 1.1 mrg compilation speed on AltiVec vector code.
7936 1.1 mrg * AltiVec initializers now are generated more efficiently.
7937 1.1 mrg * The popcountb instruction available on POWER5 now is generated.
7938 1.1 mrg * The floating point round to integer instructions available on
7939 1.1 mrg POWER5+ now is generated.
7940 1.1 mrg * Floating point divides can be synthesized using the floating point
7941 1.1 mrg reciprocal estimate instructions.
7942 1.1 mrg * Double precision floating point constants are initialized as single
7943 1.1 mrg precision values if they can be represented exactly.
7944 1.1 mrg
7945 1.1 mrg S/390, zSeries and System z9
7946 1.1 mrg
7947 1.1 mrg * Support for the IBM System z9 109 processor has been added. When
7948 1.1 mrg using the -march=z9-109 option, the compiler will generate code
7949 1.1 mrg making use of instructions provided by the extended immediate
7950 1.1 mrg facility.
7951 1.1 mrg * Support for 128-bit IEEE floating point has been added. When using
7952 1.1 mrg the -mlong-double-128 option, the compiler will map the long double
7953 1.1 mrg data type to 128-bit IEEE floating point. Using this option
7954 1.1 mrg constitutes an ABI change, and requires glibc support.
7955 1.1 mrg * Various changes to improve performance of generated code have been
7956 1.1 mrg implemented, including:
7957 1.1 mrg + In functions that do not require a literal pool, register %r13
7958 1.1 mrg (which is traditionally reserved as literal pool pointer), can
7959 1.1 mrg now be freely used for other purposes by the compiler.
7960 1.1 mrg + More precise tracking of register use allows the compiler to
7961 1.1 mrg generate more efficient function prolog and epilog code in
7962 1.1 mrg certain cases.
7963 1.1 mrg + The SEARCH STRING, COMPARE LOGICAL STRING, and MOVE STRING
7964 1.1 mrg instructions are now used to implement C string functions.
7965 1.1 mrg + The MOVE CHARACTER instruction with single byte overlap is now
7966 1.1 mrg used to implement the memset function with non-zero fill byte.
7967 1.1 mrg + The LOAD ZERO instructions are now used where appropriate.
7968 1.1 mrg + The INSERT CHARACTERS UNDER MASK, STORE CHARACTERS UNDER MASK,
7969 1.1 mrg and INSERT IMMEDIATE instructions are now used more frequently
7970 1.1 mrg to optimize bitfield operations.
7971 1.1 mrg + The BRANCH ON COUNT instruction is now used more frequently.
7972 1.1 mrg In particular, the fact that a loop contains a subroutine call
7973 1.1 mrg no longer prevents the compiler from using this instruction.
7974 1.1 mrg + The compiler is now aware that all shift and rotate
7975 1.1 mrg instructions implicitly truncate the shift count to six bits.
7976 1.1 mrg * Back-end support for the following generic features has been
7977 1.1 mrg implemented:
7978 1.1 mrg + The full set of [5]built-in functions for atomic memory
7979 1.1 mrg access.
7980 1.1 mrg + The -fstack-protector feature.
7981 1.1 mrg + The optimization pass avoiding unnecessary stores of incoming
7982 1.1 mrg argument registers in functions with variable argument list.
7983 1.1 mrg
7984 1.1 mrg SPARC
7985 1.1 mrg
7986 1.1 mrg * The default code model in 64-bit mode has been changed from
7987 1.1 mrg Medium/Anywhere to Medium/Middle on Solaris.
7988 1.1 mrg * TLS support is disabled by default on Solaris prior to release 10.
7989 1.1 mrg It can be enabled on TLS-capable Solaris 9 versions (4/04 release
7990 1.1 mrg and later) by specifying --enable-tls at configure time.
7991 1.1 mrg
7992 1.1 mrg MorphoSys
7993 1.1 mrg
7994 1.1 mrg * Support has been added for this new architecture.
7995 1.1 mrg
7996 1.1 mrg Obsolete Systems
7997 1.1 mrg
7998 1.1 mrg Documentation improvements
7999 1.1 mrg
8000 1.1 mrg Other significant improvements
8001 1.1 mrg
8002 1.1 mrg * GCC can now emit code for protecting applications from
8003 1.1 mrg stack-smashing attacks. The protection is realized by buffer
8004 1.1 mrg overflow detection and reordering of stack variables to avoid
8005 1.1 mrg pointer corruption.
8006 1.1 mrg * Some built-in functions have been fortified to protect them against
8007 1.1 mrg various buffer overflow (and format string) vulnerabilities.
8008 1.1 mrg Compared to the mudflap bounds checking feature, the safe builtins
8009 1.1 mrg have far smaller overhead. This means that programs built using
8010 1.1 mrg safe builtins should not experience any measurable slowdown.
8011 1.1 mrg
8012 1.1 mrg GCC 4.1.2
8013 1.1 mrg
8014 1.1 mrg This is the [6]list of problem reports (PRs) from GCC's bug tracking
8015 1.1 mrg system that are known to be fixed in the 4.1.2 release. This list might
8016 1.1 mrg not be complete (that is, it is possible that some PRs that have been
8017 1.1 mrg fixed are not listed here).
8018 1.1 mrg
8019 1.1 mrg When generating code for a shared library, GCC now recognizes that
8020 1.1 mrg global functions may be replaced when the program runs. Therefore, it
8021 1.1 mrg is now more conservative in deducing information from the bodies of
8022 1.1 mrg functions. For example, in this example:
8023 1.1 mrg void f() {}
8024 1.1 mrg void g() {
8025 1.1 mrg try { f(); }
8026 1.1 mrg catch (...) {
8027 1.1 mrg cout << "Exception";
8028 1.1 mrg }
8029 1.1 mrg }
8030 1.1 mrg
8031 1.1 mrg G++ would previously have optimized away the catch clause, since it
8032 1.1 mrg would have concluded that f cannot throw exceptions. Because users may
8033 1.1 mrg replace f with another function in the main body of the program, this
8034 1.1 mrg optimization is unsafe, and is no longer performed. If you wish G++ to
8035 1.1 mrg continue to optimize as before, you must add a throw() clause to the
8036 1.1 mrg declaration of f to make clear that it does not throw exceptions.
8037 1.1 mrg
8038 1.1 mrg
8039 1.1 mrg For questions related to the use of GCC, please consult these web
8040 1.1 mrg pages and the [7]GCC manuals. If that fails, the
8041 1.1 mrg [8]gcc-help (a] gcc.gnu.org mailing list might help. Comments on these
8042 1.1 mrg web pages and the development of GCC are welcome on our developer
8043 1.1 mrg list at [9]gcc (a] gcc.gnu.org. All of [10]our lists have public
8044 1.1 mrg archives.
8045 1.1 mrg
8046 1.1 mrg Copyright (C) [11]Free Software Foundation, Inc. Verbatim copying and
8047 1.1 mrg distribution of this entire article is permitted in any medium,
8048 1.1 mrg provided this notice is preserved.
8049 1.1 mrg
8050 1.1 mrg These pages are [12]maintained by the GCC team. Last modified
8051 1.6 mrg 2016-01-30[13].
8052 1.1 mrg
8053 1.1 mrg References
8054 1.1 mrg
8055 1.1 mrg 1. http://gcc.gnu.org/gcc-4.1/changes.html#4.1.2
8056 1.1 mrg 2. http://developer.classpath.org/mediation/ClasspathGraphicsImagesText
8057 1.4 mrg 3. https://gcc.gnu.org/ml/java/2005-05/msg00260.html
8058 1.1 mrg 4. http://developer.classpath.org/doc/
8059 1.4 mrg 5. https://gcc.gnu.org/onlinedocs/gcc-4.1.0/gcc/Atomic-Builtins.html
8060 1.4 mrg 6. https://gcc.gnu.org/bugzilla/buglist.cgi?bug_status=RESOLVED&resolution=FIXED&target_milestone=4.1.2
8061 1.4 mrg 7. https://gcc.gnu.org/onlinedocs/
8062 1.1 mrg 8. mailto:gcc-help (a] gcc.gnu.org
8063 1.1 mrg 9. mailto:gcc (a] gcc.gnu.org
8064 1.4 mrg 10. https://gcc.gnu.org/lists.html
8065 1.1 mrg 11. http://www.fsf.org/
8066 1.4 mrg 12. https://gcc.gnu.org/about.html
8067 1.1 mrg 13. http://validator.w3.org/check/referer
8068 1.1 mrg ======================================================================
8069 1.1 mrg http://gcc.gnu.org/gcc-4.0/index.html
8070 1.1 mrg GCC 4.0 Release Series
8071 1.1 mrg
8072 1.1 mrg January 31, 2007
8073 1.1 mrg
8074 1.1 mrg The [1]GNU project and the GCC developers are pleased to announce the
8075 1.1 mrg release of GCC 4.0.4.
8076 1.1 mrg
8077 1.1 mrg This release is a bug-fix release, containing fixes for regressions in
8078 1.1 mrg GCC 4.0.3 relative to previous releases of GCC.
8079 1.1 mrg
8080 1.7 mrg This release series is no longer maintained.
8081 1.7 mrg
8082 1.1 mrg Release History
8083 1.1 mrg
8084 1.1 mrg GCC 4.0.4
8085 1.1 mrg January 31, 2007 ([2]changes)
8086 1.1 mrg
8087 1.1 mrg GCC 4.0.3
8088 1.1 mrg March 10, 2006 ([3]changes)
8089 1.1 mrg
8090 1.1 mrg GCC 4.0.2
8091 1.1 mrg September 28, 2005 ([4]changes)
8092 1.1 mrg
8093 1.1 mrg GCC 4.0.1
8094 1.1 mrg July 7, 2005 ([5]changes)
8095 1.1 mrg
8096 1.1 mrg GCC 4.0.0
8097 1.1 mrg April 20, 2005 ([6]changes)
8098 1.1 mrg
8099 1.1 mrg References and Acknowledgements
8100 1.1 mrg
8101 1.1 mrg GCC used to stand for the GNU C Compiler, but since the compiler
8102 1.1 mrg supports several other languages aside from C, it now stands for the
8103 1.1 mrg GNU Compiler Collection.
8104 1.1 mrg
8105 1.1 mrg A list of [7]successful builds is updated as new information becomes
8106 1.1 mrg available.
8107 1.1 mrg
8108 1.1 mrg The GCC developers would like to thank the numerous people that have
8109 1.1 mrg contributed new features, improvements, bug fixes, and other changes as
8110 1.1 mrg well as test results to GCC. This [8]amazing group of volunteers is
8111 1.1 mrg what makes GCC successful.
8112 1.1 mrg
8113 1.1 mrg For additional information about GCC please refer to the [9]GCC project
8114 1.1 mrg web site or contact the [10]GCC development mailing list.
8115 1.1 mrg
8116 1.1 mrg To obtain GCC please use [11]our mirror sites, or [12]our SVN server.
8117 1.1 mrg
8118 1.1 mrg
8119 1.1 mrg For questions related to the use of GCC, please consult these web
8120 1.1 mrg pages and the [13]GCC manuals. If that fails, the
8121 1.1 mrg [14]gcc-help (a] gcc.gnu.org mailing list might help. Comments on these
8122 1.1 mrg web pages and the development of GCC are welcome on our developer
8123 1.1 mrg list at [15]gcc (a] gcc.gnu.org. All of [16]our lists have public
8124 1.1 mrg archives.
8125 1.1 mrg
8126 1.1 mrg Copyright (C) [17]Free Software Foundation, Inc. Verbatim copying and
8127 1.1 mrg distribution of this entire article is permitted in any medium,
8128 1.1 mrg provided this notice is preserved.
8129 1.1 mrg
8130 1.1 mrg These pages are [18]maintained by the GCC team. Last modified
8131 1.7 mrg 2016-09-30[19].
8132 1.1 mrg
8133 1.1 mrg References
8134 1.1 mrg
8135 1.1 mrg 1. http://www.gnu.org/
8136 1.1 mrg 2. http://gcc.gnu.org/gcc-4.0/changes.html#4.0.4
8137 1.1 mrg 3. http://gcc.gnu.org/gcc-4.0/changes.html#4.0.3
8138 1.1 mrg 4. http://gcc.gnu.org/gcc-4.0/changes.html#4.0.2
8139 1.1 mrg 5. http://gcc.gnu.org/gcc-4.0/changes.html#4.0.1
8140 1.1 mrg 6. http://gcc.gnu.org/gcc-4.0/changes.html
8141 1.1 mrg 7. http://gcc.gnu.org/gcc-4.0/buildstat.html
8142 1.4 mrg 8. https://gcc.gnu.org/onlinedocs/gcc/Contributors.html
8143 1.1 mrg 9. http://gcc.gnu.org/index.html
8144 1.1 mrg 10. mailto:gcc (a] gcc.gnu.org
8145 1.1 mrg 11. http://gcc.gnu.org/mirrors.html
8146 1.1 mrg 12. http://gcc.gnu.org/svn.html
8147 1.4 mrg 13. https://gcc.gnu.org/onlinedocs/
8148 1.1 mrg 14. mailto:gcc-help (a] gcc.gnu.org
8149 1.1 mrg 15. mailto:gcc (a] gcc.gnu.org
8150 1.4 mrg 16. https://gcc.gnu.org/lists.html
8151 1.1 mrg 17. http://www.fsf.org/
8152 1.4 mrg 18. https://gcc.gnu.org/about.html
8153 1.1 mrg 19. http://validator.w3.org/check/referer
8154 1.1 mrg ======================================================================
8155 1.1 mrg http://gcc.gnu.org/gcc-4.0/changes.html
8156 1.1 mrg GCC 4.0 Release Series
8157 1.1 mrg Changes, New Features, and Fixes
8158 1.1 mrg
8159 1.1 mrg The latest release in the 4.0 release series is [1]GCC 4.0.4.
8160 1.1 mrg
8161 1.1 mrg Caveats
8162 1.1 mrg
8163 1.1 mrg * GCC now generates location lists by default when compiling with
8164 1.1 mrg debug info and optimization.
8165 1.1 mrg + GDB 6.0 and older crashes when it sees location lists. GDB 6.1
8166 1.1 mrg or later is needed to debug binaries containing location
8167 1.1 mrg lists.
8168 1.1 mrg + When you are trying to view a value of a variable in a part of
8169 1.1 mrg a function where it has no location (for example when the
8170 1.1 mrg variable is no longer used and thus its location was used for
8171 1.1 mrg something else) GDB will say that it is not available.
8172 1.1 mrg You can disable generating location lists by -fno-var-tracking.
8173 1.1 mrg * GCC no longer accepts the -fwritable-strings option. Use named
8174 1.1 mrg character arrays when you need a writable string.
8175 1.1 mrg * The options -freduce-all-givs and -fmove-all-movables have been
8176 1.1 mrg discontinued. They were used to circumvent a shortcoming in the
8177 1.1 mrg heuristics of the old loop optimization code with respect to common
8178 1.1 mrg Fortran constructs. The new (tree) loop optimizer works differently
8179 1.1 mrg and doesn't need those work-arounds.
8180 1.1 mrg * The graph-coloring register allocator, formerly enabled by the
8181 1.1 mrg option -fnew-ra, has been discontinued.
8182 1.1 mrg * -I- has been deprecated. -iquote is meant to replace the need for
8183 1.1 mrg this option.
8184 1.1 mrg * The MIPS -membedded-pic and -mrnames options have been removed.
8185 1.1 mrg * All MIPS targets now require the GNU assembler. In particular, IRIX
8186 1.1 mrg configurations can no longer use the MIPSpro assemblers, although
8187 1.1 mrg they do still support the MIPSpro linkers.
8188 1.1 mrg * The SPARC option -mflat has been removed.
8189 1.1 mrg * English-language diagnostic messages will now use Unicode quotation
8190 1.1 mrg marks in UTF-8 locales. (Non-English messages already used the
8191 1.1 mrg quotes appropriate for the language in previous releases.) If your
8192 1.1 mrg terminal does not support UTF-8 but you are using a UTF-8 locale
8193 1.1 mrg (such locales are the default on many GNU/Linux systems) then you
8194 1.1 mrg should set LC_CTYPE=C in the environment to disable that locale.
8195 1.1 mrg Programs that parse diagnostics and expect plain ASCII
8196 1.1 mrg English-language messages should set LC_ALL=C. See [2]Markus Kuhn's
8197 1.1 mrg explanation of Unicode quotation marks for more information.
8198 1.1 mrg * The specs file is no longer installed on most platforms. Most users
8199 1.1 mrg will be totally unaffected. However, if you are accustomed to
8200 1.1 mrg editing the specs file yourself, you will now have to use the
8201 1.1 mrg -dumpspecs option to generate the specs file, and then edit the
8202 1.1 mrg resulting file.
8203 1.1 mrg
8204 1.1 mrg General Optimizer Improvements
8205 1.1 mrg
8206 1.1 mrg * The [3]tree ssa branch has been merged. This merge has brought in a
8207 1.1 mrg completely new optimization framework based on a higher level
8208 1.1 mrg intermediate representation than the existing RTL representation.
8209 1.1 mrg Numerous new code transformations based on the new framework are
8210 1.1 mrg available in GCC 4.0, including:
8211 1.1 mrg + Scalar replacement of aggregates
8212 1.1 mrg + Constant propagation
8213 1.1 mrg + Value range propagation
8214 1.1 mrg + Partial redundancy elimination
8215 1.1 mrg + Load and store motion
8216 1.1 mrg + Strength reduction
8217 1.1 mrg + Dead store elimination
8218 1.1 mrg + Dead and unreachable code elimination
8219 1.1 mrg + [4]Autovectorization
8220 1.1 mrg + Loop interchange
8221 1.1 mrg + Tail recursion by accumulation
8222 1.1 mrg Many of these passes outperform their counterparts from previous
8223 1.1 mrg GCC releases.
8224 1.1 mrg * [5]Swing Modulo Scheduling (SMS). An RTL level instruction
8225 1.1 mrg scheduling optimization intended for loops that perform heavy
8226 1.1 mrg computations.
8227 1.1 mrg
8228 1.1 mrg New Languages and Language specific improvements
8229 1.1 mrg
8230 1.1 mrg C family
8231 1.1 mrg
8232 1.1 mrg * The sentinel attribute has been added to GCC. This function
8233 1.1 mrg attribute allows GCC to warn when variadic functions such as execl
8234 1.1 mrg are not NULL terminated. See the GCC manual for a complete
8235 1.1 mrg description of its behavior.
8236 1.1 mrg * Given __attribute__((alias("target"))) it is now an error if target
8237 1.1 mrg is not a symbol, defined in the same translation unit. This also
8238 1.1 mrg applies to aliases created by #pragma weak alias=target. This is
8239 1.1 mrg because it's meaningless to define an alias to an undefined symbol.
8240 1.1 mrg On Solaris, the native assembler would have caught this error, but
8241 1.1 mrg GNU as does not.
8242 1.1 mrg
8243 1.1 mrg C and Objective-C
8244 1.1 mrg
8245 1.1 mrg * The -Wstrict-aliasing=2 option has been added. This warning catches
8246 1.1 mrg all unsafe cases, but it may also give a warning for some cases
8247 1.1 mrg that are safe.
8248 1.1 mrg * The cast-as-lvalue, conditional-expression-as-lvalue and
8249 1.1 mrg compound-expression-as-lvalue extensions, which were deprecated in
8250 1.1 mrg 3.3.4 and 3.4, have been removed.
8251 1.1 mrg * The -fwritable-strings option, which was deprecated in 3.4, has
8252 1.1 mrg been removed.
8253 1.1 mrg * #pragma pack() semantics have been brought closer to those used by
8254 1.1 mrg other compilers. This also applies to C++.
8255 1.1 mrg * Taking the address of a variable with register storage is invalid
8256 1.1 mrg in C. GCC now issues an error instead of a warning.
8257 1.1 mrg * Arrays of incomplete element type are invalid in C. GCC now issues
8258 1.1 mrg an error for such arrays. Declarations such as extern struct s x[];
8259 1.1 mrg (where struct s has not been defined) can be moved after the
8260 1.1 mrg definition of struct s. Function parameters declared as arrays of
8261 1.1 mrg incomplete type can instead be declared as pointers.
8262 1.1 mrg
8263 1.1 mrg C++
8264 1.1 mrg
8265 1.1 mrg * When compiling without optimizations (-O0), the C++ frontend is
8266 1.1 mrg much faster than in any previous versions of GCC. Independent
8267 1.1 mrg testers have measured speed-ups up to 25% in real-world production
8268 1.1 mrg code, compared to the 3.4 family (which was already the fastest
8269 1.1 mrg version to date). Upgrading from older versions might show even
8270 1.1 mrg bigger improvements.
8271 1.1 mrg * ELF visibility attributes can now be applied to a class type, so
8272 1.1 mrg that it affects every member function of a class at once, without
8273 1.1 mrg having to specify each individually:
8274 1.1 mrg class __attribute__ ((visibility("hidden"))) Foo
8275 1.1 mrg {
8276 1.1 mrg int foo1();
8277 1.1 mrg void foo2();
8278 1.1 mrg };
8279 1.1 mrg The syntax is deliberately similar to the __declspec() system used
8280 1.1 mrg by Microsoft Windows based compilers, allowing cross-platform
8281 1.1 mrg projects to easily reuse their existing macro system for denoting
8282 1.1 mrg exports and imports. By explicitly marking internal classes never
8283 1.1 mrg used outside a binary as hidden, one can completely avoid PLT
8284 1.1 mrg indirection overheads during their usage by the compiler. You can
8285 1.1 mrg find out more about the advantages of this at
8286 1.6 mrg [6]https://www.akkadia.org/drepper/dsohowto.pdf
8287 1.1 mrg * The -fvisibility-inlines-hidden option has been added which marks
8288 1.1 mrg all inlineable functions as having hidden ELF visibility, thus
8289 1.1 mrg removing their symbol and typeinfo from the exported symbol table
8290 1.1 mrg of the output ELF binary. Using this option can reduce the exported
8291 1.1 mrg symbol count of template-heavy code by up to 40% with no code
8292 1.1 mrg change at all, thus notably improving link and load times for the
8293 1.1 mrg binary as well as a reduction in size of up to 10%. Also, check the
8294 1.1 mrg new [7]-fvisibility option.
8295 1.1 mrg * The compiler now uses the library interface specified by the [8]C++
8296 1.1 mrg ABI for thread-safe initialization of function-scope static
8297 1.1 mrg variables. Most users should leave this alone, but embedded
8298 1.1 mrg programmers may want to disable this by specifying
8299 1.1 mrg -fno-threadsafe-statics for a small savings in code size.
8300 1.1 mrg * Taking the address of an explicit register variable is no longer
8301 1.1 mrg supported. Note that C++ allows taking the address of variables
8302 1.1 mrg with register storage so this will continue to compile with a
8303 1.1 mrg warning. For example, assuming that r0 is a machine register:
8304 1.1 mrg register int foo asm ("r0");
8305 1.1 mrg register int bar;
8306 1.1 mrg &foo; // error, no longer accepted
8307 1.1 mrg &bar; // OK, with a warning
8308 1.1 mrg * G++ has an undocumented extension to virtual function covariancy
8309 1.1 mrg rules that allowed the overrider to return a type that was
8310 1.1 mrg implicitly convertable to the overridden function's return type.
8311 1.1 mrg For instance a function returning void * could be overridden by a
8312 1.1 mrg function returning T *. This is now deprecated and will be removed
8313 1.1 mrg in a future release.
8314 1.1 mrg * The G++ minimum and maximum operators (<? and >?) and their
8315 1.1 mrg compound forms (<?=) and >?=) have been deprecated and will be
8316 1.1 mrg removed in a future version. Code using these operators should be
8317 1.1 mrg modified to use std::min and std::max instead.
8318 1.1 mrg * Declaration of nested classes of class templates as friends are
8319 1.1 mrg supported:
8320 1.1 mrg template <typename T> struct A {
8321 1.1 mrg class B {};
8322 1.1 mrg };
8323 1.1 mrg class C {
8324 1.1 mrg template <typename T> friend class A<T>::B;
8325 1.1 mrg };
8326 1.1 mrg This complements the feature member functions of class templates as
8327 1.1 mrg friends introduced in GCC 3.4.0.
8328 1.1 mrg * When declaring a friend class using an unqualified name, classes
8329 1.1 mrg outside the innermost non-class scope are not searched:
8330 1.1 mrg class A;
8331 1.1 mrg namespace N {
8332 1.1 mrg class B {
8333 1.1 mrg friend class A; // Refer to N::A which has not been declared yet
8334 1.1 mrg // because name outside namespace N are not searched
8335 1.1 mrg friend class ::A; // Refer to ::A
8336 1.1 mrg };
8337 1.1 mrg }
8338 1.1 mrg Hiding the friend name until declaration is still not implemented.
8339 1.1 mrg * Friends of classes defined outside their namespace are correctly
8340 1.1 mrg handled:
8341 1.1 mrg namespace N {
8342 1.1 mrg class A;
8343 1.1 mrg }
8344 1.1 mrg class N::A {
8345 1.1 mrg friend class B; // Refer to N::B in GCC 4.0.0
8346 1.1 mrg // but ::B in earlier versions of GCC
8347 1.1 mrg };
8348 1.1 mrg
8349 1.1 mrg Runtime Library (libstdc++)
8350 1.1 mrg
8351 1.1 mrg * Optimization work:
8352 1.1 mrg + Added efficient specializations of istream functions for char
8353 1.1 mrg and wchar_t.
8354 1.1 mrg + Further performance tuning of strings, in particular wrt
8355 1.1 mrg single-char append and getline.
8356 1.1 mrg + iter_swap - and therefore most of the mutating algorithms -
8357 1.1 mrg now makes an unqualified call to swap when the value_type of
8358 1.1 mrg the two iterators is the same.
8359 1.1 mrg * A large subset of the features in Technical Report 1 (TR1 for
8360 1.1 mrg short) is experimentally delivered (i.e., no guarantees about the
8361 1.1 mrg implementation are provided. In particular it is not promised that
8362 1.1 mrg the library will remain link-compatible when code using TR1 is
8363 1.1 mrg used):
8364 1.1 mrg + General utilities such as reference_wrapper and shared_ptr.
8365 1.1 mrg + Function objects, i.e., result_of, mem_fn, bind, function.
8366 1.1 mrg + Support for metaprogramming.
8367 1.1 mrg + New containers such as tuple, array, unordered_set,
8368 1.1 mrg unordered_map, unordered_multiset, unordered_multimap.
8369 1.1 mrg * As usual, many bugs have been fixed and LWG resolutions implemented
8370 1.1 mrg for the first time (e.g., DR 409).
8371 1.1 mrg
8372 1.1 mrg Java
8373 1.1 mrg
8374 1.1 mrg * In order to prevent naming conflicts with other implementations of
8375 1.1 mrg these tools, some GCJ binaries have been renamed:
8376 1.1 mrg + rmic is now grmic,
8377 1.1 mrg + rmiregistry is now grmiregistry, and
8378 1.1 mrg + jar is now fastjar.
8379 1.1 mrg In particular, these names were problematic for the jpackage.org
8380 1.1 mrg packaging conventions which install symlinks in /usr/bin that point
8381 1.1 mrg to the preferred versions of these tools.
8382 1.1 mrg * The -findirect-dispatch argument to the compiler now works and
8383 1.1 mrg generates code following a new "binary compatibility" ABI. Code
8384 1.1 mrg compiled this way follows the binary compatibility rules of the
8385 1.1 mrg Java Language Specification.
8386 1.1 mrg * libgcj now has support for using GCJ as a JIT, using the
8387 1.1 mrg gnu.gcj.jit family of system properties.
8388 1.1 mrg * libgcj can now find a shared library corresponding to the bytecode
8389 1.1 mrg representation of a class. See the documentation for the new
8390 1.1 mrg gcj-dbtool program, and the new gnu.gcj.precompiled.db.path system
8391 1.1 mrg property.
8392 1.1 mrg * There have been many improvements to the class library. Here are
8393 1.1 mrg some highlights:
8394 1.1 mrg + Much more of AWT and Swing exist.
8395 1.1 mrg + Many new packages and classes were added, including
8396 1.1 mrg java.util.regex, java.net.URI, javax.crypto,
8397 1.1 mrg javax.crypto.interfaces, javax.crypto.spec, javax.net,
8398 1.1 mrg javax.net.ssl, javax.security.auth,
8399 1.1 mrg javax.security.auth.callback, javax.security.auth.login,
8400 1.1 mrg javax.security.auth.x500, javax.security.sasl, org.ietf.jgss,
8401 1.1 mrg javax.imageio, javax.imageio.event, javax.imageio.spi,
8402 1.1 mrg javax.print, javax.print.attribute,
8403 1.1 mrg javax.print.attribute.standard, javax.print.event, and
8404 1.1 mrg javax.xml
8405 1.1 mrg + Updated SAX and DOM, and imported GNU JAXP
8406 1.1 mrg
8407 1.1 mrg Fortran
8408 1.1 mrg
8409 1.1 mrg * A new [9]Fortran front end has replaced the aging GNU Fortran 77
8410 1.1 mrg front end. The new front end supports Fortran 90 and Fortran 95. It
8411 1.1 mrg may not yet be as stable as the old Fortran front end.
8412 1.1 mrg
8413 1.1 mrg Ada
8414 1.1 mrg
8415 1.1 mrg * Ada (with tasking and Zero Cost Exceptions) is now available on
8416 1.1 mrg many more targets, including but not limited to: alpha-linux,
8417 1.1 mrg hppa-hpux, hppa-linux, powerpc-darwin, powerpc-linux, s390-linux,
8418 1.1 mrg s390x-linux, sparc-linux.
8419 1.1 mrg * Some of the new Ada 2005 features are now implemented like
8420 1.1 mrg Wide_Wide_Character and Ada.Containers.
8421 1.1 mrg * Many bugs have been fixed, tools and documentation improved.
8422 1.1 mrg * To compile Ada from the sources, install an older working Ada
8423 1.1 mrg compiler and then use --enable-languages=ada at configuration time,
8424 1.1 mrg since the Ada frontend is not currently activated by default. See
8425 1.1 mrg the [10]Installing GCC for details.
8426 1.1 mrg
8427 1.1 mrg New Targets and Target Specific Improvements
8428 1.1 mrg
8429 1.1 mrg H8/300
8430 1.1 mrg
8431 1.1 mrg * The frame layout has changed. In the new layout, the prologue of a
8432 1.1 mrg function first saves registers and then allocate space for locals,
8433 1.1 mrg resulting in an 1% improvement on code size.
8434 1.1 mrg
8435 1.1 mrg IA-32/x86-64 (AMD64)
8436 1.1 mrg
8437 1.1 mrg * The acos, asin, drem, exp10, exp2, expm1, fmod, ilogb, log10,
8438 1.1 mrg log1p, log2, logb and tan mathematical builtins (and their float
8439 1.1 mrg and long double variants) are now implemented as inline x87
8440 1.1 mrg intrinsics when using -ffast-math.
8441 1.1 mrg * The ceil, floor, nearbyint, rint and trunc mathematical builtins
8442 1.1 mrg (and their float and long double variants) are now implemented as
8443 1.1 mrg inline x87 intrinsics when using -ffast-math.
8444 1.1 mrg * The x87's fsincos instruction is now used automatically with
8445 1.1 mrg -ffast-math when calculating both the sin and cos of the same
8446 1.1 mrg argument.
8447 1.1 mrg * Instruction selection for multiplication and division by constants
8448 1.1 mrg has been improved.
8449 1.1 mrg
8450 1.1 mrg IA-64
8451 1.1 mrg
8452 1.1 mrg * Floating point division, integer division and sqrt are now inlined,
8453 1.1 mrg resulting in significant performance improvements on some codes.
8454 1.1 mrg
8455 1.1 mrg MIPS
8456 1.1 mrg
8457 1.1 mrg * Division by zero checks now use conditional traps if the target
8458 1.1 mrg processor supports them. This decreases code size by one word per
8459 1.1 mrg division operation. The old behavior (branch and break) can be
8460 1.1 mrg obtained either at configure time by passing --with-divide=breaks
8461 1.1 mrg to configure or at runtime by passing -mdivide-breaks to GCC.
8462 1.1 mrg * Support for MIPS64 paired-single instructions has been added. It is
8463 1.1 mrg enabled by -mpaired-single and can be accessed using both the
8464 1.1 mrg target-independent vector extensions and new MIPS-specific built-in
8465 1.1 mrg functions.
8466 1.1 mrg * Support for the MIPS-3D ASE has been added. It is enabled by
8467 1.1 mrg -mips3d and provides new MIPS-3D-specific built-in functions.
8468 1.1 mrg * The -mexplicit-relocs option now supports static n64 code (as is
8469 1.1 mrg used, for example, in 64-bit linux kernels). -mexplicit-relocs
8470 1.1 mrg should now be feature-complete and is enabled by default when GCC
8471 1.1 mrg is configured to use a compatible assembler.
8472 1.1 mrg * Support for the NEC VR4130 series has been added. This support
8473 1.1 mrg includes the use of VR-specific instructions and a new VR4130
8474 1.1 mrg scheduler. Full VR4130 support can be selected with -march=vr4130
8475 1.1 mrg while code for any ISA can be tuned for the VR4130 using
8476 1.1 mrg -mtune=vr4130. There is also a new -mvr4130-align option that
8477 1.1 mrg produces better schedules at the cost of increased code size.
8478 1.1 mrg * Support for the Broadcom SB-1 has been extended. There is now an
8479 1.1 mrg SB-1 scheduler as well as support for the SB-1-specific
8480 1.1 mrg paired-single instructions. Full SB-1 support can be selected with
8481 1.1 mrg -march=sb1 while code for any ISA can be optimized for the SB-1
8482 1.1 mrg using -mtune=sb1.
8483 1.1 mrg * The compiler can now work around errata in R4000, R4400, VR4120 and
8484 1.1 mrg VR4130 processors. These workarounds are enabled by -mfix-r4000,
8485 1.1 mrg -mfix-r4400, -mfix-vr4120 and -mfix-vr4130 respectively. The VR4120
8486 1.1 mrg and VR4130 workarounds need binutils 2.16 or above.
8487 1.1 mrg * IRIX shared libraries are now installed into the standard library
8488 1.1 mrg directories: o32 libraries go into lib/, n32 libraries go into
8489 1.1 mrg lib32/ and n64 libraries go into lib64/.
8490 1.1 mrg * The compiler supports a new -msym32 option. It can be used to
8491 1.1 mrg optimize n64 code in which all symbols are known to have 32-bit
8492 1.1 mrg values.
8493 1.1 mrg
8494 1.1 mrg S/390 and zSeries
8495 1.1 mrg
8496 1.1 mrg * New command-line options help to generate code intended to run in
8497 1.1 mrg an environment where stack space is restricted, e.g. Linux kernel
8498 1.1 mrg code:
8499 1.1 mrg + -mwarn-framesize and -mwarn-dynamicstack trigger compile-time
8500 1.1 mrg warnings for single functions that require large or dynamic
8501 1.1 mrg stack frames.
8502 1.1 mrg + -mstack-size and -mstack-guard generate code that checks for
8503 1.1 mrg stack overflow at run time.
8504 1.1 mrg + -mpacked-stack generates code that reduces the stack frame
8505 1.1 mrg size of many functions by reusing unneeded parts of the stack
8506 1.1 mrg bias area.
8507 1.1 mrg * The -msoft-float option now ensures that generated code never
8508 1.1 mrg accesses floating point registers.
8509 1.1 mrg * The s390x-ibm-tpf target now fully supports C++, including
8510 1.1 mrg exceptions and threads.
8511 1.1 mrg * Various changes to improve performance of the generated code have
8512 1.1 mrg been implemented, including:
8513 1.1 mrg + GCC now uses sibling calls where possible.
8514 1.1 mrg + Condition code handling has been optimized, allowing GCC to
8515 1.1 mrg omit redundant comparisons in certain cases.
8516 1.1 mrg + The cost function guiding many optimizations has been refined
8517 1.1 mrg to more accurately represent the z900 and z990 processors.
8518 1.1 mrg + The ADD LOGICAL WITH CARRY and SUBTRACT LOGICAL WITH BORROW
8519 1.1 mrg instructions are now used to avoid conditional branches in
8520 1.1 mrg certain cases.
8521 1.1 mrg + The back end now uses the LEGITIMIZE_RELOAD_ADDRESS feature to
8522 1.1 mrg optimize address arithmetic required to access large stack
8523 1.1 mrg frames.
8524 1.1 mrg + GCC now makes more efficient use of memory-to-memory type
8525 1.1 mrg instructions (MVC, CLC, ...).
8526 1.1 mrg + More precise tracking of special register use allows better
8527 1.1 mrg instruction scheduling, in particular of the function prologue
8528 1.1 mrg and epilogue sequences.
8529 1.1 mrg + The Java front end now generates inline code to implement
8530 1.1 mrg integer division, instead of calling library routines.
8531 1.1 mrg
8532 1.1 mrg SPARC
8533 1.1 mrg
8534 1.1 mrg * The options -mv8, -msparclite, -mcypress, -msupersparc, -mf930 and
8535 1.1 mrg -mf934 have been removed. They have been replaced with -mcpu=xxx.
8536 1.1 mrg * The internal model used to estimate the relative cost of each
8537 1.1 mrg instruction has been updated. It is expected to give better results
8538 1.1 mrg on recent UltraSPARC processors.
8539 1.1 mrg * Code generation for function prologues and epilogues has been
8540 1.1 mrg improved, resulting in better scheduling and allowing multiple exit
8541 1.1 mrg points in functions.
8542 1.1 mrg * Support for Sun's Visual Instruction Set (VIS) has been enhanced.
8543 1.1 mrg It is enabled by -mvis and provides new built-in functions for VIS
8544 1.1 mrg instructions on UltraSPARC processors.
8545 1.1 mrg * The option -mapp-regs has been turned on by default on Solaris too.
8546 1.1 mrg
8547 1.1 mrg NetWare
8548 1.1 mrg
8549 1.1 mrg * Novell NetWare (on ix86, no other hardware platform was ever really
8550 1.1 mrg supported by this OS) has been re-enabled and the ABI supported by
8551 1.1 mrg GCC has been brought into sync with that of MetroWerks CodeWarrior
8552 1.1 mrg (the ABI previously supported was that of some Unix systems, which
8553 1.1 mrg NetWare never tried to support).
8554 1.1 mrg
8555 1.1 mrg Obsolete Systems
8556 1.1 mrg
8557 1.1 mrg Support for a number of older systems has been declared obsolete in GCC
8558 1.1 mrg 4.0. Unless there is activity to revive them, the next release of GCC
8559 1.1 mrg will have their sources permanently removed.
8560 1.1 mrg
8561 1.1 mrg All GCC ports for the following processor architectures have been
8562 1.1 mrg declared obsolete:
8563 1.1 mrg * Intel i860
8564 1.1 mrg * Ubicom IP2022
8565 1.7 mrg * National Semiconductor NS32K (ns32k)
8566 1.1 mrg * Texas Instruments TMS320C[34]x
8567 1.1 mrg
8568 1.1 mrg Also, those for some individual systems have been obsoleted:
8569 1.1 mrg * SPARC family
8570 1.1 mrg + SPARClite-based systems (sparclite-*-coff, sparclite-*-elf,
8571 1.1 mrg sparc86x-*-elf)
8572 1.1 mrg + OpenBSD 32-bit (sparc-*-openbsd*)
8573 1.1 mrg
8574 1.1 mrg Documentation improvements
8575 1.1 mrg
8576 1.1 mrg Other significant improvements
8577 1.1 mrg
8578 1.1 mrg * Location lists are now generated by default when compiling with
8579 1.1 mrg debug info and optimization. Location lists provide more accurate
8580 1.1 mrg debug info about locations of variables and they allow debugging
8581 1.1 mrg code compiled with -fomit-frame-pointer.
8582 1.1 mrg * The -fvisibility option has been added which allows the default ELF
8583 1.1 mrg visibility of all symbols to be set per compilation and the new
8584 1.1 mrg #pragma GCC visibility preprocessor command allows the setting of
8585 1.1 mrg default ELF visibility for a region of code. Using
8586 1.1 mrg -fvisibility=hidden especially in combination with the new
8587 1.1 mrg -fvisibility-inlines-hidden can yield substantial improvements in
8588 1.1 mrg output binary quality including avoiding PLT indirection overheads,
8589 1.1 mrg reduction of the exported symbol count by up to 60% (with resultant
8590 1.1 mrg improvements to link and load times), better scope for the
8591 1.1 mrg optimizer to improve code and up to a 20% reduction in binary size.
8592 1.1 mrg Using these options correctly yields a binary with a similar symbol
8593 1.1 mrg count to a Windows DLL.
8594 1.1 mrg Perhaps more importantly, this new feature finally allows (with
8595 1.1 mrg careful planning) complete avoidance of symbol clashes when
8596 1.1 mrg manually loading shared objects with RTLD_GLOBAL, thus finally
8597 1.1 mrg solving problems many projects such as python were forced to use
8598 1.1 mrg RTLD_LOCAL for (with its resulting issues for C++ correctness). You
8599 1.1 mrg can find more information about using these options at
8600 1.4 mrg [11]https://gcc.gnu.org/wiki/Visibility.
8601 1.1 mrg __________________________________________________________________
8602 1.1 mrg
8603 1.1 mrg GCC 4.0.1
8604 1.1 mrg
8605 1.1 mrg This is the [12]list of problem reports (PRs) from GCC's bug tracking
8606 1.1 mrg system that are known to be fixed in the 4.0.1 release. This list might
8607 1.1 mrg not be complete (that is, it is possible that some PRs that have been
8608 1.1 mrg fixed are not listed here).
8609 1.1 mrg
8610 1.1 mrg GCC 4.0.2
8611 1.1 mrg
8612 1.1 mrg This is the [13]list of problem reports (PRs) from GCC's bug tracking
8613 1.1 mrg system that are known to be fixed in the 4.0.2 release. This list might
8614 1.1 mrg not be complete (that is, it is possible that some PRs that have been
8615 1.1 mrg fixed are not listed here).
8616 1.1 mrg
8617 1.1 mrg Unfortunately, due to a release engineering failure, this release has a
8618 1.1 mrg regression on Solaris that will affect some C++ programs. We suggest
8619 1.1 mrg that Solaris users apply a [14]patch that corrects the problem. Users
8620 1.1 mrg who do not wish to apply the patch should explicitly link C++ programs
8621 1.1 mrg with the -pthreads option, even if they do not use threads. This
8622 1.1 mrg problem has been corrected in the current 4.0 branch sources and will
8623 1.1 mrg not be present in GCC 4.0.3.
8624 1.1 mrg
8625 1.1 mrg GCC 4.0.3
8626 1.1 mrg
8627 1.1 mrg Starting with this release, the function getcontext is recognized by
8628 1.1 mrg the compiler as having the same semantics as the setjmp function. In
8629 1.1 mrg particular, the compiler will ensure that all registers are dead before
8630 1.1 mrg calling such a function and will emit a warning about the variables
8631 1.1 mrg that may be clobbered after the second return from the function.
8632 1.1 mrg
8633 1.1 mrg GCC 4.0.4
8634 1.1 mrg
8635 1.1 mrg This is the [15]list of problem reports (PRs) from GCC's bug tracking
8636 1.1 mrg system that are known to be fixed in the 4.0.4 release. This list might
8637 1.1 mrg not be complete (that is, it is possible that some PRs that have been
8638 1.1 mrg fixed are not listed here).
8639 1.1 mrg
8640 1.1 mrg The 4.0.4 release is provided for those that require a high degree of
8641 1.1 mrg binary compatibility with previous 4.0.x releases. For most users, the
8642 1.1 mrg GCC team recommends that version 4.1.1 or later be used instead."
8643 1.1 mrg
8644 1.1 mrg
8645 1.1 mrg For questions related to the use of GCC, please consult these web
8646 1.1 mrg pages and the [16]GCC manuals. If that fails, the
8647 1.1 mrg [17]gcc-help (a] gcc.gnu.org mailing list might help. Comments on these
8648 1.1 mrg web pages and the development of GCC are welcome on our developer
8649 1.1 mrg list at [18]gcc (a] gcc.gnu.org. All of [19]our lists have public
8650 1.1 mrg archives.
8651 1.1 mrg
8652 1.1 mrg Copyright (C) [20]Free Software Foundation, Inc. Verbatim copying and
8653 1.1 mrg distribution of this entire article is permitted in any medium,
8654 1.1 mrg provided this notice is preserved.
8655 1.1 mrg
8656 1.1 mrg These pages are [21]maintained by the GCC team. Last modified
8657 1.7 mrg 2017-03-29[22].
8658 1.1 mrg
8659 1.1 mrg References
8660 1.1 mrg
8661 1.1 mrg 1. http://gcc.gnu.org/gcc-4.0/changes.html#4.0.4
8662 1.1 mrg 2. http://www.cl.cam.ac.uk/~mgk25/ucs/quotes.html
8663 1.1 mrg 3. http://gcc.gnu.org/projects/tree-ssa/
8664 1.1 mrg 4. http://gcc.gnu.org/projects/tree-ssa/vectorization.html
8665 1.1 mrg 5. http://gcc.gnu.org/news/sms.html
8666 1.6 mrg 6. https://www.akkadia.org/drepper/dsohowto.pdf
8667 1.1 mrg 7. http://gcc.gnu.org/gcc-4.0/changes.html#visibility
8668 1.7 mrg 8. https://itanium-cxx-abi.github.io/cxx-abi/
8669 1.1 mrg 9. http://gcc.gnu.org/fortran/
8670 1.4 mrg 10. https://gcc.gnu.org/install/
8671 1.4 mrg 11. https://gcc.gnu.org/wiki/Visibility
8672 1.4 mrg 12. https://gcc.gnu.org/bugzilla/buglist.cgi?bug_status=RESOLVED&resolution=FIXED&target_milestone=4.0.1
8673 1.4 mrg 13. https://gcc.gnu.org/bugzilla/buglist.cgi?bug_status=RESOLVED&resolution=FIXED&target_milestone=4.0.2
8674 1.4 mrg 14. https://gcc.gnu.org/ml/gcc-cvs/2005-09/msg00984.html
8675 1.4 mrg 15. https://gcc.gnu.org/bugzilla/buglist.cgi?bug_status=RESOLVED&resolution=FIXED&target_milestone=4.0.4
8676 1.4 mrg 16. https://gcc.gnu.org/onlinedocs/
8677 1.1 mrg 17. mailto:gcc-help (a] gcc.gnu.org
8678 1.1 mrg 18. mailto:gcc (a] gcc.gnu.org
8679 1.4 mrg 19. https://gcc.gnu.org/lists.html
8680 1.1 mrg 20. http://www.fsf.org/
8681 1.4 mrg 21. https://gcc.gnu.org/about.html
8682 1.1 mrg 22. http://validator.w3.org/check/referer
8683 1.1 mrg ======================================================================
8684 1.1 mrg http://gcc.gnu.org/gcc-3.4/index.html
8685 1.1 mrg GCC 3.4 Release Series
8686 1.1 mrg
8687 1.1 mrg May 26, 2006
8688 1.1 mrg
8689 1.1 mrg The [1]GNU project and the GCC developers are pleased to announce the
8690 1.1 mrg release of GCC 3.4.6.
8691 1.1 mrg
8692 1.1 mrg This release is a bug-fix release, containing fixes for regressions in
8693 1.1 mrg GCC 3.4.4 relative to previous releases of GCC. This is the last of the
8694 1.1 mrg 3.4.x series.
8695 1.1 mrg
8696 1.1 mrg The GCC 3.4 release series includes numerous [2]new features,
8697 1.1 mrg improvements, bug fixes, and other changes, thanks to an [3]amazing
8698 1.1 mrg group of volunteers.
8699 1.1 mrg
8700 1.7 mrg This release series is no longer maintained.
8701 1.7 mrg
8702 1.1 mrg Release History
8703 1.1 mrg
8704 1.1 mrg GCC 3.4.6
8705 1.1 mrg March 6, 2006 ([4]changes)
8706 1.1 mrg
8707 1.1 mrg GCC 3.4.5
8708 1.1 mrg November 30, 2005 ([5]changes)
8709 1.1 mrg
8710 1.1 mrg GCC 3.4.4
8711 1.1 mrg May 18, 2005 ([6]changes)
8712 1.1 mrg
8713 1.1 mrg GCC 3.4.3
8714 1.1 mrg November 4, 2004 ([7]changes)
8715 1.1 mrg
8716 1.1 mrg GCC 3.4.2
8717 1.1 mrg September 6, 2004 ([8]changes)
8718 1.1 mrg
8719 1.1 mrg GCC 3.4.1
8720 1.1 mrg July 1, 2004 ([9]changes)
8721 1.1 mrg
8722 1.1 mrg GCC 3.4.0
8723 1.1 mrg April 18, 2004 ([10]changes)
8724 1.1 mrg
8725 1.1 mrg References and Acknowledgements
8726 1.1 mrg
8727 1.1 mrg GCC used to stand for the GNU C Compiler, but since the compiler
8728 1.1 mrg supports several other languages aside from C, it now stands for the
8729 1.1 mrg GNU Compiler Collection.
8730 1.1 mrg
8731 1.1 mrg A list of [11]successful builds is updated as new information becomes
8732 1.1 mrg available.
8733 1.1 mrg
8734 1.1 mrg The GCC developers would like to thank the numerous people that have
8735 1.1 mrg contributed new features, improvements, bug fixes, and other changes as
8736 1.1 mrg well as test results to GCC. This [12]amazing group of volunteers is
8737 1.1 mrg what makes GCC successful.
8738 1.1 mrg
8739 1.1 mrg For additional information about GCC please refer to the [13]GCC
8740 1.1 mrg project web site or contact the [14]GCC development mailing list.
8741 1.1 mrg
8742 1.1 mrg To obtain GCC please use [15]our mirror sites, or [16]our SVN server.
8743 1.1 mrg
8744 1.1 mrg
8745 1.1 mrg For questions related to the use of GCC, please consult these web
8746 1.1 mrg pages and the [17]GCC manuals. If that fails, the
8747 1.1 mrg [18]gcc-help (a] gcc.gnu.org mailing list might help. Comments on these
8748 1.1 mrg web pages and the development of GCC are welcome on our developer
8749 1.1 mrg list at [19]gcc (a] gcc.gnu.org. All of [20]our lists have public
8750 1.1 mrg archives.
8751 1.1 mrg
8752 1.1 mrg Copyright (C) [21]Free Software Foundation, Inc. Verbatim copying and
8753 1.1 mrg distribution of this entire article is permitted in any medium,
8754 1.1 mrg provided this notice is preserved.
8755 1.1 mrg
8756 1.1 mrg These pages are [22]maintained by the GCC team. Last modified
8757 1.7 mrg 2016-09-30[23].
8758 1.1 mrg
8759 1.1 mrg References
8760 1.1 mrg
8761 1.1 mrg 1. http://www.gnu.org/
8762 1.1 mrg 2. http://gcc.gnu.org/gcc-3.4/changes.html
8763 1.4 mrg 3. https://gcc.gnu.org/onlinedocs/gcc/Contributors.html
8764 1.1 mrg 4. http://gcc.gnu.org/gcc-3.4/changes.html#3.4.6
8765 1.1 mrg 5. http://gcc.gnu.org/gcc-3.4/changes.html#3.4.5
8766 1.1 mrg 6. http://gcc.gnu.org/gcc-3.4/changes.html#3.4.4
8767 1.1 mrg 7. http://gcc.gnu.org/gcc-3.4/changes.html#3.4.3
8768 1.1 mrg 8. http://gcc.gnu.org/gcc-3.4/changes.html#3.4.2
8769 1.1 mrg 9. http://gcc.gnu.org/gcc-3.4/changes.html#3.4.1
8770 1.1 mrg 10. http://gcc.gnu.org/gcc-3.4/changes.html
8771 1.1 mrg 11. http://gcc.gnu.org/gcc-3.4/buildstat.html
8772 1.4 mrg 12. https://gcc.gnu.org/onlinedocs/gcc/Contributors.html
8773 1.1 mrg 13. http://gcc.gnu.org/index.html
8774 1.1 mrg 14. mailto:gcc (a] gcc.gnu.org
8775 1.1 mrg 15. http://gcc.gnu.org/mirrors.html
8776 1.1 mrg 16. http://gcc.gnu.org/svn.html
8777 1.4 mrg 17. https://gcc.gnu.org/onlinedocs/
8778 1.1 mrg 18. mailto:gcc-help (a] gcc.gnu.org
8779 1.1 mrg 19. mailto:gcc (a] gcc.gnu.org
8780 1.4 mrg 20. https://gcc.gnu.org/lists.html
8781 1.1 mrg 21. http://www.fsf.org/
8782 1.4 mrg 22. https://gcc.gnu.org/about.html
8783 1.1 mrg 23. http://validator.w3.org/check/referer
8784 1.1 mrg ======================================================================
8785 1.1 mrg http://gcc.gnu.org/gcc-3.4/changes.html
8786 1.1 mrg GCC 3.4 Release Series
8787 1.1 mrg Changes, New Features, and Fixes
8788 1.1 mrg
8789 1.1 mrg The final release in the 3.4 release series is [1]GCC 3.4.6. The series
8790 1.1 mrg is now closed.
8791 1.1 mrg
8792 1.1 mrg GCC 3.4 has [2]many improvements in the C++ frontend. Before reporting
8793 1.1 mrg a bug, please make sure it's really GCC, and not your code, that is
8794 1.1 mrg broken.
8795 1.1 mrg
8796 1.1 mrg Caveats
8797 1.1 mrg
8798 1.1 mrg * GNU Make is now required to build GCC.
8799 1.1 mrg * With -nostdinc the preprocessor used to ignore both standard
8800 1.1 mrg include paths and include paths contained in environment variables.
8801 1.1 mrg It was neither documented nor intended that environment variable
8802 1.1 mrg paths be ignored, so this has been corrected.
8803 1.1 mrg * GCC no longer accepts the options -fvolatile, -fvolatile-global and
8804 1.1 mrg -fvolatile-static. It is unlikely that they worked correctly in any
8805 1.1 mrg 3.x release.
8806 1.1 mrg * GCC no longer ships <varargs.h>. Use <stdarg.h> instead.
8807 1.1 mrg * Support for all the systems [3]obsoleted in GCC 3.3 has been
8808 1.1 mrg removed from GCC 3.4. See below for a [4]list of systems which are
8809 1.1 mrg obsoleted in this release.
8810 1.1 mrg * GCC now requires an ISO C90 (ANSI C89) C compiler to build. K&R C
8811 1.1 mrg compilers will not work.
8812 1.1 mrg * The implementation of the [5]MIPS ABIs has changed. As a result,
8813 1.1 mrg the code generated for certain MIPS targets will not be binary
8814 1.1 mrg compatible with earlier releases.
8815 1.1 mrg * In previous releases, the MIPS port had a fake "hilo" register with
8816 1.1 mrg the user-visible name accum. This register has been removed.
8817 1.1 mrg * The implementation of the [6]SPARC ABIs has changed. As a result,
8818 1.1 mrg the code generated will not be binary compatible with earlier
8819 1.1 mrg releases in certain cases.
8820 1.1 mrg * The configure option --enable-threads=pthreads has been removed;
8821 1.1 mrg use --enable-threads=posix instead, which should have the same
8822 1.1 mrg effect.
8823 1.1 mrg * Code size estimates used by inlining heuristics for C, Objective-C,
8824 1.1 mrg C++ and Java have been redesigned significantly. As a result the
8825 1.1 mrg parameters of -finline-insns, --param max-inline-insns-single and
8826 1.1 mrg --param max-inline-insns-auto need to be reconsidered.
8827 1.1 mrg * --param max-inline-slope and --param min-inline-insns have been
8828 1.1 mrg removed; they are not needed for the new bottom-up inlining
8829 1.1 mrg heuristics.
8830 1.1 mrg * The new unit-at-a-time compilation scheme has several compatibility
8831 1.1 mrg issues:
8832 1.1 mrg + The order in which functions, variables, and top-level asm
8833 1.1 mrg statements are emitted may have changed. Code relying on some
8834 1.1 mrg particular ordering needs to be updated. The majority of such
8835 1.1 mrg top-level asm statements can be replaced by section
8836 1.1 mrg attributes.
8837 1.1 mrg + Unreferenced static variables and functions are removed. This
8838 1.1 mrg may result in undefined references when an asm statement
8839 1.1 mrg refers to the variable/function directly. In that case either
8840 1.1 mrg the variable/function shall be listed in asm statement operand
8841 1.1 mrg or in the case of top-level asm statements the attribute used
8842 1.1 mrg shall be used to force function/variable to be always output
8843 1.1 mrg and considered as a possibly used by unknown code.
8844 1.1 mrg For variables the attribute is accepted only by GCC 3.4 and
8845 1.1 mrg newer, while for earlier versions it is sufficient to use
8846 1.1 mrg unused to silence warnings about the variables not being
8847 1.1 mrg referenced. To keep code portable across different GCC
8848 1.1 mrg versions, you can use appropriate preprocessor conditionals.
8849 1.1 mrg + Static functions now can use non-standard passing conventions
8850 1.1 mrg that may break asm statements calling functions directly.
8851 1.1 mrg Again the attribute used shall be used to prevent this
8852 1.1 mrg behavior.
8853 1.1 mrg As a temporary workaround, -fno-unit-at-a-time can be used, but
8854 1.1 mrg this scheme may not be supported by future releases of GCC.
8855 1.1 mrg * GCC 3.4 automatically places zero-initialized variables in the .bss
8856 1.1 mrg section on some operating systems. Versions of GNU Emacs up to (and
8857 1.1 mrg including) 21.3 will not work correctly when using this
8858 1.1 mrg optimization; you can use -fno-zero-initialized-in-bss to disable
8859 1.1 mrg it.
8860 1.1 mrg * If GCC 3.4 is configured with --enable-threads=posix (the default
8861 1.1 mrg on most targets that support pthreads) then _REENTRANT will be
8862 1.1 mrg defined unconditionally by some libstdc++ headers. C++ code which
8863 1.1 mrg relies on that macro to detect whether multi-threaded code is being
8864 1.1 mrg compiled might change in meaning, possibly resulting in linker
8865 1.1 mrg errors for single-threaded programs. Affected users of [7]Boost
8866 1.1 mrg should compile single-threaded code with -DBOOST_DISABLE_THREADS.
8867 1.1 mrg See Bugzilla for [8]more information.
8868 1.1 mrg
8869 1.1 mrg General Optimizer Improvements
8870 1.1 mrg
8871 1.1 mrg * Usability of the profile feedback and coverage testing has been
8872 1.1 mrg improved.
8873 1.1 mrg + Performance of profiled programs has been improved by faster
8874 1.1 mrg profile merging code.
8875 1.1 mrg + Better use of the profile feedback for optimization (loop
8876 1.1 mrg unrolling and loop peeling).
8877 1.1 mrg + File locking support allowing fork() calls and parallel runs
8878 1.1 mrg of profiled programs.
8879 1.1 mrg + Coverage file format has been redesigned.
8880 1.1 mrg + gcov coverage tool has been improved.
8881 1.1 mrg + make profiledbootstrap available to build a faster compiler.
8882 1.1 mrg Experiments made on i386 hardware showed an 11% speedup on -O0
8883 1.1 mrg and a 7.5% speedup on -O2 compilation of a [9]large C++
8884 1.1 mrg testcase.
8885 1.1 mrg + New value profiling pass enabled via -fprofile-values
8886 1.1 mrg + New value profile transformations pass enabled via -fvpt aims
8887 1.1 mrg to optimize some code sequences by exploiting knowledge about
8888 1.1 mrg value ranges or other properties of the operands. At the
8889 1.1 mrg moment a conversion of expensive divisions into cheaper
8890 1.1 mrg operations has been implemented.
8891 1.1 mrg + New -fprofile-generate and -fprofile-use command-line options
8892 1.1 mrg to simplify the use of profile feedback.
8893 1.1 mrg * A new unit-at-a-time compilation scheme for C, Objective-C, C++ and
8894 1.1 mrg Java which is enabled via -funit-at-a-time (and implied by -O2). In
8895 1.1 mrg this scheme a whole file is parsed first and optimized later. The
8896 1.1 mrg following basic inter-procedural optimizations are implemented:
8897 1.1 mrg + Removal of unreachable functions and variables
8898 1.1 mrg + Discovery of local functions (functions with static linkage
8899 1.1 mrg whose address is never taken)
8900 1.1 mrg + On i386, these local functions use register parameter passing
8901 1.1 mrg conventions.
8902 1.1 mrg + Reordering of functions in topological order of the call graph
8903 1.1 mrg to enable better propagation of optimizing hints (such as the
8904 1.1 mrg stack alignments needed by functions) in the back end.
8905 1.1 mrg + Call graph based out-of-order inlining heuristics which allows
8906 1.1 mrg to limit overall compilation unit growth (--param
8907 1.1 mrg inline-unit-growth).
8908 1.1 mrg Overall, the unit-at-a-time scheme produces a 1.3% improvement for
8909 1.1 mrg the SPECint2000 benchmark on the i386 architecture (AMD Athlon
8910 1.1 mrg CPU).
8911 1.1 mrg * More realistic code size estimates used by inlining for C,
8912 1.1 mrg Objective-C, C++ and Java. The growth of large functions can now be
8913 1.1 mrg limited via --param large-function-insns and --param
8914 1.1 mrg large-function-growth.
8915 1.1 mrg * A new cfg-level loop optimizer pass replaces the old loop unrolling
8916 1.1 mrg pass and adds two other loop transformations -- loop peeling and
8917 1.1 mrg loop unswitching -- and also uses the profile feedback to limit
8918 1.1 mrg code growth. (The three optimizations are enabled by
8919 1.1 mrg -funroll-loops, -fpeel-loops and -funswitch-loops flags,
8920 1.1 mrg respectively).
8921 1.1 mrg The old loop unroller still can be enabled by -fold-unroll-loops
8922 1.1 mrg and may produce better code in some cases, especially when the
8923 1.1 mrg webizer optimization pass is not run.
8924 1.1 mrg * A new web construction pass enabled via -fweb (and implied by -O3)
8925 1.1 mrg improves the quality of register allocation, CSE, first scheduling
8926 1.1 mrg pass and some other optimization passes by avoiding re-use of
8927 1.1 mrg pseudo registers with non-overlapping live ranges. The pass almost
8928 1.1 mrg always improves code quality but does make debugging difficult and
8929 1.1 mrg thus is not enabled by default by -O2
8930 1.1 mrg The pass is especially effective as cleanup after code duplication
8931 1.1 mrg passes, such as the loop unroller or the tracer.
8932 1.1 mrg * Experimental implementations of superblock or trace scheduling in
8933 1.1 mrg the second scheduling pass can be enabled via
8934 1.1 mrg -fsched2-use-superblocks and -fsched2-use-traces, respectively.
8935 1.1 mrg
8936 1.1 mrg New Languages and Language specific improvements
8937 1.1 mrg
8938 1.1 mrg Ada
8939 1.1 mrg
8940 1.1 mrg * The Ada front end has been updated to include numerous bug fixes
8941 1.1 mrg and enhancements. These include:
8942 1.1 mrg + Improved project file support
8943 1.1 mrg + Additional set of warnings about potential wrong code
8944 1.1 mrg + Improved error messages
8945 1.1 mrg + Improved code generation
8946 1.1 mrg + Improved cross reference information
8947 1.1 mrg + Improved inlining
8948 1.1 mrg + Better run-time check elimination
8949 1.1 mrg + Better error recovery
8950 1.1 mrg + More efficient implementation of unbounded strings
8951 1.1 mrg + Added features in GNAT.Sockets, GNAT.OS_Lib, GNAT.Debug_Pools,
8952 1.1 mrg ...
8953 1.1 mrg + New GNAT.xxxx packages (e.g. GNAT.Strings,
8954 1.1 mrg GNAT.Exception_Action)
8955 1.1 mrg + New pragmas
8956 1.1 mrg + New -gnatS switch replacing gnatpsta
8957 1.1 mrg + Implementation of new Ada features (in particular limited
8958 1.1 mrg with, limited aggregates)
8959 1.1 mrg
8960 1.1 mrg C/Objective-C/C++
8961 1.1 mrg
8962 1.1 mrg * Precompiled headers are now supported. Precompiled headers can
8963 1.1 mrg dramatically speed up compilation of some projects. There are some
8964 1.1 mrg known defects in the current precompiled header implementation that
8965 1.1 mrg will result in compiler crashes in relatively rare situations.
8966 1.1 mrg Therefore, precompiled headers should be considered a "technology
8967 1.1 mrg preview" in this release. Read the manual for details about how to
8968 1.1 mrg use precompiled headers.
8969 1.1 mrg * File handling in the preprocessor has been rewritten. GCC no longer
8970 1.1 mrg gets confused by symlinks and hardlinks, and now has a correct
8971 1.1 mrg implementation of #import and #pragma once. These two directives
8972 1.1 mrg have therefore been un-deprecated.
8973 1.1 mrg * The undocumented extension that allowed C programs to have a label
8974 1.1 mrg at the end of a compound statement, which has been deprecated since
8975 1.1 mrg GCC 3.0, has been removed.
8976 1.1 mrg * The cast-as-lvalue extension has been removed for C++ and
8977 1.1 mrg deprecated for C and Objective-C. In particular, code like this:
8978 1.1 mrg int i;
8979 1.1 mrg (char) i = 5;
8980 1.1 mrg
8981 1.1 mrg or this:
8982 1.1 mrg char *p;
8983 1.1 mrg ((int *) p)++;
8984 1.1 mrg
8985 1.1 mrg is no longer accepted for C++ and will not be accepted for C and
8986 1.1 mrg Objective-C in a future version.
8987 1.1 mrg * The conditional-expression-as-lvalue extension has been deprecated
8988 1.1 mrg for C and Objective-C. In particular, code like this:
8989 1.1 mrg int a, b, c;
8990 1.1 mrg (a ? b : c) = 2;
8991 1.1 mrg
8992 1.1 mrg will not be accepted for C and Objective-C in a future version.
8993 1.1 mrg * The compound-expression-as-lvalue extension has been deprecated for
8994 1.1 mrg C and Objective-C. In particular, code like this:
8995 1.1 mrg int a, b;
8996 1.1 mrg (a, b) = 2;
8997 1.1 mrg
8998 1.1 mrg will not be accepted for C and Objective-C in a future version. A
8999 1.1 mrg possible non-intrusive workaround is the following:
9000 1.1 mrg (*(a, &b)) = 2;
9001 1.1 mrg
9002 1.1 mrg * Several [10]built-in functions such as __builtin_popcount for
9003 1.1 mrg counting bits, finding the highest and lowest bit in a word, and
9004 1.1 mrg parity have been added.
9005 1.1 mrg * The -fwritable-strings option has been deprecated and will be
9006 1.1 mrg removed.
9007 1.1 mrg * Many C math library functions are now recognized as built-ins and
9008 1.1 mrg optimized.
9009 1.1 mrg * The C, C++, and Objective-C compilers can now handle source files
9010 1.1 mrg written in any character encoding supported by the host C library.
9011 1.1 mrg The default input character set is taken from the current locale,
9012 1.1 mrg and may be overridden with the -finput-charset command line option.
9013 1.1 mrg In the future we will add support for inline encoding markers.
9014 1.1 mrg
9015 1.1 mrg C++
9016 1.1 mrg
9017 1.1 mrg * G++ is now much closer to full conformance to the ISO/ANSI C++
9018 1.1 mrg standard. This means, among other things, that a lot of invalid
9019 1.1 mrg constructs which used to be accepted in previous versions will now
9020 1.1 mrg be rejected. It is very likely that existing C++ code will need to
9021 1.1 mrg be fixed. This document lists some of the most common issues.
9022 1.1 mrg * A hand-written recursive-descent C++ parser has replaced the
9023 1.1 mrg YACC-derived C++ parser from previous GCC releases. The new parser
9024 1.1 mrg contains much improved infrastructure needed for better parsing of
9025 1.1 mrg C++ source codes, handling of extensions, and clean separation
9026 1.1 mrg (where possible) between proper semantics analysis and parsing. The
9027 1.1 mrg new parser fixes many bugs that were found in the old parser.
9028 1.1 mrg * You must now use the typename and template keywords to disambiguate
9029 1.1 mrg dependent names, as required by the C++ standard.
9030 1.1 mrg struct K {
9031 1.1 mrg typedef int mytype_t;
9032 1.1 mrg };
9033 1.1 mrg
9034 1.1 mrg template <class T1> struct A {
9035 1.1 mrg template <class T2> struct B {
9036 1.1 mrg void callme(void);
9037 1.1 mrg };
9038 1.1 mrg
9039 1.1 mrg template <int N> void bar(void)
9040 1.1 mrg {
9041 1.1 mrg // Use 'typename' to tell the parser that T1::mytype_t names
9042 1.1 mrg // a type. This is needed because the name is dependent (in
9043 1.1 mrg // this case, on template parameter T1).
9044 1.1 mrg typename T1::mytype_t x;
9045 1.1 mrg x = 0;
9046 1.1 mrg }
9047 1.1 mrg };
9048 1.1 mrg
9049 1.1 mrg template <class T> void template_func(void)
9050 1.1 mrg {
9051 1.1 mrg // Use 'template' to prefix member templates within
9052 1.1 mrg // dependent types (a has type A<T>, which depends on
9053 1.1 mrg // the template parameter T).
9054 1.1 mrg A<T> a;
9055 1.1 mrg a.template bar<0>();
9056 1.1 mrg
9057 1.1 mrg // Use 'template' to tell the parser that B is a nested
9058 1.1 mrg // template class (dependent on template parameter T), and
9059 1.1 mrg // 'typename' because the whole A<T>::B<int> is
9060 1.1 mrg // the name of a type (again, dependent).
9061 1.1 mrg typename A<T>::template B<int> b;
9062 1.1 mrg b.callme();
9063 1.1 mrg }
9064 1.1 mrg
9065 1.1 mrg void non_template_func(void)
9066 1.1 mrg {
9067 1.1 mrg // Outside of any template class or function, no names can be
9068 1.1 mrg // dependent, so the use of the keyword 'typename' and 'template'
9069 1.1 mrg // is not needed (and actually forbidden).
9070 1.1 mrg A<K> a;
9071 1.1 mrg a.bar<0>();
9072 1.1 mrg A<K>::B<float> b;
9073 1.1 mrg b.callme();
9074 1.1 mrg }
9075 1.1 mrg * In a template definition, unqualified names will no longer find
9076 1.1 mrg members of a dependent base (as specified by [temp.dep]/3 in the
9077 1.1 mrg C++ standard). For example,
9078 1.1 mrg template <typename T> struct B {
9079 1.1 mrg int m;
9080 1.1 mrg int n;
9081 1.1 mrg int f ();
9082 1.1 mrg int g ();
9083 1.1 mrg };
9084 1.1 mrg int n;
9085 1.1 mrg int g ();
9086 1.1 mrg template <typename T> struct C : B<T> {
9087 1.1 mrg void h ()
9088 1.1 mrg {
9089 1.1 mrg m = 0; // error
9090 1.1 mrg f (); // error
9091 1.1 mrg n = 0; // ::n is modified
9092 1.1 mrg g (); // ::g is called
9093 1.1 mrg }
9094 1.1 mrg };
9095 1.1 mrg You must make the names dependent, e.g. by prefixing them with
9096 1.1 mrg this->. Here is the corrected definition of C<T>::h,
9097 1.1 mrg template <typename T> void C<T>::h ()
9098 1.1 mrg {
9099 1.1 mrg this->m = 0;
9100 1.1 mrg this->f ();
9101 1.1 mrg this->n = 0
9102 1.1 mrg this->g ();
9103 1.1 mrg }
9104 1.1 mrg As an alternative solution (unfortunately not backwards compatible
9105 1.1 mrg with GCC 3.3), you may use using declarations instead of this->:
9106 1.1 mrg template <typename T> struct C : B<T> {
9107 1.1 mrg using B<T>::m;
9108 1.1 mrg using B<T>::f;
9109 1.1 mrg using B<T>::n;
9110 1.1 mrg using B<T>::g;
9111 1.1 mrg void h ()
9112 1.1 mrg {
9113 1.1 mrg m = 0;
9114 1.1 mrg f ();
9115 1.1 mrg n = 0;
9116 1.1 mrg g ();
9117 1.1 mrg }
9118 1.1 mrg };
9119 1.1 mrg * In templates, all non-dependent names are now looked up and bound
9120 1.1 mrg at definition time (while parsing the code), instead of later when
9121 1.1 mrg the template is instantiated. For instance:
9122 1.1 mrg void foo(int);
9123 1.1 mrg
9124 1.1 mrg template <int> struct A {
9125 1.1 mrg static void bar(void){
9126 1.1 mrg foo('a');
9127 1.1 mrg }
9128 1.1 mrg };
9129 1.1 mrg
9130 1.1 mrg void foo(char);
9131 1.1 mrg
9132 1.1 mrg int main()
9133 1.1 mrg {
9134 1.1 mrg A<0>::bar(); // Calls foo(int), used to call foo(char).
9135 1.1 mrg }
9136 1.1 mrg
9137 1.1 mrg * In an explicit instantiation of a class template, you must use
9138 1.1 mrg class or struct before the template-id:
9139 1.1 mrg template <int N>
9140 1.1 mrg class A {};
9141 1.1 mrg
9142 1.1 mrg template A<0>; // error, not accepted anymore
9143 1.1 mrg template class A<0>; // OK
9144 1.1 mrg * The "named return value" and "implicit typename" extensions have
9145 1.1 mrg been removed.
9146 1.1 mrg * Default arguments in function types have been deprecated and will
9147 1.1 mrg be removed.
9148 1.1 mrg * ARM-style name-injection of friend declarations has been deprecated
9149 1.1 mrg and will be removed. For example: struct S { friend void f(); };
9150 1.1 mrg void g() { f(); } will not be accepted by future versions of G++;
9151 1.1 mrg instead a declaration of "f" will need to be present outside of the
9152 1.1 mrg scope of "S".
9153 1.1 mrg * Covariant returns are implemented for all but varadic functions
9154 1.1 mrg that require an adjustment.
9155 1.1 mrg * When -pedantic is used, G++ now issues errors about spurious
9156 1.1 mrg semicolons. For example,
9157 1.1 mrg namespace N {}; // Invalid semicolon.
9158 1.1 mrg void f() {}; // Invalid semicolon.
9159 1.1 mrg * G++ no longer accepts attributes for a declarator after the
9160 1.1 mrg initializer associated with that declarator. For example,
9161 1.1 mrg X x(1) __attribute__((...));
9162 1.1 mrg is no longer accepted. Instead, use:
9163 1.1 mrg X x __attribute__((...)) (1);
9164 1.1 mrg * Inside the scope of a template class, the name of the class itself
9165 1.1 mrg can be treated as either a class or a template. So GCC used to
9166 1.1 mrg accept the class name as argument of type template, and template
9167 1.1 mrg template parameter. However this is not C++ standard compliant. Now
9168 1.1 mrg the name is not treated as a valid template template argument
9169 1.1 mrg unless you qualify the name by its scope. For example, the code
9170 1.1 mrg below no longer compiles.
9171 1.1 mrg template <template <class> class TT> class X {};
9172 1.1 mrg template <class T> class Y {
9173 1.1 mrg X<Y> x; // Invalid, Y is always a type template parameter.
9174 1.1 mrg };
9175 1.1 mrg The valid code for the above example is
9176 1.1 mrg X< ::Y> x; // Valid.
9177 1.1 mrg (Notice the space between < and : to prevent GCC to interpret this
9178 1.1 mrg as a digraph for [.)
9179 1.1 mrg * Friend declarations that refer to template specializations are
9180 1.1 mrg rejected if the template has not already been declared. For
9181 1.1 mrg example,
9182 1.1 mrg template <typename T>
9183 1.1 mrg class C {
9184 1.1 mrg friend void f<> (C&);
9185 1.1 mrg };
9186 1.1 mrg is rejected. You must first declare f as a template,
9187 1.1 mrg template <typename T>
9188 1.1 mrg void f(T);
9189 1.1 mrg * In case of friend declarations, every name used in the friend
9190 1.1 mrg declaration must be accessible at the point of that declaration.
9191 1.1 mrg Previous versions of G++ used to be less strict about this and
9192 1.1 mrg allowed friend declarations for private class members, for example.
9193 1.1 mrg See the ISO C++ Standard Committee's [11]defect report #209 for
9194 1.1 mrg details.
9195 1.1 mrg * Declaration of member functions of class templates as friends are
9196 1.1 mrg supported. For example,
9197 1.1 mrg template <typename T> struct A {
9198 1.1 mrg void f();
9199 1.1 mrg };
9200 1.1 mrg class C {
9201 1.1 mrg template <typename T> friend void A<T>::f();
9202 1.1 mrg };
9203 1.1 mrg * You must use template <> to introduce template specializations, as
9204 1.1 mrg required by the standard. For example,
9205 1.1 mrg template <typename T>
9206 1.1 mrg struct S;
9207 1.1 mrg
9208 1.1 mrg struct S<int> { };
9209 1.1 mrg is rejected. You must write,
9210 1.1 mrg template <> struct S<int> {};
9211 1.1 mrg * G++ used to accept code like this,
9212 1.1 mrg struct S {
9213 1.1 mrg int h();
9214 1.1 mrg void f(int i = g());
9215 1.1 mrg int g(int i = h());
9216 1.1 mrg };
9217 1.1 mrg This behavior is not mandated by the standard. Now G++ issues an
9218 1.1 mrg error about this code. To avoid the error, you must move the
9219 1.1 mrg declaration of g before the declaration of f. The default arguments
9220 1.1 mrg for g must be visible at the point where it is called.
9221 1.1 mrg * The C++ ABI Section 3.3.3 specifications for the array construction
9222 1.1 mrg routines __cxa_vec_new2 and __cxa_vec_new3 were changed to return
9223 1.1 mrg NULL when the allocator argument returns NULL. These changes are
9224 1.1 mrg incorporated into the libstdc++ runtime library.
9225 1.1 mrg * Using a name introduced by a typedef in a friend declaration or in
9226 1.1 mrg an explicit instantiation is now rejected, as specified by the ISO
9227 1.1 mrg C++ standard.
9228 1.1 mrg class A;
9229 1.1 mrg typedef A B;
9230 1.1 mrg class C {
9231 1.1 mrg friend class B; // error, no typedef name here
9232 1.1 mrg friend B; // error, friend always needs class/struct/enum
9233 1.1 mrg friend class A; // OK
9234 1.1 mrg };
9235 1.1 mrg
9236 1.1 mrg template <int> class Q {};
9237 1.1 mrg typedef Q<0> R;
9238 1.1 mrg template class R; // error, no typedef name here
9239 1.1 mrg template class Q<0>; // OK
9240 1.1 mrg * When allocating an array with a new expression, GCC used to allow
9241 1.1 mrg parentheses around the type name. This is actually ill-formed and
9242 1.1 mrg it is now rejected:
9243 1.1 mrg int* a = new (int)[10]; // error, not accepted anymore
9244 1.1 mrg int* a = new int[10]; // OK
9245 1.1 mrg * When binding an rvalue of class type to a reference, the copy
9246 1.1 mrg constructor of the class must be accessible. For instance, consider
9247 1.1 mrg the following code:
9248 1.1 mrg class A
9249 1.1 mrg {
9250 1.1 mrg public:
9251 1.1 mrg A();
9252 1.1 mrg
9253 1.1 mrg private:
9254 1.1 mrg A(const A&); // private copy ctor
9255 1.1 mrg };
9256 1.1 mrg
9257 1.1 mrg A makeA(void);
9258 1.1 mrg void foo(const A&);
9259 1.1 mrg
9260 1.1 mrg void bar(void)
9261 1.1 mrg {
9262 1.1 mrg foo(A()); // error, copy ctor is not accessible
9263 1.1 mrg foo(makeA()); // error, copy ctor is not accessible
9264 1.1 mrg
9265 1.1 mrg A a1;
9266 1.1 mrg foo(a1); // OK, a1 is a lvalue
9267 1.1 mrg }
9268 1.1 mrg This might be surprising at first sight, especially since most
9269 1.1 mrg popular compilers do not correctly implement this rule ([12]further
9270 1.1 mrg details).
9271 1.1 mrg * When forming a pointer to member or a pointer to member function,
9272 1.1 mrg access checks for class visibility (public, protected, private) are
9273 1.1 mrg now performed using the qualifying scope of the name itself. This
9274 1.1 mrg is better explained with an example:
9275 1.1 mrg class A
9276 1.1 mrg {
9277 1.1 mrg public:
9278 1.1 mrg void pub_func();
9279 1.1 mrg protected:
9280 1.1 mrg void prot_func();
9281 1.1 mrg private:
9282 1.1 mrg void priv_func();
9283 1.1 mrg };
9284 1.1 mrg
9285 1.1 mrg class B : public A
9286 1.1 mrg {
9287 1.1 mrg public:
9288 1.1 mrg void foo()
9289 1.1 mrg {
9290 1.1 mrg &A::pub_func; // OK, pub_func is accessible through A
9291 1.1 mrg &A::prot_func; // error, cannot access prot_func through A
9292 1.1 mrg &A::priv_func; // error, cannot access priv_func through A
9293 1.1 mrg
9294 1.1 mrg &B::pub_func; // OK, pub_func is accessible through B
9295 1.1 mrg &B::prot_func; // OK, can access prot_func through B (within B)
9296 1.1 mrg &B::priv_func; // error, cannot access priv_func through B
9297 1.1 mrg }
9298 1.1 mrg };
9299 1.1 mrg
9300 1.1 mrg Runtime Library (libstdc++)
9301 1.1 mrg
9302 1.1 mrg * Optimization work:
9303 1.1 mrg + Streamlined streambuf, filebuf, separate synched with C
9304 1.1 mrg Standard I/O streambuf.
9305 1.1 mrg + All formatted I/O now uses cached locale information.
9306 1.1 mrg + STL optimizations (memory/speed for list, red-black trees as
9307 1.1 mrg used by sets and maps).
9308 1.1 mrg + More use of GCC builtins.
9309 1.1 mrg + String optimizations (avoid contention on
9310 1.1 mrg increment/decrement-and-test of the reference count in the
9311 1.1 mrg empty-string object, constructor from input_iterators
9312 1.1 mrg speedup).
9313 1.1 mrg * Static linkage size reductions.
9314 1.1 mrg * Large File Support (files larger than 2 GB on 32-bit systems).
9315 1.1 mrg * Wide character and variable encoding filebuf work (UTF-8, Unicode).
9316 1.1 mrg * Generic character traits.
9317 1.1 mrg * Also support wchar_t specializations on Mac OS 10.3.x, FreeBSD 5.x,
9318 1.1 mrg Solaris 2.7 and above, AIX 5.x, Irix 6.5.
9319 1.1 mrg * The allocator class is now standard-conformant, and two additional
9320 1.1 mrg extension allocators have been added, mt_alloc and
9321 1.1 mrg bitmap_allocator.
9322 1.1 mrg * PCH support: -include bits/stdc++.h (2x compile speedup).
9323 1.1 mrg * Rewrote __cxa_demangle with support for C++ style allocators.
9324 1.1 mrg * New debug modes for STL containers and iterators.
9325 1.1 mrg * Testsuite rewrite: five times as many tests, plus increasingly
9326 1.1 mrg sophisticated tests, including I/O, MT, multi-locale, wide and
9327 1.1 mrg narrow characters.
9328 1.1 mrg * Use current versions of GNU "autotools" for build/configuration.
9329 1.1 mrg
9330 1.1 mrg Objective-C
9331 1.1 mrg
9332 1.1 mrg * The Objective-C front end has been updated to include the numerous
9333 1.1 mrg bug fixes and enhancements previously available only in Apple's
9334 1.1 mrg version of GCC. These include:
9335 1.1 mrg + Structured exception (@try... @catch... @finally, @throw) and
9336 1.1 mrg synchronization (@synchronized) support. These are accessible
9337 1.1 mrg via the -fobjc-exceptions switch; as of this writing, they may
9338 1.1 mrg only be used in conjunction with -fnext-runtime on Mac OS X
9339 1.1 mrg 10.3 and later. See [13]Options Controlling Objective-C
9340 1.1 mrg Dialect for more information.
9341 1.1 mrg + An overhaul of @encode logic. The C99 _Bool and C++ bool type
9342 1.1 mrg may now be encoded as 'B'. In addition, the back-end/codegen
9343 1.1 mrg dependencies have been removed.
9344 1.1 mrg + An overhaul of message dispatch construction, ensuring that
9345 1.1 mrg the various receiver types (and casts thereof) are handled
9346 1.1 mrg properly, and that correct diagnostics are issued.
9347 1.1 mrg + Support for "Zero-Link" (-fzero-link) and "Fix-and-Continue"
9348 1.1 mrg (-freplace-objc-classes) debugging modes, currently available
9349 1.1 mrg on Mac OS X 10.3 and later. See [14]Options Controlling
9350 1.1 mrg Objective-C Dialect for more information.
9351 1.1 mrg + Access to optimized runtime entry points (-fno-nil-receivers )
9352 1.1 mrg on the assumption that message receivers are never nil. This
9353 1.1 mrg is currently available on Mac OS X 10.3 and later. See
9354 1.1 mrg [15]Options Controlling Objective-C Dialect for more
9355 1.1 mrg information.
9356 1.1 mrg
9357 1.1 mrg Java
9358 1.1 mrg
9359 1.1 mrg * Compiling a .jar file will now cause non-.class entries to be
9360 1.1 mrg automatically compiled as resources.
9361 1.1 mrg * libgcj has been ported to Darwin.
9362 1.1 mrg * Jeff Sturm has adapted Jan Hubicka's call graph optimization code
9363 1.1 mrg to gcj.
9364 1.1 mrg * libgcj has a new gcjlib URL type; this lets URLClassLoader load
9365 1.1 mrg code from shared libraries.
9366 1.1 mrg * libgcj has been much more completely merged with [16]GNU Classpath.
9367 1.1 mrg * Class loading is now much more correct; in particular the caller's
9368 1.1 mrg class loader is now used when that is required.
9369 1.1 mrg * [17]Eclipse 2.x will run out of the box using gij.
9370 1.1 mrg * Parts of java.nio have been implemented. Direct and indirect
9371 1.1 mrg buffers work, as do fundamental file and socket operations.
9372 1.1 mrg * java.awt has been improved, though it is still not ready for
9373 1.1 mrg general use.
9374 1.1 mrg * The HTTP protocol handler now uses HTTP/1.1 and can handle the POST
9375 1.1 mrg method.
9376 1.1 mrg * The MinGW port has matured. Enhancements include socket timeout
9377 1.1 mrg support, thread interruption, improved Runtime.exec() handling and
9378 1.1 mrg support for accented characters in filenames.
9379 1.1 mrg
9380 1.1 mrg Fortran
9381 1.1 mrg
9382 1.1 mrg * Fortran improvements are listed in the [18]Fortran documentation.
9383 1.1 mrg
9384 1.1 mrg New Targets and Target Specific Improvements
9385 1.1 mrg
9386 1.1 mrg Alpha
9387 1.1 mrg
9388 1.1 mrg * Several [19]built-in functions have been added such as
9389 1.1 mrg __builtin_alpha_zap to allow utilizing the more obscure
9390 1.1 mrg instructions of the CPU.
9391 1.1 mrg * Parameter passing of complex arguments has changed to match the
9392 1.7 mrg ABI. This change is incompatible with previous GCC versions, but
9393 1.7 mrg does fix compatibility with the Tru64 compiler and several corner
9394 1.7 mrg cases where GCC was incompatible with itself.
9395 1.1 mrg
9396 1.1 mrg ARM
9397 1.1 mrg
9398 1.1 mrg * Nicolas Pitre has contributed his hand-coded floating-point support
9399 1.1 mrg code for ARM. It is both significantly smaller and faster than the
9400 1.1 mrg existing C-based implementation, even when building applications
9401 1.1 mrg for Thumb. The arm-elf configuration has been converted to use the
9402 1.1 mrg new code.
9403 1.1 mrg * Support for the Intel's iWMMXt architecture, a second generation
9404 1.1 mrg XScale processor, has been added. Enabled at run time with the
9405 1.1 mrg -mcpu=iwmmxt command line switch.
9406 1.1 mrg * A new ARM target has been added: arm-wince-pe. This is similar to
9407 1.1 mrg the arm-pe target, but it defaults to using the APCS32 ABI.
9408 1.1 mrg * The existing ARM pipeline description has been converted to the use
9409 1.7 mrg the [20]DFA processor pipeline model. There is not much change in
9410 1.7 mrg code performance, but the description is now [21]easier to
9411 1.1 mrg understand.
9412 1.1 mrg * Support for the Cirrus EP9312 Maverick floating point co-processor
9413 1.1 mrg added. Enabled at run time with the -mcpu=ep9312 command line
9414 1.1 mrg switch. Note however that the multilibs to support this chip are
9415 1.1 mrg currently disabled in gcc/config/arm/t-arm-elf, so if you want to
9416 1.1 mrg enable their production you will have to uncomment the entries in
9417 1.1 mrg that file.
9418 1.1 mrg
9419 1.1 mrg H8/300
9420 1.1 mrg
9421 1.1 mrg * Support for long long has been added.
9422 1.1 mrg * Support for saveall attribute has been added.
9423 1.1 mrg * Pavel Pisa contributed hand-written 32-bit-by-32-bit division code
9424 1.1 mrg for H8/300H and H8S, which is much faster than the previous
9425 1.1 mrg implementation.
9426 1.1 mrg * A lot of small performance improvements.
9427 1.1 mrg
9428 1.1 mrg IA-32/AMD64 (x86-64)
9429 1.1 mrg
9430 1.1 mrg * Tuning for K8 (AMD Opteron/Athlon64) core is available via
9431 1.1 mrg -march=k8 and -mcpu=k8.
9432 1.1 mrg * Scalar SSE code generation carefully avoids reformatting penalties,
9433 1.1 mrg hidden dependencies and minimizes the number of uops generated on
9434 1.1 mrg both Intel and AMD CPUs.
9435 1.1 mrg * Vector MMX and SSE operands are now passed in registers to improve
9436 1.1 mrg performance and match the argument passing convention used by the
9437 1.1 mrg Intel C++ Compiler. As a result it is not possible to call
9438 1.1 mrg functions accepting vector arguments compiled by older GCC version.
9439 1.1 mrg * Conditional jump elimination is now more aggressive on modern CPUs.
9440 1.1 mrg * The Athlon ports has been converted to use the DFA processor
9441 1.1 mrg pipeline description.
9442 1.1 mrg * Optimization of indirect tail calls is now possible in a similar
9443 1.1 mrg fashion as direct sibcall optimization.
9444 1.1 mrg * Further small performance improvements.
9445 1.1 mrg * -m128bit-long-double is now less buggy.
9446 1.1 mrg * __float128 support in 64-bit compilation.
9447 1.1 mrg * Support for data structures exceeding 2GB in 64-bit mode.
9448 1.1 mrg * -mcpu has been renamed to -mtune.
9449 1.1 mrg
9450 1.1 mrg IA-64
9451 1.1 mrg
9452 1.1 mrg * Tuning code for the Itanium 2 processor has been added. The
9453 1.1 mrg generation of code tuned for Itanium 2 (option -mtune=itanium2) is
9454 1.1 mrg enabled by default now. To generate code tuned for Itanium 1 the
9455 1.1 mrg option -mtune=itanium1 should be used.
9456 1.7 mrg * [22]DFA processor pipeline descriptions for the IA-64 processors
9457 1.1 mrg have been added. This resulted in about 3% improvement on the
9458 1.1 mrg SPECInt2000 benchmark for Itanium 2.
9459 1.1 mrg * Instruction bundling for the IA-64 processors has been rewritten
9460 1.1 mrg using the DFA pipeline hazard recognizer. It resulted in about 60%
9461 1.1 mrg compiler speedup on the SPECInt2000 C programs.
9462 1.1 mrg
9463 1.1 mrg M32R
9464 1.1 mrg
9465 1.1 mrg * Support for the M32R/2 processor has been added by Renesas.
9466 1.3 skrll * Support for an M32R GNU/Linux target and PIC code generation has
9467 1.3 skrll been added by Renesas.
9468 1.1 mrg
9469 1.1 mrg M68000
9470 1.1 mrg
9471 1.1 mrg * Bernardo Innocenti (Develer S.r.l.) has contributed the
9472 1.1 mrg m68k-uclinux target, based on former work done by Paul Dale
9473 1.1 mrg (SnapGear Inc.). Code generation for the ColdFire processors family
9474 1.1 mrg has been enhanced and extended to support the MCF 53xx and MCF 54xx
9475 1.1 mrg cores, integrating former work done by Peter Barada (Motorola).
9476 1.1 mrg
9477 1.1 mrg MIPS
9478 1.1 mrg
9479 1.1 mrg Processor-specific changes
9480 1.1 mrg
9481 1.1 mrg * Support for the RM7000 and RM9000 processors has been added. It can
9482 1.1 mrg be selected using the -march compiler option and should work with
9483 1.1 mrg any MIPS I (mips-*) or MIPS III (mips64-*) configuration.
9484 1.1 mrg * Support for revision 2 of the MIPS32 ISA has been added. It can be
9485 1.1 mrg selected with the command-line option -march=mips32r2.
9486 1.1 mrg * There is a new option, -mfix-sb1, to work around certain SB-1
9487 1.1 mrg errata.
9488 1.1 mrg
9489 1.1 mrg Configuration
9490 1.1 mrg
9491 1.1 mrg * It is possible to customize GCC using the following configure-time
9492 1.1 mrg options:
9493 1.1 mrg + --with-arch, which specifies the default value of the -march
9494 1.1 mrg option.
9495 1.1 mrg + --with-tune, which specifies the default value of the -mtune
9496 1.1 mrg option.
9497 1.1 mrg + --with-abi, which specifies the default ABI.
9498 1.1 mrg + --with-float=soft, which tells GCC to use software floating
9499 1.1 mrg point by default.
9500 1.1 mrg + --with-float=hard, which tells GCC to use hardware floating
9501 1.1 mrg point by default.
9502 1.1 mrg * A 64-bit GNU/Linux port has been added. The associated
9503 1.1 mrg configurations are mips64-linux-gnu and mips64el-linux-gnu.
9504 1.1 mrg * The 32-bit GNU/Linux port now supports Java.
9505 1.1 mrg * The IRIX 6 configuration now supports the o32 ABI and will build
9506 1.1 mrg o32 multilibs by default. This support is compatible with both
9507 1.1 mrg binutils and the SGI tools, but note that several features,
9508 1.1 mrg including debugging information and DWARF2 exception handling, are
9509 1.1 mrg only available when using the GNU assembler. Use of the GNU
9510 1.1 mrg assembler and linker (version 2.15 or above) is strongly
9511 1.1 mrg recommended.
9512 1.1 mrg * The IRIX 6 configuration now supports 128-bit long doubles.
9513 1.1 mrg * There are two new RTEMS-specific configurations, mips-rtems and
9514 1.1 mrg mipsel-rtems.
9515 1.1 mrg * There are two new *-elf configurations, mipsisa32r2-elf and
9516 1.1 mrg mipsisa32r2el-elf.
9517 1.1 mrg
9518 1.1 mrg General
9519 1.1 mrg
9520 1.7 mrg * Several [23]ABI bugs have been fixed. Unfortunately, these changes
9521 1.1 mrg will break binary compatibility with earlier releases.
9522 1.1 mrg * GCC can now use explicit relocation operators when generating
9523 1.1 mrg -mabicalls code. This behavior is controlled by -mexplicit-relocs
9524 1.1 mrg and can have several performance benefits. For example:
9525 1.1 mrg + It allows for more optimization of GOT accesses, including
9526 1.1 mrg better scheduling and redundancy elimination.
9527 1.1 mrg + It allows sibling calls to be implemented as jumps.
9528 1.1 mrg + n32 and n64 leaf functions can use a call-clobbered global
9529 1.1 mrg pointer instead of $28.
9530 1.1 mrg + The code to set up $gp can be removed from functions that
9531 1.1 mrg don't need it.
9532 1.1 mrg * A new option, -mxgot, allows the GOT to be bigger than 64k. This
9533 1.1 mrg option is equivalent to the assembler's -xgot option and should be
9534 1.1 mrg used instead of -Wa,-xgot.
9535 1.1 mrg * Frame pointer elimination is now supported when generating 64-bit
9536 1.1 mrg MIPS16 code.
9537 1.1 mrg * Inline block moves have been optimized to take more account of
9538 1.1 mrg alignment information.
9539 1.1 mrg * Many internal changes have been made to the MIPS port, mostly aimed
9540 1.1 mrg at reducing the reliance on assembler macros.
9541 1.1 mrg
9542 1.1 mrg PowerPC
9543 1.1 mrg
9544 1.1 mrg * GCC 3.4 releases have a number of fixes for PowerPC and PowerPC64
9545 1.7 mrg [24]ABI incompatibilities regarding the way parameters are passed
9546 1.1 mrg during functions calls. These changes may result in incompatibility
9547 1.1 mrg between code compiled with GCC 3.3 and GCC 3.4.
9548 1.1 mrg
9549 1.1 mrg PowerPC Darwin
9550 1.1 mrg
9551 1.1 mrg * Support for shared/dylib gcc libraries has been added. It is
9552 1.1 mrg enabled by default on powerpc-apple-darwin7.0.0 and up.
9553 1.1 mrg * Libgcj is enabled by default. On systems older than
9554 1.1 mrg powerpc-apple-darwin7.0.0 you need to install dlcompat.
9555 1.1 mrg * 128-bit IBM extended precision format support added for long
9556 1.1 mrg double.
9557 1.1 mrg
9558 1.1 mrg PowerPC64 GNU/Linux
9559 1.1 mrg
9560 1.1 mrg * By default, PowerPC64 GNU/Linux now uses natural alignment of
9561 1.1 mrg structure elements. The old four byte alignment for double, with
9562 1.1 mrg special rules for a struct starting with a double, can be chosen
9563 1.1 mrg with -malign-power. This change may result in incompatibility
9564 1.1 mrg between code compiled with GCC 3.3 and GCC 3.4.
9565 1.1 mrg * -mabi=altivec is now the default rather than -mabi=no-altivec.
9566 1.1 mrg * 128-bit IBM extended precision format support added for long
9567 1.1 mrg double.
9568 1.1 mrg
9569 1.1 mrg S/390 and zSeries
9570 1.1 mrg
9571 1.1 mrg * New command-line options allow to specify the intended execution
9572 1.1 mrg environment for generated code:
9573 1.1 mrg + -mesa/-mzarch allows to specify whether to generate code
9574 1.1 mrg running in ESA/390 mode or in z/Architecture mode (this is
9575 1.1 mrg applicable to 31-bit code only).
9576 1.1 mrg + -march allows to specify a minimum processor architecture
9577 1.1 mrg level (g5, g6, z900, or z990).
9578 1.1 mrg + -mtune allows to specify which processor to tune for.
9579 1.1 mrg * It is possible to customize GCC using the following configure-time
9580 1.1 mrg options:
9581 1.1 mrg + --with-mode, which specifies whether to default to assuming
9582 1.1 mrg ESA/390 or z/Architecture mode.
9583 1.1 mrg + --with-arch, which specifies the default value of the -march
9584 1.1 mrg option.
9585 1.1 mrg + --with-tune, which specifies the default value of the -mtune
9586 1.1 mrg option.
9587 1.1 mrg * Support for the z990 processor has been added, and can be selected
9588 1.1 mrg using -march=z990 or -mtune=z990. This includes instruction
9589 1.1 mrg scheduling tuned for the superscalar instruction pipeline of the
9590 1.1 mrg z990 processor as well as support for all new instructions provided
9591 1.1 mrg by the long-displacement facility.
9592 1.1 mrg * Support to generate 31-bit code optimized for zSeries processors
9593 1.1 mrg (running in ESA/390 or in z/Architecture mode) has been added. This
9594 1.1 mrg can be selected using -march=z900 and -mzarch respectively.
9595 1.1 mrg * Instruction scheduling for the z900 and z990 processors now uses
9596 1.1 mrg the DFA pipeline hazard recognizer.
9597 1.1 mrg * GCC no longer generates code to maintain a stack backchain,
9598 1.1 mrg previously used to generate stack backtraces for debugging
9599 1.1 mrg purposes. As replacement that does not incur runtime overhead,
9600 1.1 mrg DWARF-2 call frame information is provided by GCC; this is
9601 1.1 mrg supported by GDB 6.1. The old behavior can be restored using the
9602 1.1 mrg -mbackchain option.
9603 1.1 mrg * The stack frame size of functions may now exceed 2 GB in 64-bit
9604 1.1 mrg code.
9605 1.1 mrg * A port for the 64-bit IBM TPF operating system has been added; the
9606 1.1 mrg configuration is s390x-ibm-tpf. This configuration is supported as
9607 1.1 mrg cross-compilation target only.
9608 1.1 mrg * Various changes to improve the generated code have been
9609 1.1 mrg implemented, including:
9610 1.1 mrg + GCC now uses the MULTIPLY AND ADD and MULTIPLY AND SUBTRACT
9611 1.1 mrg instructions to significantly speed up many floating-point
9612 1.1 mrg applications.
9613 1.1 mrg + GCC now uses the ADD LOGICAL WITH CARRY and SUBTRACT LOGICAL
9614 1.1 mrg WITH BORROW instructions to speed up long long arithmetic.
9615 1.1 mrg + GCC now uses the SEARCH STRING instruction to implement
9616 1.1 mrg strlen().
9617 1.1 mrg + In many cases, function call overhead for 31-bit code has been
9618 1.1 mrg reduced by placing the literal pool after the function code
9619 1.1 mrg instead of after the function prolog.
9620 1.1 mrg + Register 14 is no longer reserved in 64-bit code.
9621 1.1 mrg + Handling of global register variables has been improved.
9622 1.1 mrg
9623 1.1 mrg SPARC
9624 1.1 mrg
9625 1.1 mrg * The option -mflat is deprecated.
9626 1.1 mrg * Support for large (> 2GB) frames has been added to the 64-bit port.
9627 1.7 mrg * Several [25]ABI bugs have been fixed. Unfortunately, these changes
9628 1.1 mrg will break binary compatibility with earlier releases.
9629 1.1 mrg * The default debugging format has been switched from STABS to
9630 1.1 mrg DWARF-2 for 32-bit code on Solaris 7 and later. DWARF-2 is already
9631 1.1 mrg the default debugging format for 64-bit code on Solaris.
9632 1.1 mrg
9633 1.1 mrg SuperH
9634 1.1 mrg
9635 1.1 mrg * Support for the SH2E processor has been added. Enabled at run time
9636 1.1 mrg with the -m2e command line switch, or at configure time by
9637 1.1 mrg specifying sh2e as the machine part of the target triple.
9638 1.1 mrg
9639 1.1 mrg V850
9640 1.1 mrg
9641 1.1 mrg * Support for the Mitsubishi V850E1 processor has been added. This is
9642 1.1 mrg a variant of the V850E processor with some additional debugging
9643 1.1 mrg instructions.
9644 1.1 mrg
9645 1.1 mrg Xtensa
9646 1.1 mrg
9647 1.1 mrg * Several ABI bugs have been fixed. Unfortunately, these changes
9648 1.1 mrg break binary compatibility with earlier releases.
9649 1.1 mrg + For big-endian processors, the padding of aggregate return
9650 1.1 mrg values larger than a word has changed. If the size of an
9651 1.1 mrg aggregate return value is not a multiple of 32 bits, previous
9652 1.1 mrg versions of GCC inserted padding in the most-significant bytes
9653 1.1 mrg of the first return value register. Aggregates larger than a
9654 1.1 mrg word are now padded in the least-significant bytes of the last
9655 1.1 mrg return value register used. Aggregates smaller than a word are
9656 1.1 mrg still padded in the most-significant bytes. The return value
9657 1.1 mrg padding has not changed for little-endian processors.
9658 1.1 mrg + Function arguments with 16-byte alignment are now properly
9659 1.1 mrg aligned.
9660 1.1 mrg + The implementation of the va_list type has changed. A va_list
9661 1.1 mrg value created by va_start from a previous release cannot be
9662 1.1 mrg used with va_arg from this release, or vice versa.
9663 1.1 mrg * More processor configuration options for Xtensa processors are
9664 1.1 mrg supported:
9665 1.1 mrg + the ABS instruction is now optional;
9666 1.1 mrg + the ADDX* and SUBX* instructions are now optional;
9667 1.1 mrg + an experimental CONST16 instruction can be used to synthesize
9668 1.1 mrg constants instead of loading them from constant pools.
9669 1.1 mrg These and other Xtensa processor configuration options can no
9670 1.1 mrg longer be enabled or disabled by command-line options; the
9671 1.1 mrg processor configuration must be specified by the xtensa-config.h
9672 1.1 mrg header file when building GCC. Additionally, the
9673 1.1 mrg -mno-serialize-volatile option is no longer supported.
9674 1.1 mrg
9675 1.1 mrg Obsolete Systems
9676 1.1 mrg
9677 1.1 mrg Support for a number of older systems has been declared obsolete in GCC
9678 1.1 mrg 3.4. Unless there is activity to revive them, the next release of GCC
9679 1.1 mrg will have their sources permanently removed.
9680 1.1 mrg
9681 1.1 mrg All configurations of the following processor architectures have been
9682 1.1 mrg declared obsolete:
9683 1.1 mrg * Mitsubishi D30V, d30v-*
9684 1.1 mrg * AT&T DSP1600 and DSP1610, dsp16xx-*
9685 1.1 mrg * Intel 80960, i960
9686 1.1 mrg
9687 1.1 mrg Also, some individual systems have been obsoleted:
9688 1.1 mrg * ARM Family
9689 1.1 mrg + Support for generating code for operation in APCS/26 mode
9690 1.1 mrg (-mapcs-26).
9691 1.1 mrg * IBM ESA/390
9692 1.1 mrg + "Bigfoot" port, i370-*. (The other port, s390-*, is actively
9693 1.1 mrg maintained and supported.)
9694 1.1 mrg * Intel 386 family
9695 1.1 mrg + MOSS, i?86-moss-msdos and i?86-*-moss*
9696 1.1 mrg + NCR 3000 running System V r.4, i?86-ncr-sysv4*
9697 1.1 mrg + FreeBSD with a.out object format, i?86-*-freebsd*aout* and
9698 1.1 mrg i?86-*-freebsd2*
9699 1.1 mrg + GNU/Linux with a.out object format, i?86-linux*aout*
9700 1.1 mrg + GNU/Linux with libc5, a.k.a. glibc1, i?86-linux*libc1*
9701 1.1 mrg + Interix versions before Interix 3, i?86-*-interix
9702 1.1 mrg + Mach microkernel, i?86-mach*
9703 1.1 mrg + SCO UnixWare with UDK, i?86-*-udk*
9704 1.1 mrg + Generic System V releases 1, 2, and 3, i?86-*-sysv[123]*
9705 1.1 mrg + VSTa microkernel, i386-*-vsta
9706 1.1 mrg * Motorola M68000 family
9707 1.1 mrg + HPUX, m68k-hp-hpux* and m68000-hp-hpux*
9708 1.1 mrg + NetBSD with a.out object format (before NetBSD 1.4),
9709 1.1 mrg m68k-*-*-netbsd* except m68k-*-*-netbsdelf*
9710 1.1 mrg + Generic System V r.4, m68k-*-sysv4*
9711 1.1 mrg * VAX
9712 1.1 mrg + Generic VAX, vax-*-* (This is generic VAX only; we have not
9713 1.1 mrg obsoleted any VAX triples for specific operating systems.)
9714 1.1 mrg
9715 1.1 mrg Documentation improvements
9716 1.1 mrg
9717 1.1 mrg Other significant improvements
9718 1.1 mrg
9719 1.1 mrg * The build system has undergone several significant cleanups.
9720 1.1 mrg Subdirectories will only be configured if they are being built, and
9721 1.1 mrg all subdirectory configures are run from the make command. The top
9722 1.1 mrg level has been autoconfiscated.
9723 1.1 mrg * Building GCC no longer writes to its source directory. This should
9724 1.1 mrg help those wishing to share a read-only source directory over NFS
9725 1.1 mrg or build from a CD. The exceptions to this feature are if you
9726 1.1 mrg configure with either --enable-maintainer-mode or
9727 1.1 mrg --enable-generated-files-in-srcdir.
9728 1.1 mrg * The -W warning option has been renamed to -Wextra, which is more
9729 1.1 mrg easily understood. The older spelling will be retained for
9730 1.1 mrg backwards compatibility.
9731 1.1 mrg * Substantial improvements in compile time have been made,
9732 1.1 mrg particularly for non-optimizing compilations.
9733 1.1 mrg __________________________________________________________________
9734 1.1 mrg
9735 1.1 mrg GCC 3.4.0
9736 1.1 mrg
9737 1.1 mrg Bug Fixes
9738 1.1 mrg
9739 1.1 mrg A vast number of bugs have been fixed in 3.4.0, too many to publish a
9740 1.7 mrg complete list here. [26]Follow this link to query the Bugzilla database
9741 1.1 mrg for the list of over 900 bugs fixed in 3.4.0. This is the list of all
9742 1.1 mrg bugs marked as resolved and fixed in 3.4.0 that are not flagged as 3.4
9743 1.1 mrg regressions.
9744 1.1 mrg __________________________________________________________________
9745 1.1 mrg
9746 1.1 mrg GCC 3.4.1
9747 1.1 mrg
9748 1.1 mrg Bug Fixes
9749 1.1 mrg
9750 1.1 mrg This section lists the problem reports (PRs) from GCC's bug tracking
9751 1.1 mrg system that are known to be fixed in the 3.4.1 release. This list might
9752 1.1 mrg not be complete (that is, it is possible that some PRs that have been
9753 1.1 mrg fixed are not listed here).
9754 1.1 mrg
9755 1.1 mrg Bootstrap failures
9756 1.1 mrg
9757 1.7 mrg * [27]10129 Ada bootstrap fails on PPC-Darwin - invalid assembler
9758 1.1 mrg emitted - PIC related
9759 1.7 mrg * [28]14576 [ARM] ICE in libiberty when building gcc-3.4 for arm-elf
9760 1.7 mrg * [29]14760 A bug in configure.in prevents using both
9761 1.1 mrg --program-suffix and --program-prefix
9762 1.7 mrg * [30]14671 [hppa64] bootstrap fails: ICE in
9763 1.1 mrg save_call_clobbered_regs, in caller_save.c
9764 1.7 mrg * [31]15093 [alpha][Java] make bootstrap fails to configure libffi on
9765 1.1 mrg Alpha
9766 1.7 mrg * [32]15178 Solaris 9/x86 fails linking after stage 3
9767 1.1 mrg
9768 1.1 mrg Multi-platform internal compiler errors (ICEs)
9769 1.1 mrg
9770 1.7 mrg * [33]12753 (preprocessor) Memory corruption in preprocessor on bad
9771 1.1 mrg input
9772 1.7 mrg * [34]13985 ICE in gcc.c-torture/compile/930621-1.c
9773 1.7 mrg * [35]14810 (c++) tree check failures with invalid code involving
9774 1.1 mrg templates
9775 1.7 mrg * [36]14883 (c++) ICE on invalid code, in cp_parser_lookup_name, in
9776 1.1 mrg cp/parser.c
9777 1.7 mrg * [37]15044 (c++) ICE on syntax error, template header
9778 1.7 mrg * [38]15057 (c++) Compiling of conditional value throw constructs
9779 1.1 mrg cause a segmentation violation
9780 1.7 mrg * [39]15064 (c++) typeid of template parameter gives ICE
9781 1.7 mrg * [40]15142 (c++) ICE when passing a string where a char* is expected
9782 1.1 mrg in a throw statement
9783 1.7 mrg * [41]15159 ICE in rtl_verify_flow_info_1
9784 1.7 mrg * [42]15165 (c++) ICE in instantiate_template
9785 1.7 mrg * [43]15193 Unary minus using pointer to V4SF vector causes
9786 1.1 mrg -fforce-mem to exhaust all memory
9787 1.7 mrg * [44]15209 (c++) Runs out of memory with packed structs
9788 1.7 mrg * [45]15227 (c++) Trouble with invalid function definition
9789 1.7 mrg * [46]15285 (c++) instantiate_type ICE when forming pointer to
9790 1.1 mrg template function
9791 1.7 mrg * [47]15299 (c++) ICE in resolve_overloaded_unification
9792 1.7 mrg * [48]15329 (c++) ICE on constructor of member template
9793 1.7 mrg * [49]15550 ICE in extract_insn, in recog.c
9794 1.7 mrg * [50]15554 (c++) ICE in tsubst_copy, in cp/pt.c
9795 1.7 mrg * [51]15640 (c++) ICE on invalid code in arg_assoc, in
9796 1.1 mrg cp/name-lookup.c
9797 1.7 mrg * [52]15666 [unit-at-a-time] Gcc abort on valid code
9798 1.7 mrg * [53]15696 (c++) ICE with bad pointer-to-member code
9799 1.7 mrg * [54]15701 (c++) ICE with friends and template template parameter
9800 1.7 mrg * [55]15761 ICE in do_SUBST, in combine.c
9801 1.7 mrg * [56]15829 (c++) ICE on Botan-1.3.13 due to -funroll-loops
9802 1.1 mrg
9803 1.1 mrg Ada
9804 1.1 mrg
9805 1.7 mrg * [57]14538 All RTEMS targets broken for gnat
9806 1.1 mrg
9807 1.1 mrg C front end
9808 1.1 mrg
9809 1.7 mrg * [58]12391 missing warning about assigning to an incomplete type
9810 1.7 mrg * [59]14649 atan(1.0) should not be a constant expression
9811 1.7 mrg * [60]15004 [unit-at-a-time] no warning for unused paramater in
9812 1.1 mrg static function
9813 1.7 mrg * [61]15749 --pedantic-errors behaves differently from --pedantic
9814 1.1 mrg with C-compiler on GNU/Linux
9815 1.1 mrg
9816 1.1 mrg C++ compiler and library
9817 1.1 mrg
9818 1.7 mrg * [62]10646 non-const reference is incorrectly matched in a "const T"
9819 1.1 mrg partial specialization
9820 1.7 mrg * [63]12077 wcin.rdbuf()->in_avail() return value too high
9821 1.7 mrg * [64]13598 enc_filebuf doesn't work
9822 1.7 mrg * [65]14211 const_cast returns lvalue but should be rvalue
9823 1.7 mrg * [66]14220 num_put::do_put() undesired float/double behavior
9824 1.7 mrg * [67]14245 problem with user-defined allocators in std::basic_string
9825 1.7 mrg * [68]14340 libstdc++ Debug mode: failure to convert iterator to
9826 1.1 mrg const_iterator
9827 1.7 mrg * [69]14600 __gnu_cxx::stdio_sync_filebuf should expose internal
9828 1.1 mrg FILE*
9829 1.7 mrg * [70]14668 no warning anymore for reevaluation of declaration
9830 1.7 mrg * [71]14775 LFS (large file support) tests missing
9831 1.7 mrg * [72]14821 Duplicate namespace alias declaration should not conflict
9832 1.7 mrg * [73]14930 Friend declaration ignored
9833 1.7 mrg * [74]14932 cannot use offsetof to get offsets of array elements in
9834 1.1 mrg g++ 3.4.0
9835 1.7 mrg * [75]14950 [non unit-at-a-time] always_inline does not mix with
9836 1.1 mrg templates and -O0
9837 1.7 mrg * [76]14962 g++ ignores #pragma redefine_extname
9838 1.7 mrg * [77]14975 Segfault on low-level write error during imbue
9839 1.7 mrg * [78]15002 Linewise stream input is unusably slow (std::string slow)
9840 1.7 mrg * [79]15025 compiler accepts redeclaration of template as
9841 1.1 mrg non-template
9842 1.7 mrg * [80]15046 [arm] Math functions misdetected by cross configuration
9843 1.7 mrg * [81]15069 a bit test on a variable of enum type is miscompiled
9844 1.7 mrg * [82]15074 g++ -lsupc++ still links against libstdc++
9845 1.7 mrg * [83]15083 spurious "statement has no effect" warning
9846 1.7 mrg * [84]15096 parse error with templates and pointer to const member
9847 1.7 mrg * [85]15287 combination of operator[] and operator .* fails in
9848 1.1 mrg templates
9849 1.7 mrg * [86]15317 __attribute__ unused in first parameter of constructor
9850 1.1 mrg gives error
9851 1.7 mrg * [87]15337 sizeof on incomplete type diagnostic
9852 1.7 mrg * [88]15361 bitset<>::_Find_next fails
9853 1.7 mrg * [89]15412 _GLIBCXX_ symbols symbols defined and used in different
9854 1.1 mrg namespaces
9855 1.7 mrg * [90]15427 valid code results in incomplete type error
9856 1.7 mrg * [91]15471 Incorrect member pointer offsets in anonymous
9857 1.1 mrg structs/unions
9858 1.7 mrg * [92]15503 nested template problem
9859 1.7 mrg * [93]15507 compiler hangs while laying out union
9860 1.7 mrg * [94]15542 operator & and template definitions
9861 1.7 mrg * [95]15565 SLES9: leading + sign for unsigned int with showpos
9862 1.7 mrg * [96]15625 friend defined inside a template fails to find static
9863 1.1 mrg function
9864 1.7 mrg * [97]15629 Function templates, overloads, and friend name injection
9865 1.7 mrg * [98]15742 'noreturn' attribute ignored in method of template
9866 1.1 mrg functions.
9867 1.7 mrg * [99]15775 Allocator::pointer consistently ignored
9868 1.7 mrg * [100]15821 Duplicate namespace alias within namespace rejected
9869 1.7 mrg * [101]15862 'enum yn' fails (confict with undeclared builtin)
9870 1.7 mrg * [102]15875 rejects pointer to member in template
9871 1.7 mrg * [103]15877 valid code using templates and anonymous enums is
9872 1.1 mrg rejected
9873 1.7 mrg * [104]15947 Puzzling error message for wrong destructor declaration
9874 1.1 mrg in template class
9875 1.7 mrg * [105]16020 cannot copy __gnu_debug::bitset
9876 1.7 mrg * [106]16154 input iterator concept too restrictive
9877 1.7 mrg * [107]16174 deducing top-level consts
9878 1.1 mrg
9879 1.1 mrg Java
9880 1.1 mrg
9881 1.7 mrg * [108]14315 Java compiler is not parallel make safe
9882 1.1 mrg
9883 1.1 mrg Fortran
9884 1.1 mrg
9885 1.7 mrg * [109]15151 [g77] incorrect logical i/o in 64-bit mode
9886 1.1 mrg
9887 1.1 mrg Objective-C
9888 1.1 mrg
9889 1.7 mrg * [110]7993 private variables cannot be shadowed in subclasses
9890 1.1 mrg
9891 1.1 mrg Optimization bugs
9892 1.1 mrg
9893 1.7 mrg * [111]15228 useless copies of floating point operands
9894 1.7 mrg * [112]15345 [non-unit-at-a-time] unreferenced nested inline
9895 1.1 mrg functions not optimized away
9896 1.7 mrg * [113]15945 Incorrect floating point optimization
9897 1.7 mrg * [114]15526 ftrapv aborts on 0 * (-1)
9898 1.7 mrg * [115]14690 Miscompiled POOMA tests
9899 1.7 mrg * [116]15112 GCC generates code to write to unchanging memory
9900 1.1 mrg
9901 1.1 mrg Preprocessor
9902 1.1 mrg
9903 1.7 mrg * [117]15067 Minor glitch in the source of cpp
9904 1.1 mrg
9905 1.1 mrg Main driver program bugs
9906 1.1 mrg
9907 1.7 mrg * [118]1963 collect2 interprets -oldstyle_liblookup as -o
9908 1.1 mrg ldstyle_liblookup
9909 1.1 mrg
9910 1.1 mrg x86-specific (Intel/AMD)
9911 1.1 mrg
9912 1.7 mrg * [119]15717 Error: can't resolve `L0' {*ABS* section} - `xx' {*UND*
9913 1.1 mrg section}
9914 1.1 mrg
9915 1.1 mrg HPPA-specific
9916 1.1 mrg
9917 1.7 mrg * [120]14782 GCC produces an unaligned data access at -O2
9918 1.7 mrg * [121]14828 FAIL: gcc.c-torture/execute/20030408-1.c execution, -O2
9919 1.7 mrg * [122]15202 ICE in reload_cse_simplify_operands, in postreload.c
9920 1.1 mrg
9921 1.1 mrg IA64-specific
9922 1.1 mrg
9923 1.7 mrg * [123]14610 __float80 constants incorrectly emitted
9924 1.7 mrg * [124]14813 init_array sections are initialized in the wrong order
9925 1.7 mrg * [125]14857 GCC segfault on duplicated asm statement
9926 1.7 mrg * [126]15598 Gcc 3.4 ICE on valid code
9927 1.7 mrg * [127]15653 Gcc 3.4 ICE on valid code
9928 1.1 mrg
9929 1.1 mrg MIPS-specific
9930 1.1 mrg
9931 1.7 mrg * [128]15189 wrong filling of delay slot with -march=mips1 -G0
9932 1.1 mrg -mno-split-addresses -mno-explicit-relocs
9933 1.7 mrg * [129]15331 Assembler error building gnatlib on IRIX 6.5 with GNU as
9934 1.1 mrg 2.14.91
9935 1.7 mrg * [130]16144 Bogus reference to __divdf3 when -O1
9936 1.7 mrg * [131]16176 Miscompilation of unaligned data in MIPS backend
9937 1.1 mrg
9938 1.1 mrg PowerPC-specific
9939 1.1 mrg
9940 1.7 mrg * [132]11591 ICE in gcc.dg/altivec-5.c
9941 1.7 mrg * [133]12028 powerpc-eabispe produces bad sCOND operation
9942 1.7 mrg * [134]14478 rs6000 geu/ltu patterns generate incorrect code
9943 1.7 mrg * [135]14567 long double and va_arg complex args
9944 1.7 mrg * [136]14715 Altivec stack layout may overlap gpr save with stack
9945 1.1 mrg temps
9946 1.7 mrg * [137]14902 (libstdc++) Stream checking functions fail when -pthread
9947 1.1 mrg option is used.
9948 1.7 mrg * [138]14924 Compiler ICE on valid code
9949 1.7 mrg * [139]14960 -maltivec affects vector return with -mabi=no-altivec
9950 1.7 mrg * [140]15106 vector varargs failure passing from altivec to
9951 1.1 mrg non-altivec code for -m32
9952 1.7 mrg * [141]16026 ICE in function.c:4804, assign_parms, when -mpowerpc64 &
9953 1.1 mrg half-word operation
9954 1.7 mrg * [142]15191 -maltivec -mabi=no-altivec results in mis-aligned lvx
9955 1.1 mrg and stvx
9956 1.7 mrg * [143]15662 Segmentation fault when an exception is thrown - even if
9957 1.1 mrg try and catch are specified
9958 1.1 mrg
9959 1.1 mrg s390-specific
9960 1.1 mrg
9961 1.7 mrg * [144]15054 Bad code due to overlapping stack temporaries
9962 1.1 mrg
9963 1.1 mrg SPARC-specific
9964 1.1 mrg
9965 1.7 mrg * [145]15783 ICE with union assignment in 64-bit mode
9966 1.7 mrg * [146]15626 GCC 3.4 emits "ld: warning: relocation error:
9967 1.1 mrg R_SPARC_UA32"
9968 1.1 mrg
9969 1.1 mrg x86-64-specific
9970 1.1 mrg
9971 1.7 mrg * [147]14326 boehm-gc hardcodes to 3DNow! prefetch for x86_64
9972 1.7 mrg * [148]14723 Backported -march=nocona from mainline
9973 1.7 mrg * [149]15290 __float128 failed to pass to function properly
9974 1.1 mrg
9975 1.1 mrg Cygwin/Mingw32-specific
9976 1.1 mrg
9977 1.7 mrg * [150]15250 Option -mms-bitfields support on GCC 3.4 is not
9978 1.1 mrg conformant to MS layout
9979 1.7 mrg * [151]15551 -mtune=pentium4 -O2 with sjlj EH breaks stack probe
9980 1.1 mrg worker on windows32 targets
9981 1.1 mrg
9982 1.1 mrg Bugs specific to embedded processors
9983 1.1 mrg
9984 1.7 mrg * [152]8309 [m68k] -m5200 produces erroneous SImode set of short
9985 1.1 mrg varaible on stack
9986 1.7 mrg * [153]13250 [SH] Gcc code for rotation clobbers the register, but
9987 1.1 mrg gcc continues to use the register as if it was not clobbered
9988 1.7 mrg * [154]13803 [coldfire] movqi operand constraints too restrictivefor
9989 1.1 mrg TARGET_COLDFIRE
9990 1.7 mrg * [155]14093 [SH] ICE for code when using -mhitachi option in SH
9991 1.7 mrg * [156]14457 [m6811hc] ICE with simple c++ source
9992 1.7 mrg * [157]14542 [m6811hc] ICE on simple source
9993 1.7 mrg * [158]15100 [SH] cc1plus got hang-up on
9994 1.1 mrg libstdc++-v3/testsuite/abi_check.cc
9995 1.7 mrg * [159]15296 [CRIS] Delayed branch scheduling causing invalid code on
9996 1.1 mrg cris-*
9997 1.7 mrg * [160]15396 [SH] ICE with -O2 -fPIC
9998 1.7 mrg * [161]15782 [coldfire] m68k_output_mi_thunk emits wrong code for
9999 1.1 mrg ColdFire
10000 1.1 mrg
10001 1.1 mrg Testsuite problems (compiler not affected)
10002 1.1 mrg
10003 1.7 mrg * [162]11610 libstdc++ testcases 27_io/* don't work properly remotely
10004 1.7 mrg * [163]15488 (libstdc++) possibly insufficient file permissions for
10005 1.1 mrg executing test suite
10006 1.7 mrg * [164]15489 (libstdc++) testsuite_files determined incorrectly
10007 1.1 mrg
10008 1.1 mrg Documentation bugs
10009 1.1 mrg
10010 1.7 mrg * [165]13928 (libstdc++) no whatis info in some man pages generated
10011 1.1 mrg by doxygen
10012 1.7 mrg * [166]14150 Ada documentation out of date
10013 1.7 mrg * [167]14949 (c++) Need to document method visibility changes
10014 1.7 mrg * [168]15123 libstdc++-doc: Allocators.3 manpage is empty
10015 1.1 mrg __________________________________________________________________
10016 1.1 mrg
10017 1.1 mrg GCC 3.4.2
10018 1.1 mrg
10019 1.1 mrg Bug Fixes
10020 1.1 mrg
10021 1.1 mrg This section lists the problem reports (PRs) from GCC's bug tracking
10022 1.1 mrg system that are known to be fixed in the 3.4.2 release. This list might
10023 1.1 mrg not be complete (that is, it is possible that some PRs that have been
10024 1.1 mrg fixed are not listed here).
10025 1.1 mrg
10026 1.1 mrg Bootstrap failures and issues
10027 1.1 mrg
10028 1.7 mrg * [169]16469 [mips-sgi-irix5.3] bootstrap fails in
10029 1.1 mrg libstdc++-v3/testsuite
10030 1.7 mrg * [170]16344 [hppa-linux-gnu] libstdc++'s PCH built by
10031 1.1 mrg profiledbootstrap does not work with the built compiler
10032 1.7 mrg * [171]16842 [Solaris/x86] mkheaders can not find mkheaders.conf
10033 1.1 mrg
10034 1.1 mrg Multi-platform internal compiler errors (ICEs)
10035 1.1 mrg
10036 1.7 mrg * [172]12608 (c++) ICE: expected class 't', have 'x' (error_mark) in
10037 1.1 mrg cp_parser_class_specifier, in cp/parser.c
10038 1.7 mrg * [173]14492 ICE in loc_descriptor_from_tree, in dwarf2out.c
10039 1.7 mrg * [174]15461 (c++) ICE due to NRV and inlining
10040 1.7 mrg * [175]15890 (c++) ICE in c_expand_expr, in c-common.c
10041 1.7 mrg * [176]16180 ICE: segmentation fault in RTL optimization
10042 1.7 mrg * [177]16224 (c++) ICE in write_unscoped_name (template/namespace)
10043 1.7 mrg * [178]16408 ICE: in delete_insn, in cfgrtl.c
10044 1.7 mrg * [179]16529 (c++) ICE for: namespace-alias shall not be declared as
10045 1.1 mrg the name of any other entity
10046 1.7 mrg * [180]16698 (c++) ICE with exceptions and declaration of __cxa_throw
10047 1.7 mrg * [181]16706 (c++) ICE in finish_member_declaration, in
10048 1.1 mrg cp/semantics.c
10049 1.7 mrg * [182]16810 (c++) Legal C++ program with cast gives ICE in
10050 1.1 mrg build_ptrmemfunc
10051 1.7 mrg * [183]16851 (c++) ICE when throwing a comma expression
10052 1.7 mrg * [184]16870 (c++) Boost.Spirit causes ICE in tsubst, in cp/pt.c
10053 1.7 mrg * [185]16904 (c++) ICE in finish_class_member_access_expr, in
10054 1.1 mrg cp/typeck.c
10055 1.7 mrg * [186]16905 (c++) ICE (segfault) with exceptions
10056 1.7 mrg * [187]16964 (c++) ICE in cp_parser_class_specifier due to
10057 1.1 mrg redefinition
10058 1.7 mrg * [188]17068 (c++) ICE: tree check: expected class 'd', have 'x'
10059 1.1 mrg (identifier_node) in dependent_template_p, in cp/pt.c
10060 1.1 mrg
10061 1.1 mrg Preprocessor bugs
10062 1.1 mrg
10063 1.7 mrg * [189]16366 Preprocessor option -remap causes memory corruption
10064 1.1 mrg
10065 1.1 mrg Optimization
10066 1.1 mrg
10067 1.7 mrg * [190]15345 unreferenced nested inline functions not optimized away
10068 1.7 mrg * [191]16590 Incorrect execution when compiling with -O2
10069 1.7 mrg * [192]16693 Bitwise AND is lost when used within a cast to an enum
10070 1.1 mrg of the same precision
10071 1.7 mrg * [193]17078 Jump into if(0) substatement fails
10072 1.1 mrg
10073 1.1 mrg Problems in generated debug information
10074 1.1 mrg
10075 1.7 mrg * [194]13956 incorrect stabs for nested local variables
10076 1.1 mrg
10077 1.1 mrg C front end bugs
10078 1.1 mrg
10079 1.7 mrg * [195]16684 GCC should not warn about redundant redeclarations of
10080 1.1 mrg built-ins
10081 1.1 mrg
10082 1.1 mrg C++ compiler and library
10083 1.1 mrg
10084 1.7 mrg * [196]12658 Thread safety problems in locale::global() and
10085 1.1 mrg locale::locale()
10086 1.7 mrg * [197]13092 g++ accepts invalid pointer-to-member conversion
10087 1.7 mrg * [198]15320 Excessive memory consumption
10088 1.7 mrg * [199]16246 Incorrect template argument deduction
10089 1.7 mrg * [200]16273 Memory exhausted when using nested classes and virtual
10090 1.1 mrg functions
10091 1.7 mrg * [201]16401 ostringstream in gcc 3.4.x very slow for big data
10092 1.7 mrg * [202]16411 undefined reference to
10093 1.1 mrg __gnu_cxx::stdio_sync_filebuf<char, std::char_traits<char>
10094 1.1 mrg >::file()
10095 1.7 mrg * [203]16489 G++ incorrectly rejects use of a null constant integral
10096 1.1 mrg expression as a null constant pointer
10097 1.7 mrg * [204]16618 offsetof fails with constant member
10098 1.7 mrg * [205]16637 syntax error reported for valid input code
10099 1.7 mrg * [206]16717 __attribute__((constructor)) broken in C++
10100 1.7 mrg * [207]16813 compiler error in DEBUG version of range insertion
10101 1.1 mrg std::map::insert
10102 1.7 mrg * [208]16853 pointer-to-member initialization from incompatible one
10103 1.1 mrg accepted
10104 1.7 mrg * [209]16889 ambiguity is not detected
10105 1.7 mrg * [210]16959 Segmentation fault in ios_base::sync_with_stdio
10106 1.1 mrg
10107 1.1 mrg Java compiler and library
10108 1.1 mrg
10109 1.7 mrg * [211]7587 direct threaded interpreter not thread-safe
10110 1.7 mrg * [212]16473 ServerSocket accept() leaks file descriptors
10111 1.7 mrg * [213]16478 Hash synchronization deadlock with finalizers
10112 1.1 mrg
10113 1.1 mrg Alpha-specific
10114 1.1 mrg
10115 1.7 mrg * [214]10695 ICE in dwarf2out_frame_debug_expr, in dwarf2out.c
10116 1.7 mrg * [215]16974 could not split insn (ice in final_scan_insn, in
10117 1.1 mrg final.c)
10118 1.1 mrg
10119 1.1 mrg x86-specific
10120 1.1 mrg
10121 1.7 mrg * [216]16298 ICE in output_operand
10122 1.7 mrg * [217]17113 ICE with SSE2 intrinsics
10123 1.1 mrg
10124 1.1 mrg x86-64 specific
10125 1.1 mrg
10126 1.7 mrg * [218]14697 libstdc++ couldn't find 32bit libgcc_s
10127 1.1 mrg
10128 1.1 mrg MIPS-specific
10129 1.1 mrg
10130 1.7 mrg * [219]15869 [mips64] No NOP after LW (with -mips1 -O0)
10131 1.7 mrg * [220]16325 [mips64] value profiling clobbers gp on mips
10132 1.7 mrg * [221]16357 [mipsisa64-elf] ICE copying 7 bytes between extern
10133 1.1 mrg char[]s
10134 1.7 mrg * [222]16380 [mips64] Use of uninitialised register after dbra
10135 1.1 mrg conversion
10136 1.7 mrg * [223]16407 [mips64] Unaligned access to local variables
10137 1.7 mrg * [224]16643 [mips64] verify_local_live_at_start ICE after
10138 1.1 mrg crossjumping & cfgcleanup
10139 1.1 mrg
10140 1.1 mrg ARM-specific
10141 1.1 mrg
10142 1.7 mrg * [225]15927 THUMB -O2: strength-reduced iteration variable ends up
10143 1.1 mrg off by 1
10144 1.7 mrg * [226]15948 THUMB: ICE with non-commutative cbranch
10145 1.7 mrg * [227]17019 THUMB: bad switch statement in md code for
10146 1.1 mrg addsi3_cbranch_scratch
10147 1.1 mrg
10148 1.1 mrg IA64-specific
10149 1.1 mrg
10150 1.7 mrg * [228]16130 ICE on valid code: in bundling, in config/ia64/ia64.c
10151 1.1 mrg (-mtune=merced)
10152 1.7 mrg * [229]16142 ICE on valid code: in bundling, in config/ia64/ia64.c
10153 1.1 mrg (-mtune=itanium)
10154 1.7 mrg * [230]16278 Gcc failed to build Linux kernel with -mtune=merced
10155 1.7 mrg * [231]16414 ICE on valid code: typo in comparison of asm_noperands
10156 1.1 mrg result
10157 1.7 mrg * [232]16445 ICE on valid code: don't count ignored insns
10158 1.7 mrg * [233]16490 ICE (segfault) while compiling with -fprofile-use
10159 1.7 mrg * [234]16683 ia64 does not honor SUBTARGET_EXTRA_SPECS
10160 1.1 mrg
10161 1.1 mrg PowerPC-specific
10162 1.1 mrg
10163 1.7 mrg * [235]16195 (ppc64): Miscompilation of GCC 3.3.x by 3.4.x
10164 1.7 mrg * [236]16239 ICE on ppc64 (mozilla 1.7 compile, -O1 -fno-exceptions
10165 1.1 mrg issue)
10166 1.1 mrg
10167 1.1 mrg SPARC-specific
10168 1.1 mrg
10169 1.7 mrg * [237]16199 ICE while compiling apache 2.0.49
10170 1.7 mrg * [238]16416 -m64 doesn't imply -mcpu=v9 anymore
10171 1.7 mrg * [239]16430 ICE when returning non-C aggregates larger than 16 bytes
10172 1.1 mrg
10173 1.1 mrg Bugs specific to embedded processors
10174 1.1 mrg
10175 1.7 mrg * [240]16379 [m32r] can't output large model function call of memcpy
10176 1.7 mrg * [241]17093 [m32r] ICE with -msdata=use -O0
10177 1.7 mrg * [242]17119 [m32r] ICE at switch case 0x8000
10178 1.1 mrg
10179 1.1 mrg DJGPP-specific
10180 1.1 mrg
10181 1.7 mrg * [243]15928 libstdc++ in 3.4.x doesn't cross-compile for djgpp
10182 1.1 mrg
10183 1.1 mrg Alpha Tru64-specific
10184 1.1 mrg
10185 1.7 mrg * [244]16210 libstdc++ gratuitously omits "long long" I/O
10186 1.1 mrg
10187 1.1 mrg Testsuite, documentation issues (compiler is not affected):
10188 1.1 mrg
10189 1.7 mrg * [245]15488 (libstdc++) possibly insufficient file permissions for
10190 1.1 mrg executing test suite
10191 1.7 mrg * [246]16250 ada/doctools runs makeinfo even in release tarball
10192 1.1 mrg __________________________________________________________________
10193 1.1 mrg
10194 1.1 mrg GCC 3.4.3
10195 1.1 mrg
10196 1.7 mrg This is the [247]list of problem reports (PRs) from GCC's bug tracking
10197 1.1 mrg system that are known to be fixed in the 3.4.3 release. This list might
10198 1.1 mrg not be complete (that is, it is possible that some PRs that have been
10199 1.1 mrg fixed are not listed here).
10200 1.1 mrg
10201 1.1 mrg Bootstrap failures
10202 1.1 mrg
10203 1.7 mrg * [248]17369 [ia64] Bootstrap failure with binutils-2.15.90.0.1.1
10204 1.7 mrg * [249]17850 [arm-elf] bootstrap failure - libstdc++ uses strtold
10205 1.1 mrg when undeclared
10206 1.1 mrg
10207 1.1 mrg Internal compiler errors (ICEs) affecting multiple platforms
10208 1.1 mrg
10209 1.7 mrg * [250]13948 (java) GCJ segmentation fault while compiling GL4Java
10210 1.1 mrg .class files
10211 1.7 mrg * [251]14492 ICE in loc_descriptor_from_tree, in dwarf2out.c
10212 1.7 mrg * [252]16301 (c++) ICE when "strong" attribute is attached to a using
10213 1.1 mrg directive
10214 1.7 mrg * [253]16566 ICE with flexible arrays
10215 1.7 mrg * [254]17023 ICE with nested functions in parameter declaration
10216 1.7 mrg * [255]17027 ICE with noreturn function in loop at -O2
10217 1.7 mrg * [256]17524 ICE in grokdeclarator, in cp/decl.c
10218 1.7 mrg * [257]17826 (c++) ICE in cp_tree_equal
10219 1.1 mrg
10220 1.1 mrg C and optimization bugs
10221 1.1 mrg
10222 1.7 mrg * [258]15526 -ftrapv aborts on 0 * (-1)
10223 1.7 mrg * [259]16999 #ident stopped working
10224 1.7 mrg * [260]17503 quadratic behaviour in invalid_mode_change_p
10225 1.7 mrg * [261]17581 Long long arithmetic fails inside a switch/case
10226 1.1 mrg statement when compiled with -O2
10227 1.7 mrg * [262]18129 -fwritable-strings doesn't work
10228 1.1 mrg
10229 1.1 mrg C++ compiler and library bugs
10230 1.1 mrg
10231 1.7 mrg * [263]10975 incorrect initial ostringstream::tellp()
10232 1.7 mrg * [264]11722 Unbuffered filebuf::sgetn is slow
10233 1.7 mrg * [265]14534 Unrecognizing static function as a template parameter
10234 1.1 mrg when its return value is also templated
10235 1.7 mrg * [266]15172 Copy constructor optimization in aggregate
10236 1.1 mrg initialization
10237 1.7 mrg * [267]15786 Bad error message for frequently occuring error.
10238 1.7 mrg * [268]16162 Rejects valid member-template-definition
10239 1.7 mrg * [269]16612 empty basic_strings can't live in shared memory
10240 1.7 mrg * [270]16715 std::basic_iostream is instantiated when used, even
10241 1.1 mrg though instantiations are already contained in libstdc++
10242 1.7 mrg * [271]16848 code in /ext/demangle.h appears broken
10243 1.7 mrg * [272]17132 GCC fails to eliminate function template specialization
10244 1.1 mrg when argument deduction fails
10245 1.7 mrg * [273]17259 One more _S_leaf incorrectly qualified with _RopeRep::
10246 1.1 mrg in ropeimpl.h
10247 1.7 mrg * [274]17327 use of `enumeral_type' in template type unification
10248 1.7 mrg * [275]17393 "unused variable '._0'" warning with -Wall
10249 1.7 mrg * [276]17501 Confusion with member templates
10250 1.7 mrg * [277]17537 g++ not passing -lstdc++ to linker when all command line
10251 1.1 mrg arguments are libraries
10252 1.7 mrg * [278]17585 usage of unqualified name of static member from within
10253 1.1 mrg class not allowed
10254 1.7 mrg * [279]17821 Poor diagnostic for using "." instead of "->"
10255 1.7 mrg * [280]17829 wrong error: call of overloaded function is ambiguous
10256 1.7 mrg * [281]17851 Misleading diagnostic for invalid function declarations
10257 1.1 mrg with undeclared types
10258 1.7 mrg * [282]17976 Destructor is called twice
10259 1.7 mrg * [283]18020 rejects valid definition of enum value in template
10260 1.7 mrg * [284]18093 bogus conflict in namespace aliasing
10261 1.7 mrg * [285]18140 C++ parser bug when using >> in templates
10262 1.1 mrg
10263 1.1 mrg Fortran
10264 1.1 mrg
10265 1.7 mrg * [286]17541 data statements with double precision constants fail
10266 1.1 mrg
10267 1.1 mrg x86-specific
10268 1.1 mrg
10269 1.7 mrg * [287]17853 -O2 ICE for MMX testcase
10270 1.1 mrg
10271 1.1 mrg SPARC-specific
10272 1.1 mrg
10273 1.7 mrg * [288]17245 ICE compiling gsl-1.5 statistics/lag1.c
10274 1.1 mrg
10275 1.1 mrg Darwin-specific
10276 1.1 mrg
10277 1.7 mrg * [289]17167 FATAL:Symbol L_foo$stub already defined.
10278 1.1 mrg
10279 1.1 mrg AIX-specific
10280 1.1 mrg
10281 1.7 mrg * [290]17277 could not catch an exception when specified -maix64
10282 1.1 mrg
10283 1.1 mrg Solaris-specific
10284 1.1 mrg
10285 1.7 mrg * [291]17505 <cmath> calls acosf(), ceilf(), and other functions
10286 1.1 mrg missing from system libraries
10287 1.1 mrg
10288 1.1 mrg HP/UX specific:
10289 1.1 mrg
10290 1.7 mrg * [292]17684 /usr/ccs/bin/ld: Can't create libgcc_s.sl
10291 1.1 mrg
10292 1.1 mrg ARM-specific
10293 1.1 mrg
10294 1.7 mrg * [293]17384 ICE with mode attribute on structures
10295 1.1 mrg
10296 1.1 mrg MIPS-specific
10297 1.1 mrg
10298 1.7 mrg * [294]17770 No NOP after LWL with -mips1
10299 1.1 mrg
10300 1.1 mrg Other embedded target specific
10301 1.1 mrg
10302 1.7 mrg * [295]11476 [arc-elf] gcc ICE on newlib's vfprintf.c
10303 1.7 mrg * [296]14064 [avr-elf] -fdata-sections triggers ICE
10304 1.7 mrg * [297]14678 [m68hc11-elf] gcc ICE
10305 1.7 mrg * [298]15583 [powerpc-rtems] powerpc-rtems lacks __USE_INIT_FINI__
10306 1.7 mrg * [299]15790 [i686-coff] Alignment error building gcc with i686-coff
10307 1.1 mrg target
10308 1.7 mrg * [300]15886 [SH] Miscompilation with -O2 -fPIC
10309 1.7 mrg * [301]16884 [avr-elf] [fweb related] bug while initializing
10310 1.1 mrg variables
10311 1.1 mrg
10312 1.1 mrg Bugs relating to debugger support
10313 1.1 mrg
10314 1.7 mrg * [302]13841 missing debug info for _Complex function arguments
10315 1.7 mrg * [303]15860 [big-endian targets] No DW_AT_location debug info is
10316 1.1 mrg emitted for formal arguments to a function that uses "register"
10317 1.1 mrg qualifiers
10318 1.1 mrg
10319 1.1 mrg Testsuite issues (compiler not affected)
10320 1.1 mrg
10321 1.7 mrg * [304]17465 Testsuite in libffi overrides LD_LIBRARY_PATH
10322 1.7 mrg * [305]17469 Testsuite in libstdc++ overrides LD_LIBRARY_PATH
10323 1.7 mrg * [306]18138 [mips-sgi-irix6.5] libgcc_s.so.1 not found by 64-bit
10324 1.1 mrg testsuite
10325 1.1 mrg
10326 1.1 mrg Documentation
10327 1.1 mrg
10328 1.7 mrg * [307]15498 typo in gcc manual: non-existing locale example en_UK,
10329 1.1 mrg should be en_GB
10330 1.7 mrg * [308]15747 [mips-sgi-irix5.3] /bin/sh hangs during bootstrap:
10331 1.1 mrg document broken shell
10332 1.7 mrg * [309]16406 USE_LD_AS_NEEDED undocumented
10333 1.1 mrg __________________________________________________________________
10334 1.1 mrg
10335 1.1 mrg GCC 3.4.4
10336 1.1 mrg
10337 1.7 mrg This is the [310]list of problem reports (PRs) from GCC's bug tracking
10338 1.1 mrg system that are known to be fixed in the 3.4.4 release. This list might
10339 1.1 mrg not be complete (that is, it is possible that some PRs that have been
10340 1.1 mrg fixed are not listed here).
10341 1.1 mrg __________________________________________________________________
10342 1.1 mrg
10343 1.1 mrg GCC 3.4.5
10344 1.1 mrg
10345 1.7 mrg This is the [311]list of problem reports (PRs) from GCC's bug tracking
10346 1.1 mrg system that are known to be fixed in the 3.4.5 release. This list might
10347 1.1 mrg not be complete (that is, it is possible that some PRs that have been
10348 1.1 mrg fixed are not listed here).
10349 1.1 mrg
10350 1.1 mrg Bootstrap issues
10351 1.1 mrg
10352 1.7 mrg * [312]24688 sco_math fixincl breaks math.h
10353 1.1 mrg
10354 1.1 mrg C compiler bugs
10355 1.1 mrg
10356 1.7 mrg * [313]17188 struct Foo { } redefinition
10357 1.7 mrg * [314]20187 wrong code for ((unsigned char)(unsigned long
10358 1.1 mrg long)((a?a:1)&(a*b)))?0:1)
10359 1.7 mrg * [315]21873 infinite warning loop on bad array initializer
10360 1.7 mrg * [316]21899 enum definition accepts values to be overriden
10361 1.7 mrg * [317]22061 ICE in find_function_data, in function.c
10362 1.7 mrg * [318]22308 Failure to diagnose violation of constraint 6.516p2
10363 1.7 mrg * [319]22458 ICE on missing brace
10364 1.7 mrg * [320]22589 ICE casting to long long
10365 1.7 mrg * [321]24101 Segfault with preprocessed source
10366 1.1 mrg
10367 1.1 mrg C++ compiler and library bugs
10368 1.1 mrg
10369 1.7 mrg * [322]10611 operations on vector mode not recognized in C++
10370 1.7 mrg * [323]13377 unexpected behavior of namespace usage directive
10371 1.7 mrg * [324]16002 Strange error message with new parser
10372 1.7 mrg * [325]17413 local classes as template argument
10373 1.7 mrg * [326]17609 spurious error message after using keyword
10374 1.7 mrg * [327]17618 ICE in cp_convert_to_pointer, in cp/cvt.c
10375 1.7 mrg * [328]18124 ICE with invalid template template parameter
10376 1.7 mrg * [329]18155 typedef in template declaration not rejected
10377 1.7 mrg * [330]18177 ICE with const_cast for undeclared variable
10378 1.7 mrg * [331]18368 C++ error message regression
10379 1.7 mrg * [332]16378 ICE when returning a copy of a packed member
10380 1.7 mrg * [333]18466 int ::i; accepted
10381 1.7 mrg * [334]18512 ICE on invalid usage of template base class
10382 1.7 mrg * [335]18454 ICE when returning undefined type
10383 1.7 mrg * [336]18738 typename not allowed with non-dependent qualified name
10384 1.7 mrg * [337]18803 rejects access to operator() in template
10385 1.7 mrg * [338]19004 ICE in uses_template_parms, in cp/pt.c
10386 1.7 mrg * [339]19208 Spurious error about variably modified type
10387 1.7 mrg * [340]18253 bad error message / ICE for invalid template parameter
10388 1.7 mrg * [341]19608 ICE after friend function definition in local class
10389 1.7 mrg * [342]19884 ICE on explicit instantiation of a non-template
10390 1.1 mrg constructor
10391 1.7 mrg * [343]20153 ICE when C++ template function contains anonymous union
10392 1.7 mrg * [344]20563 Infinite loop in diagnostic (and ice after error
10393 1.1 mrg message)
10394 1.7 mrg * [345]20789 ICE with incomplete type in template
10395 1.7 mrg * [346]21336 Internal compiler error when using custom new operators
10396 1.7 mrg * [347]21768 ICE in error message due to violation of coding
10397 1.1 mrg conventions
10398 1.7 mrg * [348]21853 constness of pointer to data member ignored
10399 1.7 mrg * [349]21903 Default argument of template function causes a
10400 1.1 mrg compile-time error
10401 1.7 mrg * [350]21983 multiple diagnostics
10402 1.7 mrg * [351]21987 New testsuite failure
10403 1.1 mrg g++.dg/warn/conversion-function-1.C
10404 1.7 mrg * [352]22153 ICE on invalid template specialization
10405 1.7 mrg * [353]22172 Internal compiler error, seg fault.
10406 1.7 mrg * [354]21286 filebuf::xsgetn vs pipes
10407 1.7 mrg * [355]22233 ICE with wrong number of template parameters
10408 1.7 mrg * [356]22508 ICE after invalid operator new
10409 1.7 mrg * [357]22545 ICE with pointer to class member & user defined
10410 1.1 mrg conversion operator
10411 1.7 mrg * [358]23528 Wrong default allocator in ext/hash_map
10412 1.7 mrg * [359]23550 char_traits requirements/1.cc test bad math
10413 1.7 mrg * [360]23586 Bad diagnostic for invalid namespace-name
10414 1.7 mrg * [361]23624 ICE in invert_truthvalue, in fold-const.c
10415 1.7 mrg * [362]23639 Bad error message: not a member of '<declaration error>'
10416 1.7 mrg * [363]23797 ICE on typename outside template
10417 1.7 mrg * [364]23965 Bogus error message: no matching function for call to
10418 1.1 mrg 'foo(<type error>)'
10419 1.7 mrg * [365]24052 &#`label_decl' not supported by dump_expr#<expression
10420 1.1 mrg error>
10421 1.7 mrg * [366]24580 virtual base class cause exception not to be caught
10422 1.1 mrg
10423 1.1 mrg Problems in generated debug information
10424 1.1 mrg
10425 1.7 mrg * [367]24267 Bad DWARF for altivec vectors
10426 1.1 mrg
10427 1.1 mrg Optimizations issues
10428 1.1 mrg
10429 1.7 mrg * [368]17810 ICE in verify_local_live_at_start
10430 1.7 mrg * [369]17860 Wrong generated code for loop with varying bound
10431 1.7 mrg * [370]21709 ICE on compile-time complex NaN
10432 1.7 mrg * [371]21964 broken tail call at -O2 or more
10433 1.7 mrg * [372]22167 Strange optimization bug when using -Os
10434 1.7 mrg * [373]22619 Compilation failure for real_const_1.f and
10435 1.1 mrg real_const_2.f90
10436 1.7 mrg * [374]23241 Invalid code generated for comparison of uchar to 255
10437 1.7 mrg * [375]23478 Miscompilation due to reloading of a var that is also
10438 1.1 mrg used in EH pad
10439 1.7 mrg * [376]24470 segmentation fault in cc1plus when compiling with -O
10440 1.7 mrg * [377]24950 ICE in operand_subword_force
10441 1.1 mrg
10442 1.1 mrg Precompiled headers problems
10443 1.1 mrg
10444 1.7 mrg * [378]14400 Cannot compile qt-x11-free-3.3.0
10445 1.7 mrg * [379]14940 PCH largefile test fails on various platforms
10446 1.1 mrg
10447 1.1 mrg Preprocessor bugs
10448 1.1 mrg
10449 1.7 mrg * [380]20239 ICE on empty preprocessed input
10450 1.7 mrg * [381]15220 "gcc -E -MM -MG" reports missing system headers in
10451 1.1 mrg source directory
10452 1.1 mrg
10453 1.1 mrg Testsuite issues
10454 1.1 mrg
10455 1.7 mrg * [382]19275 gcc.dg/20020919-1.c fails with -fpic/-fPIC on
10456 1.1 mrg i686-pc-linux-gnu
10457 1.1 mrg
10458 1.1 mrg Alpha specific
10459 1.1 mrg
10460 1.7 mrg * [383]21888 bootstrap failure with linker relaxation enabled
10461 1.1 mrg
10462 1.1 mrg ARM specific
10463 1.1 mrg
10464 1.7 mrg * [384]15342 [arm-linux]: ICE in verify_local_live_at_start
10465 1.7 mrg * [385]23985 Memory aliasing information incorrect in inlined memcpy
10466 1.1 mrg
10467 1.1 mrg ColdFile specific
10468 1.1 mrg
10469 1.7 mrg * [386]16719 Illegal move of byte into address register causes
10470 1.1 mrg compiler to ICE
10471 1.1 mrg
10472 1.1 mrg HPPA specific
10473 1.1 mrg
10474 1.7 mrg * [387]21723 ICE while building libgfortran
10475 1.7 mrg * [388]21841 -mhp-ld/-mgnu-ld documentation
10476 1.1 mrg
10477 1.1 mrg IA-64 specific
10478 1.1 mrg
10479 1.7 mrg * [389]23644 IA-64 hardware models and configuration options
10480 1.1 mrg documentation error
10481 1.7 mrg * [390]24718 Shared libgcc not used for linking by default
10482 1.1 mrg
10483 1.1 mrg M68000 specific
10484 1.1 mrg
10485 1.7 mrg * [391]18421 ICE in reload_cse_simplify_operands, in postreload.c
10486 1.1 mrg
10487 1.1 mrg MIPS specific
10488 1.1 mrg
10489 1.7 mrg * [392]20621 ICE in change_address_1, in emit-rtl.c
10490 1.1 mrg
10491 1.1 mrg PowerPC and PowerPC64 specific
10492 1.1 mrg
10493 1.7 mrg * [393]18583 error on valid code: const
10494 1.1 mrg __attribute__((altivec(vector__))) doesn't work in arrays
10495 1.7 mrg * [394]20191 ICE in reload_cse_simplify_operands
10496 1.7 mrg * [395]22083 AIX: TARGET_C99_FUNCTIONS is wrongly defined
10497 1.7 mrg * [396]23070 CALL_V4_CLEAR_FP_ARGS flag not properly set
10498 1.7 mrg * [397]23404 gij trashes args of functions with more than 8 fp args
10499 1.7 mrg * [398]23539 C & C++ compiler generating misaligned references
10500 1.1 mrg regardless of compiler flags
10501 1.7 mrg * [399]24102 floatdisf2_internal2 broken
10502 1.7 mrg * [400]24465 -mminimal-toc miscompilation of __thread vars
10503 1.1 mrg
10504 1.1 mrg Solaris specific
10505 1.1 mrg
10506 1.7 mrg * [401]19933 Problem with define of HUGE_VAL in math_c99
10507 1.7 mrg * [402]21889 Native Solaris assembler cannot grok DTP-relative debug
10508 1.1 mrg symbols
10509 1.1 mrg
10510 1.1 mrg SPARC specific
10511 1.1 mrg
10512 1.7 mrg * [403]19300 PCH failures on sparc-linux
10513 1.7 mrg * [404]20301 Assembler labels have a leading "-"
10514 1.7 mrg * [405]20673 C PCH testsuite assembly comparison failure
10515 1.1 mrg
10516 1.1 mrg x86 and x86_64 specific
10517 1.1 mrg
10518 1.7 mrg * [406]18582 ICE with arrays of type V2DF
10519 1.7 mrg * [407]19340 Compilation SEGFAULTs with -O1 -fschedule-insns2
10520 1.1 mrg -fsched2-use-traces
10521 1.7 mrg * [408]21716 ICE in reg-stack.c's swap_rtx_condition
10522 1.7 mrg * [409]24315 amd64 fails -fpeephole2
10523 1.1 mrg __________________________________________________________________
10524 1.1 mrg
10525 1.1 mrg GCC 3.4.6
10526 1.1 mrg
10527 1.7 mrg This is the [410]list of problem reports (PRs) from GCC's bug tracking
10528 1.1 mrg system that are known to be fixed in the 3.4.6 release. This list might
10529 1.1 mrg not be complete (that is, it is possible that some PRs that have been
10530 1.1 mrg fixed are not listed here).
10531 1.1 mrg
10532 1.1 mrg
10533 1.1 mrg For questions related to the use of GCC, please consult these web
10534 1.7 mrg pages and the [411]GCC manuals. If that fails, the
10535 1.7 mrg [412]gcc-help (a] gcc.gnu.org mailing list might help. Comments on these
10536 1.1 mrg web pages and the development of GCC are welcome on our developer
10537 1.7 mrg list at [413]gcc (a] gcc.gnu.org. All of [414]our lists have public
10538 1.1 mrg archives.
10539 1.1 mrg
10540 1.7 mrg Copyright (C) [415]Free Software Foundation, Inc. Verbatim copying and
10541 1.1 mrg distribution of this entire article is permitted in any medium,
10542 1.1 mrg provided this notice is preserved.
10543 1.1 mrg
10544 1.7 mrg These pages are [416]maintained by the GCC team. Last modified
10545 1.7 mrg 2016-12-30[417].
10546 1.1 mrg
10547 1.1 mrg References
10548 1.1 mrg
10549 1.1 mrg 1. http://gcc.gnu.org/gcc-3.4/changes.html#3.4.6
10550 1.1 mrg 2. http://gcc.gnu.org/gcc-3.4/changes.html#cplusplus
10551 1.1 mrg 3. http://gcc.gnu.org/gcc-3.3/changes.html#obsolete_systems
10552 1.1 mrg 4. http://gcc.gnu.org/gcc-3.4/changes.html#obsolete_systems
10553 1.1 mrg 5. http://gcc.gnu.org/gcc-3.4/mips-abi.html
10554 1.1 mrg 6. http://gcc.gnu.org/gcc-3.4/sparc-abi.html
10555 1.1 mrg 7. http://www.boost.org/
10556 1.4 mrg 8. https://gcc.gnu.org/PR11953
10557 1.4 mrg 9. https://gcc.gnu.org/PR8361
10558 1.7 mrg 10. https://gcc.gnu.org/onlinedocs/gcc-3.4.3/gcc/Other-Builtins.html#Other Builtins
10559 1.1 mrg 11. http://www.open-std.org/jtc1/sc22/wg21/docs/cwg_closed.html#209
10560 1.1 mrg 12. http://gcc.gnu.org/bugs/#cxx_rvalbind
10561 1.4 mrg 13. https://gcc.gnu.org/onlinedocs/gcc-3.4.3/gcc/Objective-C-Dialect-Options.html
10562 1.4 mrg 14. https://gcc.gnu.org/onlinedocs/gcc-3.4.3/gcc/Objective-C-Dialect-Options.html
10563 1.4 mrg 15. https://gcc.gnu.org/onlinedocs/gcc-3.4.3/gcc/Objective-C-Dialect-Options.html
10564 1.1 mrg 16. http://www.gnu.org/software/classpath/
10565 1.1 mrg 17. http://www.eclipse.org/
10566 1.4 mrg 18. https://gcc.gnu.org/onlinedocs/gcc-3.4.3/g77/News.html
10567 1.4 mrg 19. https://gcc.gnu.org/onlinedocs/gcc-3.4.3/gcc/Alpha-Built-in-Functions.html
10568 1.7 mrg 20. https://gcc.gnu.org/onlinedocs/gcc-3.4.3/gccint/Processor-pipeline-description.html
10569 1.7 mrg 21. https://gcc.gnu.org/onlinedocs/gcc-3.4.3/gccint/Comparison-of-the-two-descriptions.html
10570 1.7 mrg 22. https://gcc.gnu.org/onlinedocs/gcc-3.4.3/gccint/Processor-pipeline-description.html
10571 1.7 mrg 23. http://gcc.gnu.org/gcc-3.4/mips-abi.html
10572 1.7 mrg 24. http://gcc.gnu.org/gcc-3.4/powerpc-abi.html
10573 1.7 mrg 25. http://gcc.gnu.org/gcc-3.4/sparc-abi.html
10574 1.7 mrg 26. https://gcc.gnu.org/bugzilla/buglist.cgi?short_desc_type=notregexp&short_desc=\[3\.4.*[Rr]egression&target_milestone=3.4.0&bug_status=RESOLVED&resolution=FIXED
10575 1.7 mrg 27. https://gcc.gnu.org/PR10129
10576 1.7 mrg 28. https://gcc.gnu.org/PR14576
10577 1.7 mrg 29. https://gcc.gnu.org/PR14760
10578 1.7 mrg 30. https://gcc.gnu.org/PR14671
10579 1.7 mrg 31. https://gcc.gnu.org/PR15093
10580 1.7 mrg 32. https://gcc.gnu.org/PR15178
10581 1.7 mrg 33. https://gcc.gnu.org/PR12753
10582 1.7 mrg 34. https://gcc.gnu.org/PR13985
10583 1.7 mrg 35. https://gcc.gnu.org/PR14810
10584 1.7 mrg 36. https://gcc.gnu.org/PR14883
10585 1.7 mrg 37. https://gcc.gnu.org/PR15044
10586 1.7 mrg 38. https://gcc.gnu.org/PR15057
10587 1.7 mrg 39. https://gcc.gnu.org/PR15064
10588 1.7 mrg 40. https://gcc.gnu.org/PR15142
10589 1.7 mrg 41. https://gcc.gnu.org/PR15159
10590 1.7 mrg 42. https://gcc.gnu.org/PR15165
10591 1.7 mrg 43. https://gcc.gnu.org/PR15193
10592 1.7 mrg 44. https://gcc.gnu.org/PR15209
10593 1.7 mrg 45. https://gcc.gnu.org/PR15227
10594 1.7 mrg 46. https://gcc.gnu.org/PR15285
10595 1.7 mrg 47. https://gcc.gnu.org/PR15299
10596 1.7 mrg 48. https://gcc.gnu.org/PR15329
10597 1.7 mrg 49. https://gcc.gnu.org/PR15550
10598 1.7 mrg 50. https://gcc.gnu.org/PR15554
10599 1.7 mrg 51. https://gcc.gnu.org/PR15640
10600 1.7 mrg 52. https://gcc.gnu.org/PR15666
10601 1.7 mrg 53. https://gcc.gnu.org/PR15696
10602 1.7 mrg 54. https://gcc.gnu.org/PR15701
10603 1.7 mrg 55. https://gcc.gnu.org/PR15761
10604 1.7 mrg 56. https://gcc.gnu.org/PR15829
10605 1.7 mrg 57. https://gcc.gnu.org/PR14538
10606 1.7 mrg 58. https://gcc.gnu.org/PR12391
10607 1.7 mrg 59. https://gcc.gnu.org/PR14649
10608 1.7 mrg 60. https://gcc.gnu.org/PR15004
10609 1.7 mrg 61. https://gcc.gnu.org/PR15749
10610 1.7 mrg 62. https://gcc.gnu.org/PR10646
10611 1.7 mrg 63. https://gcc.gnu.org/PR12077
10612 1.7 mrg 64. https://gcc.gnu.org/PR13598
10613 1.7 mrg 65. https://gcc.gnu.org/PR14211
10614 1.7 mrg 66. https://gcc.gnu.org/PR14220
10615 1.7 mrg 67. https://gcc.gnu.org/PR14245
10616 1.7 mrg 68. https://gcc.gnu.org/PR14340
10617 1.7 mrg 69. https://gcc.gnu.org/PR14600
10618 1.7 mrg 70. https://gcc.gnu.org/PR14668
10619 1.7 mrg 71. https://gcc.gnu.org/PR14775
10620 1.7 mrg 72. https://gcc.gnu.org/PR14821
10621 1.7 mrg 73. https://gcc.gnu.org/PR14930
10622 1.7 mrg 74. https://gcc.gnu.org/PR14932
10623 1.7 mrg 75. https://gcc.gnu.org/PR14950
10624 1.7 mrg 76. https://gcc.gnu.org/PR14962
10625 1.7 mrg 77. https://gcc.gnu.org/PR14975
10626 1.7 mrg 78. https://gcc.gnu.org/PR15002
10627 1.7 mrg 79. https://gcc.gnu.org/PR15025
10628 1.7 mrg 80. https://gcc.gnu.org/PR15046
10629 1.7 mrg 81. https://gcc.gnu.org/PR15069
10630 1.7 mrg 82. https://gcc.gnu.org/PR15074
10631 1.7 mrg 83. https://gcc.gnu.org/PR15083
10632 1.7 mrg 84. https://gcc.gnu.org/PR15096
10633 1.7 mrg 85. https://gcc.gnu.org/PR15287
10634 1.7 mrg 86. https://gcc.gnu.org/PR15317
10635 1.7 mrg 87. https://gcc.gnu.org/PR15337
10636 1.7 mrg 88. https://gcc.gnu.org/PR15361
10637 1.7 mrg 89. https://gcc.gnu.org/PR15412
10638 1.7 mrg 90. https://gcc.gnu.org/PR15427
10639 1.7 mrg 91. https://gcc.gnu.org/PR15471
10640 1.7 mrg 92. https://gcc.gnu.org/PR15503
10641 1.7 mrg 93. https://gcc.gnu.org/PR15507
10642 1.7 mrg 94. https://gcc.gnu.org/PR15542
10643 1.7 mrg 95. https://gcc.gnu.org/PR15565
10644 1.7 mrg 96. https://gcc.gnu.org/PR15625
10645 1.7 mrg 97. https://gcc.gnu.org/PR15629
10646 1.7 mrg 98. https://gcc.gnu.org/PR15742
10647 1.7 mrg 99. https://gcc.gnu.org/PR15775
10648 1.7 mrg 100. https://gcc.gnu.org/PR15821
10649 1.7 mrg 101. https://gcc.gnu.org/PR15862
10650 1.7 mrg 102. https://gcc.gnu.org/PR15875
10651 1.7 mrg 103. https://gcc.gnu.org/PR15877
10652 1.7 mrg 104. https://gcc.gnu.org/PR15947
10653 1.7 mrg 105. https://gcc.gnu.org/PR16020
10654 1.7 mrg 106. https://gcc.gnu.org/PR16154
10655 1.7 mrg 107. https://gcc.gnu.org/PR16174
10656 1.7 mrg 108. https://gcc.gnu.org/PR14315
10657 1.7 mrg 109. https://gcc.gnu.org/PR15151
10658 1.7 mrg 110. https://gcc.gnu.org/PR7993
10659 1.7 mrg 111. https://gcc.gnu.org/PR15228
10660 1.7 mrg 112. https://gcc.gnu.org/PR15345
10661 1.7 mrg 113. https://gcc.gnu.org/PR15945
10662 1.7 mrg 114. https://gcc.gnu.org/PR15526
10663 1.7 mrg 115. https://gcc.gnu.org/PR14690
10664 1.7 mrg 116. https://gcc.gnu.org/PR15112
10665 1.7 mrg 117. https://gcc.gnu.org/PR15067
10666 1.7 mrg 118. https://gcc.gnu.org/PR1963
10667 1.7 mrg 119. https://gcc.gnu.org/PR15717
10668 1.7 mrg 120. https://gcc.gnu.org/PR14782
10669 1.7 mrg 121. https://gcc.gnu.org/PR14828
10670 1.7 mrg 122. https://gcc.gnu.org/PR15202
10671 1.7 mrg 123. https://gcc.gnu.org/PR14610
10672 1.7 mrg 124. https://gcc.gnu.org/PR14813
10673 1.7 mrg 125. https://gcc.gnu.org/PR14857
10674 1.7 mrg 126. https://gcc.gnu.org/PR15598
10675 1.7 mrg 127. https://gcc.gnu.org/PR15653
10676 1.7 mrg 128. https://gcc.gnu.org/PR15189
10677 1.7 mrg 129. https://gcc.gnu.org/PR15331
10678 1.7 mrg 130. https://gcc.gnu.org/PR16144
10679 1.7 mrg 131. https://gcc.gnu.org/PR16176
10680 1.7 mrg 132. https://gcc.gnu.org/PR11591
10681 1.7 mrg 133. https://gcc.gnu.org/PR12028
10682 1.7 mrg 134. https://gcc.gnu.org/PR14478
10683 1.7 mrg 135. https://gcc.gnu.org/PR14567
10684 1.7 mrg 136. https://gcc.gnu.org/PR14715
10685 1.7 mrg 137. https://gcc.gnu.org/PR14902
10686 1.7 mrg 138. https://gcc.gnu.org/PR14924
10687 1.7 mrg 139. https://gcc.gnu.org/PR14960
10688 1.7 mrg 140. https://gcc.gnu.org/PR15106
10689 1.7 mrg 141. https://gcc.gnu.org/PR16026
10690 1.7 mrg 142. https://gcc.gnu.org/PR15191
10691 1.7 mrg 143. https://gcc.gnu.org/PR15662
10692 1.7 mrg 144. https://gcc.gnu.org/PR15054
10693 1.7 mrg 145. https://gcc.gnu.org/PR15783
10694 1.7 mrg 146. https://gcc.gnu.org/PR15626
10695 1.7 mrg 147. https://gcc.gnu.org/PR14326
10696 1.7 mrg 148. https://gcc.gnu.org/PR14723
10697 1.7 mrg 149. https://gcc.gnu.org/PR15290
10698 1.7 mrg 150. https://gcc.gnu.org/PR15250
10699 1.7 mrg 151. https://gcc.gnu.org/PR15551
10700 1.7 mrg 152. https://gcc.gnu.org/PR8309
10701 1.7 mrg 153. https://gcc.gnu.org/PR13250
10702 1.7 mrg 154. https://gcc.gnu.org/PR13803
10703 1.7 mrg 155. https://gcc.gnu.org/PR14093
10704 1.7 mrg 156. https://gcc.gnu.org/PR14457
10705 1.7 mrg 157. https://gcc.gnu.org/PR14542
10706 1.7 mrg 158. https://gcc.gnu.org/PR15100
10707 1.7 mrg 159. https://gcc.gnu.org/PR15296
10708 1.7 mrg 160. https://gcc.gnu.org/PR15396
10709 1.7 mrg 161. https://gcc.gnu.org/PR15782
10710 1.7 mrg 162. https://gcc.gnu.org/PR11610
10711 1.7 mrg 163. https://gcc.gnu.org/PR15488
10712 1.7 mrg 164. https://gcc.gnu.org/PR15489
10713 1.7 mrg 165. https://gcc.gnu.org/PR13928
10714 1.7 mrg 166. https://gcc.gnu.org/PR14150
10715 1.7 mrg 167. https://gcc.gnu.org/PR14949
10716 1.7 mrg 168. https://gcc.gnu.org/PR15123
10717 1.7 mrg 169. https://gcc.gnu.org/PR16469
10718 1.7 mrg 170. https://gcc.gnu.org/PR16344
10719 1.7 mrg 171. https://gcc.gnu.org/PR16842
10720 1.7 mrg 172. https://gcc.gnu.org/PR12608
10721 1.7 mrg 173. https://gcc.gnu.org/PR14492
10722 1.7 mrg 174. https://gcc.gnu.org/PR15461
10723 1.7 mrg 175. https://gcc.gnu.org/PR15890
10724 1.7 mrg 176. https://gcc.gnu.org/PR16180
10725 1.7 mrg 177. https://gcc.gnu.org/PR16224
10726 1.7 mrg 178. https://gcc.gnu.org/PR16408
10727 1.7 mrg 179. https://gcc.gnu.org/PR16529
10728 1.7 mrg 180. https://gcc.gnu.org/PR16698
10729 1.7 mrg 181. https://gcc.gnu.org/PR16706
10730 1.7 mrg 182. https://gcc.gnu.org/PR16810
10731 1.7 mrg 183. https://gcc.gnu.org/PR16851
10732 1.7 mrg 184. https://gcc.gnu.org/PR16870
10733 1.7 mrg 185. https://gcc.gnu.org/PR16904
10734 1.7 mrg 186. https://gcc.gnu.org/PR16905
10735 1.7 mrg 187. https://gcc.gnu.org/PR16964
10736 1.7 mrg 188. https://gcc.gnu.org/PR17068
10737 1.7 mrg 189. https://gcc.gnu.org/PR16366
10738 1.7 mrg 190. https://gcc.gnu.org/PR15345
10739 1.7 mrg 191. https://gcc.gnu.org/PR16590
10740 1.7 mrg 192. https://gcc.gnu.org/PR16693
10741 1.7 mrg 193. https://gcc.gnu.org/PR17078
10742 1.7 mrg 194. https://gcc.gnu.org/PR13956
10743 1.7 mrg 195. https://gcc.gnu.org/PR16684
10744 1.7 mrg 196. https://gcc.gnu.org/PR12658
10745 1.7 mrg 197. https://gcc.gnu.org/PR13092
10746 1.7 mrg 198. https://gcc.gnu.org/PR15320
10747 1.7 mrg 199. https://gcc.gnu.org/PR16246
10748 1.7 mrg 200. https://gcc.gnu.org/PR16273
10749 1.7 mrg 201. https://gcc.gnu.org/PR16401
10750 1.7 mrg 202. https://gcc.gnu.org/PR16411
10751 1.7 mrg 203. https://gcc.gnu.org/PR16489
10752 1.7 mrg 204. https://gcc.gnu.org/PR16618
10753 1.7 mrg 205. https://gcc.gnu.org/PR16637
10754 1.7 mrg 206. https://gcc.gnu.org/PR16717
10755 1.7 mrg 207. https://gcc.gnu.org/PR16813
10756 1.7 mrg 208. https://gcc.gnu.org/PR16853
10757 1.7 mrg 209. https://gcc.gnu.org/PR16889
10758 1.7 mrg 210. https://gcc.gnu.org/PR16959
10759 1.7 mrg 211. https://gcc.gnu.org/PR7587
10760 1.7 mrg 212. https://gcc.gnu.org/PR16473
10761 1.7 mrg 213. https://gcc.gnu.org/PR16478
10762 1.7 mrg 214. https://gcc.gnu.org/PR10695
10763 1.7 mrg 215. https://gcc.gnu.org/PR16974
10764 1.7 mrg 216. https://gcc.gnu.org/PR16298
10765 1.7 mrg 217. https://gcc.gnu.org/PR17113
10766 1.7 mrg 218. https://gcc.gnu.org/PR14697
10767 1.7 mrg 219. https://gcc.gnu.org/PR15869
10768 1.7 mrg 220. https://gcc.gnu.org/PR16325
10769 1.7 mrg 221. https://gcc.gnu.org/PR16357
10770 1.7 mrg 222. https://gcc.gnu.org/PR16380
10771 1.7 mrg 223. https://gcc.gnu.org/PR16407
10772 1.7 mrg 224. https://gcc.gnu.org/PR16643
10773 1.7 mrg 225. https://gcc.gnu.org/PR15927
10774 1.7 mrg 226. https://gcc.gnu.org/PR15948
10775 1.7 mrg 227. https://gcc.gnu.org/PR17019
10776 1.7 mrg 228. https://gcc.gnu.org/PR16130
10777 1.7 mrg 229. https://gcc.gnu.org/PR16142
10778 1.7 mrg 230. https://gcc.gnu.org/PR16278
10779 1.7 mrg 231. https://gcc.gnu.org/PR16414
10780 1.7 mrg 232. https://gcc.gnu.org/PR16445
10781 1.7 mrg 233. https://gcc.gnu.org/PR16490
10782 1.7 mrg 234. https://gcc.gnu.org/PR16683
10783 1.7 mrg 235. https://gcc.gnu.org/PR16195
10784 1.7 mrg 236. https://gcc.gnu.org/PR16239
10785 1.7 mrg 237. https://gcc.gnu.org/PR16199
10786 1.7 mrg 238. https://gcc.gnu.org/PR16416
10787 1.7 mrg 239. https://gcc.gnu.org/PR16430
10788 1.7 mrg 240. https://gcc.gnu.org/PR16379
10789 1.7 mrg 241. https://gcc.gnu.org/PR17093
10790 1.7 mrg 242. https://gcc.gnu.org/PR17119
10791 1.7 mrg 243. https://gcc.gnu.org/PR15928
10792 1.7 mrg 244. https://gcc.gnu.org/PR16210
10793 1.7 mrg 245. https://gcc.gnu.org/PR15488
10794 1.7 mrg 246. https://gcc.gnu.org/PR16250
10795 1.7 mrg 247. https://gcc.gnu.org/bugzilla/buglist.cgi?bug_status=RESOLVED&resolution=FIXED&target_milestone=3.4.3
10796 1.7 mrg 248. https://gcc.gnu.org/PR17369
10797 1.7 mrg 249. https://gcc.gnu.org/PR17850
10798 1.7 mrg 250. https://gcc.gnu.org/PR13948
10799 1.7 mrg 251. https://gcc.gnu.org/PR14492
10800 1.7 mrg 252. https://gcc.gnu.org/PR16301
10801 1.7 mrg 253. https://gcc.gnu.org/PR16566
10802 1.7 mrg 254. https://gcc.gnu.org/PR17023
10803 1.7 mrg 255. https://gcc.gnu.org/PR17027
10804 1.7 mrg 256. https://gcc.gnu.org/PR17524
10805 1.7 mrg 257. https://gcc.gnu.org/PR17826
10806 1.7 mrg 258. https://gcc.gnu.org/PR15526
10807 1.7 mrg 259. https://gcc.gnu.org/PR16999
10808 1.7 mrg 260. https://gcc.gnu.org/PR17503
10809 1.7 mrg 261. https://gcc.gnu.org/PR17581
10810 1.7 mrg 262. https://gcc.gnu.org/PR18129
10811 1.7 mrg 263. https://gcc.gnu.org/PR10975
10812 1.7 mrg 264. https://gcc.gnu.org/PR11722
10813 1.7 mrg 265. https://gcc.gnu.org/PR14534
10814 1.7 mrg 266. https://gcc.gnu.org/PR15172
10815 1.7 mrg 267. https://gcc.gnu.org/PR15786
10816 1.7 mrg 268. https://gcc.gnu.org/PR16162
10817 1.7 mrg 269. https://gcc.gnu.org/PR16612
10818 1.7 mrg 270. https://gcc.gnu.org/PR16715
10819 1.7 mrg 271. https://gcc.gnu.org/PR16848
10820 1.7 mrg 272. https://gcc.gnu.org/PR17132
10821 1.7 mrg 273. https://gcc.gnu.org/PR17259
10822 1.7 mrg 274. https://gcc.gnu.org/PR17327
10823 1.7 mrg 275. https://gcc.gnu.org/PR17393
10824 1.7 mrg 276. https://gcc.gnu.org/PR17501
10825 1.7 mrg 277. https://gcc.gnu.org/PR17537
10826 1.7 mrg 278. https://gcc.gnu.org/PR17585
10827 1.7 mrg 279. https://gcc.gnu.org/PR17821
10828 1.7 mrg 280. https://gcc.gnu.org/PR17829
10829 1.7 mrg 281. https://gcc.gnu.org/PR17851
10830 1.7 mrg 282. https://gcc.gnu.org/PR17976
10831 1.7 mrg 283. https://gcc.gnu.org/PR18020
10832 1.7 mrg 284. https://gcc.gnu.org/PR18093
10833 1.7 mrg 285. https://gcc.gnu.org/PR18140
10834 1.7 mrg 286. https://gcc.gnu.org/PR17541
10835 1.7 mrg 287. https://gcc.gnu.org/PR17853
10836 1.7 mrg 288. https://gcc.gnu.org/PR17245
10837 1.7 mrg 289. https://gcc.gnu.org/PR17167
10838 1.7 mrg 290. https://gcc.gnu.org/PR17277
10839 1.7 mrg 291. https://gcc.gnu.org/PR17505
10840 1.7 mrg 292. https://gcc.gnu.org/PR17684
10841 1.7 mrg 293. https://gcc.gnu.org/PR17384
10842 1.7 mrg 294. https://gcc.gnu.org/PR17770
10843 1.7 mrg 295. https://gcc.gnu.org/PR11476
10844 1.7 mrg 296. https://gcc.gnu.org/PR14064
10845 1.7 mrg 297. https://gcc.gnu.org/PR14678
10846 1.7 mrg 298. https://gcc.gnu.org/PR15583
10847 1.7 mrg 299. https://gcc.gnu.org/PR15790
10848 1.7 mrg 300. https://gcc.gnu.org/PR15886
10849 1.7 mrg 301. https://gcc.gnu.org/PR16884
10850 1.7 mrg 302. https://gcc.gnu.org/PR13841
10851 1.7 mrg 303. https://gcc.gnu.org/PR15860
10852 1.7 mrg 304. https://gcc.gnu.org/PR17465
10853 1.7 mrg 305. https://gcc.gnu.org/PR17469
10854 1.7 mrg 306. https://gcc.gnu.org/PR18138
10855 1.7 mrg 307. https://gcc.gnu.org/PR15498
10856 1.7 mrg 308. https://gcc.gnu.org/PR15747
10857 1.7 mrg 309. https://gcc.gnu.org/PR16406
10858 1.7 mrg 310. https://gcc.gnu.org/bugzilla/buglist.cgi?bug_status=RESOLVED&resolution=FIXED&target_milestone=3.4.4
10859 1.7 mrg 311. https://gcc.gnu.org/bugzilla/buglist.cgi?bug_status=RESOLVED&resolution=FIXED&target_milestone=3.4.5
10860 1.7 mrg 312. https://gcc.gnu.org/PR24688
10861 1.7 mrg 313. https://gcc.gnu.org/PR17188
10862 1.7 mrg 314. https://gcc.gnu.org/PR20187
10863 1.7 mrg 315. https://gcc.gnu.org/PR21873
10864 1.7 mrg 316. https://gcc.gnu.org/PR21899
10865 1.7 mrg 317. https://gcc.gnu.org/PR22061
10866 1.7 mrg 318. https://gcc.gnu.org/PR22208
10867 1.7 mrg 319. https://gcc.gnu.org/PR22458
10868 1.7 mrg 320. https://gcc.gnu.org/PR22589
10869 1.7 mrg 321. https://gcc.gnu.org/PR24101
10870 1.7 mrg 322. https://gcc.gnu.org/PR10611
10871 1.7 mrg 323. https://gcc.gnu.org/PR13377
10872 1.7 mrg 324. https://gcc.gnu.org/PR16002
10873 1.7 mrg 325. https://gcc.gnu.org/PR17413
10874 1.7 mrg 326. https://gcc.gnu.org/PR17609
10875 1.7 mrg 327. https://gcc.gnu.org/PR17618
10876 1.7 mrg 328. https://gcc.gnu.org/PR18124
10877 1.7 mrg 329. https://gcc.gnu.org/PR18155
10878 1.7 mrg 330. https://gcc.gnu.org/PR18177
10879 1.7 mrg 331. https://gcc.gnu.org/PR18368
10880 1.7 mrg 332. https://gcc.gnu.org/PR18378
10881 1.7 mrg 333. https://gcc.gnu.org/PR18466
10882 1.7 mrg 334. https://gcc.gnu.org/PR18512
10883 1.7 mrg 335. https://gcc.gnu.org/PR18545
10884 1.7 mrg 336. https://gcc.gnu.org/PR18738
10885 1.7 mrg 337. https://gcc.gnu.org/PR18803
10886 1.7 mrg 338. https://gcc.gnu.org/PR19004
10887 1.7 mrg 339. https://gcc.gnu.org/PR19208
10888 1.7 mrg 340. https://gcc.gnu.org/PR19253
10889 1.7 mrg 341. https://gcc.gnu.org/PR19608
10890 1.7 mrg 342. https://gcc.gnu.org/PR19884
10891 1.7 mrg 343. https://gcc.gnu.org/PR20153
10892 1.7 mrg 344. https://gcc.gnu.org/PR20563
10893 1.7 mrg 345. https://gcc.gnu.org/PR20789
10894 1.7 mrg 346. https://gcc.gnu.org/PR21336
10895 1.7 mrg 347. https://gcc.gnu.org/PR21768
10896 1.7 mrg 348. https://gcc.gnu.org/PR21853
10897 1.7 mrg 349. https://gcc.gnu.org/PR21903
10898 1.7 mrg 350. https://gcc.gnu.org/PR21983
10899 1.7 mrg 351. https://gcc.gnu.org/PR21987
10900 1.7 mrg 352. https://gcc.gnu.org/PR22153
10901 1.7 mrg 353. https://gcc.gnu.org/PR22172
10902 1.7 mrg 354. https://gcc.gnu.org/PR21286
10903 1.7 mrg 355. https://gcc.gnu.org/PR22233
10904 1.7 mrg 356. https://gcc.gnu.org/PR22508
10905 1.7 mrg 357. https://gcc.gnu.org/PR22545
10906 1.7 mrg 358. https://gcc.gnu.org/PR23528
10907 1.7 mrg 359. https://gcc.gnu.org/PR23550
10908 1.7 mrg 360. https://gcc.gnu.org/PR23586
10909 1.7 mrg 361. https://gcc.gnu.org/PR23624
10910 1.7 mrg 362. https://gcc.gnu.org/PR23639
10911 1.7 mrg 363. https://gcc.gnu.org/PR23797
10912 1.7 mrg 364. https://gcc.gnu.org/PR23965
10913 1.7 mrg 365. https://gcc.gnu.org/PR24052
10914 1.7 mrg 366. https://gcc.gnu.org/PR24580
10915 1.7 mrg 367. https://gcc.gnu.org/PR24267
10916 1.7 mrg 368. https://gcc.gnu.org/PR17810
10917 1.7 mrg 369. https://gcc.gnu.org/PR17860
10918 1.7 mrg 370. https://gcc.gnu.org/PR21709
10919 1.7 mrg 371. https://gcc.gnu.org/PR21964
10920 1.7 mrg 372. https://gcc.gnu.org/PR22167
10921 1.7 mrg 373. https://gcc.gnu.org/PR22619
10922 1.7 mrg 374. https://gcc.gnu.org/PR23241
10923 1.7 mrg 375. https://gcc.gnu.org/PR23478
10924 1.7 mrg 376. https://gcc.gnu.org/PR24470
10925 1.7 mrg 377. https://gcc.gnu.org/PR24950
10926 1.7 mrg 378. https://gcc.gnu.org/PR14400
10927 1.7 mrg 379. https://gcc.gnu.org/PR14940
10928 1.7 mrg 380. https://gcc.gnu.org/PR20239
10929 1.7 mrg 381. https://gcc.gnu.org/PR15220
10930 1.7 mrg 382. https://gcc.gnu.org/PR19275
10931 1.7 mrg 383. https://gcc.gnu.org/PR21888
10932 1.7 mrg 384. https://gcc.gnu.org/PR15342
10933 1.7 mrg 385. https://gcc.gnu.org/PR23985
10934 1.7 mrg 386. https://gcc.gnu.org/PR16719
10935 1.7 mrg 387. https://gcc.gnu.org/PR21723
10936 1.7 mrg 388. https://gcc.gnu.org/PR21841
10937 1.7 mrg 389. https://gcc.gnu.org/PR23644
10938 1.7 mrg 390. https://gcc.gnu.org/PR24718
10939 1.7 mrg 391. https://gcc.gnu.org/PR18421
10940 1.7 mrg 392. https://gcc.gnu.org/PR20621
10941 1.7 mrg 393. https://gcc.gnu.org/PR18583
10942 1.7 mrg 394. https://gcc.gnu.org/PR20191
10943 1.7 mrg 395. https://gcc.gnu.org/PR22083
10944 1.7 mrg 396. https://gcc.gnu.org/PR23070
10945 1.7 mrg 397. https://gcc.gnu.org/PR23404
10946 1.7 mrg 398. https://gcc.gnu.org/PR23539
10947 1.7 mrg 399. https://gcc.gnu.org/PR24102
10948 1.7 mrg 400. https://gcc.gnu.org/PR24465
10949 1.7 mrg 401. https://gcc.gnu.org/PR19933
10950 1.7 mrg 402. https://gcc.gnu.org/PR21889
10951 1.7 mrg 403. https://gcc.gnu.org/PR19300
10952 1.7 mrg 404. https://gcc.gnu.org/PR20301
10953 1.7 mrg 405. https://gcc.gnu.org/PR20673
10954 1.7 mrg 406. https://gcc.gnu.org/PR18582
10955 1.7 mrg 407. https://gcc.gnu.org/PR19340
10956 1.7 mrg 408. https://gcc.gnu.org/PR21716
10957 1.7 mrg 409. https://gcc.gnu.org/PR24315
10958 1.7 mrg 410. https://gcc.gnu.org/bugzilla/buglist.cgi?bug_status=RESOLVED&resolution=FIXED&target_milestone=3.4.6
10959 1.7 mrg 411. https://gcc.gnu.org/onlinedocs/
10960 1.7 mrg 412. mailto:gcc-help (a] gcc.gnu.org
10961 1.7 mrg 413. mailto:gcc (a] gcc.gnu.org
10962 1.7 mrg 414. https://gcc.gnu.org/lists.html
10963 1.7 mrg 415. http://www.fsf.org/
10964 1.7 mrg 416. https://gcc.gnu.org/about.html
10965 1.7 mrg 417. http://validator.w3.org/check/referer
10966 1.1 mrg ======================================================================
10967 1.1 mrg http://gcc.gnu.org/gcc-3.3/index.html
10968 1.1 mrg GCC 3.3 Release Series
10969 1.1 mrg
10970 1.1 mrg May 03, 2005
10971 1.1 mrg
10972 1.1 mrg The [1]GNU project and the GCC developers are pleased to announce the
10973 1.1 mrg release of GCC 3.3.6.
10974 1.1 mrg
10975 1.1 mrg This release is a bug-fix release, containing fixes for regressions in
10976 1.1 mrg GCC 3.3.5 relative to previous releases of GCC.
10977 1.1 mrg
10978 1.1 mrg This release is the last of the series 3.3.x.
10979 1.1 mrg
10980 1.1 mrg The GCC 3.3 release series includes numerous [2]new features,
10981 1.1 mrg improvements, bug fixes, and other changes, thanks to an [3]amazing
10982 1.1 mrg group of volunteers.
10983 1.1 mrg
10984 1.7 mrg This release series is no longer maintained.
10985 1.7 mrg
10986 1.1 mrg Release History
10987 1.1 mrg
10988 1.1 mrg GCC 3.3.6
10989 1.1 mrg May 3, 2005 ([4]changes)
10990 1.1 mrg
10991 1.1 mrg GCC 3.3.5
10992 1.1 mrg September 30, 2004 ([5]changes)
10993 1.1 mrg
10994 1.1 mrg GCC 3.3.4
10995 1.1 mrg May 31, 2004 ([6]changes)
10996 1.1 mrg
10997 1.1 mrg GCC 3.3.3
10998 1.1 mrg February 14, 2004 ([7]changes)
10999 1.1 mrg
11000 1.1 mrg GCC 3.3.2
11001 1.1 mrg October 16, 2003 ([8]changes)
11002 1.1 mrg
11003 1.1 mrg GCC 3.3.1
11004 1.1 mrg August 8, 2003 ([9]changes)
11005 1.1 mrg
11006 1.1 mrg GCC 3.3
11007 1.1 mrg May 14, 2003 ([10]changes)
11008 1.1 mrg
11009 1.1 mrg References and Acknowledgements
11010 1.1 mrg
11011 1.1 mrg GCC used to stand for the GNU C Compiler, but since the compiler
11012 1.1 mrg supports several other languages aside from C, it now stands for the
11013 1.1 mrg GNU Compiler Collection.
11014 1.1 mrg
11015 1.1 mrg A list of [11]successful builds is updated as new information becomes
11016 1.1 mrg available.
11017 1.1 mrg
11018 1.1 mrg The GCC developers would like to thank the numerous people that have
11019 1.1 mrg contributed new features, improvements, bug fixes, and other changes as
11020 1.1 mrg well as test results to GCC. This [12]amazing group of volunteers is
11021 1.1 mrg what makes GCC successful.
11022 1.1 mrg
11023 1.1 mrg For additional information about GCC please refer to the [13]GCC
11024 1.1 mrg project web site or contact the [14]GCC development mailing list.
11025 1.1 mrg
11026 1.1 mrg To obtain GCC please use [15]our mirror sites, or our CVS server.
11027 1.1 mrg
11028 1.1 mrg
11029 1.1 mrg For questions related to the use of GCC, please consult these web
11030 1.1 mrg pages and the [16]GCC manuals. If that fails, the
11031 1.1 mrg [17]gcc-help (a] gcc.gnu.org mailing list might help. Comments on these
11032 1.1 mrg web pages and the development of GCC are welcome on our developer
11033 1.1 mrg list at [18]gcc (a] gcc.gnu.org. All of [19]our lists have public
11034 1.1 mrg archives.
11035 1.1 mrg
11036 1.1 mrg Copyright (C) [20]Free Software Foundation, Inc. Verbatim copying and
11037 1.1 mrg distribution of this entire article is permitted in any medium,
11038 1.1 mrg provided this notice is preserved.
11039 1.1 mrg
11040 1.1 mrg These pages are [21]maintained by the GCC team. Last modified
11041 1.7 mrg 2016-09-30[22].
11042 1.1 mrg
11043 1.1 mrg References
11044 1.1 mrg
11045 1.1 mrg 1. http://www.gnu.org/
11046 1.1 mrg 2. http://gcc.gnu.org/gcc-3.3/changes.html
11047 1.4 mrg 3. https://gcc.gnu.org/onlinedocs/gcc/Contributors.html
11048 1.1 mrg 4. http://gcc.gnu.org/gcc-3.3/changes.html#3.3.6
11049 1.1 mrg 5. http://gcc.gnu.org/gcc-3.3/changes.html#3.3.5
11050 1.1 mrg 6. http://gcc.gnu.org/gcc-3.3/changes.html#3.3.4
11051 1.1 mrg 7. http://gcc.gnu.org/gcc-3.3/changes.html#3.3.3
11052 1.1 mrg 8. http://gcc.gnu.org/gcc-3.3/changes.html#3.3.2
11053 1.1 mrg 9. http://gcc.gnu.org/gcc-3.3/changes.html#3.3.1
11054 1.1 mrg 10. http://gcc.gnu.org/gcc-3.3/changes.html
11055 1.1 mrg 11. http://gcc.gnu.org/gcc-3.3/buildstat.html
11056 1.4 mrg 12. https://gcc.gnu.org/onlinedocs/gcc/Contributors.html
11057 1.1 mrg 13. http://gcc.gnu.org/index.html
11058 1.1 mrg 14. mailto:gcc (a] gcc.gnu.org
11059 1.1 mrg 15. http://gcc.gnu.org/mirrors.html
11060 1.4 mrg 16. https://gcc.gnu.org/onlinedocs/
11061 1.1 mrg 17. mailto:gcc-help (a] gcc.gnu.org
11062 1.1 mrg 18. mailto:gcc (a] gcc.gnu.org
11063 1.4 mrg 19. https://gcc.gnu.org/lists.html
11064 1.1 mrg 20. http://www.fsf.org/
11065 1.4 mrg 21. https://gcc.gnu.org/about.html
11066 1.1 mrg 22. http://validator.w3.org/check/referer
11067 1.1 mrg ======================================================================
11068 1.1 mrg http://gcc.gnu.org/gcc-3.3/changes.html
11069 1.1 mrg GCC 3.3 Release Series
11070 1.1 mrg Changes, New Features, and Fixes
11071 1.1 mrg
11072 1.1 mrg The latest release in the 3.3 release series is [1]GCC 3.3.6.
11073 1.1 mrg
11074 1.1 mrg Caveats
11075 1.1 mrg
11076 1.1 mrg * The preprocessor no longer accepts multi-line string literals. They
11077 1.1 mrg were deprecated in 3.0, 3.1, and 3.2.
11078 1.1 mrg * The preprocessor no longer supports the -A- switch when appearing
11079 1.1 mrg alone. -A- followed by an assertion is still supported.
11080 1.1 mrg * Support for all the systems [2]obsoleted in GCC 3.1 has been
11081 1.1 mrg removed from GCC 3.3. See below for a [3]list of systems which are
11082 1.1 mrg obsoleted in this release.
11083 1.1 mrg * Checking for null format arguments has been decoupled from the rest
11084 1.1 mrg of the format checking mechanism. Programs which use the format
11085 1.1 mrg attribute may regain this functionality by using the new [4]nonnull
11086 1.1 mrg function attribute. Note that all functions for which GCC has a
11087 1.1 mrg built-in format attribute, an appropriate built-in nonnull
11088 1.1 mrg attribute is also applied.
11089 1.1 mrg * The DWARF (version 1) debugging format has been deprecated and will
11090 1.1 mrg be removed in a future version of GCC. Version 2 of the DWARF
11091 1.1 mrg debugging format will continue to be supported for the foreseeable
11092 1.1 mrg future.
11093 1.1 mrg * The C and Objective-C compilers no longer accept the "Naming Types"
11094 1.1 mrg extension (typedef foo = bar); it was already unavailable in C++.
11095 1.1 mrg Code which uses it will need to be changed to use the "typeof"
11096 1.1 mrg extension instead: typedef typeof(bar) foo. (We have removed this
11097 1.1 mrg extension without a period of deprecation because it has caused the
11098 1.1 mrg compiler to crash since version 3.0 and no one noticed until very
11099 1.1 mrg recently. Thus we conclude it is not in widespread use.)
11100 1.1 mrg * The -traditional C compiler option has been removed. It was
11101 1.1 mrg deprecated in 3.1 and 3.2. (Traditional preprocessing remains
11102 1.1 mrg available.) The <varargs.h> header, used for writing variadic
11103 1.1 mrg functions in traditional C, still exists but will produce an error
11104 1.1 mrg message if used.
11105 1.1 mrg * GCC 3.3.1 automatically places zero-initialized variables in the
11106 1.1 mrg .bss section on some operating systems. Versions of GNU Emacs up to
11107 1.1 mrg (and including) 21.3 will not work correctly when using this
11108 1.1 mrg optimization; you can use -fno-zero-initialized-in-bss to disable
11109 1.1 mrg it.
11110 1.1 mrg
11111 1.1 mrg General Optimizer Improvements
11112 1.1 mrg
11113 1.1 mrg * A new scheme for accurately describing processor pipelines, the
11114 1.1 mrg [5]DFA scheduler, has been added.
11115 1.1 mrg * Pavel Nejedly, Charles University Prague, has contributed new file
11116 1.1 mrg format used by the edge coverage profiler (-fprofile-arcs).
11117 1.1 mrg The new format is robust and diagnoses common mistakes where
11118 1.1 mrg profiles from different versions (or compilations) of the program
11119 1.1 mrg are combined resulting in nonsensical profiles and slow code to
11120 1.1 mrg produced with profile feedback. Additionally this format allows
11121 1.1 mrg extra data to be gathered. Currently, overall statistics are
11122 1.1 mrg produced helping optimizers to identify hot spots of a program
11123 1.1 mrg globally replacing the old intra-procedural scheme and resulting in
11124 1.1 mrg better code. Note that the gcov tool from older GCC versions will
11125 1.1 mrg not be able to parse the profiles generated by GCC 3.3 and vice
11126 1.1 mrg versa.
11127 1.1 mrg * Jan Hubicka, SuSE Labs, has contributed a new superblock formation
11128 1.1 mrg pass enabled using -ftracer. This pass simplifies the control flow
11129 1.1 mrg of functions allowing other optimizations to do better job.
11130 1.1 mrg He also contributed the function reordering pass
11131 1.1 mrg (-freorder-functions) to optimize function placement using profile
11132 1.1 mrg feedback.
11133 1.1 mrg
11134 1.1 mrg New Languages and Language specific improvements
11135 1.1 mrg
11136 1.1 mrg C/ObjC/C++
11137 1.1 mrg
11138 1.1 mrg * The preprocessor now accepts directives within macro arguments. It
11139 1.1 mrg processes them just as if they had not been within macro arguments.
11140 1.1 mrg * The separate ISO and traditional preprocessors have been completely
11141 1.1 mrg removed. The front end handles either type of preprocessed output
11142 1.1 mrg if necessary.
11143 1.1 mrg * In C99 mode preprocessor arithmetic is done in the precision of the
11144 1.1 mrg target's intmax_t, as required by that standard.
11145 1.1 mrg * The preprocessor can now copy comments inside macros to the output
11146 1.1 mrg file when the macro is expanded. This feature, enabled using the
11147 1.1 mrg -CC option, is intended for use by applications which place
11148 1.1 mrg metadata or directives inside comments, such as lint.
11149 1.1 mrg * The method of constructing the list of directories to be searched
11150 1.1 mrg for header files has been revised. If a directory named by a -I
11151 1.1 mrg option is a standard system include directory, the option is
11152 1.1 mrg ignored to ensure that the default search order for system
11153 1.1 mrg directories and the special treatment of system header files are
11154 1.1 mrg not defeated.
11155 1.1 mrg * A few more [6]ISO C99 features now work correctly.
11156 1.1 mrg * A new function attribute, nonnull, has been added which allows
11157 1.1 mrg pointer arguments to functions to be specified as requiring a
11158 1.1 mrg non-null value. The compiler currently uses this information to
11159 1.1 mrg issue a warning when it detects a null value passed in such an
11160 1.1 mrg argument slot.
11161 1.1 mrg * A new type attribute, may_alias, has been added. Accesses to
11162 1.1 mrg objects with types with this attribute are not subjected to
11163 1.1 mrg type-based alias analysis, but are instead assumed to be able to
11164 1.1 mrg alias any other type of objects, just like the char type.
11165 1.1 mrg
11166 1.1 mrg C++
11167 1.1 mrg
11168 1.1 mrg * Type based alias analysis has been implemented for C++ aggregate
11169 1.1 mrg types.
11170 1.1 mrg
11171 1.1 mrg Objective-C
11172 1.1 mrg
11173 1.1 mrg * Generate an error if Objective-C objects are passed by value in
11174 1.1 mrg function and method calls.
11175 1.1 mrg * When -Wselector is used, check the whole list of selectors at the
11176 1.1 mrg end of compilation, and emit a warning if a @selector() is not
11177 1.1 mrg known.
11178 1.1 mrg * Define __NEXT_RUNTIME__ when compiling for the NeXT runtime.
11179 1.1 mrg * No longer need to include objc/objc-class.h to compile self calls
11180 1.1 mrg in class methods (NeXT runtime only).
11181 1.1 mrg * New -Wundeclared-selector option.
11182 1.1 mrg * Removed selector bloating which was causing object files to be 10%
11183 1.1 mrg bigger on average (GNU runtime only).
11184 1.1 mrg * Using at run time @protocol() objects has been fixed in certain
11185 1.1 mrg situations (GNU runtime only).
11186 1.1 mrg * Type checking has been fixed and improved in many situations
11187 1.1 mrg involving protocols.
11188 1.1 mrg
11189 1.1 mrg Java
11190 1.1 mrg
11191 1.1 mrg * The java.sql and javax.sql packages now implement the JDBC 3.0 (JDK
11192 1.1 mrg 1.4) API.
11193 1.1 mrg * The JDK 1.4 assert facility has been implemented.
11194 1.1 mrg * The bytecode interpreter is now direct threaded and thus faster.
11195 1.1 mrg
11196 1.1 mrg Fortran
11197 1.1 mrg
11198 1.1 mrg * Fortran improvements are listed in [7]the Fortran documentation.
11199 1.1 mrg
11200 1.1 mrg Ada
11201 1.1 mrg
11202 1.1 mrg * Ada tasking now works with glibc 2.3.x threading libraries.
11203 1.1 mrg
11204 1.1 mrg New Targets and Target Specific Improvements
11205 1.1 mrg
11206 1.1 mrg * The following changes have been made to the HP-PA port:
11207 1.1 mrg + The port now defaults to scheduling for the PA8000 series of
11208 1.1 mrg processors.
11209 1.1 mrg + Scheduling support for the PA7300 processor has been added.
11210 1.1 mrg + The 32-bit port now supports weak symbols under HP-UX 11.
11211 1.1 mrg + The handling of initializers and finalizers has been improved
11212 1.1 mrg under HP-UX 11. The 64-bit port no longer uses collect2.
11213 1.3 skrll + Dwarf2 EH support has been added to the 32-bit GNU/Linux port.
11214 1.1 mrg + ABI fixes to correct the passing of small structures by value.
11215 1.1 mrg * The SPARC, HP-PA, SH4, and x86/pentium ports have been converted to
11216 1.1 mrg use the DFA processor pipeline description.
11217 1.1 mrg * The following NetBSD configurations for the SuperH processor family
11218 1.1 mrg have been added:
11219 1.1 mrg + SH3, big-endian, sh-*-netbsdelf*
11220 1.1 mrg + SH3, little-endian, shle-*-netbsdelf*
11221 1.1 mrg + SH5, SHmedia, big-endian, 32-bit default, sh5-*-netbsd*
11222 1.1 mrg + SH5, SHmedia, little-endian, 32-bit default, sh5le-*-netbsd*
11223 1.1 mrg + SH5, SHmedia, big-endian, 64-bit default, sh64-*-netbsd*
11224 1.1 mrg + SH5, SHmedia, little-endian, 64-bit default, sh64le-*-netbsd*
11225 1.1 mrg * The following changes have been made to the IA-32/x86-64 port:
11226 1.1 mrg + SSE2 and 3dNOW! intrinsics are now supported.
11227 1.1 mrg + Support for thread local storage has been added to the IA-32
11228 1.1 mrg and x86-64 ports.
11229 1.1 mrg + The x86-64 port has been significantly improved.
11230 1.1 mrg * The following changes have been made to the MIPS port:
11231 1.1 mrg + All configurations now accept the -mabi switch. Note that you
11232 1.1 mrg will need appropriate multilibs for this option to work
11233 1.1 mrg properly.
11234 1.1 mrg + ELF configurations will always pass an ABI flag to the
11235 1.1 mrg assembler, except when the MIPS EABI is selected.
11236 1.1 mrg + -mabi=64 no longer selects MIPS IV code.
11237 1.1 mrg + The -mcpu option, which was deprecated in 3.1 and 3.2, has
11238 1.1 mrg been removed from this release.
11239 1.1 mrg + -march now changes the core ISA level. In previous releases,
11240 1.1 mrg it would change the use of processor-specific extensions, but
11241 1.1 mrg would leave the core ISA unchanged. For example, mips64-elf
11242 1.1 mrg -march=r8000 will now generate MIPS IV code.
11243 1.1 mrg + Under most configurations, -mipsN now acts as a synonym for
11244 1.1 mrg -march.
11245 1.1 mrg + There are some new preprocessor macros to describe the -march
11246 1.1 mrg and -mtune settings. See the documentation of those options
11247 1.1 mrg for details.
11248 1.1 mrg + Support for the NEC VR-Series processors has been added. This
11249 1.1 mrg includes the 54xx, 5500, and 41xx series.
11250 1.1 mrg + Support for the Sandcraft sr71k processor has been added.
11251 1.1 mrg * The following changes have been made to the S/390 port:
11252 1.1 mrg + Support to build the Java runtime libraries has been added.
11253 1.1 mrg Java is now enabled by default on s390-*-linux* and
11254 1.1 mrg s390x-*-linux* targets.
11255 1.1 mrg + Multilib support for the s390x-*-linux* target has been added;
11256 1.1 mrg this allows to build 31-bit binaries using the -m31 option.
11257 1.1 mrg + Support for thread local storage has been added.
11258 1.1 mrg + Inline assembler code may now use the 'Q' constraint to
11259 1.1 mrg specify memory operands without index register.
11260 1.1 mrg + Various platform-specific performance improvements have been
11261 1.1 mrg implemented; in particular, the compiler now uses the BRANCH
11262 1.1 mrg ON COUNT family of instructions and makes more frequent use of
11263 1.1 mrg the TEST UNDER MASK family of instructions.
11264 1.1 mrg * The following changes have been made to the PowerPC port:
11265 1.1 mrg + Support for IBM Power4 processor added.
11266 1.1 mrg + Support for Motorola e500 SPE added.
11267 1.1 mrg + Support for AIX 5.2 added.
11268 1.1 mrg + Function and Data sections now supported on AIX.
11269 1.1 mrg + Sibcall optimizations added.
11270 1.1 mrg * The support for H8 Tiny is added to the H8/300 port with -mn.
11271 1.1 mrg
11272 1.1 mrg Obsolete Systems
11273 1.1 mrg
11274 1.1 mrg Support for a number of older systems has been declared obsolete in GCC
11275 1.1 mrg 3.3. Unless there is activity to revive them, the next release of GCC
11276 1.1 mrg will have their sources permanently removed.
11277 1.1 mrg
11278 1.1 mrg All configurations of the following processor architectures have been
11279 1.1 mrg declared obsolete:
11280 1.1 mrg * Matsushita MN10200, mn10200-*-*
11281 1.1 mrg * Motorola 88000, m88k-*-*
11282 1.1 mrg * IBM ROMP, romp-*-*
11283 1.1 mrg
11284 1.1 mrg Also, some individual systems have been obsoleted:
11285 1.1 mrg * Alpha
11286 1.1 mrg + Interix, alpha*-*-interix*
11287 1.1 mrg + Linux libc1, alpha*-*-linux*libc1*
11288 1.1 mrg + Linux ECOFF, alpha*-*-linux*ecoff*
11289 1.1 mrg * ARM
11290 1.1 mrg + Generic a.out, arm*-*-aout*
11291 1.1 mrg + Conix, arm*-*-conix*
11292 1.1 mrg + "Old ABI," arm*-*-oabi
11293 1.1 mrg + StrongARM/COFF, strongarm-*-coff*
11294 1.1 mrg * HPPA (PA-RISC)
11295 1.1 mrg + Generic OSF, hppa1.0-*-osf*
11296 1.1 mrg + Generic BSD, hppa1.0-*-bsd*
11297 1.1 mrg + HP/UX versions 7, 8, and 9, hppa1.[01]-*-hpux[789]*
11298 1.1 mrg + HiUX, hppa*-*-hiux*
11299 1.1 mrg + Mach Lites, hppa*-*-lites*
11300 1.1 mrg * Intel 386 family
11301 1.1 mrg + Windows NT 3.x, i?86-*-win32
11302 1.1 mrg * MC68000 family
11303 1.1 mrg + HP systems, m68000-hp-bsd* and m68k-hp-bsd*
11304 1.1 mrg + Sun systems, m68000-sun-sunos*, m68k-sun-sunos*, and
11305 1.1 mrg m68k-sun-mach*
11306 1.1 mrg + AT&T systems, m68000-att-sysv*
11307 1.1 mrg + Atari systems, m68k-atari-sysv*
11308 1.1 mrg + Motorola systems, m68k-motorola-sysv*
11309 1.1 mrg + NCR systems, m68k-ncr-sysv*
11310 1.1 mrg + Plexus systems, m68k-plexus-sysv*
11311 1.1 mrg + Commodore systems, m68k-cbm-sysv*
11312 1.1 mrg + Citicorp TTI, m68k-tti-*
11313 1.1 mrg + Unos, m68k-crds-unos*
11314 1.1 mrg + Concurrent RTU, m68k-ccur-rtu*
11315 1.1 mrg + Linux a.out, m68k-*-linux*aout*
11316 1.1 mrg + Linux libc1, m68k-*-linux*libc1*
11317 1.1 mrg + pSOS, m68k-*-psos*
11318 1.1 mrg * MIPS
11319 1.1 mrg + Generic ECOFF, mips*-*-ecoff*
11320 1.1 mrg + SINIX, mips-sni-sysv4
11321 1.1 mrg + Orion RTEMS, mips64orion-*-rtems*
11322 1.1 mrg * National Semiconductor 32000
11323 1.1 mrg + OpenBSD, ns32k-*-openbsd*
11324 1.1 mrg * POWER (aka RS/6000) and PowerPC
11325 1.1 mrg + AIX versions 1, 2, and 3, rs6000-ibm-aix[123]*
11326 1.1 mrg + Bull BOSX, rs6000-bull-bosx
11327 1.1 mrg + Generic Mach, rs6000-*-mach*
11328 1.1 mrg + Generic SysV, powerpc*-*-sysv*
11329 1.1 mrg + Linux libc1, powerpc*-*-linux*libc1*
11330 1.1 mrg * Sun SPARC
11331 1.1 mrg + Generic a.out, sparc-*-aout*, sparclet-*-aout*,
11332 1.1 mrg sparclite-*-aout*, and sparc86x-*-aout*
11333 1.1 mrg + NetBSD a.out, sparc-*-netbsd*aout*
11334 1.1 mrg + Generic BSD, sparc-*-bsd*
11335 1.1 mrg + ChorusOS, sparc-*-chorusos*
11336 1.1 mrg + Linux a.out, sparc-*-linux*aout*
11337 1.1 mrg + Linux libc1, sparc-*-linux*libc1*
11338 1.1 mrg + LynxOS, sparc-*-lynxos*
11339 1.1 mrg + Solaris on HAL hardware, sparc-hal-solaris2*
11340 1.1 mrg + SunOS versions 3 and 4, sparc-*-sunos[34]*
11341 1.1 mrg * NEC V850
11342 1.1 mrg + RTEMS, v850-*-rtems*
11343 1.1 mrg * VAX
11344 1.1 mrg + VMS, vax-*-vms*
11345 1.1 mrg
11346 1.1 mrg Documentation improvements
11347 1.1 mrg
11348 1.1 mrg Other significant improvements
11349 1.1 mrg
11350 1.1 mrg * Almost all front-end dependencies in the compiler have been
11351 1.1 mrg separated out into a set of language hooks. This should make adding
11352 1.1 mrg a new front end clearer and easier.
11353 1.1 mrg * One effect of removing the separate preprocessor is a small
11354 1.1 mrg increase in the robustness of the compiler in general, and the
11355 1.1 mrg maintainability of target descriptions. Previously target-specific
11356 1.1 mrg built-in macros and others, such as __FAST_MATH__, had to be
11357 1.1 mrg handled with so-called specs that were hard to maintain. Often they
11358 1.1 mrg would fail to behave properly when conflicting options were
11359 1.1 mrg supplied on the command line, and define macros in the user's
11360 1.1 mrg namespace even when strict ISO compliance was requested.
11361 1.1 mrg Integrating the preprocessor has cleanly solved these issues.
11362 1.1 mrg * The Makefile suite now supports redirection of make install by
11363 1.1 mrg means of the variable DESTDIR.
11364 1.1 mrg __________________________________________________________________
11365 1.1 mrg
11366 1.1 mrg GCC 3.3
11367 1.1 mrg
11368 1.1 mrg Detailed release notes for the GCC 3.3 release follow.
11369 1.1 mrg
11370 1.1 mrg Bug Fixes
11371 1.1 mrg
11372 1.1 mrg bootstrap failures
11373 1.1 mrg
11374 1.1 mrg * [8]10140 cross compiler build failures: missing __mempcpy (DUP:
11375 1.1 mrg [9]10198,[10]10338)
11376 1.1 mrg
11377 1.1 mrg Internal compiler errors (multi-platform)
11378 1.1 mrg
11379 1.1 mrg * [11]3581 large string causes segmentation fault in cc1
11380 1.1 mrg * [12]4382 __builtin_{set,long}jmp with -O3 can crash the compiler
11381 1.1 mrg * [13]5533 (c++) ICE when processing std::accumulate(begin, end,
11382 1.1 mrg init, invalid_op)
11383 1.1 mrg * [14]6387 -fpic -gdwarf-2 -g1 combination gives ICE in dwarf2out
11384 1.1 mrg * [15]6412 (c++) ICE in retrieve_specialization
11385 1.1 mrg * [16]6620 (c++) partial template specialization causes an ICE
11386 1.1 mrg (segmentation fault)
11387 1.1 mrg * [17]6663 (c++) ICE with attribute aligned
11388 1.1 mrg * [18]7068 ICE with incomplete types
11389 1.1 mrg * [19]7083 (c++) ICE using -gstabs with dodgy class derivation
11390 1.1 mrg * [20]7647 (c++) ICE when data member has the name of the enclosing
11391 1.1 mrg class
11392 1.1 mrg * [21]7675 ICE in fixup_var_refs_1
11393 1.1 mrg * [22]7718 'complex' template instantiation causes ICE
11394 1.1 mrg * [23]8116 (c++) ICE in member template function
11395 1.1 mrg * [24]8358 (ada) Ada compiler accesses freed memory, crashes
11396 1.1 mrg * [25]8511 (c++) ICE: (hopefully) reproducible cc1plus segmentation
11397 1.1 mrg fault
11398 1.1 mrg * [26]8564 (c++) ICE in find_function_data, in function.c
11399 1.1 mrg * [27]8660 (c++) template overloading ICE in tsubst_expr, in cp/pt.c
11400 1.1 mrg * [28]8766 (c++) ICE after failed initialization of static template
11401 1.1 mrg variable
11402 1.1 mrg * [29]8803 ICE in instantiate_virtual_regs_1, in function.c
11403 1.1 mrg * [30]8846 (c++) ICE after diagnostic if fr_FR@euro locale is set
11404 1.1 mrg * [31]8906 (c++) ICE (Segmentation fault) when parsing nested-class
11405 1.1 mrg definition
11406 1.1 mrg * [32]9216 (c++) ICE on missing template parameter
11407 1.1 mrg * [33]9261 (c++) ICE in arg_assoc, in cp/decl2.c
11408 1.1 mrg * [34]9263 (fortran) ICE caused by invalid PARAMETER in implied DO
11409 1.1 mrg loop
11410 1.1 mrg * [35]9429 (c++) ICE in template instantiation with a pointered new
11411 1.1 mrg operator
11412 1.1 mrg * [36]9516 Internal error when using a big array
11413 1.1 mrg * [37]9600 (c++) ICE with typedefs in template class
11414 1.1 mrg * [38]9629 (c++) virtual inheritance segfault
11415 1.1 mrg * [39]9672 (c++) ICE: Error reporting routines re-entered
11416 1.1 mrg * [40]9749 (c++) ICE in write_expression on invalid function
11417 1.1 mrg prototype
11418 1.1 mrg * [41]9794 (fortran) ICE: floating point exception during constant
11419 1.1 mrg folding
11420 1.1 mrg * [42]9829 (c++) Missing colon in nested namespace usage causes ICE
11421 1.1 mrg * [43]9916 (c++) ICE with noreturn function in ?: statement
11422 1.1 mrg * [44]9936 ICE with local function and variable-length 2d array
11423 1.1 mrg * [45]10262 (c++) cc1plus crashes with large generated code
11424 1.1 mrg * [46]10278 (c++) ICE in parser for invalid code
11425 1.1 mrg * [47]10446 (c++) ICE on definition of nonexistent member function of
11426 1.1 mrg nested class in a class template
11427 1.1 mrg * [48]10451 (c++) ICE in grokdeclarator on spurious mutable
11428 1.1 mrg declaration
11429 1.1 mrg * [49]10506 (c++) ICE in build_new at cp/init.c with
11430 1.1 mrg -fkeep-inline-functions and multiple inheritance
11431 1.1 mrg * [50]10549 (c++) ICE in store_bit_field on bitfields that exceed the
11432 1.1 mrg precision of the declared type
11433 1.1 mrg
11434 1.1 mrg Optimization bugs
11435 1.1 mrg
11436 1.1 mrg * [51]2001 Inordinately long compile times in reload CSE regs
11437 1.1 mrg * [52]2391 Exponential compilation time explosion in combine
11438 1.1 mrg * [53]2960 Duplicate loop conditions even with -Os
11439 1.1 mrg * [54]4046 redundant conditional branch
11440 1.1 mrg * [55]6405 Loop-unrolling related performance regressions
11441 1.1 mrg * [56]6798 very long compile time with large case-statement
11442 1.1 mrg * [57]6871 const objects shouldn't be moved to .bss
11443 1.1 mrg * [58]6909 problem w/ -Os on modified loop-2c.c test case
11444 1.1 mrg * [59]7189 gcc -O2 -Wall does not print ``control reaches end of
11445 1.1 mrg non-void function'' warning
11446 1.1 mrg * [60]7642 optimization problem with signbit()
11447 1.1 mrg * [61]8634 incorrect code for inlining of memcpy under -O2
11448 1.1 mrg * [62]8750 Cygwin prolog generation erroneously emitting __alloca as
11449 1.1 mrg regular function call
11450 1.1 mrg
11451 1.1 mrg C front end
11452 1.1 mrg
11453 1.1 mrg * [63]2161 long if-else cascade overflows parser stack
11454 1.1 mrg * [64]4319 short accepted on typedef'd char
11455 1.1 mrg * [65]8602 incorrect line numbers in warning messages when using
11456 1.1 mrg inline functions
11457 1.1 mrg * [66]9177 -fdump-translation-unit: C front end deletes function_decl
11458 1.1 mrg AST nodes and breaks debugging dumps
11459 1.1 mrg * [67]9853 miscompilation of non-constant structure initializer
11460 1.1 mrg
11461 1.1 mrg c++ compiler and library
11462 1.1 mrg
11463 1.1 mrg * [68]45 legal template specialization code is rejected (DUP:
11464 1.1 mrg [69]3784)
11465 1.1 mrg * [70]764 lookup failure: friend operator and dereferencing a pointer
11466 1.1 mrg and templates (DUP: [71]5116)
11467 1.1 mrg * [72]2862 gcc accepts invalid explicit instantiation syntax (DUP:
11468 1.1 mrg 2863)
11469 1.1 mrg * [73]3663 G++ doesn't check access control during template
11470 1.1 mrg instantiation
11471 1.1 mrg * [74]3797 gcc fails to emit explicit specialization of a template
11472 1.1 mrg member
11473 1.1 mrg * [75]3948 Two destructors are called when no copy destructor is
11474 1.1 mrg defined (ABI change)
11475 1.1 mrg * [76]4137 Conversion operator within template is not accepted
11476 1.1 mrg * [77]4361 bogus ambiguity taking the address of a member template
11477 1.1 mrg * [78]4802 g++ accepts illegal template code (access to private
11478 1.1 mrg member; DUP: [79]5837)
11479 1.1 mrg * [80]4803 inline function is used but never defined, and g++ does
11480 1.1 mrg not object
11481 1.1 mrg * [81]5094 Partial specialization cannot be friend?
11482 1.1 mrg * [82]5730 complex<double>::norm() -- huge slowdown from egcs-2.91.66
11483 1.1 mrg * [83]6713 Regression wrt 3.0.4: g++ -O2 leads to seg fault at run
11484 1.1 mrg time
11485 1.1 mrg * [84]7015 certain __asm__ constructs rejected
11486 1.1 mrg * [85]7086 compile time regression (quadratic behavior in
11487 1.1 mrg fixup_var_refs)
11488 1.1 mrg * [86]7099 G++ doesn't set the noreturn attribute on std::exit and
11489 1.1 mrg std::abort
11490 1.1 mrg * [87]7247 copy constructor missing when inlining enabled (invalid
11491 1.1 mrg optimization?)
11492 1.1 mrg * [88]7441 string array initialization compilation time regression
11493 1.1 mrg from seconds to minutes
11494 1.1 mrg * [89]7768 __PRETTY_FUNCTION__ for template destructor is wrong
11495 1.1 mrg * [90]7804 bad printing of floating point constant in warning message
11496 1.1 mrg * [91]8099 Friend classes and template specializations
11497 1.1 mrg * [92]8117 member function pointers and multiple inheritance
11498 1.1 mrg * [93]8205 using declaration and multiple inheritance
11499 1.1 mrg * [94]8645 unnecessary non-zero checks in stl_tree.h
11500 1.1 mrg * [95]8724 explicit destructor call for incomplete class allowed
11501 1.1 mrg * [96]8805 compile time regression with many member variables
11502 1.1 mrg * [97]8691 -O3 and -fno-implicit-templates are incompatible
11503 1.1 mrg * [98]8700 unhelpful error message for binding temp to reference
11504 1.1 mrg * [99]8724 explicit destructor call for incomplete class allowed
11505 1.1 mrg * [100]8949 numeric_limits<>::denorm_min() and is_iec559 problems
11506 1.1 mrg * [101]9016 Failure to consistently constant fold "constant" C++
11507 1.1 mrg objects
11508 1.1 mrg * [102]9053 g++ confused about ambiguity of overloaded function
11509 1.1 mrg templates
11510 1.1 mrg * [103]9152 undefined virtual thunks
11511 1.1 mrg * [104]9182 basic_filebuf<> does not report errors in codecvt<>::out
11512 1.1 mrg * [105]9297 data corruption due to codegen bug (when copying.)
11513 1.1 mrg * [106]9318 i/ostream::operator>>/<<(streambuf*) broken
11514 1.1 mrg * [107]9320 Incorrect usage of traits_type::int_type in stdio_filebuf
11515 1.1 mrg * [108]9400 bogus -Wshadow warning: shadowed declaration of this in
11516 1.1 mrg local classes
11517 1.1 mrg * [109]9424 i/ostream::operator>>/<<(streambuf*) drops characters
11518 1.1 mrg * [110]9425 filebuf::pbackfail broken (DUP: [111]9439)
11519 1.1 mrg * [112]9474 GCC freezes in compiling a weird code mixing <iostream>
11520 1.1 mrg and <iostream.h>
11521 1.1 mrg * [113]9548 Incorrect results from setf(ios::fixed) and precision(-1)
11522 1.1 mrg [114][DR 231]
11523 1.1 mrg * [115]9555 ostream inserters fail to set badbit on exception
11524 1.1 mrg * [116]9561 ostream inserters rethrow exception of wrong type
11525 1.1 mrg * [117]9563 ostream::sentry returns true after a failed preparation
11526 1.1 mrg * [118]9582 one-definition rule violation in std::allocator
11527 1.1 mrg * [119]9622 __PRETTY_FUNCTION__ incorrect in template destructors
11528 1.1 mrg * [120]9683 bug in initialization chains for static const variables
11529 1.1 mrg from template classes
11530 1.1 mrg * [121]9791 -Woverloaded-virtual reports hiding of destructor
11531 1.1 mrg * [122]9817 collate::compare doesn't handle nul characters
11532 1.1 mrg * [123]9825 filebuf::sputbackc breaks sbumpc
11533 1.1 mrg * [124]9826 operator>>(basic_istream, basic_string) fails to compile
11534 1.1 mrg with custom traits
11535 1.1 mrg * [125]9924 Multiple using statements for builtin functions not
11536 1.1 mrg allowed
11537 1.1 mrg * [126]9946 destructor is not called for temporary object
11538 1.1 mrg * [127]9964 filebuf::close() sometimes fails to close file
11539 1.1 mrg * [128]9988 filebuf::overflow writes EOF to file
11540 1.1 mrg * [129]10033 optimization breaks polymorphic references w/ typeid
11541 1.1 mrg operator
11542 1.1 mrg * [130]10097 filebuf::underflow drops characters
11543 1.1 mrg * [131]10132 filebuf destructor can throw exceptions
11544 1.1 mrg * [132]10180 gcc fails to warn about non-inlined function
11545 1.1 mrg * [133]10199 method parametrized by template does not work everywhere
11546 1.1 mrg * [134]10300 use of array-new (nothrow) in segfaults on NULL return
11547 1.1 mrg * [135]10427 Stack corruption with variable-length automatic arrays
11548 1.1 mrg and virtual destructors
11549 1.1 mrg * [136]10503 Compilation never stops in fixed_type_or_null
11550 1.1 mrg
11551 1.1 mrg Objective-C
11552 1.1 mrg
11553 1.1 mrg * [137]5956 selectors aren't matched properly when added to the
11554 1.1 mrg selector table
11555 1.1 mrg
11556 1.1 mrg Fortran compiler and library
11557 1.1 mrg
11558 1.1 mrg * [138]1832 list directed i/o overflow hangs, -fbounds-check doesn't
11559 1.1 mrg detect
11560 1.1 mrg * [139]3924 g77 generates code that is rejected by GAS if COFF debug
11561 1.1 mrg info requested
11562 1.1 mrg * [140]5634 doc: explain that configure --prefix=~/... does not work
11563 1.1 mrg * [141]6367 multiple repeat counts confuse namelist read into array
11564 1.1 mrg * [142]6491 Logical operations error on logicals when using
11565 1.1 mrg -fugly-logint
11566 1.1 mrg * [143]6742 Generation of C++ Prototype for FORTRAN and extern "C"
11567 1.1 mrg * [144]7113 Failure of g77.f-torture/execute/f90-intrinsic-bit.f -Os
11568 1.1 mrg on irix6.5
11569 1.1 mrg * [145]7236 OPEN(...,RECL=nnn,...) without ACCESS='DIRECT' should
11570 1.1 mrg assume a direct access file
11571 1.1 mrg * [146]7278 g77 "bug"; the executable misbehaves (with -O2
11572 1.1 mrg -fno-automatic)
11573 1.1 mrg * [147]7384 DATE_AND_TIME milliseconds field inactive on Windows
11574 1.1 mrg * [148]7388 Incorrect output with 0-based array of characters
11575 1.1 mrg * [149]8587 Double complex zero ** double precision number -> NaN
11576 1.1 mrg instead of zero
11577 1.1 mrg * [150]9038 -ffixed-line-length-none -x f77-cpp-input gives: Warning:
11578 1.1 mrg unknown register name line-length-none
11579 1.1 mrg * [151]10197 Direct access files not unformatted by default
11580 1.1 mrg
11581 1.1 mrg Java compiler and library
11582 1.1 mrg
11583 1.1 mrg * [152]6005 gcj fails to build rhug on alpha
11584 1.1 mrg * [153]6389 System.getProperty("") should always throw an
11585 1.1 mrg IllegalArgumentException
11586 1.1 mrg * [154]6576 java.util.ResourceBundle.getResource ignores locale
11587 1.1 mrg * [155]6652 new java.io.File("").getCanonicalFile() throws exception
11588 1.1 mrg * [156]7060 getMethod() doesn't search super interface
11589 1.1 mrg * [157]7073 bytecode interpreter gives wrong answer for interface
11590 1.1 mrg getSuperclass()
11591 1.1 mrg * [158]7180 possible bug in
11592 1.1 mrg javax.naming.spi.NamingManager.getPlusPath()
11593 1.1 mrg * [159]7416 java.security startup refs "GNU libgcj.security"
11594 1.1 mrg * [160]7570 Runtime.exec with null envp: child doesn't inherit parent
11595 1.1 mrg env (DUP: [161]7578)
11596 1.1 mrg * [162]7611 Internal error while compiling libjava with -O
11597 1.1 mrg * [163]7709 NullPointerException in _Jv_ResolvePoolEntry
11598 1.1 mrg * [164]7766 ZipInputStream.available returns 0 immediately after
11599 1.1 mrg construction
11600 1.1 mrg * [165]7785 Calendar.getTimeInMillis/setTimeInMillis should be public
11601 1.1 mrg * [166]7786 TimeZone.getDSTSavings() from JDK1.4 not implemented
11602 1.1 mrg * [167]8142 '$' in class names vs. dlopen 'dynamic string tokens'
11603 1.1 mrg * [168]8234 ZipInputStream chokes when InputStream.read() returns
11604 1.1 mrg small chunks
11605 1.1 mrg * [169]8415 reflection bug: exception info for Method
11606 1.1 mrg * [170]8481 java.Random.nextInt(int) may return negative
11607 1.1 mrg * [171]8593 Error reading GZIPped files with BufferedReader
11608 1.1 mrg * [172]8759 java.beans.Introspector has no flushCaches() or
11609 1.1 mrg flushFromCaches() methods
11610 1.1 mrg * [173]8997 spin() calls Thread.sleep
11611 1.1 mrg * [174]9253 on win32, java.io.File.listFiles("C:\\") returns pwd
11612 1.1 mrg instead of the root content of C:
11613 1.1 mrg * [175]9254 java::lang::Object::wait(), threads-win32.cc returns
11614 1.1 mrg wrong return codes
11615 1.1 mrg * [176]9271 Severe bias in java.security.SecureRandom
11616 1.1 mrg
11617 1.1 mrg Ada compiler and library
11618 1.1 mrg
11619 1.1 mrg * [177]6767 make gnatlib-shared fails on -laddr2line
11620 1.1 mrg * [178]9911 gnatmake fails to link when GCC configured with
11621 1.1 mrg --with-sjlj-exceptions=yes
11622 1.1 mrg * [179]10020 Can't bootstrap gcc on AIX with Ada enabled
11623 1.1 mrg * [180]10546 Ada tasking not working on Red Hat 9
11624 1.1 mrg
11625 1.1 mrg preprocessor
11626 1.1 mrg
11627 1.1 mrg * [181]7029 preprocessor should ignore #warning with -M
11628 1.1 mrg
11629 1.1 mrg ARM-specific
11630 1.1 mrg
11631 1.1 mrg * [182]2903 [arm] Optimization bug with long long arithmetic
11632 1.1 mrg * [183]7873 arm-linux-gcc fails when assigning address to a bit field
11633 1.1 mrg
11634 1.1 mrg FreeBSD-specific
11635 1.1 mrg
11636 1.1 mrg * [184]7680 float functions undefined in math.h/cmath with #define
11637 1.1 mrg _XOPEN_SOURCE
11638 1.1 mrg
11639 1.1 mrg HP-UX or HP-PA-specific
11640 1.1 mrg
11641 1.1 mrg * [185]8705 [HP-PA] ICE in emit_move_insn_1, in expr.c
11642 1.1 mrg * [186]9986 [HP-UX] Incorrect transformation of fputs_unlocked to
11643 1.1 mrg fputc_unlocked
11644 1.1 mrg * [187]10056 [HP-PA] ICE at -O2 when building c++ code from doxygen
11645 1.1 mrg
11646 1.1 mrg m68hc11-specific
11647 1.1 mrg
11648 1.1 mrg * [188]6744 Bad assembler code generated: reference to pseudo
11649 1.1 mrg register z
11650 1.1 mrg * [189]7361 Internal compiler error in reload_cse_simplify_operands,
11651 1.1 mrg in reload1.c
11652 1.1 mrg
11653 1.1 mrg MIPS-specific
11654 1.1 mrg
11655 1.1 mrg * [190]9496 [mips-linux] bug in optimizer?
11656 1.1 mrg
11657 1.1 mrg PowerPC-specific
11658 1.1 mrg
11659 1.1 mrg * [191]7067 -Os with -mcpu=powerpc optimizes for speed (?) instead of
11660 1.1 mrg space
11661 1.1 mrg * [192]8480 reload ICEs for LAPACK code on powerpc64-linux
11662 1.1 mrg * [193]8784 [AIX] Internal compiler error in simplify_gen_subreg
11663 1.1 mrg * [194]10315 [powerpc] ICE: in extract_insn, in recog.c
11664 1.1 mrg
11665 1.1 mrg SPARC-specific
11666 1.1 mrg
11667 1.1 mrg * [195]10267 (documentation) Wrong build instructions for
11668 1.1 mrg *-*-solaris2*
11669 1.1 mrg
11670 1.1 mrg x86-specific (Intel/AMD)
11671 1.1 mrg
11672 1.1 mrg * [196]7916 ICE in instantiate_virtual_register_1
11673 1.1 mrg * [197]7926 (c++) i486 instructions in header files make c++ programs
11674 1.1 mrg crash on i386
11675 1.1 mrg * [198]8555 ICE in gen_split_1231
11676 1.1 mrg * [199]8994 ICE with -O -march=pentium4
11677 1.1 mrg * [200]9426 ICE with -fssa -funroll-loops -fprofile-arcs
11678 1.1 mrg * [201]9806 ICE in inline assembly with -fPIC flag
11679 1.1 mrg * [202]10077 gcc -msse2 generates movd to move dwords between xmm
11680 1.1 mrg regs
11681 1.1 mrg * [203]10233 64-bit comparison only comparing bottom 32-bits
11682 1.1 mrg * [204]10286 type-punning doesn't work with __m64 and -O
11683 1.1 mrg * [205]10308 [x86] ICE with -O -fgcse or -O2
11684 1.1 mrg __________________________________________________________________
11685 1.1 mrg
11686 1.1 mrg GCC 3.3.1
11687 1.1 mrg
11688 1.1 mrg Bug Fixes
11689 1.1 mrg
11690 1.1 mrg This section lists the problem reports (PRs) from GCC's bug tracking
11691 1.1 mrg system that are known to be fixed in the 3.3.1 release. This list might
11692 1.1 mrg not be complete (that is, it is possible that some PRs that have been
11693 1.1 mrg fixed are not listed here).
11694 1.1 mrg
11695 1.1 mrg Bootstrap failures
11696 1.1 mrg
11697 1.1 mrg * [206]11272 [Solaris] make bootstrap fails while building libstdc++
11698 1.1 mrg
11699 1.1 mrg Internal compiler errors (multi-platform)
11700 1.1 mrg
11701 1.1 mrg * [207]5754 ICE on invalid nested template class
11702 1.1 mrg * [208]6597 ICE in set_mem_alias_set compiling Qt with -O2 on ia64
11703 1.1 mrg and --enable-checking
11704 1.1 mrg * [209]6949 (c++) ICE in tsubst_decl, in cp/pt.c
11705 1.1 mrg * [210]7053 (c++) ICE when declaring a function already defined as a
11706 1.1 mrg friend method of a template class
11707 1.1 mrg * [211]8164 (c++) ICE when using different const expressions as
11708 1.1 mrg template parameter
11709 1.1 mrg * [212]8384 (c++) ICE in is_base_type, in dwarf2out.c
11710 1.1 mrg * [213]9559 (c++) ICE with invalid initialization of a static const
11711 1.1 mrg * [214]9649 (c++) ICE in finish_member_declaration, in cp/semantics.c
11712 1.1 mrg when redeclaring a static member variable
11713 1.1 mrg * [215]9864 (fortran) ICE in add_abstract_origin_attribute, in
11714 1.1 mrg dwarfout.c with -g -O -finline-functions
11715 1.1 mrg * [216]10432 (c++) ICE in poplevel, in cp/decl.c
11716 1.1 mrg * [217]10475 ICE in subreg_highpart_offset for code with long long
11717 1.1 mrg * [218]10635 (c++) ICE when dereferencing an incomplete type casted
11718 1.1 mrg from a void pointer
11719 1.1 mrg * [219]10661 (c++) ICE in instantiate_decl, in cp/pt.c while
11720 1.1 mrg instantiating static member variables
11721 1.1 mrg * [220]10700 ICE in copy_to_mode_reg on 64-bit targets
11722 1.1 mrg * [221]10712 (c++) ICE in constructor_name_full, in cp/decl2.c
11723 1.1 mrg * [222]10796 (c++) ICE when defining an enum with two values: -1 and
11724 1.1 mrg MAX_INT_64BIT
11725 1.1 mrg * [223]10890 ICE in merge_assigned_reloads building Linux 2.4.2x
11726 1.1 mrg sched.c
11727 1.1 mrg * [224]10939 (c++) ICE with template code
11728 1.1 mrg * [225]10956 (c++) ICE when specializing a template member function
11729 1.1 mrg of a template class, in tsubst, in cp/pt.c
11730 1.1 mrg * [226]11041 (c++) ICE: const myclass &x = *x; (when operator*()
11731 1.1 mrg defined)
11732 1.1 mrg * [227]11059 (c++) ICE with empty union
11733 1.1 mrg * [228]11083 (c++) ICE in commit_one_edge_insertion, in cfgrtl.c with
11734 1.1 mrg -O2 -fnon-call-exceptions
11735 1.1 mrg * [229]11105 (c++) ICE in mangle_conv_op_name_for_type
11736 1.1 mrg * [230]11149 (c++) ICE on error when instantiation with call function
11737 1.1 mrg of a base type
11738 1.1 mrg * [231]11228 (c++) ICE on new-expression using array operator new and
11739 1.1 mrg default-initialization
11740 1.1 mrg * [232]11282 (c++) Infinite memory usage after syntax error
11741 1.1 mrg * [233]11301 (fortran) ICE with -fno-globals
11742 1.1 mrg * [234]11308 (c++) ICE when using an enum type name as if it were a
11743 1.1 mrg class or namespace
11744 1.1 mrg * [235]11473 (c++) ICE with -gstabs when empty struct inherits from
11745 1.1 mrg an empty struct
11746 1.1 mrg * [236]11503 (c++) ICE when instantiating template with ADDR_EXPR
11747 1.1 mrg * [237]11513 (c++) ICE in push_template_decl_real, in cp/pt.c:
11748 1.1 mrg template member functions
11749 1.1 mrg
11750 1.1 mrg Optimization bugs
11751 1.1 mrg
11752 1.1 mrg * [238]11198 -O2 -frename-registers generates wrong code (aliasing
11753 1.1 mrg problem)
11754 1.1 mrg * [239]11304 Wrong code production with -fomit-frame-pointer
11755 1.1 mrg * [240]11381 volatile memory access optimized away
11756 1.1 mrg * [241]11536 [strength-reduce] -O2 optimization produces wrong code
11757 1.1 mrg * [242]11557 constant folding bug generates wrong code
11758 1.1 mrg
11759 1.1 mrg C front end
11760 1.1 mrg
11761 1.1 mrg * [243]5897 No warning for statement after return
11762 1.1 mrg * [244]11279 DWARF-2 output mishandles large enums
11763 1.1 mrg
11764 1.1 mrg Preprocessor bugs
11765 1.1 mrg
11766 1.1 mrg * [245]11022 no warning for non-compatible macro redefinition
11767 1.1 mrg
11768 1.1 mrg C++ compiler and library
11769 1.1 mrg
11770 1.1 mrg * [246]2330 static_cast<>() to a private base is allowed
11771 1.1 mrg * [247]5388 Incorrect message "operands to ?: have different types"
11772 1.1 mrg * [248]5390 Libiberty fails to demangle multi-digit template
11773 1.1 mrg parameters
11774 1.1 mrg * [249]7877 Incorrect parameter passing to specializations of member
11775 1.1 mrg function templates
11776 1.1 mrg * [250]9393 Anonymous namespaces and compiling the same file twice
11777 1.1 mrg * [251]10032 -pedantic converts some errors to warnings
11778 1.1 mrg * [252]10468 const typeof(x) is non-const, but only in templates
11779 1.1 mrg * [253]10527 confused error message with "new int()" parameter
11780 1.1 mrg initializer
11781 1.1 mrg * [254]10679 parameter MIN_INLINE_INSNS is not honored
11782 1.1 mrg * [255]10682 gcc chokes on a typedef for an enum inside a class
11783 1.1 mrg template
11784 1.1 mrg * [256]10689 pow(std::complex(0),1/3) returns (nan, nan) instead of
11785 1.1 mrg 0.
11786 1.1 mrg * [257]10845 template member function (with nested template as
11787 1.1 mrg parameter) cannot be called anymore if another unrelated template
11788 1.1 mrg member function is defined
11789 1.1 mrg * [258]10849 Cannot define an out-of-class specialization of a
11790 1.1 mrg private nested template class
11791 1.1 mrg * [259]10888 Suppress -Winline warnings for system headers
11792 1.1 mrg * [260]10929 -Winline warns about functions for which no definition
11793 1.1 mrg is visible
11794 1.1 mrg * [261]10931 valid conversion static_cast<const unsigned
11795 1.1 mrg int&>(lvalue-of-type-int) is rejected
11796 1.1 mrg * [262]10940 Bad code with explicit specialization
11797 1.1 mrg * [263]10968 If member function implicitly instantiated, explicit
11798 1.1 mrg instantiation of class fails to instantiate it
11799 1.1 mrg * [264]10990 Cannot convert with dynamic_cast<> to a private base
11800 1.1 mrg class from within a member function
11801 1.1 mrg * [265]11039 Bad interaction between implicit typename deprecation
11802 1.1 mrg and friendship
11803 1.1 mrg * [266]11062 (libstdc++) avoid __attribute__ ((unused)); say
11804 1.1 mrg "__unused__" instead
11805 1.1 mrg * [267]11095 C++ iostream manipulator causes segfault when called
11806 1.1 mrg with negative argument
11807 1.1 mrg * [268]11098 g++ doesn't emit complete debugging information for
11808 1.1 mrg local variables in destructors
11809 1.3 skrll * [269]11137 GNU/Linux shared library constructors not called unless
11810 1.1 mrg there's one global object
11811 1.1 mrg * [270]11154 spurious ambiguity report for template class
11812 1.1 mrg specialization
11813 1.1 mrg * [271]11329 Compiler cannot find user defined implicit typecast
11814 1.1 mrg * [272]11332 Spurious error with casts in ?: expression
11815 1.1 mrg * [273]11431 static_cast behavior with subclasses when default
11816 1.1 mrg constructor available
11817 1.1 mrg * [274]11528 money_get facet does not accept "$.00" as valid
11818 1.1 mrg * [275]11546 Type lookup problems in out-of-line definition of a
11819 1.1 mrg class doubly nested from a template class
11820 1.1 mrg * [276]11567 C++ code containing templated member function with same
11821 1.1 mrg name as pure virtual member function results in linking failure
11822 1.1 mrg * [277]11645 Failure to deal with using and private inheritance
11823 1.1 mrg
11824 1.1 mrg Java compiler and library
11825 1.1 mrg
11826 1.1 mrg * [278]5179 Qualified static field access doesn't initialize its
11827 1.1 mrg class
11828 1.1 mrg * [279]8204 gcj -O2 to native reorders certain instructions
11829 1.1 mrg improperly
11830 1.1 mrg * [280]10838 java.io.ObjectInputStream syntax error
11831 1.1 mrg * [281]10886 The RMI registry that comes with GCJ does not work
11832 1.1 mrg correctly
11833 1.1 mrg * [282]11349 JNDI URL context factories not located correctly
11834 1.1 mrg
11835 1.1 mrg x86-specific (Intel/AMD)
11836 1.1 mrg
11837 1.1 mrg * [283]4823 ICE on inline assembly code
11838 1.1 mrg * [284]8878 miscompilation with -O and SSE
11839 1.1 mrg * [285]9815 (c++ library) atomicity.h - fails to compile with -O3
11840 1.1 mrg -masm=intel
11841 1.1 mrg * [286]10402 (inline assembly) [x86] ICE in merge_assigned_reloads,
11842 1.1 mrg in reload1.c
11843 1.1 mrg * [287]10504 ICE with SSE2 code and -O3 -mcpu=pentium4 -msse2
11844 1.1 mrg * [288]10673 ICE for x86-64 on freebsd libc vfprintf.c source
11845 1.1 mrg * [289]11044 [x86] out of range loop instructions for FP code on K6
11846 1.1 mrg * [290]11089 ICE: instantiate_virtual_regs_lossage while using SSE
11847 1.1 mrg built-ins
11848 1.1 mrg * [291]11420 [x86_64] gcc generates invalid asm code when "-O -fPIC"
11849 1.1 mrg is used
11850 1.1 mrg
11851 1.1 mrg SPARC- or Solaris- specific
11852 1.1 mrg
11853 1.1 mrg * [292]9362 solaris 'as' dies when fed .s and "-gstabs"
11854 1.1 mrg * [293]10142 [SPARC64] gcc produces wrong code when passing
11855 1.1 mrg structures by value
11856 1.1 mrg * [294]10663 New configure check aborts with Sun tools.
11857 1.1 mrg * [295]10835 combinatorial explosion in scheduler on HyperSPARC
11858 1.1 mrg * [296]10876 ICE in calculate_giv_inc when building KDE
11859 1.1 mrg * [297]10955 wrong code at -O3 for structure argument in context of
11860 1.1 mrg structure return
11861 1.1 mrg * [298]11018 -mcpu=ultrasparc busts tar-1.13.25
11862 1.1 mrg * [299]11556 [sparc64] ICE in gen_reg_rtx() while compiling 2.6.x
11863 1.1 mrg Linux kernel
11864 1.1 mrg
11865 1.1 mrg ia64 specific
11866 1.1 mrg
11867 1.1 mrg * [300]10907 gcc violates the ia64 ABI (GP must be preserved)
11868 1.1 mrg * [301]11320 scheduler bug (in machine depended reorganization pass)
11869 1.1 mrg * [302]11599 bug with conditional and __builtin_prefetch
11870 1.1 mrg
11871 1.1 mrg PowerPC specific
11872 1.1 mrg
11873 1.1 mrg * [303]9745 [powerpc] gcc mis-compiles libmcrypt (alias problem
11874 1.1 mrg during loop)
11875 1.1 mrg * [304]10871 error in rs6000_stack_info save_size computation
11876 1.1 mrg * [305]11440 gcc mis-compiles c++ code (libkhtml) with -O2, -fno-gcse
11877 1.1 mrg cures it
11878 1.1 mrg
11879 1.1 mrg m68k-specific
11880 1.1 mrg
11881 1.1 mrg * [306]7594 [m68k] ICE on legal code associated with simplify-rtx
11882 1.1 mrg * [307]10557 [m68k] ICE in subreg_offset_representable_p
11883 1.1 mrg * [308]11054 [m68k] ICE in reg_overlap_mentioned_p
11884 1.1 mrg
11885 1.1 mrg ARM-specific
11886 1.1 mrg
11887 1.1 mrg * [309]10834 [arm] GCC 3.3 still generates incorrect instructions for
11888 1.1 mrg functions with __attribute__ ((interrupt ("IRQ")))
11889 1.1 mrg * [310]10842 [arm] Clobbered link register is copied to pc under
11890 1.1 mrg certain circumstances
11891 1.1 mrg * [311]11052 [arm] noce_process_if_block() can lose REG_INC notes
11892 1.1 mrg * [312]11183 [arm] ICE in change_address_1 (3.3) / subreg_hard_regno
11893 1.1 mrg (3.4)
11894 1.1 mrg
11895 1.1 mrg MIPS-specific
11896 1.1 mrg
11897 1.1 mrg * [313]11084 ICE in propagate_one_insn, in flow.c
11898 1.1 mrg
11899 1.1 mrg SH-specific
11900 1.1 mrg
11901 1.1 mrg * [314]10331 can't compile c++ part of gcc cross compiler for sh-elf
11902 1.1 mrg * [315]10413 [SH] ICE in reload_cse_simplify_operands, in reload1.c
11903 1.1 mrg * [316]11096 i686-linux to sh-linux cross compiler fails to compile
11904 1.1 mrg C++ files
11905 1.1 mrg
11906 1.1 mrg GNU/Linux (or Hurd?) specific
11907 1.1 mrg
11908 1.1 mrg * [317]2873 Bogus fixinclude of stdio.h from glibc 2.2.3
11909 1.1 mrg
11910 1.1 mrg UnixWare specific
11911 1.1 mrg
11912 1.1 mrg * [318]3163 configure bug: gcc/aclocal.m4 mmap test fails on UnixWare
11913 1.1 mrg 7.1.1
11914 1.1 mrg
11915 1.1 mrg Cygwin (or mingw) specific
11916 1.1 mrg
11917 1.1 mrg * [319]5287 ICE with dllimport attribute
11918 1.1 mrg * [320]10148 [MingW/CygWin] Compiler dumps core
11919 1.1 mrg
11920 1.1 mrg DJGPP specific
11921 1.1 mrg
11922 1.1 mrg * [321]8787 GCC fails to emit .intel_syntax when invoked with
11923 1.1 mrg -masm=intel on DJGPP
11924 1.1 mrg
11925 1.1 mrg Darwin (and MacOS X) specific
11926 1.1 mrg
11927 1.1 mrg * [322]10900 trampolines crash
11928 1.1 mrg
11929 1.1 mrg Documentation
11930 1.1 mrg
11931 1.1 mrg * [323]1607 (c++) Format attributes on methods undocumented
11932 1.1 mrg * [324]4252 Invalid option `-fdump-translation-unit'
11933 1.1 mrg * [325]4490 Clarify restrictions on -m96bit-long-double,
11934 1.1 mrg -m128bit-long-double
11935 1.1 mrg * [326]10355 document an issue with regparm attribute on some systems
11936 1.1 mrg (e.g. Solaris)
11937 1.1 mrg * [327]10726 (fortran) Documentation for function "IDate Intrinsic
11938 1.1 mrg (Unix)" is wrong
11939 1.1 mrg * [328]10805 document bug in old version of Sun assembler
11940 1.1 mrg * [329]10815 warn against GNU binutils on AIX
11941 1.1 mrg * [330]10877 document need for newer binutils on i?86-*-linux-gnu
11942 1.1 mrg * [331]11280 Manual incorrect with respect to -freorder-blocks
11943 1.1 mrg * [332]11466 Document -mlittle-endian and its restrictions for the
11944 1.1 mrg sparc64 port
11945 1.1 mrg
11946 1.1 mrg Testsuite bugs (compiler itself is not affected)
11947 1.1 mrg
11948 1.1 mrg * [333]10737 newer bison causes g++.dg/parse/crash2.C to incorrectly
11949 1.1 mrg report failure
11950 1.1 mrg * [334]10810 gcc-3.3 fails make check: buffer overrun in
11951 1.1 mrg test_demangle.c
11952 1.1 mrg __________________________________________________________________
11953 1.1 mrg
11954 1.1 mrg GCC 3.3.2
11955 1.1 mrg
11956 1.1 mrg Bug Fixes
11957 1.1 mrg
11958 1.4 mrg This section lists the problem reports (PRs) from GCC's bug tracker
11959 1.4 mrg that are known to be fixed in the 3.3.2 release. This list might not be
11960 1.4 mrg complete (that is, it is possible that some PRs that have been fixed
11961 1.4 mrg are not listed here).
11962 1.1 mrg
11963 1.1 mrg Bootstrap failures and problems
11964 1.1 mrg
11965 1.4 mrg * [335]8336 [SCO5] bootstrap config still tries to use COFF options
11966 1.4 mrg * [336]9330 [alpha-osf] Bootstrap failure on Compaq Tru64 with
11967 1.1 mrg --enable-threads=posix
11968 1.4 mrg * [337]9631 [hppa64-linux] gcc-3.3 fails to bootstrap
11969 1.4 mrg * [338]9877 fixincludes makes a bad sys/byteorder.h on svr5 (UnixWare
11970 1.1 mrg 7.1.1)
11971 1.4 mrg * [339]11687 xstormy16-elf build fails in libf2c
11972 1.4 mrg * [340]12263 [SGI IRIX] bootstrap fails during compile of
11973 1.1 mrg libf2c/libI77/backspace.c
11974 1.4 mrg * [341]12490 buffer overflow in scan-decls.c (during Solaris 9
11975 1.1 mrg fix-header processing)
11976 1.1 mrg
11977 1.1 mrg Internal compiler errors (multi-platform)
11978 1.1 mrg
11979 1.4 mrg * [342]7277 Casting integers to vector types causes ICE
11980 1.4 mrg * [343]7939 (c++) ICE on invalid function template specialization
11981 1.4 mrg * [344]11063 (c++) ICE on parsing initialization list of const array
11982 1.1 mrg member
11983 1.4 mrg * [345]11207 ICE with negative index in array element designator
11984 1.4 mrg * [346]11522 (fortran) g77 dwarf-2 ICE in
11985 1.1 mrg add_abstract_origin_attribute
11986 1.4 mrg * [347]11595 (c++) ICE on duplicate label definition
11987 1.4 mrg * [348]11646 (c++) ICE in commit_one_edge_insertion with
11988 1.1 mrg -fnon-call-exceptions -fgcse -O
11989 1.4 mrg * [349]11665 ICE in struct initializer when taking address
11990 1.4 mrg * [350]11852 (c++) ICE with bad struct initializer.
11991 1.4 mrg * [351]11878 (c++) ICE in cp_expr_size
11992 1.4 mrg * [352]11883 ICE with any -O on mercury-generated C code
11993 1.4 mrg * [353]11991 (c++) ICE in cxx_incomplete_type_diagnostic, in
11994 1.1 mrg cp/typeck2.c when applying typeid operator to template template
11995 1.1 mrg parameter
11996 1.4 mrg * [354]12146 ICE in lookup_template_function, in cp/pt.c
11997 1.4 mrg * [355]12215 ICE in make_label_edge with -fnon-call-exceptions
11998 1.1 mrg -fno-gcse -O2
11999 1.4 mrg * [356]12369 (c++) ICE with templates and friends
12000 1.4 mrg * [357]12446 ICE in emit_move_insn on complicated array reference
12001 1.4 mrg * [358]12510 ICE in final_scan_insn
12002 1.4 mrg * [359]12544 ICE with large parameters used in nested functions
12003 1.1 mrg
12004 1.1 mrg C and optimization bugs
12005 1.1 mrg
12006 1.4 mrg * [360]9862 spurious warnings with -W -finline-functions
12007 1.4 mrg * [361]10962 lookup_field is a linear search on a linked list (can be
12008 1.1 mrg slow if large struct)
12009 1.4 mrg * [362]11370 -Wunreachable-code gives false complaints
12010 1.4 mrg * [363]11637 invalid assembly with -fnon-call-exceptions
12011 1.4 mrg * [364]11885 Problem with bitfields in packed structs
12012 1.4 mrg * [365]12082 Inappropriate unreachable code warnings
12013 1.4 mrg * [366]12180 Inline optimization fails for variadic function
12014 1.4 mrg * [367]12340 loop unroller + gcse produces wrong code
12015 1.1 mrg
12016 1.1 mrg C++ compiler and library
12017 1.1 mrg
12018 1.4 mrg * [368]3907 nested template parameter collides with member name
12019 1.4 mrg * [369]5293 confusing message when binding a temporary to a reference
12020 1.4 mrg * [370]5296 [DR115] Pointers to functions and to template functions
12021 1.1 mrg behave differently in deduction
12022 1.4 mrg * [371]7939 ICE on function template specialization
12023 1.4 mrg * [372]8656 Unable to assign function with __attribute__ and pointer
12024 1.1 mrg return type to an appropriate variable
12025 1.4 mrg * [373]10147 Confusing error message for invalid template function
12026 1.1 mrg argument
12027 1.4 mrg * [374]11400 std::search_n() makes assumptions about Size parameter
12028 1.4 mrg * [375]11409 issues with using declarations, overloading, and
12029 1.1 mrg built-in functions
12030 1.4 mrg * [376]11740 ctype<wchar_t>::do_is(mask, wchar_t) doesn't handle
12031 1.1 mrg multiple bits in mask
12032 1.4 mrg * [377]11786 operator() call on variable in other namespace not
12033 1.1 mrg recognized
12034 1.4 mrg * [378]11867 static_cast ignores ambiguity
12035 1.4 mrg * [379]11928 bug with conversion operators that are typedefs
12036 1.4 mrg * [380]12114 Uninitialized memory accessed in dtor
12037 1.4 mrg * [381]12163 static_cast + explicit constructor regression
12038 1.4 mrg * [382]12181 Wrong code with comma operator and c++
12039 1.4 mrg * [383]12236 regparm and fastcall messes up parameters
12040 1.4 mrg * [384]12266 incorrect instantiation of unneeded template during
12041 1.1 mrg overload resolution
12042 1.4 mrg * [385]12296 istream::peek() doesn't set eofbit
12043 1.4 mrg * [386]12298 [sjlj exceptions] Stack unwind destroys
12044 1.1 mrg not-yet-constructed object
12045 1.4 mrg * [387]12369 ICE with templates and friends
12046 1.4 mrg * [388]12337 apparently infinite loop in g++
12047 1.4 mrg * [389]12344 stdcall attribute ignored if function returns a pointer
12048 1.4 mrg * [390]12451 missing(late) class forward declaration in cxxabi.h
12049 1.4 mrg * [391]12486 g++ accepts invalid use of a qualified name
12050 1.1 mrg
12051 1.1 mrg x86 specific (Intel/AMD)
12052 1.1 mrg
12053 1.4 mrg * [392]8869 [x86 MMX] ICE with const variable optimization and MMX
12054 1.1 mrg builtins
12055 1.4 mrg * [393]9786 ICE in fixup_abnormal_edges with -fnon-call-exceptions
12056 1.1 mrg -O2
12057 1.4 mrg * [394]11689 g++3.3 emits un-assembleable code for k6 architecture
12058 1.4 mrg * [395]12116 [k6] Invalid assembly output values with X-MAME code
12059 1.4 mrg * [396]12070 ICE converting between double and long double with
12060 1.1 mrg -msoft-float
12061 1.1 mrg
12062 1.1 mrg ia64-specific
12063 1.1 mrg
12064 1.4 mrg * [397]11184 [ia64 hpux] ICE on __builtin_apply building libobjc
12065 1.4 mrg * [398]11535 __builtin_return_address may not work on ia64
12066 1.4 mrg * [399]11693 [ia64] ICE in gen_nop_type
12067 1.4 mrg * [400]12224 [ia64] Thread-local storage doesn't work
12068 1.1 mrg
12069 1.1 mrg PowerPC-specific
12070 1.1 mrg
12071 1.4 mrg * [401]11087 [powerpc64-linux] GCC miscompiles raid1.c from linux
12072 1.1 mrg kernel
12073 1.4 mrg * [402]11319 loop miscompiled on ppc32
12074 1.4 mrg * [403]11949 ICE Compiler segfault with ffmpeg -maltivec code
12075 1.1 mrg
12076 1.1 mrg SPARC-specific
12077 1.1 mrg
12078 1.4 mrg * [404]11662 wrong code for expr. with cast to long long and
12079 1.1 mrg exclusive or
12080 1.4 mrg * [405]11965 invalid assembler code for a shift < 32 operation
12081 1.4 mrg * [406]12301 (c++) stack corruption when a returned expression throws
12082 1.1 mrg an exception
12083 1.1 mrg
12084 1.1 mrg Alpha-specific
12085 1.1 mrg
12086 1.4 mrg * [407]11717 [alpha-linux] unrecognizable insn compiling for.c of
12087 1.1 mrg kernel 2.4.22-pre8
12088 1.1 mrg
12089 1.1 mrg HPUX-specific
12090 1.1 mrg
12091 1.4 mrg * [408]11313 problem with #pragma weak and static inline functions
12092 1.4 mrg * [409]11712 __STDC_EXT__ not defined for C++ by default anymore?
12093 1.1 mrg
12094 1.1 mrg Solaris specific
12095 1.1 mrg
12096 1.4 mrg * [410]12166 Profiled programs crash if PROFDIR is set
12097 1.1 mrg
12098 1.1 mrg Solaris-x86 specific
12099 1.1 mrg
12100 1.4 mrg * [411]12101 i386 Solaris no longer works with GNU as?
12101 1.1 mrg
12102 1.1 mrg Miscellaneous embedded target-specific bugs
12103 1.1 mrg
12104 1.4 mrg * [412]10988 [m32r-elf] wrong blockmove code with -O3
12105 1.4 mrg * [413]11805 [h8300-unknown-coff] [H8300] ICE for simple code with
12106 1.1 mrg -O2
12107 1.4 mrg * [414]11902 [sh4] spec file improperly inserts rpath even when none
12108 1.1 mrg needed
12109 1.4 mrg * [415]11903 [sh4] -pthread fails to link due to error in spec file
12110 1.1 mrg on sh4
12111 1.1 mrg __________________________________________________________________
12112 1.1 mrg
12113 1.1 mrg GCC 3.3.3
12114 1.1 mrg
12115 1.1 mrg Minor features
12116 1.1 mrg
12117 1.1 mrg In addition to the bug fixes documented below, this release contains
12118 1.1 mrg few minor features such as:
12119 1.1 mrg * Support for --with-sysroot
12120 1.1 mrg * Support for automatic detection of executable stacks
12121 1.1 mrg * Support for SSE3 instructions
12122 1.1 mrg * Support for thread local storage debugging under GDB on S390
12123 1.1 mrg
12124 1.1 mrg Bug Fixes
12125 1.1 mrg
12126 1.4 mrg This section lists the problem reports (PRs) from GCC's bug tracker
12127 1.4 mrg that are known to be fixed in the 3.3.3 release. This list might not be
12128 1.4 mrg complete (that is, it is possible that some PRs that have been fixed
12129 1.4 mrg are not listed here).
12130 1.1 mrg
12131 1.1 mrg Bootstrap failures and issues
12132 1.1 mrg
12133 1.4 mrg * [416]11890 Building cross gcc-3.3.1 for sparc-sun-solaris2.6 fails
12134 1.4 mrg * [417]12399 boehm-gc fails (when building a cross compiler): libtool
12135 1.1 mrg unable to infer tagged configuration
12136 1.4 mrg * [418]13068 mklibgcc.in doesn't handle multi-level multilib
12137 1.1 mrg subdirectories properly
12138 1.1 mrg
12139 1.1 mrg Internal compiler errors (multi-platform)
12140 1.1 mrg
12141 1.4 mrg * [419]10060 ICE (stack overflow) on huge file (300k lines) due to
12142 1.1 mrg recursive behaviour of copy_rtx_if_shared, in emit_rtl.c
12143 1.4 mrg * [420]10555 (c++) ICE on undefined template argument
12144 1.4 mrg * [421]10706 (c++) ICE in mangle_class_name_for_template
12145 1.4 mrg * [422]11496 (fortran) error in flow_loops_find when -funroll-loops
12146 1.1 mrg active
12147 1.4 mrg * [423]11741 ICE in pre_insert_copy_insn, in gcse.c
12148 1.4 mrg * [424]12440 GCC crashes during compilation of quicktime4linux 2.0.0
12149 1.4 mrg * [425]12632 (fortran) -fbounds-check ICE
12150 1.4 mrg * [426]12712 (c++) ICE on short legit C++ code fragment with gcc
12151 1.1 mrg 3.3.2
12152 1.4 mrg * [427]12726 (c++) ICE (segfault) on trivial code
12153 1.4 mrg * [428]12890 (c++) ICE on compilation of class with throwing method
12154 1.4 mrg * [429]12900 (c++) ICE in rtl_verify_flow_info_1
12155 1.4 mrg * [430]13060 (fortran) ICE in fixup_var_refs_1, in function.c on
12156 1.1 mrg correct code with -O2 -fno-force-mem
12157 1.4 mrg * [431]13289 (c++) ICE in regenerate_decl_from_template on recursive
12158 1.1 mrg template
12159 1.4 mrg * [432]13318 ICE: floating point exception in the loop optimizer
12160 1.4 mrg * [433]13392 (c++) ICE in convert_from_eh_region_ranges_1, in
12161 1.1 mrg except.c
12162 1.4 mrg * [434]13574 (c++) invalid array default initializer in class lets
12163 1.1 mrg gcc consume all memory and die
12164 1.4 mrg * [435]13475 ICE on SIMD variables with partial value initialization
12165 1.4 mrg * [436]13797 (c++) ICE on invalid template parameter
12166 1.4 mrg * [437]13824 (java) gcj SEGV with simple .java program
12167 1.1 mrg
12168 1.1 mrg C and optimization bugs
12169 1.1 mrg
12170 1.4 mrg * [438]8776 loop invariants are not removed (most likely)
12171 1.4 mrg * [439]10339 [sparc,ppc,ppc64] Invalid optimization: replacing
12172 1.1 mrg strncmp by memcmp
12173 1.4 mrg * [440]11350 undefined labels with -Os -fPIC
12174 1.4 mrg * [441]12826 Optimizer removes reference through volatile pointer
12175 1.4 mrg * [442]12500 stabs debug info: void no longer a predefined / builtin
12176 1.1 mrg type
12177 1.4 mrg * [443]12941 builtin-bitops-1.c miscompilation (latent bug)
12178 1.4 mrg * [444]12953 tree inliner bug (in inline_forbidden_p) and fix
12179 1.4 mrg * [445]13041 linux-2.6/sound/core/oss/rate.c miscompiled
12180 1.4 mrg * [446]13507 spurious printf format warning
12181 1.4 mrg * [447]13382 Type information for const pointer disappears during
12182 1.1 mrg optimization.
12183 1.4 mrg * [448]13394 noreturn attribute ignored on recursive invokation
12184 1.4 mrg * [449]13400 Compiled code crashes storing to read-only location
12185 1.4 mrg * [450]13521 Endless loop in calculate_global_regs_live
12186 1.1 mrg
12187 1.1 mrg C++ compiler and library
12188 1.1 mrg
12189 1.1 mrg Some of the bug fixes in this list were made to implement decisions
12190 1.1 mrg that the ISO C++ standards committee has made concerning several defect
12191 1.1 mrg reports (DRs). Links in the list below point to detailed discussion of
12192 1.1 mrg the relevant defect report.
12193 1.4 mrg * [451]2094 unimplemented: use of `ptrmem_cst' in template type
12194 1.1 mrg unification
12195 1.4 mrg * [452]2294 using declaration confusion
12196 1.4 mrg * [453]5050 template instantiation depth exceeds limit: recursion
12197 1.1 mrg problem?
12198 1.4 mrg * [454]9371 Bad exception handling in
12199 1.1 mrg i/ostream::operator>>/<<(streambuf*)
12200 1.4 mrg * [455]9546 bad exception handling in ostream members
12201 1.4 mrg * [456]10081 basic_ios::_M_cache_locale leaves NULL members in the
12202 1.1 mrg face of unknown locales
12203 1.4 mrg * [457]10093 [458][DR 61] Setting failbit in exceptions doesn't work
12204 1.4 mrg * [459]10095 istream::operator>>(int&) sets ios::badbit when
12205 1.1 mrg ios::failbit is set.
12206 1.4 mrg * [460]11554 Warning about reordering of initializers doesn't mention
12207 1.1 mrg location of constructor
12208 1.4 mrg * [461]12297 istream::sentry::sentry() handles eof() incorrectly.
12209 1.4 mrg * [462]12352 Exception safety problems in src/localename.cc
12210 1.4 mrg * [463]12438 Memory leak in locale::combine()
12211 1.4 mrg * [464]12540 Memory leak in locale::locale(const char*)
12212 1.4 mrg * [465]12594 DRs [466]60 [TC] and [467]63 [TC] not implemented
12213 1.4 mrg * [468]12657 Resolution of [469]DR 292 (WP) still unimplemented
12214 1.4 mrg * [470]12696 memory eating infinite loop in diagnostics (error
12215 1.1 mrg recovery problem)
12216 1.4 mrg * [471]12815 Code compiled with optimization behaves unexpectedly
12217 1.4 mrg * [472]12862 Conflicts between typedefs/enums and namespace member
12218 1.1 mrg declarations
12219 1.4 mrg * [473]12926 Wrong value after assignment in initialize list using
12220 1.1 mrg bit-fields
12221 1.4 mrg * [474]12967 Resolution of [475]DR 300 [WP] still unimplemented
12222 1.4 mrg * [476]12971 Resolution of [477]DR 328 [WP] still unimplemented
12223 1.4 mrg * [478]13007 basic_streambuf::pubimbue, imbue wrong
12224 1.4 mrg * [479]13009 Implicitly-defined assignment operator writes to wrong
12225 1.1 mrg memory
12226 1.4 mrg * [480]13057 regparm attribute not applied to destructor
12227 1.4 mrg * [481]13070 -Wformat option ignored in g++
12228 1.4 mrg * [482]13081 forward template declarations in <complex> let inlining
12229 1.1 mrg fail
12230 1.4 mrg * [483]13239 Assertion does not seem to work correctly anymore
12231 1.4 mrg * [484]13262 "xxx is private within this context" when initializing a
12232 1.1 mrg self-contained template class
12233 1.4 mrg * [485]13290 simple typo in concept checking for std::generate_n
12234 1.4 mrg * [486]13323 Template code does not compile in presence of typedef
12235 1.4 mrg * [487]13369 __verify_grouping (and __add_grouping?) not correct
12236 1.4 mrg * [488]13371 infinite loop with packed struct and inlining
12237 1.4 mrg * [489]13445 Template argument replacement "dereferences" a typedef
12238 1.4 mrg * [490]13461 Fails to access protected-ctor from public constant
12239 1.4 mrg * [491]13462 Non-standard-conforming type set::pointer
12240 1.4 mrg * [492]13478 gcc uses wrong constructor to initialize a const
12241 1.1 mrg reference
12242 1.4 mrg * [493]13544 "conflicting types" for enums in different scopes
12243 1.4 mrg * [494]13650 string::compare should not (always) use
12244 1.1 mrg traits_type::length()
12245 1.4 mrg * [495]13683 bogus warning about passing non-PODs through ellipsis
12246 1.4 mrg * [496]13688 Derived class is denied access to protected base class
12247 1.1 mrg member class
12248 1.4 mrg * [497]13774 Member variable cleared in virtual multiple inheritance
12249 1.1 mrg class
12250 1.4 mrg * [498]13884 Protect sstream.tcc from extern template use
12251 1.1 mrg
12252 1.1 mrg Java compiler and library
12253 1.1 mrg
12254 1.4 mrg * [499]10746 [win32] garbage collection crash in GCJ
12255 1.1 mrg
12256 1.1 mrg Objective-C compiler and library
12257 1.1 mrg
12258 1.4 mrg * [500]11433 Crash due to dereferencing null pointer when querying
12259 1.1 mrg protocol
12260 1.1 mrg
12261 1.1 mrg Fortran compiler and library
12262 1.1 mrg
12263 1.4 mrg * [501]12633 logical expression gives incorrect result with
12264 1.1 mrg -fugly-logint option
12265 1.4 mrg * [502]13037 [gcse-lm] g77 generates incorrect code
12266 1.4 mrg * [503]13213 Hex constant problem when compiling with -fugly-logint
12267 1.1 mrg and -ftypeless-boz
12268 1.1 mrg
12269 1.1 mrg x86-specific (Intel/AMD)
12270 1.1 mrg
12271 1.4 mrg * [504]4490 ICE with -m128bit-long-double
12272 1.4 mrg * [505]12292 [x86_64] ICE: RTL check: expected code `const_int', have
12273 1.1 mrg `reg' in make_field_assignment, in combine.c
12274 1.4 mrg * [506]12441 ICE: can't find a register to spill
12275 1.4 mrg * [507]12943 array static-init failure under -fpic, -fPIC
12276 1.4 mrg * [508]13608 Incorrect code with -O3 -ffast-math
12277 1.1 mrg
12278 1.1 mrg PowerPC-specific
12279 1.1 mrg
12280 1.4 mrg * [509]11598 testcase gcc.dg/20020118-1.c fails runtime check of
12281 1.1 mrg __attribute__((aligned(16)))
12282 1.4 mrg * [510]11793 ICE in extract_insn, in recog.c (const_vector's)
12283 1.4 mrg * [511]12467 vmsumubm emitted when vmsummbm appropriate (typo in
12284 1.1 mrg altivec.md)
12285 1.4 mrg * [512]12537 g++ generates writeable text sections
12286 1.1 mrg
12287 1.1 mrg SPARC-specific
12288 1.1 mrg
12289 1.4 mrg * [513]12496 wrong result for __atomic_add(&value, -1) when using -O0
12290 1.1 mrg -m64
12291 1.4 mrg * [514]12865 mprotect call to make trampoline executable may fail
12292 1.4 mrg * [515]13354 ICE in sparc_emit_set_const32
12293 1.1 mrg
12294 1.1 mrg ARM-specific
12295 1.1 mrg
12296 1.4 mrg * [516]10467 [arm] ICE in pre_insert_copy_insn,
12297 1.1 mrg
12298 1.1 mrg ia64-specific
12299 1.1 mrg
12300 1.4 mrg * [517]11226 ICE passing struct arg with two floats
12301 1.4 mrg * [518]11227 ICE for _Complex float, _Complex long double args
12302 1.4 mrg * [519]12644 GCC 3.3.2 fails to compile glibc on ia64
12303 1.4 mrg * [520]13149 build gcc-3.3.2 1305 error:unrecognizable insn
12304 1.1 mrg * Various fixes for libunwind
12305 1.1 mrg
12306 1.1 mrg Alpha-specific
12307 1.1 mrg
12308 1.4 mrg * [521]12654 Incorrect comparison code generated for Alpha
12309 1.4 mrg * [522]12965 SEGV+ICE in cc1plus on alpha-linux with -O2
12310 1.4 mrg * [523]13031 ICE (unrecognizable insn) when building gnome-libs-1.4.2
12311 1.1 mrg
12312 1.1 mrg HPPA-specific
12313 1.1 mrg
12314 1.4 mrg * [524]11634 [hppa] ICE in verify_local_live_at_start, in flow.c
12315 1.4 mrg * [525]12158 [hppa] compilation does not terminate at -O1
12316 1.1 mrg
12317 1.1 mrg S390-specific
12318 1.1 mrg
12319 1.4 mrg * [526]11992 Wrong built-in code for memcmp with length 1<<24: only
12320 1.1 mrg (1<<24)-1 possible for CLCL-Instruction
12321 1.1 mrg
12322 1.1 mrg SH-specific
12323 1.1 mrg
12324 1.4 mrg * [527]9365 segfault in gen_far_branch (config/sh/sh.c)
12325 1.4 mrg * [528]10392 optimizer generates faulty array indexing
12326 1.4 mrg * [529]11322 SH profiler outputs multiple definitions of symbol
12327 1.4 mrg * [530]13069 gcc/config/sh/rtems.h broken
12328 1.4 mrg * [531]13302 Putting a va_list in a struct causes seg fault
12329 1.4 mrg * [532]13585 Incorrect optimization of call to sfunc
12330 1.1 mrg * Fix inappropriately exported libgcc functions from the shared
12331 1.1 mrg library
12332 1.1 mrg
12333 1.1 mrg Other embedded target specific
12334 1.1 mrg
12335 1.4 mrg * [533]8916 [mcore] unsigned char assign gets hosed.
12336 1.4 mrg * [534]11576 [h8300] ICE in change_address_1, in emit-rtl.c
12337 1.4 mrg * [535]13122 [h8300] local variable gets corrupted by function call
12338 1.1 mrg when -fomit-frame-pointer is given
12339 1.4 mrg * [536]13256 [cris] strict_low_part mistreated in delay slots
12340 1.4 mrg * [537]13373 [mcore] optimization with -frerun-cse-after-loop
12341 1.1 mrg -fexpensive-optimizations produces wrong code on mcore
12342 1.1 mrg
12343 1.1 mrg GNU HURD-specific
12344 1.1 mrg
12345 1.4 mrg * [538]12561 gcc/config/t-gnu needs updating to work with
12346 1.1 mrg --with-sysroot
12347 1.1 mrg
12348 1.1 mrg Tru64 Unix specific
12349 1.1 mrg
12350 1.4 mrg * [539]6243 testsuite fails almost all tests due to no libintl in
12351 1.1 mrg LD_LIBRARY_PATH during test.
12352 1.4 mrg * [540]11397 weak aliases broken on Tru64 UNIX
12353 1.1 mrg
12354 1.1 mrg AIX-specific
12355 1.1 mrg
12356 1.4 mrg * [541]12505 build failure due to defines of uchar in cpphash.h and
12357 1.1 mrg sys/types.h
12358 1.4 mrg * [542]13150 WEAK symbols not exported by collect2
12359 1.1 mrg
12360 1.1 mrg IRIX-specific
12361 1.1 mrg
12362 1.4 mrg * [543]12666 fixincludes problem on IRIX 6.5.19m
12363 1.1 mrg
12364 1.1 mrg Solaris-specific
12365 1.1 mrg
12366 1.4 mrg * [544]12969 Including sys/byteorder.h breaks configure checks
12367 1.1 mrg
12368 1.1 mrg Testsuite problems (compiler is not affected)
12369 1.1 mrg
12370 1.4 mrg * [545]10819 testsuite creates CR+LF on compiler version lines in
12371 1.1 mrg test summary files
12372 1.4 mrg * [546]11612 abi_check not finding correct libgcc_s.so.1
12373 1.1 mrg
12374 1.1 mrg Miscellaneous
12375 1.1 mrg
12376 1.4 mrg * [547]13211 using -###, incorrect warnings about unused linker file
12377 1.1 mrg are produced
12378 1.1 mrg __________________________________________________________________
12379 1.1 mrg
12380 1.1 mrg GCC 3.3.4
12381 1.1 mrg
12382 1.4 mrg This is the [548]list of problem reports (PRs) from GCC's bug tracking
12383 1.1 mrg system that are known to be fixed in the 3.3.4 release. This list might
12384 1.1 mrg not be complete (that is, it is possible that some PRs that have been
12385 1.1 mrg fixed are not listed here).
12386 1.1 mrg __________________________________________________________________
12387 1.1 mrg
12388 1.1 mrg GCC 3.3.5
12389 1.1 mrg
12390 1.4 mrg This is the [549]list of problem reports (PRs) from GCC's bug tracking
12391 1.1 mrg system that are known to be fixed in the 3.3.5 release. This list might
12392 1.1 mrg not be complete (that is, it is possible that some PRs that have been
12393 1.1 mrg fixed are not listed here).
12394 1.1 mrg __________________________________________________________________
12395 1.1 mrg
12396 1.1 mrg GCC 3.3.6
12397 1.1 mrg
12398 1.4 mrg This is the [550]list of problem reports (PRs) from GCC's bug tracking
12399 1.1 mrg system that are known to be fixed in the 3.3.6 release. This list might
12400 1.1 mrg not be complete (that is, it is possible that some PRs that have been
12401 1.1 mrg fixed are not listed here).
12402 1.1 mrg
12403 1.1 mrg
12404 1.1 mrg For questions related to the use of GCC, please consult these web
12405 1.4 mrg pages and the [551]GCC manuals. If that fails, the
12406 1.4 mrg [552]gcc-help (a] gcc.gnu.org mailing list might help. Comments on these
12407 1.1 mrg web pages and the development of GCC are welcome on our developer
12408 1.4 mrg list at [553]gcc (a] gcc.gnu.org. All of [554]our lists have public
12409 1.1 mrg archives.
12410 1.1 mrg
12411 1.4 mrg Copyright (C) [555]Free Software Foundation, Inc. Verbatim copying and
12412 1.1 mrg distribution of this entire article is permitted in any medium,
12413 1.1 mrg provided this notice is preserved.
12414 1.1 mrg
12415 1.4 mrg These pages are [556]maintained by the GCC team. Last modified
12416 1.6 mrg 2016-01-30[557].
12417 1.1 mrg
12418 1.1 mrg References
12419 1.1 mrg
12420 1.1 mrg 1. http://gcc.gnu.org/gcc-3.3/changes.html#3.3.6
12421 1.1 mrg 2. http://gcc.gnu.org/gcc-3.1/changes.html#obsolete_systems
12422 1.1 mrg 3. http://gcc.gnu.org/gcc-3.3/changes.html#obsolete_systems
12423 1.1 mrg 4. http://gcc.gnu.org/gcc-3.3/changes.html#nonnull_attribute
12424 1.1 mrg 5. http://gcc.gnu.org/news/dfa.html
12425 1.3 skrll 6. http://gcc.gnu.org/c99status.html
12426 1.4 mrg 7. https://gcc.gnu.org/onlinedocs/gcc-3.3.6/g77/News.html
12427 1.4 mrg 8. https://gcc.gnu.org/PR10140
12428 1.4 mrg 9. https://gcc.gnu.org/PR10198
12429 1.4 mrg 10. https://gcc.gnu.org/PR10338
12430 1.4 mrg 11. https://gcc.gnu.org/PR3581
12431 1.4 mrg 12. https://gcc.gnu.org/PR4382
12432 1.4 mrg 13. https://gcc.gnu.org/PR5533
12433 1.4 mrg 14. https://gcc.gnu.org/PR6387
12434 1.4 mrg 15. https://gcc.gnu.org/PR6412
12435 1.4 mrg 16. https://gcc.gnu.org/PR6620
12436 1.4 mrg 17. https://gcc.gnu.org/PR6663
12437 1.4 mrg 18. https://gcc.gnu.org/PR7068
12438 1.4 mrg 19. https://gcc.gnu.org/PR7083
12439 1.4 mrg 20. https://gcc.gnu.org/PR7647
12440 1.4 mrg 21. https://gcc.gnu.org/PR7675
12441 1.4 mrg 22. https://gcc.gnu.org/PR7718
12442 1.4 mrg 23. https://gcc.gnu.org/PR8116
12443 1.4 mrg 24. https://gcc.gnu.org/PR8358
12444 1.4 mrg 25. https://gcc.gnu.org/PR8511
12445 1.4 mrg 26. https://gcc.gnu.org/PR8564
12446 1.4 mrg 27. https://gcc.gnu.org/PR8660
12447 1.4 mrg 28. https://gcc.gnu.org/PR8766
12448 1.4 mrg 29. https://gcc.gnu.org/PR8803
12449 1.4 mrg 30. https://gcc.gnu.org/PR8846
12450 1.4 mrg 31. https://gcc.gnu.org/PR8906
12451 1.4 mrg 32. https://gcc.gnu.org/PR9216
12452 1.4 mrg 33. https://gcc.gnu.org/PR9261
12453 1.4 mrg 34. https://gcc.gnu.org/PR9263
12454 1.4 mrg 35. https://gcc.gnu.org/PR9429
12455 1.4 mrg 36. https://gcc.gnu.org/PR9516
12456 1.4 mrg 37. https://gcc.gnu.org/PR9600
12457 1.4 mrg 38. https://gcc.gnu.org/PR9629
12458 1.4 mrg 39. https://gcc.gnu.org/PR9672
12459 1.4 mrg 40. https://gcc.gnu.org/PR9749
12460 1.4 mrg 41. https://gcc.gnu.org/PR9794
12461 1.4 mrg 42. https://gcc.gnu.org/PR9829
12462 1.4 mrg 43. https://gcc.gnu.org/PR9916
12463 1.4 mrg 44. https://gcc.gnu.org/PR9936
12464 1.4 mrg 45. https://gcc.gnu.org/PR10262
12465 1.4 mrg 46. https://gcc.gnu.org/PR10278
12466 1.4 mrg 47. https://gcc.gnu.org/PR10446
12467 1.4 mrg 48. https://gcc.gnu.org/PR10451
12468 1.4 mrg 49. https://gcc.gnu.org/PR10506
12469 1.4 mrg 50. https://gcc.gnu.org/PR10549
12470 1.4 mrg 51. https://gcc.gnu.org/PR2001
12471 1.4 mrg 52. https://gcc.gnu.org/PR2391
12472 1.4 mrg 53. https://gcc.gnu.org/PR2960
12473 1.4 mrg 54. https://gcc.gnu.org/PR4046
12474 1.4 mrg 55. https://gcc.gnu.org/PR6405
12475 1.4 mrg 56. https://gcc.gnu.org/PR6798
12476 1.4 mrg 57. https://gcc.gnu.org/PR6871
12477 1.4 mrg 58. https://gcc.gnu.org/PR6909
12478 1.4 mrg 59. https://gcc.gnu.org/PR7189
12479 1.4 mrg 60. https://gcc.gnu.org/PR7642
12480 1.4 mrg 61. https://gcc.gnu.org/PR8634
12481 1.4 mrg 62. https://gcc.gnu.org/PR8750
12482 1.4 mrg 63. https://gcc.gnu.org/PR2161
12483 1.4 mrg 64. https://gcc.gnu.org/PR4319
12484 1.4 mrg 65. https://gcc.gnu.org/PR8602
12485 1.4 mrg 66. https://gcc.gnu.org/PR9177
12486 1.4 mrg 67. https://gcc.gnu.org/PR9853
12487 1.4 mrg 68. https://gcc.gnu.org/PR45
12488 1.4 mrg 69. https://gcc.gnu.org/PR3784
12489 1.4 mrg 70. https://gcc.gnu.org/PR764
12490 1.4 mrg 71. https://gcc.gnu.org/PR5116
12491 1.4 mrg 72. https://gcc.gnu.org/PR2862
12492 1.4 mrg 73. https://gcc.gnu.org/PR3663
12493 1.4 mrg 74. https://gcc.gnu.org/PR3797
12494 1.4 mrg 75. https://gcc.gnu.org/PR3948
12495 1.4 mrg 76. https://gcc.gnu.org/PR4137
12496 1.4 mrg 77. https://gcc.gnu.org/PR4361
12497 1.4 mrg 78. https://gcc.gnu.org/PR4802
12498 1.4 mrg 79. https://gcc.gnu.org/PR5837
12499 1.4 mrg 80. https://gcc.gnu.org/PR4803
12500 1.4 mrg 81. https://gcc.gnu.org/PR5094
12501 1.4 mrg 82. https://gcc.gnu.org/PR5730
12502 1.4 mrg 83. https://gcc.gnu.org/PR6713
12503 1.4 mrg 84. https://gcc.gnu.org/PR7015
12504 1.4 mrg 85. https://gcc.gnu.org/PR7086
12505 1.4 mrg 86. https://gcc.gnu.org/PR7099
12506 1.4 mrg 87. https://gcc.gnu.org/PR7247
12507 1.4 mrg 88. https://gcc.gnu.org/PR7441
12508 1.4 mrg 89. https://gcc.gnu.org/PR7768
12509 1.4 mrg 90. https://gcc.gnu.org/PR7804
12510 1.4 mrg 91. https://gcc.gnu.org/PR8099
12511 1.4 mrg 92. https://gcc.gnu.org/PR8117
12512 1.4 mrg 93. https://gcc.gnu.org/PR8205
12513 1.4 mrg 94. https://gcc.gnu.org/PR8645
12514 1.4 mrg 95. https://gcc.gnu.org/PR8724
12515 1.4 mrg 96. https://gcc.gnu.org/PR8805
12516 1.4 mrg 97. https://gcc.gnu.org/PR8691
12517 1.4 mrg 98. https://gcc.gnu.org/PR8700
12518 1.4 mrg 99. https://gcc.gnu.org/PR8724
12519 1.4 mrg 100. https://gcc.gnu.org/PR8949
12520 1.4 mrg 101. https://gcc.gnu.org/PR9016
12521 1.4 mrg 102. https://gcc.gnu.org/PR9053
12522 1.4 mrg 103. https://gcc.gnu.org/PR9152
12523 1.4 mrg 104. https://gcc.gnu.org/PR9182
12524 1.4 mrg 105. https://gcc.gnu.org/PR9297
12525 1.4 mrg 106. https://gcc.gnu.org/PR9318
12526 1.4 mrg 107. https://gcc.gnu.org/PR9320
12527 1.4 mrg 108. https://gcc.gnu.org/PR9400
12528 1.4 mrg 109. https://gcc.gnu.org/PR9424
12529 1.4 mrg 110. https://gcc.gnu.org/PR9425
12530 1.4 mrg 111. https://gcc.gnu.org/PR9439
12531 1.4 mrg 112. https://gcc.gnu.org/PR9474
12532 1.4 mrg 113. https://gcc.gnu.org/PR9548
12533 1.1 mrg 114. http://www.open-std.org/jtc1/sc22/wg21/docs/cwg_defects.html#231
12534 1.4 mrg 115. https://gcc.gnu.org/PR9555
12535 1.4 mrg 116. https://gcc.gnu.org/PR9561
12536 1.4 mrg 117. https://gcc.gnu.org/PR9563
12537 1.4 mrg 118. https://gcc.gnu.org/PR9582
12538 1.4 mrg 119. https://gcc.gnu.org/PR9622
12539 1.4 mrg 120. https://gcc.gnu.org/PR9683
12540 1.4 mrg 121. https://gcc.gnu.org/PR9791
12541 1.4 mrg 122. https://gcc.gnu.org/PR9817
12542 1.4 mrg 123. https://gcc.gnu.org/PR9825
12543 1.4 mrg 124. https://gcc.gnu.org/PR9826
12544 1.4 mrg 125. https://gcc.gnu.org/PR9924
12545 1.4 mrg 126. https://gcc.gnu.org/PR9946
12546 1.4 mrg 127. https://gcc.gnu.org/PR9964
12547 1.4 mrg 128. https://gcc.gnu.org/PR9988
12548 1.4 mrg 129. https://gcc.gnu.org/PR10033
12549 1.4 mrg 130. https://gcc.gnu.org/PR10097
12550 1.4 mrg 131. https://gcc.gnu.org/PR10132
12551 1.4 mrg 132. https://gcc.gnu.org/PR10180
12552 1.4 mrg 133. https://gcc.gnu.org/PR10199
12553 1.4 mrg 134. https://gcc.gnu.org/PR10300
12554 1.4 mrg 135. https://gcc.gnu.org/PR10427
12555 1.4 mrg 136. https://gcc.gnu.org/PR10503
12556 1.4 mrg 137. https://gcc.gnu.org/PR5956
12557 1.4 mrg 138. https://gcc.gnu.org/PR1832
12558 1.4 mrg 139. https://gcc.gnu.org/PR3924
12559 1.4 mrg 140. https://gcc.gnu.org/PR5634
12560 1.4 mrg 141. https://gcc.gnu.org/PR6367
12561 1.4 mrg 142. https://gcc.gnu.org/PR6491
12562 1.4 mrg 143. https://gcc.gnu.org/PR6742
12563 1.4 mrg 144. https://gcc.gnu.org/PR7113
12564 1.4 mrg 145. https://gcc.gnu.org/PR7236
12565 1.4 mrg 146. https://gcc.gnu.org/PR7278
12566 1.4 mrg 147. https://gcc.gnu.org/PR7384
12567 1.4 mrg 148. https://gcc.gnu.org/PR7388
12568 1.4 mrg 149. https://gcc.gnu.org/PR8587
12569 1.4 mrg 150. https://gcc.gnu.org/PR9038
12570 1.4 mrg 151. https://gcc.gnu.org/PR10197
12571 1.4 mrg 152. https://gcc.gnu.org/PR6005
12572 1.4 mrg 153. https://gcc.gnu.org/PR6389
12573 1.4 mrg 154. https://gcc.gnu.org/PR6576
12574 1.4 mrg 155. https://gcc.gnu.org/PR6652
12575 1.4 mrg 156. https://gcc.gnu.org/PR7060
12576 1.4 mrg 157. https://gcc.gnu.org/PR7073
12577 1.4 mrg 158. https://gcc.gnu.org/PR7180
12578 1.4 mrg 159. https://gcc.gnu.org/PR7416
12579 1.4 mrg 160. https://gcc.gnu.org/PR7570
12580 1.4 mrg 161. https://gcc.gnu.org/PR7578
12581 1.4 mrg 162. https://gcc.gnu.org/PR7611
12582 1.4 mrg 163. https://gcc.gnu.org/PR7709
12583 1.4 mrg 164. https://gcc.gnu.org/PR7766
12584 1.4 mrg 165. https://gcc.gnu.org/PR7785
12585 1.4 mrg 166. https://gcc.gnu.org/PR7786
12586 1.4 mrg 167. https://gcc.gnu.org/PR8142
12587 1.4 mrg 168. https://gcc.gnu.org/PR8234
12588 1.4 mrg 169. https://gcc.gnu.org/PR8415
12589 1.4 mrg 170. https://gcc.gnu.org/PR8481
12590 1.4 mrg 171. https://gcc.gnu.org/PR8593
12591 1.4 mrg 172. https://gcc.gnu.org/PR8759
12592 1.4 mrg 173. https://gcc.gnu.org/PR8997
12593 1.4 mrg 174. https://gcc.gnu.org/PR9253
12594 1.4 mrg 175. https://gcc.gnu.org/PR9254
12595 1.4 mrg 176. https://gcc.gnu.org/PR9271
12596 1.4 mrg 177. https://gcc.gnu.org/PR6767
12597 1.4 mrg 178. https://gcc.gnu.org/PR9911
12598 1.4 mrg 179. https://gcc.gnu.org/PR10020
12599 1.4 mrg 180. https://gcc.gnu.org/PR10546
12600 1.4 mrg 181. https://gcc.gnu.org/PR7029
12601 1.4 mrg 182. https://gcc.gnu.org/PR2903
12602 1.4 mrg 183. https://gcc.gnu.org/PR7873
12603 1.4 mrg 184. https://gcc.gnu.org/PR7680
12604 1.4 mrg 185. https://gcc.gnu.org/PR8705
12605 1.4 mrg 186. https://gcc.gnu.org/PR9986
12606 1.4 mrg 187. https://gcc.gnu.org/PR10056
12607 1.4 mrg 188. https://gcc.gnu.org/PR6744
12608 1.4 mrg 189. https://gcc.gnu.org/PR7361
12609 1.4 mrg 190. https://gcc.gnu.org/PR9496
12610 1.4 mrg 191. https://gcc.gnu.org/PR7067
12611 1.4 mrg 192. https://gcc.gnu.org/PR8480
12612 1.4 mrg 193. https://gcc.gnu.org/PR8784
12613 1.4 mrg 194. https://gcc.gnu.org/PR10315
12614 1.4 mrg 195. https://gcc.gnu.org/PR10267
12615 1.4 mrg 196. https://gcc.gnu.org/PR7916
12616 1.4 mrg 197. https://gcc.gnu.org/PR7926
12617 1.4 mrg 198. https://gcc.gnu.org/PR8555
12618 1.4 mrg 199. https://gcc.gnu.org/PR8994
12619 1.4 mrg 200. https://gcc.gnu.org/PR9426
12620 1.4 mrg 201. https://gcc.gnu.org/PR9806
12621 1.4 mrg 202. https://gcc.gnu.org/PR10077
12622 1.4 mrg 203. https://gcc.gnu.org/PR10233
12623 1.4 mrg 204. https://gcc.gnu.org/PR10286
12624 1.4 mrg 205. https://gcc.gnu.org/PR10308
12625 1.4 mrg 206. https://gcc.gnu.org/PR11272
12626 1.4 mrg 207. https://gcc.gnu.org/PR5754
12627 1.4 mrg 208. https://gcc.gnu.org/PR6597
12628 1.4 mrg 209. https://gcc.gnu.org/PR6949
12629 1.4 mrg 210. https://gcc.gnu.org/PR7053
12630 1.4 mrg 211. https://gcc.gnu.org/PR8164
12631 1.4 mrg 212. https://gcc.gnu.org/PR8384
12632 1.4 mrg 213. https://gcc.gnu.org/PR9559
12633 1.4 mrg 214. https://gcc.gnu.org/PR9649
12634 1.4 mrg 215. https://gcc.gnu.org/PR9864
12635 1.4 mrg 216. https://gcc.gnu.org/PR10432
12636 1.4 mrg 217. https://gcc.gnu.org/PR10475
12637 1.4 mrg 218. https://gcc.gnu.org/PR10635
12638 1.4 mrg 219. https://gcc.gnu.org/PR10661
12639 1.4 mrg 220. https://gcc.gnu.org/PR10700
12640 1.4 mrg 221. https://gcc.gnu.org/PR10712
12641 1.4 mrg 222. https://gcc.gnu.org/PR10796
12642 1.4 mrg 223. https://gcc.gnu.org/PR10890
12643 1.4 mrg 224. https://gcc.gnu.org/PR10939
12644 1.4 mrg 225. https://gcc.gnu.org/PR10956
12645 1.4 mrg 226. https://gcc.gnu.org/PR11041
12646 1.4 mrg 227. https://gcc.gnu.org/PR11059
12647 1.4 mrg 228. https://gcc.gnu.org/PR11083
12648 1.4 mrg 229. https://gcc.gnu.org/PR11105
12649 1.4 mrg 230. https://gcc.gnu.org/PR11149
12650 1.4 mrg 231. https://gcc.gnu.org/PR11228
12651 1.4 mrg 232. https://gcc.gnu.org/PR11282
12652 1.4 mrg 233. https://gcc.gnu.org/PR11301
12653 1.4 mrg 234. https://gcc.gnu.org/PR11308
12654 1.4 mrg 235. https://gcc.gnu.org/PR11473
12655 1.4 mrg 236. https://gcc.gnu.org/PR11503
12656 1.4 mrg 237. https://gcc.gnu.org/PR11513
12657 1.4 mrg 238. https://gcc.gnu.org/PR11198
12658 1.4 mrg 239. https://gcc.gnu.org/PR11304
12659 1.4 mrg 240. https://gcc.gnu.org/PR11381
12660 1.4 mrg 241. https://gcc.gnu.org/PR11536
12661 1.4 mrg 242. https://gcc.gnu.org/PR11557
12662 1.4 mrg 243. https://gcc.gnu.org/PR5897
12663 1.4 mrg 244. https://gcc.gnu.org/PR11279
12664 1.4 mrg 245. https://gcc.gnu.org/PR11022
12665 1.4 mrg 246. https://gcc.gnu.org/PR2330
12666 1.4 mrg 247. https://gcc.gnu.org/PR5388
12667 1.4 mrg 248. https://gcc.gnu.org/PR5390
12668 1.4 mrg 249. https://gcc.gnu.org/PR7877
12669 1.4 mrg 250. https://gcc.gnu.org/PR9393
12670 1.4 mrg 251. https://gcc.gnu.org/PR10032
12671 1.4 mrg 252. https://gcc.gnu.org/PR10468
12672 1.4 mrg 253. https://gcc.gnu.org/PR10527
12673 1.4 mrg 254. https://gcc.gnu.org/PR10679
12674 1.4 mrg 255. https://gcc.gnu.org/PR10682
12675 1.4 mrg 256. https://gcc.gnu.org/PR10689
12676 1.4 mrg 257. https://gcc.gnu.org/PR10845
12677 1.4 mrg 258. https://gcc.gnu.org/PR10849
12678 1.4 mrg 259. https://gcc.gnu.org/PR10888
12679 1.4 mrg 260. https://gcc.gnu.org/PR10929
12680 1.4 mrg 261. https://gcc.gnu.org/PR10931
12681 1.4 mrg 262. https://gcc.gnu.org/PR10940
12682 1.4 mrg 263. https://gcc.gnu.org/PR10968
12683 1.4 mrg 264. https://gcc.gnu.org/PR10990
12684 1.4 mrg 265. https://gcc.gnu.org/PR11039
12685 1.4 mrg 266. https://gcc.gnu.org/PR11062
12686 1.4 mrg 267. https://gcc.gnu.org/PR11095
12687 1.4 mrg 268. https://gcc.gnu.org/PR11098
12688 1.4 mrg 269. https://gcc.gnu.org/PR11137
12689 1.4 mrg 270. https://gcc.gnu.org/PR11154
12690 1.4 mrg 271. https://gcc.gnu.org/PR11329
12691 1.4 mrg 272. https://gcc.gnu.org/PR11332
12692 1.4 mrg 273. https://gcc.gnu.org/PR11431
12693 1.4 mrg 274. https://gcc.gnu.org/PR11528
12694 1.4 mrg 275. https://gcc.gnu.org/PR11546
12695 1.4 mrg 276. https://gcc.gnu.org/PR11567
12696 1.4 mrg 277. https://gcc.gnu.org/PR11645
12697 1.4 mrg 278. https://gcc.gnu.org/PR5179
12698 1.4 mrg 279. https://gcc.gnu.org/PR8204
12699 1.4 mrg 280. https://gcc.gnu.org/PR10838
12700 1.4 mrg 281. https://gcc.gnu.org/PR10886
12701 1.4 mrg 282. https://gcc.gnu.org/PR11349
12702 1.4 mrg 283. https://gcc.gnu.org/PR4823
12703 1.4 mrg 284. https://gcc.gnu.org/PR8878
12704 1.4 mrg 285. https://gcc.gnu.org/PR9815
12705 1.4 mrg 286. https://gcc.gnu.org/PR10402
12706 1.4 mrg 287. https://gcc.gnu.org/PR10504
12707 1.4 mrg 288. https://gcc.gnu.org/PR10673
12708 1.4 mrg 289. https://gcc.gnu.org/PR11044
12709 1.4 mrg 290. https://gcc.gnu.org/PR11089
12710 1.4 mrg 291. https://gcc.gnu.org/PR11420
12711 1.4 mrg 292. https://gcc.gnu.org/PR9362
12712 1.4 mrg 293. https://gcc.gnu.org/PR10142
12713 1.4 mrg 294. https://gcc.gnu.org/PR10663
12714 1.4 mrg 295. https://gcc.gnu.org/PR10835
12715 1.4 mrg 296. https://gcc.gnu.org/PR10876
12716 1.4 mrg 297. https://gcc.gnu.org/PR10955
12717 1.4 mrg 298. https://gcc.gnu.org/PR11018
12718 1.4 mrg 299. https://gcc.gnu.org/PR11556
12719 1.4 mrg 300. https://gcc.gnu.org/PR10907
12720 1.4 mrg 301. https://gcc.gnu.org/PR11320
12721 1.4 mrg 302. https://gcc.gnu.org/PR11599
12722 1.4 mrg 303. https://gcc.gnu.org/PR9745
12723 1.4 mrg 304. https://gcc.gnu.org/PR10871
12724 1.4 mrg 305. https://gcc.gnu.org/PR11440
12725 1.4 mrg 306. https://gcc.gnu.org/PR7594
12726 1.4 mrg 307. https://gcc.gnu.org/PR10557
12727 1.4 mrg 308. https://gcc.gnu.org/PR11054
12728 1.4 mrg 309. https://gcc.gnu.org/PR10834
12729 1.4 mrg 310. https://gcc.gnu.org/PR10842
12730 1.4 mrg 311. https://gcc.gnu.org/PR11052
12731 1.4 mrg 312. https://gcc.gnu.org/PR11183
12732 1.4 mrg 313. https://gcc.gnu.org/PR11084
12733 1.4 mrg 314. https://gcc.gnu.org/PR10331
12734 1.4 mrg 315. https://gcc.gnu.org/PR10413
12735 1.4 mrg 316. https://gcc.gnu.org/PR11096
12736 1.4 mrg 317. https://gcc.gnu.org/PR2873
12737 1.4 mrg 318. https://gcc.gnu.org/PR3163
12738 1.4 mrg 319. https://gcc.gnu.org/PR5287
12739 1.4 mrg 320. https://gcc.gnu.org/PR10148
12740 1.4 mrg 321. https://gcc.gnu.org/PR8787
12741 1.4 mrg 322. https://gcc.gnu.org/PR10900
12742 1.4 mrg 323. https://gcc.gnu.org/PR1607
12743 1.4 mrg 324. https://gcc.gnu.org/PR4252
12744 1.4 mrg 325. https://gcc.gnu.org/PR4490
12745 1.4 mrg 326. https://gcc.gnu.org/PR10355
12746 1.4 mrg 327. https://gcc.gnu.org/PR10726
12747 1.4 mrg 328. https://gcc.gnu.org/PR10805
12748 1.4 mrg 329. https://gcc.gnu.org/PR10815
12749 1.4 mrg 330. https://gcc.gnu.org/PR10877
12750 1.4 mrg 331. https://gcc.gnu.org/PR11280
12751 1.4 mrg 332. https://gcc.gnu.org/PR11466
12752 1.4 mrg 333. https://gcc.gnu.org/PR10737
12753 1.4 mrg 334. https://gcc.gnu.org/PR10810
12754 1.4 mrg 335. https://gcc.gnu.org/PR8336
12755 1.4 mrg 336. https://gcc.gnu.org/PR9330
12756 1.4 mrg 337. https://gcc.gnu.org/PR9631
12757 1.4 mrg 338. https://gcc.gnu.org/PR9877
12758 1.4 mrg 339. https://gcc.gnu.org/PR11687
12759 1.4 mrg 340. https://gcc.gnu.org/PR12263
12760 1.4 mrg 341. https://gcc.gnu.org/PR12490
12761 1.4 mrg 342. https://gcc.gnu.org/PR7277
12762 1.4 mrg 343. https://gcc.gnu.org/PR7939
12763 1.4 mrg 344. https://gcc.gnu.org/PR11063
12764 1.4 mrg 345. https://gcc.gnu.org/PR11207
12765 1.4 mrg 346. https://gcc.gnu.org/PR11522
12766 1.4 mrg 347. https://gcc.gnu.org/PR11595
12767 1.4 mrg 348. https://gcc.gnu.org/PR11646
12768 1.4 mrg 349. https://gcc.gnu.org/PR11665
12769 1.4 mrg 350. https://gcc.gnu.org/PR11852
12770 1.4 mrg 351. https://gcc.gnu.org/PR11878
12771 1.4 mrg 352. https://gcc.gnu.org/PR11883
12772 1.4 mrg 353. https://gcc.gnu.org/PR11991
12773 1.4 mrg 354. https://gcc.gnu.org/PR12146
12774 1.4 mrg 355. https://gcc.gnu.org/PR12215
12775 1.4 mrg 356. https://gcc.gnu.org/PR12369
12776 1.4 mrg 357. https://gcc.gnu.org/PR12446
12777 1.4 mrg 358. https://gcc.gnu.org/PR12510
12778 1.4 mrg 359. https://gcc.gnu.org/PR12544
12779 1.4 mrg 360. https://gcc.gnu.org/PR9862
12780 1.4 mrg 361. https://gcc.gnu.org/PR10962
12781 1.4 mrg 362. https://gcc.gnu.org/PR11370
12782 1.4 mrg 363. https://gcc.gnu.org/PR11637
12783 1.4 mrg 364. https://gcc.gnu.org/PR11885
12784 1.4 mrg 365. https://gcc.gnu.org/PR12082
12785 1.4 mrg 366. https://gcc.gnu.org/PR12180
12786 1.4 mrg 367. https://gcc.gnu.org/PR12340
12787 1.4 mrg 368. https://gcc.gnu.org/PR3907
12788 1.4 mrg 369. https://gcc.gnu.org/PR5293
12789 1.4 mrg 370. https://gcc.gnu.org/PR5296
12790 1.4 mrg 371. https://gcc.gnu.org/PR7939
12791 1.4 mrg 372. https://gcc.gnu.org/PR8656
12792 1.4 mrg 373. https://gcc.gnu.org/PR10147
12793 1.4 mrg 374. https://gcc.gnu.org/PR11400
12794 1.4 mrg 375. https://gcc.gnu.org/PR11409
12795 1.4 mrg 376. https://gcc.gnu.org/PR11740
12796 1.4 mrg 377. https://gcc.gnu.org/PR11786
12797 1.4 mrg 378. https://gcc.gnu.org/PR11867
12798 1.4 mrg 379. https://gcc.gnu.org/PR11928
12799 1.4 mrg 380. https://gcc.gnu.org/PR12114
12800 1.4 mrg 381. https://gcc.gnu.org/PR12163
12801 1.4 mrg 382. https://gcc.gnu.org/PR12181
12802 1.4 mrg 383. https://gcc.gnu.org/PR12236
12803 1.4 mrg 384. https://gcc.gnu.org/PR12266
12804 1.4 mrg 385. https://gcc.gnu.org/PR12296
12805 1.4 mrg 386. https://gcc.gnu.org/PR12298
12806 1.4 mrg 387. https://gcc.gnu.org/PR12369
12807 1.4 mrg 388. https://gcc.gnu.org/PR12337
12808 1.4 mrg 389. https://gcc.gnu.org/PR12344
12809 1.4 mrg 390. https://gcc.gnu.org/PR12451
12810 1.4 mrg 391. https://gcc.gnu.org/PR12486
12811 1.4 mrg 392. https://gcc.gnu.org/PR8869
12812 1.4 mrg 393. https://gcc.gnu.org/PR9786
12813 1.4 mrg 394. https://gcc.gnu.org/PR11689
12814 1.4 mrg 395. https://gcc.gnu.org/PR12116
12815 1.4 mrg 396. https://gcc.gnu.org/PR12070
12816 1.4 mrg 397. https://gcc.gnu.org/PR11184
12817 1.4 mrg 398. https://gcc.gnu.org/PR11535
12818 1.4 mrg 399. https://gcc.gnu.org/PR11693
12819 1.4 mrg 400. https://gcc.gnu.org/PR12224
12820 1.4 mrg 401. https://gcc.gnu.org/PR11087
12821 1.4 mrg 402. https://gcc.gnu.org/PR11319
12822 1.4 mrg 403. https://gcc.gnu.org/PR11949
12823 1.4 mrg 404. https://gcc.gnu.org/PR11662
12824 1.4 mrg 405. https://gcc.gnu.org/PR11965
12825 1.4 mrg 406. https://gcc.gnu.org/PR12301
12826 1.4 mrg 407. https://gcc.gnu.org/PR11717
12827 1.4 mrg 408. https://gcc.gnu.org/PR11313
12828 1.4 mrg 409. https://gcc.gnu.org/PR11712
12829 1.4 mrg 410. https://gcc.gnu.org/PR12166
12830 1.4 mrg 411. https://gcc.gnu.org/PR12101
12831 1.4 mrg 412. https://gcc.gnu.org/PR10988
12832 1.4 mrg 413. https://gcc.gnu.org/PR11805
12833 1.4 mrg 414. https://gcc.gnu.org/PR11902
12834 1.4 mrg 415. https://gcc.gnu.org/PR11903
12835 1.4 mrg 416. https://gcc.gnu.org/PR11890
12836 1.4 mrg 417. https://gcc.gnu.org/PR12399
12837 1.4 mrg 418. https://gcc.gnu.org/PR13068
12838 1.4 mrg 419. https://gcc.gnu.org/PR10060
12839 1.4 mrg 420. https://gcc.gnu.org/PR10555
12840 1.4 mrg 421. https://gcc.gnu.org/PR10706
12841 1.4 mrg 422. https://gcc.gnu.org/PR11496
12842 1.4 mrg 423. https://gcc.gnu.org/PR11741
12843 1.4 mrg 424. https://gcc.gnu.org/PR12440
12844 1.4 mrg 425. https://gcc.gnu.org/PR12632
12845 1.4 mrg 426. https://gcc.gnu.org/PR12712
12846 1.4 mrg 427. https://gcc.gnu.org/PR12726
12847 1.4 mrg 428. https://gcc.gnu.org/PR12890
12848 1.4 mrg 429. https://gcc.gnu.org/PR12900
12849 1.4 mrg 430. https://gcc.gnu.org/PR13060
12850 1.4 mrg 431. https://gcc.gnu.org/PR13289
12851 1.4 mrg 432. https://gcc.gnu.org/PR13318
12852 1.4 mrg 433. https://gcc.gnu.org/PR13392
12853 1.4 mrg 434. https://gcc.gnu.org/PR13574
12854 1.4 mrg 435. https://gcc.gnu.org/PR13475
12855 1.4 mrg 436. https://gcc.gnu.org/PR13797
12856 1.4 mrg 437. https://gcc.gnu.org/PR13824
12857 1.4 mrg 438. https://gcc.gnu.org/PR8776
12858 1.4 mrg 439. https://gcc.gnu.org/PR10339
12859 1.4 mrg 440. https://gcc.gnu.org/PR11350
12860 1.4 mrg 441. https://gcc.gnu.org/PR12826
12861 1.4 mrg 442. https://gcc.gnu.org/PR12500
12862 1.4 mrg 443. https://gcc.gnu.org/PR12941
12863 1.4 mrg 444. https://gcc.gnu.org/PR12953
12864 1.4 mrg 445. https://gcc.gnu.org/PR13041
12865 1.4 mrg 446. https://gcc.gnu.org/PR13507
12866 1.4 mrg 447. https://gcc.gnu.org/PR13382
12867 1.4 mrg 448. https://gcc.gnu.org/PR13394
12868 1.4 mrg 449. https://gcc.gnu.org/PR13400
12869 1.4 mrg 450. https://gcc.gnu.org/PR13521
12870 1.4 mrg 451. https://gcc.gnu.org/PR2094
12871 1.4 mrg 452. https://gcc.gnu.org/PR2294
12872 1.4 mrg 453. https://gcc.gnu.org/PR5050
12873 1.4 mrg 454. https://gcc.gnu.org/PR9371
12874 1.4 mrg 455. https://gcc.gnu.org/PR9546
12875 1.4 mrg 456. https://gcc.gnu.org/PR10081
12876 1.4 mrg 457. https://gcc.gnu.org/PR10093
12877 1.4 mrg 458. http://www.open-std.org/jtc1/sc22/wg21/docs/cwg_defects.html#61
12878 1.4 mrg 459. https://gcc.gnu.org/PR10095
12879 1.4 mrg 460. https://gcc.gnu.org/PR11554
12880 1.4 mrg 461. https://gcc.gnu.org/PR12297
12881 1.4 mrg 462. https://gcc.gnu.org/PR12352
12882 1.4 mrg 463. https://gcc.gnu.org/PR12438
12883 1.4 mrg 464. https://gcc.gnu.org/PR12540
12884 1.4 mrg 465. https://gcc.gnu.org/PR12594
12885 1.4 mrg 466. http://www.open-std.org/jtc1/sc22/wg21/docs/cwg_defects.html#60
12886 1.4 mrg 467. http://www.open-std.org/jtc1/sc22/wg21/docs/cwg_defects.html#63
12887 1.4 mrg 468. https://gcc.gnu.org/PR12657
12888 1.4 mrg 469. http://www.open-std.org/jtc1/sc22/wg21/docs/cwg_defects.html#292
12889 1.4 mrg 470. https://gcc.gnu.org/PR12696
12890 1.4 mrg 471. https://gcc.gnu.org/PR12815
12891 1.4 mrg 472. https://gcc.gnu.org/PR12862
12892 1.4 mrg 473. https://gcc.gnu.org/PR12926
12893 1.4 mrg 474. https://gcc.gnu.org/PR12967
12894 1.4 mrg 475. http://www.open-std.org/jtc1/sc22/wg21/docs/cwg_defects.html
12895 1.4 mrg 476. https://gcc.gnu.org/PR12971
12896 1.4 mrg 477. http://www.open-std.org/jtc1/sc22/wg21/docs/cwg_defects.html#328
12897 1.4 mrg 478. https://gcc.gnu.org/PR13007
12898 1.4 mrg 479. https://gcc.gnu.org/PR13009
12899 1.4 mrg 480. https://gcc.gnu.org/PR13057
12900 1.4 mrg 481. https://gcc.gnu.org/PR13070
12901 1.4 mrg 482. https://gcc.gnu.org/PR13081
12902 1.4 mrg 483. https://gcc.gnu.org/PR13239
12903 1.4 mrg 484. https://gcc.gnu.org/PR13262
12904 1.4 mrg 485. https://gcc.gnu.org/PR13290
12905 1.4 mrg 486. https://gcc.gnu.org/PR13323
12906 1.4 mrg 487. https://gcc.gnu.org/PR13369
12907 1.4 mrg 488. https://gcc.gnu.org/PR13371
12908 1.4 mrg 489. https://gcc.gnu.org/PR13445
12909 1.4 mrg 490. https://gcc.gnu.org/PR13461
12910 1.4 mrg 491. https://gcc.gnu.org/PR13462
12911 1.4 mrg 492. https://gcc.gnu.org/PR13478
12912 1.4 mrg 493. https://gcc.gnu.org/PR13544
12913 1.4 mrg 494. https://gcc.gnu.org/PR13650
12914 1.4 mrg 495. https://gcc.gnu.org/PR13683
12915 1.4 mrg 496. https://gcc.gnu.org/PR13688
12916 1.4 mrg 497. https://gcc.gnu.org/PR13774
12917 1.4 mrg 498. https://gcc.gnu.org/PR13884
12918 1.4 mrg 499. https://gcc.gnu.org/PR10746
12919 1.4 mrg 500. https://gcc.gnu.org/PR11433
12920 1.4 mrg 501. https://gcc.gnu.org/PR12633
12921 1.4 mrg 502. https://gcc.gnu.org/PR13037
12922 1.4 mrg 503. https://gcc.gnu.org/PR13213
12923 1.4 mrg 504. https://gcc.gnu.org/PR4490
12924 1.4 mrg 505. https://gcc.gnu.org/PR12292
12925 1.4 mrg 506. https://gcc.gnu.org/PR12441
12926 1.4 mrg 507. https://gcc.gnu.org/PR12943
12927 1.4 mrg 508. https://gcc.gnu.org/PR13608
12928 1.4 mrg 509. https://gcc.gnu.org/PR11598
12929 1.4 mrg 510. https://gcc.gnu.org/PR11793
12930 1.4 mrg 511. https://gcc.gnu.org/PR12467
12931 1.4 mrg 512. https://gcc.gnu.org/PR12537
12932 1.4 mrg 513. https://gcc.gnu.org/PR12496
12933 1.4 mrg 514. https://gcc.gnu.org/PR12865
12934 1.4 mrg 515. https://gcc.gnu.org/PR13354
12935 1.4 mrg 516. https://gcc.gnu.org/PR10467
12936 1.4 mrg 517. https://gcc.gnu.org/PR11226
12937 1.4 mrg 518. https://gcc.gnu.org/PR11227
12938 1.4 mrg 519. https://gcc.gnu.org/PR12644
12939 1.4 mrg 520. https://gcc.gnu.org/PR13149
12940 1.4 mrg 521. https://gcc.gnu.org/PR12654
12941 1.4 mrg 522. https://gcc.gnu.org/PR12965
12942 1.4 mrg 523. https://gcc.gnu.org/PR13031
12943 1.4 mrg 524. https://gcc.gnu.org/PR11634
12944 1.4 mrg 525. https://gcc.gnu.org/PR12158
12945 1.4 mrg 526. https://gcc.gnu.org/PR11992
12946 1.4 mrg 527. https://gcc.gnu.org/PR9365
12947 1.4 mrg 528. https://gcc.gnu.org/PR10392
12948 1.4 mrg 529. https://gcc.gnu.org/PR11322
12949 1.4 mrg 530. https://gcc.gnu.org/PR13069
12950 1.4 mrg 531. https://gcc.gnu.org/PR13302
12951 1.4 mrg 532. https://gcc.gnu.org/PR13585
12952 1.4 mrg 533. https://gcc.gnu.org/PR8916
12953 1.4 mrg 534. https://gcc.gnu.org/PR11576
12954 1.4 mrg 535. https://gcc.gnu.org/PR13122
12955 1.4 mrg 536. https://gcc.gnu.org/PR13256
12956 1.4 mrg 537. https://gcc.gnu.org/PR13373
12957 1.4 mrg 538. https://gcc.gnu.org/PR12561
12958 1.4 mrg 539. https://gcc.gnu.org/PR6243
12959 1.4 mrg 540. https://gcc.gnu.org/PR11397
12960 1.4 mrg 541. https://gcc.gnu.org/PR12505
12961 1.4 mrg 542. https://gcc.gnu.org/PR13150
12962 1.4 mrg 543. https://gcc.gnu.org/PR12666
12963 1.4 mrg 544. https://gcc.gnu.org/PR12969
12964 1.4 mrg 545. https://gcc.gnu.org/PR10819
12965 1.4 mrg 546. https://gcc.gnu.org/PR11612
12966 1.4 mrg 547. https://gcc.gnu.org/PR13211
12967 1.4 mrg 548. https://gcc.gnu.org/bugzilla/buglist.cgi?bug_status=RESOLVED&resolution=FIXED&target_milestone=3.3.4
12968 1.4 mrg 549. https://gcc.gnu.org/bugzilla/buglist.cgi?bug_status=RESOLVED&resolution=FIXED&target_milestone=3.3.5
12969 1.4 mrg 550. https://gcc.gnu.org/bugzilla/buglist.cgi?bug_status=RESOLVED&resolution=FIXED&target_milestone=3.3.6
12970 1.4 mrg 551. https://gcc.gnu.org/onlinedocs/
12971 1.4 mrg 552. mailto:gcc-help (a] gcc.gnu.org
12972 1.4 mrg 553. mailto:gcc (a] gcc.gnu.org
12973 1.4 mrg 554. https://gcc.gnu.org/lists.html
12974 1.4 mrg 555. http://www.fsf.org/
12975 1.4 mrg 556. https://gcc.gnu.org/about.html
12976 1.4 mrg 557. http://validator.w3.org/check/referer
12977 1.1 mrg ======================================================================
12978 1.1 mrg http://gcc.gnu.org/gcc-3.2/index.html
12979 1.1 mrg GCC 3.2 Release Series
12980 1.1 mrg
12981 1.1 mrg April 25, 2003
12982 1.1 mrg
12983 1.1 mrg The [1]GNU project and the GCC developers are pleased to announce the
12984 1.1 mrg release of GCC 3.2.3.
12985 1.1 mrg
12986 1.1 mrg The purpose of the GCC 3.2 release series is to provide a stable
12987 1.1 mrg platform for OS distributors to use building their next releases. A
12988 1.1 mrg primary objective was to stabilize the C++ ABI; we believe that the
12989 1.1 mrg interface to the compiler and the C++ standard library are now
12990 1.1 mrg relatively stable.
12991 1.1 mrg
12992 1.1 mrg Be aware that C++ code compiled by GCC 3.2.x will (in general) not
12993 1.1 mrg interoperate with code compiled by GCC 3.1.1 or earlier.
12994 1.1 mrg
12995 1.1 mrg Please refer to our [2]detailed list of news, caveats, and bug-fixes
12996 1.1 mrg for further information.
12997 1.1 mrg
12998 1.7 mrg This release series is no longer maintained.
12999 1.7 mrg
13000 1.1 mrg Release History
13001 1.1 mrg
13002 1.1 mrg GCC 3.2.3
13003 1.1 mrg April 25, 2003 ([3]changes)
13004 1.1 mrg
13005 1.1 mrg GCC 3.2.2
13006 1.1 mrg February 5, 2003 ([4]changes)
13007 1.1 mrg
13008 1.1 mrg GCC 3.2.1
13009 1.1 mrg November 19, 2002 ([5]changes)
13010 1.1 mrg
13011 1.1 mrg GCC 3.2
13012 1.1 mrg August 14, 2002 ([6]changes)
13013 1.1 mrg
13014 1.1 mrg References and Acknowledgements
13015 1.1 mrg
13016 1.1 mrg GCC used to stand for the GNU C Compiler, but since the compiler
13017 1.1 mrg supports several other languages aside from C, it now stands for the
13018 1.1 mrg GNU Compiler Collection.
13019 1.1 mrg
13020 1.1 mrg A list of [7]successful builds is updated as new information becomes
13021 1.1 mrg available.
13022 1.1 mrg
13023 1.1 mrg The GCC developers would like to thank the numerous people that have
13024 1.1 mrg contributed new features, improvements, bug fixes, and other changes as
13025 1.1 mrg well as test results to GCC. This [8]amazing group of volunteers is
13026 1.1 mrg what makes GCC successful.
13027 1.1 mrg
13028 1.1 mrg For additional information about GCC please refer to the [9]GCC project
13029 1.1 mrg web site or contact the [10]GCC development mailing list.
13030 1.1 mrg
13031 1.1 mrg To obtain GCC please use [11]our mirror sites, or our CVS server.
13032 1.1 mrg
13033 1.1 mrg
13034 1.1 mrg For questions related to the use of GCC, please consult these web
13035 1.1 mrg pages and the [12]GCC manuals. If that fails, the
13036 1.1 mrg [13]gcc-help (a] gcc.gnu.org mailing list might help. Comments on these
13037 1.1 mrg web pages and the development of GCC are welcome on our developer
13038 1.1 mrg list at [14]gcc (a] gcc.gnu.org. All of [15]our lists have public
13039 1.1 mrg archives.
13040 1.1 mrg
13041 1.1 mrg Copyright (C) [16]Free Software Foundation, Inc. Verbatim copying and
13042 1.1 mrg distribution of this entire article is permitted in any medium,
13043 1.1 mrg provided this notice is preserved.
13044 1.1 mrg
13045 1.1 mrg These pages are [17]maintained by the GCC team. Last modified
13046 1.7 mrg 2016-09-30[18].
13047 1.1 mrg
13048 1.1 mrg References
13049 1.1 mrg
13050 1.1 mrg 1. http://www.gnu.org/
13051 1.1 mrg 2. http://gcc.gnu.org/gcc-3.2/changes.html
13052 1.1 mrg 3. http://gcc.gnu.org/gcc-3.2/changes.html#3.2.3
13053 1.1 mrg 4. http://gcc.gnu.org/gcc-3.2/changes.html#3.2.2
13054 1.1 mrg 5. http://gcc.gnu.org/gcc-3.2/changes.html#3.2.1
13055 1.1 mrg 6. http://gcc.gnu.org/gcc-3.2/changes.html#3.2
13056 1.1 mrg 7. http://gcc.gnu.org/gcc-3.2/buildstat.html
13057 1.4 mrg 8. https://gcc.gnu.org/onlinedocs/gcc/Contributors.html
13058 1.1 mrg 9. http://gcc.gnu.org/index.html
13059 1.1 mrg 10. mailto:gcc (a] gcc.gnu.org
13060 1.1 mrg 11. http://gcc.gnu.org/mirrors.html
13061 1.4 mrg 12. https://gcc.gnu.org/onlinedocs/
13062 1.1 mrg 13. mailto:gcc-help (a] gcc.gnu.org
13063 1.1 mrg 14. mailto:gcc (a] gcc.gnu.org
13064 1.4 mrg 15. https://gcc.gnu.org/lists.html
13065 1.1 mrg 16. http://www.fsf.org/
13066 1.4 mrg 17. https://gcc.gnu.org/about.html
13067 1.1 mrg 18. http://validator.w3.org/check/referer
13068 1.1 mrg ======================================================================
13069 1.1 mrg http://gcc.gnu.org/gcc-3.2/changes.html
13070 1.1 mrg GCC 3.2 Release Series
13071 1.1 mrg Changes, New Features, and Fixes
13072 1.1 mrg
13073 1.1 mrg The latest release in the 3.2 release series is [1]GCC 3.2.3.
13074 1.1 mrg
13075 1.1 mrg Caveats and New Features
13076 1.1 mrg
13077 1.1 mrg Caveats
13078 1.1 mrg
13079 1.1 mrg * The C++ compiler does not correctly zero-initialize
13080 1.1 mrg pointers-to-data members. You must explicitly initialize them. For
13081 1.1 mrg example: int S::*m(0); will work, but depending on
13082 1.1 mrg default-initialization to zero will not work. This bug cannot be
13083 1.1 mrg fixed in GCC 3.2 without inducing unacceptable risks. It will be
13084 1.1 mrg fixed in GCC 3.3.
13085 1.1 mrg * This GCC release is based on the GCC 3.1 sourcebase, and thus has
13086 1.1 mrg all the [2]changes in the GCC 3.1 series. In addition, GCC 3.2 has
13087 1.1 mrg a number of C++ ABI fixes which make its C++ compiler generate
13088 1.1 mrg binary code which is incompatible with the C++ compilers found in
13089 1.1 mrg earlier GCC releases, including GCC 3.1 and GCC 3.1.1.
13090 1.1 mrg
13091 1.1 mrg Frontend Enhancements
13092 1.1 mrg
13093 1.1 mrg C/C++/Objective-C
13094 1.1 mrg
13095 1.1 mrg * The method of constructing the list of directories to be searched
13096 1.1 mrg for header files has been revised. If a directory named by a -I
13097 1.1 mrg option is a standard system include directory, the option is
13098 1.1 mrg ignored to ensure that the default search order for system
13099 1.1 mrg directories and the special treatment of system header files are
13100 1.1 mrg not defeated.
13101 1.1 mrg * The C and Objective-C compilers no longer accept the "Naming Types"
13102 1.1 mrg extension (typedef foo = bar); it was already unavailable in C++.
13103 1.1 mrg Code which uses it will need to be changed to use the "typeof"
13104 1.1 mrg extension instead: typedef typeof(bar) foo. (We have removed this
13105 1.1 mrg extension without a period of deprecation because it has caused the
13106 1.1 mrg compiler to crash since version 3.0 and no one noticed until very
13107 1.1 mrg recently. Thus we conclude it is not in widespread use.)
13108 1.1 mrg
13109 1.1 mrg C++
13110 1.1 mrg
13111 1.1 mrg * GCC 3.2 fixed serveral differences between the C++ ABI implemented
13112 1.1 mrg in GCC and the multi-vendor standard, but more have been found
13113 1.1 mrg since the release. 3.2.1 adds a new warning, -Wabi, to warn about
13114 1.1 mrg code which is affected by these bugs. We will fix these bugs in
13115 1.1 mrg some future release, once we are confident that all have been
13116 1.1 mrg found; until then, it is our intention to make changes to the ABI
13117 1.1 mrg only if they are necessary for correct compilation of C++, as
13118 1.1 mrg opposed to conformance to the ABI documents.
13119 1.1 mrg * For details on how to build an ABI compliant compiler for GNU/Linux
13120 1.1 mrg systems, check the [3]common C++ ABI page.
13121 1.1 mrg
13122 1.1 mrg New Targets and Target Specific Improvements
13123 1.1 mrg
13124 1.1 mrg IA-32
13125 1.1 mrg
13126 1.1 mrg * Fixed a number of bugs in SSE and MMX intrinsics.
13127 1.1 mrg * Fixed common compiler crashes with SSE instruction set enabled
13128 1.1 mrg (implied by -march=pentium3, pentium4, athlon-xp)
13129 1.1 mrg * __m128 and __m128i is not 128bit aligned when used in structures.
13130 1.1 mrg
13131 1.1 mrg x86-64
13132 1.1 mrg
13133 1.1 mrg * A bug whereby the compiler could generate bad code for bzero has
13134 1.1 mrg been fixed.
13135 1.1 mrg * ABI fixes (implying ABI incompatibilities with previous version in
13136 1.1 mrg some corner cases)
13137 1.1 mrg * Fixed prefetch code generation
13138 1.1 mrg __________________________________________________________________
13139 1.1 mrg
13140 1.1 mrg GCC 3.2.3
13141 1.1 mrg
13142 1.1 mrg 3.2.3 is a bug fix release only; there are no new features that were
13143 1.1 mrg not present in GCC 3.2.2.
13144 1.1 mrg
13145 1.1 mrg Bug Fixes
13146 1.1 mrg
13147 1.1 mrg This section lists the problem reports (PRs) from GCC's bug tracking
13148 1.1 mrg system that are known to be fixed in the 3.2.3 release. This list might
13149 1.1 mrg not be complete (that is, it is possible that some PRs that have been
13150 1.1 mrg fixed are not listed here), and some of the titles have been changed to
13151 1.1 mrg make them more clear.
13152 1.1 mrg
13153 1.1 mrg Internal Compiler Errors (multi-platform)
13154 1.1 mrg
13155 1.1 mrg * [4]3782: (c++) -quiet -fstats produces a segmentation fault in
13156 1.1 mrg cc1plus
13157 1.1 mrg * [5]6440: (c++) template specializations cause ICE
13158 1.1 mrg * [6]7050: (c++) ICE on: (i ? get_string() : throw)
13159 1.1 mrg * [7]7741: ICE on conflicting types (make_decl_rtl in varasm.c)
13160 1.1 mrg * [8]7982: (c++) ICE due to infinite recursion (using STL set)
13161 1.1 mrg * [9]8068: exceedingly high (infinite) memory usage
13162 1.1 mrg * [10]8178: ICE with __builtin_ffs
13163 1.1 mrg * [11]8396: ICE in copy_to_mode_reg, in explow.c
13164 1.1 mrg * [12]8674: (c++) ICE in cp_expr_size, in cp/cp-lang.c
13165 1.1 mrg * [13]9768: ICE when optimizing inline code at -O2
13166 1.1 mrg * [14]9798: (c++) Infinite recursion (segfault) in
13167 1.1 mrg cp/decl.c:push_using_directive with recursive using directives
13168 1.1 mrg * [15]9799: mismatching structure initializer with nested flexible
13169 1.1 mrg array member: ICE
13170 1.1 mrg * [16]9928: ICE on duplicate enum declaration
13171 1.1 mrg * [17]10114: ICE in mem_loc_descriptor, in dwarf2out.c (affects
13172 1.1 mrg sparc, alpha)
13173 1.1 mrg * [18]10352: ICE in find_reloads_toplev
13174 1.1 mrg * [19]10336: ICE with -Wunreachable-code
13175 1.1 mrg
13176 1.1 mrg C/optimizer bugs:
13177 1.1 mrg
13178 1.1 mrg * [20]8224: Incorrect joining of signed and unsigned division
13179 1.1 mrg * [21]8613: -O2 produces wrong code with builtin strlen and
13180 1.1 mrg postincrements
13181 1.1 mrg * [22]8828: gcc reports some code is unreachable when it is not
13182 1.1 mrg * [23]9226: GCSE breaking argument passing
13183 1.1 mrg * [24]9853: miscompilation of non-constant structure initializer
13184 1.1 mrg * [25]9797: C99-style struct initializers are miscompiled
13185 1.1 mrg * [26]9967: Some standard C function calls should not be replaced
13186 1.1 mrg when optimizing for size
13187 1.1 mrg * [27]10116: ce2: invalid merge of join_bb in the context of switch
13188 1.1 mrg statements
13189 1.1 mrg * [28]10171: wrong code for inlined function
13190 1.1 mrg * [29]10175: -Wunreachable-code doesn't work for single lines
13191 1.1 mrg
13192 1.1 mrg C++ compiler and library:
13193 1.1 mrg
13194 1.1 mrg * [30]8316: Confusing diagnostic for code that misuses conversion
13195 1.1 mrg operators
13196 1.1 mrg * [31]9169: filebuf output fails if codecvt<>::out returns noconv
13197 1.1 mrg * [32]9420: incomplete type incorrectly reported
13198 1.1 mrg * [33]9459: typeof in return type specification of template not
13199 1.1 mrg supported
13200 1.1 mrg * [34]9507: filebuf::open handles ios_base::ate incorrectly
13201 1.1 mrg * [35]9538: Out-of-bounds memory access in streambuf::sputbackc
13202 1.1 mrg * [36]9602: Total confusion about template/friend/virtual/abstract
13203 1.1 mrg * [37]9993: destructor not called for local object created within and
13204 1.1 mrg returned from infinite loop
13205 1.1 mrg * [38]10167: ieee_1003.1-2001 locale specialisations on a glibc-2.3.2
13206 1.1 mrg system
13207 1.1 mrg
13208 1.1 mrg Java compiler and library:
13209 1.1 mrg
13210 1.1 mrg * [39]9652: libgcj build fails on irix6.5.1[78]
13211 1.1 mrg * [40]10144: gas on solaris complains about bad .stabs lines for
13212 1.1 mrg java, native as unaffected
13213 1.1 mrg
13214 1.1 mrg x86-specific (Intel/AMD):
13215 1.1 mrg
13216 1.1 mrg * [41]8746: gcc miscompiles Linux kernel ppa driver on x86
13217 1.1 mrg * [42]9888: -mcpu=k6 -Os produces out of range loop instructions
13218 1.1 mrg * [43]9638: Cross-build for target i386-elf and i586-pc-linux-gnu
13219 1.1 mrg failed
13220 1.1 mrg * [44]9954: Cross-build for target i586-pc-linux-gnu (--with-newlib)
13221 1.1 mrg failed
13222 1.1 mrg
13223 1.1 mrg SPARC-specific:
13224 1.1 mrg
13225 1.1 mrg * [45]7784: [Sparc] ICE in extract_insn, in recog.c
13226 1.1 mrg * [46]7796: sparc extra failure with -m64 on execute/930921-1.c in
13227 1.1 mrg unroll.c
13228 1.1 mrg * [47]8281: ICE when compiling with -O2 -fPIC for Ultrasparc
13229 1.1 mrg * [48]8366: [Sparc] C testsuite failure with -m64 -fpic -O in
13230 1.1 mrg execute/loop-2d.c
13231 1.1 mrg * [49]8726: gcc -O2 miscompiles Samba 2.2.7 on 32-bit sparc
13232 1.1 mrg * [50]9414: Scheduling bug on Ultrasparc
13233 1.1 mrg * [51]10067: GCC-3.2.2 outputs invalid asm on sparc64
13234 1.1 mrg
13235 1.1 mrg m68k-specific:
13236 1.1 mrg
13237 1.1 mrg * [52]7248: broken "inclusive or" code
13238 1.1 mrg * [53]8343: m68k-elf/rtems ICE at instantiate_virtual_regs_1
13239 1.1 mrg
13240 1.1 mrg PowerPC-specific:
13241 1.1 mrg
13242 1.1 mrg * [54]9732: Wrong code with -O2 -fPIC
13243 1.1 mrg * [55]10073: ICE: powerpc cannot split insn
13244 1.1 mrg
13245 1.1 mrg Alpha-specific:
13246 1.1 mrg
13247 1.1 mrg * [56]7702: optimization problem on a DEC alpha under OSF1
13248 1.1 mrg * [57]9671: gcc.3.2.2 does not build on a HP Tru64 Unix v5.1B system
13249 1.1 mrg
13250 1.1 mrg HP-specific:
13251 1.1 mrg
13252 1.1 mrg * [58]8694: <string> breaks <ctype.h> on HP-UX 10.20 (DUP: 9275)
13253 1.1 mrg * [59]9953: (ada) gcc 3.2.x can't build 3.3-branch ada on HP-UX 10
13254 1.1 mrg (missing symbol)
13255 1.1 mrg * [60]10271: Floating point args don't get reloaded across function
13256 1.1 mrg calls with -O2
13257 1.1 mrg
13258 1.1 mrg MIPS specific:
13259 1.1 mrg
13260 1.1 mrg * [61]6362: mips-irix6 gcc-3.1 C testsuite failure with -mips4 in
13261 1.1 mrg compile/920501-4.c
13262 1.1 mrg
13263 1.1 mrg CRIS specific:
13264 1.1 mrg
13265 1.1 mrg * [62]10377: gcc-3.2.2 creates bad assembler code for cris
13266 1.1 mrg
13267 1.1 mrg Miscellaneous and minor bugs:
13268 1.1 mrg
13269 1.1 mrg * [63]6955: collect2 says "core dumped" when there is no core
13270 1.1 mrg __________________________________________________________________
13271 1.1 mrg
13272 1.1 mrg GCC 3.2.2
13273 1.1 mrg
13274 1.1 mrg Beginning with 3.2.2, GCC's Makefile suite supports redirection of make
13275 1.1 mrg install by means of the DESTDIR variable. Parts of the GCC tree have
13276 1.1 mrg featured that support long before, but now it is available even from
13277 1.1 mrg the top level.
13278 1.1 mrg
13279 1.1 mrg Other than that, GCC 3.2.2 is a bug fix release only; there are no new
13280 1.1 mrg features that were not present in GCC 3.2.1.
13281 1.1 mrg
13282 1.1 mrg Bug Fixes
13283 1.1 mrg
13284 1.1 mrg On the following i386-based systems GCC 3.2.1 broke the C ABI wrt.
13285 1.1 mrg functions returning structures: Cygwin, FreeBSD (GCC 3.2.1 as shipped
13286 1.1 mrg with FreeBSD 5.0 does not have this problem), Interix, a.out-based
13287 1.1 mrg GNU/Linux and NetBSD, OpenBSD, and Darwin. GCC 3.2.2 reverts this ABI
13288 1.1 mrg change, and thus restores ABI-compatibility with previous releases
13289 1.1 mrg (except GCC 3.2.1) on these platforms.
13290 1.1 mrg
13291 1.1 mrg This section lists the problem reports (PRs) from GCC's bug tracking
13292 1.1 mrg system that are known to be fixed in the 3.2.2 release. This list might
13293 1.1 mrg not be complete (that is, it is possible that some PRs that have been
13294 1.1 mrg fixed are not listed here) and some of the titles have been changed to
13295 1.1 mrg make them more clear.
13296 1.1 mrg
13297 1.1 mrg Internal Compiler Errors (multi-platform)
13298 1.1 mrg
13299 1.1 mrg * [64]5919: (c++) ICE when passing variable array to template
13300 1.1 mrg function
13301 1.1 mrg * [65]7129: (c++) ICE with min/max assignment operators (<?= and >?=)
13302 1.1 mrg * [66]7507: ICE with -O2 when address of called function is a
13303 1.1 mrg complicated expression
13304 1.1 mrg * [67]7622: ICE with nested inline functions if function's address is
13305 1.1 mrg taken
13306 1.1 mrg * [68]7681: (fortran) ICE in compensate_edge, in reg-stack.c (also PR
13307 1.1 mrg [69]9258)
13308 1.1 mrg * [70]8031: (c++) ICE in code comparing typeids and casting from
13309 1.1 mrg virtual base
13310 1.1 mrg * [71]8275: ICE in simplify_subreg
13311 1.1 mrg * [72]8332: (c++) builtin strlen/template interaction causes ICE
13312 1.1 mrg * [73]8372: (c++) ICE on explicit call of destructor
13313 1.1 mrg * [74]8439: (c, not c++) empty struct causes ICE
13314 1.1 mrg * [75]8442: (c++) ICE with nested template classes
13315 1.1 mrg * [76]8518: ICE when compiling mplayer ("extern inline" issue)
13316 1.1 mrg * [77]8615: (c++) ICE with out-of-range character constant template
13317 1.1 mrg argument
13318 1.1 mrg * [78]8663: (c++) ICE in cp_expr_size, at cp-lang.c:307
13319 1.1 mrg * [79]8799: (c++) ICE: error reporting routines re-entered
13320 1.1 mrg * [80]9328: (c++) ICE with typeof(X) for overloaded X
13321 1.1 mrg * [81]9465: (preprocessor) cpp -traditional ICE on null bytes
13322 1.1 mrg
13323 1.1 mrg C++ (compiler and library) bugs
13324 1.1 mrg
13325 1.1 mrg * [82]47: scoping in nested classes is broken
13326 1.1 mrg * [83]6745: problems with iostream rdbuf() member function
13327 1.1 mrg * [84]8214: conversion from const char* const to char* sometimes
13328 1.1 mrg accepted illegally
13329 1.1 mrg * [85]8493: builtin strlen and overload resolution (same bug as
13330 1.1 mrg [86]8332)
13331 1.1 mrg * [87]8503: strange behaviour of function types
13332 1.1 mrg * [88]8727: compiler confused by inheritance from an anonymous struct
13333 1.1 mrg * [89]7445: poor performance of std::locale::classic() in
13334 1.1 mrg multi-threaded applications
13335 1.1 mrg * [90]8230: mishandling of overflow in vector<T>::resize
13336 1.1 mrg * [91]8399: sync_with_stdio(false) breaks unformatted input
13337 1.1 mrg * [92]8662: illegal access of private member of unnamed class is
13338 1.1 mrg accepted
13339 1.1 mrg * [93]8707: "make distclean" fails in libstdc++-v3 directory
13340 1.1 mrg * [94]8708: __USE_MALLOC doesn't work
13341 1.1 mrg * [95]8790: Use of non-thread-safe strtok in src/localename.cc
13342 1.1 mrg * [96]8887: Bug in date formats with --enable-clocale=generic
13343 1.1 mrg * [97]9076: Call Frame Instructions are not handled correctly during
13344 1.1 mrg unwind operation
13345 1.1 mrg * [98]9151: std::setprecision limited to 16 digits when outputting a
13346 1.1 mrg double to a stream
13347 1.1 mrg * [99]9168: codecvt<char, char, mbstate_t> overwrites output buffers
13348 1.1 mrg * [100]9269: libstdc++ headers: explicit specialization of function
13349 1.1 mrg must precede its first use
13350 1.1 mrg * [101]9322: return value of basic_streambuf<>::getloc affected by
13351 1.1 mrg locale::global
13352 1.1 mrg * [102]9433: segfault in runtime support for dynamic_cast
13353 1.1 mrg
13354 1.1 mrg C and optimizer bugs
13355 1.1 mrg
13356 1.1 mrg * [103]8032: GCC incorrectly initializes static structs that have
13357 1.1 mrg flexible arrays
13358 1.1 mrg * [104]8639: simple arithmetic expression broken
13359 1.1 mrg * [105]8794: optimization improperly eliminates certain expressions
13360 1.1 mrg * [106]8832: traditional "asm volatile" code is illegally optimized
13361 1.1 mrg * [107]8988: loop optimizer bug: with -O2, code is generated that
13362 1.1 mrg segfaults (found on i386, bug present for all platforms)
13363 1.1 mrg * [108]9492: structure copy clobbers subsequent stores to structure
13364 1.1 mrg
13365 1.1 mrg Objective-C bugs
13366 1.1 mrg
13367 1.1 mrg * [109]9267: Objective-C parser won't build with newer bison versions
13368 1.1 mrg (e.g. 1.875)
13369 1.1 mrg
13370 1.1 mrg Ada bugs
13371 1.1 mrg
13372 1.1 mrg * [110]8344: Ada build problem due to conflict between gcc/final.o,
13373 1.1 mrg gcc/ada/final.o
13374 1.1 mrg
13375 1.1 mrg Preprocessor bugs
13376 1.1 mrg
13377 1.1 mrg * [111]8524: _Pragma within macros is improperly expanded
13378 1.1 mrg * [112]8880: __WCHAR_TYPE__ macro incorrectly set to "long int" with
13379 1.1 mrg -fshort-wchar
13380 1.1 mrg
13381 1.1 mrg ARM-specific
13382 1.1 mrg
13383 1.1 mrg * [113]9090: arm ICE with >= -O2; regression from gcc-2.95
13384 1.1 mrg
13385 1.1 mrg x86-specific (Intel/AMD)
13386 1.1 mrg
13387 1.1 mrg * [114]8588: ICE in extract_insn, at recog.c:NNNN (shift instruction)
13388 1.1 mrg * [115]8599: loop unroll bug with -march=k6-3
13389 1.1 mrg * [116]9506: ABI breakage in structure return (affects BSD and
13390 1.1 mrg Cygwin, but not GNU/Linux)
13391 1.1 mrg
13392 1.1 mrg FreeBSD 5.0 specific
13393 1.1 mrg
13394 1.1 mrg * [117]9484: GCC 3.2.1 Bootstrap failure on FreeBSD 5.0
13395 1.1 mrg
13396 1.1 mrg RTEMS-specific
13397 1.1 mrg
13398 1.1 mrg * [118]9292: hppa1.1-rtems configurery problems
13399 1.1 mrg * [119]9293: [m68k-elf/rtems] config/m68k/t-crtstuff bug
13400 1.1 mrg * [120]9295: [mips-rtems] config/mips/rtems.h init/fini issue
13401 1.1 mrg * [121]9296: gthr-rtems regression
13402 1.1 mrg * [122]9316: powerpc-rtems: extending multilibs
13403 1.1 mrg
13404 1.1 mrg HP-PA specific
13405 1.1 mrg
13406 1.1 mrg * [123]9493: ICE with -O2 when building a simple function
13407 1.1 mrg
13408 1.1 mrg Documentation
13409 1.1 mrg
13410 1.1 mrg * [124]7341: hyperlink to gcov in GCC documentation doesn't work
13411 1.1 mrg * [125]8947: Please add a warning about "-malign-double" in docs
13412 1.1 mrg * [126]7448, [127]8882: typo cleanups
13413 1.1 mrg __________________________________________________________________
13414 1.1 mrg
13415 1.1 mrg GCC 3.2.1
13416 1.1 mrg
13417 1.1 mrg 3.2.1 adds a new warning, -Wabi. This option warns when GNU C++
13418 1.1 mrg generates code that is known not to be binary-compatible with the
13419 1.1 mrg vendor-neutral ia32/ia64 ABI. Please consult the GCC manual, included
13420 1.1 mrg in the distribution, for details.
13421 1.1 mrg
13422 1.1 mrg This release also removes an old GCC extension, "naming types", and the
13423 1.1 mrg documentation now directs users to use a different GCC extension,
13424 1.1 mrg __typeof__, instead. The feature had evidently been broken for a while.
13425 1.1 mrg
13426 1.1 mrg Otherwise, 3.2.1 is a bug fix release only; other than bug fixes and
13427 1.1 mrg the new warning there are no new features that were not present in GCC
13428 1.1 mrg 3.2.
13429 1.1 mrg
13430 1.1 mrg In addition, the previous fix for [128]PR 7445 (poor performance of
13431 1.1 mrg std::locale::classic() in multi-threaded applications) was reverted
13432 1.1 mrg ("unfixed"), because the "fix" was not thread-safe.
13433 1.1 mrg
13434 1.1 mrg Bug Fixes
13435 1.1 mrg
13436 1.1 mrg This section lists the problem reports (PRs) from GCC's bug tracking
13437 1.1 mrg system that are known to be fixed in the 3.2.1 release. This list might
13438 1.1 mrg not be complete (that is, it is possible that some PRs that have been
13439 1.1 mrg fixed are not listed here). As you can see, the number of bug fixes is
13440 1.1 mrg quite large, so it is strongly recommended that users of earlier GCC
13441 1.1 mrg 3.x releases upgrade to GCC 3.2.1.
13442 1.1 mrg
13443 1.1 mrg Internal Compiler Errors (multi-platform)
13444 1.1 mrg
13445 1.1 mrg * [129]2521: (c++) ICE in build_ptrmemfunc, in cp/typeck.c
13446 1.1 mrg * [130]5661: (c++) ICE instantiating template on array of unknown
13447 1.1 mrg size (bad code)
13448 1.1 mrg * [131]6419: (c++) ICE in make_decl_rtl for "longest" attribute on
13449 1.1 mrg 64-bit platforms
13450 1.1 mrg * [132]6994: (c++) ICE in find_function_data
13451 1.1 mrg * [133]7150: preprocessor: GCC -dM -E gives an ICE
13452 1.1 mrg * [134]7160: ICE when optimizing branches without a return value
13453 1.1 mrg * [135]7228: (c++) ICE when using member template and template
13454 1.1 mrg function
13455 1.1 mrg * [136]7266: (c++) ICE with -pedantic on missing typename
13456 1.1 mrg * [137]7353: ICE from use of "Naming Types" extension, see above
13457 1.1 mrg * [138]7411: ICE in instantiate_virtual_regs_1, in function.c
13458 1.1 mrg * [139]7478: (c++) ICE on static_cast inside template
13459 1.1 mrg * [140]7526: preprocessor core dump when _Pragma implies #pragma
13460 1.1 mrg dependency
13461 1.1 mrg * [141]7721: (c++) ICE on simple (but incorrect) template ([142]7803
13462 1.1 mrg is a duplicate)
13463 1.1 mrg * [143]7754: (c++) ICE on union with template parameter
13464 1.1 mrg * [144]7788: (c++) redeclaring a definition as an incomplete class
13465 1.1 mrg causes ICE
13466 1.1 mrg * [145]8031: (c++) ICE in comptypes, in cp/typeck.c
13467 1.1 mrg * [146]8055: preprocessor dies with SIG11 when building FreeBSD
13468 1.1 mrg kernel
13469 1.1 mrg * [147]8067: (c++) ICE due to mishandling of __FUNCTION__ and related
13470 1.1 mrg variables
13471 1.1 mrg * [148]8134: (c++) ICE in force_store_init_value on legal code
13472 1.1 mrg * [149]8149: (c++) ICE on incomplete type
13473 1.1 mrg * [150]8160: (c++) ICE in build_modify_expr, in cp/typeck.c: array
13474 1.1 mrg initialization
13475 1.1 mrg
13476 1.1 mrg C++ (compiler and library) bugs
13477 1.1 mrg
13478 1.1 mrg * [151]5607: No pointer adjustment in covariant return types
13479 1.1 mrg * [152]6579: Infinite loop with statement expressions in member
13480 1.1 mrg initialization
13481 1.1 mrg * [153]6803: Default copy constructor bug in GCC 3.1
13482 1.1 mrg * [154]7176: g++ confused by friend and static member with same name
13483 1.1 mrg * [155]7188: Segfault with template class and recursive (incorrect)
13484 1.1 mrg initializer list
13485 1.1 mrg * [156]7306: Regression: GCC 3.x fails to compile code with virtual
13486 1.1 mrg inheritance if a method has a variable number of arguments
13487 1.1 mrg * [157]7461: ctype<char>::classic_table() returns offset array on
13488 1.1 mrg Cygwin
13489 1.1 mrg * [158]7524: f(const float arg[3]) fails
13490 1.1 mrg * [159]7584: Erroneous ambiguous base error on using declaration
13491 1.1 mrg * [160]7676: Member template overloading problem
13492 1.1 mrg * [161]7679: infinite loop when a right parenthesis is missing
13493 1.1 mrg * [162]7811: default locale not taken from environment
13494 1.1 mrg * [163]7961: compare( char *) implemented incorrectly in
13495 1.1 mrg basic_string<>
13496 1.1 mrg * [164]8071: basic_ostream::operator<<(streambuf*) loops forever if
13497 1.1 mrg streambuf::underflow() leaves gptr() NULL (dups: [165]8127,
13498 1.1 mrg [166]6745)
13499 1.1 mrg * [167]8096: deque::at() throws std::range_error instead of
13500 1.1 mrg std::out_of_range
13501 1.1 mrg * [168]8127: cout << cin.rdbuf() infinite loop
13502 1.1 mrg * [169]8218: Excessively large memory consumed for classes with large
13503 1.1 mrg array members
13504 1.1 mrg * [170]8287: GCC 3.2: Destructor called for non-constructed local
13505 1.1 mrg object
13506 1.1 mrg * [171]8347: empty vector range used in string construction causes
13507 1.1 mrg core dump
13508 1.1 mrg * [172]8348: fail() flag is set in istringstream when eof() flag is
13509 1.1 mrg set
13510 1.1 mrg * [173]8391: regression: infinite loop in cp/decl2.c(finish_file)
13511 1.1 mrg
13512 1.1 mrg C and optimizer bugs
13513 1.1 mrg
13514 1.1 mrg * [174]6627: -fno-align-functions doesn't seem to disable function
13515 1.1 mrg alignment
13516 1.1 mrg * [175]6631: life_analysis misoptimizes code to initialize fields of
13517 1.1 mrg a structure
13518 1.1 mrg * [176]7102: unsigned char division results in floating exception
13519 1.1 mrg * [177]7120: Run once loop should *always* be unrolled
13520 1.1 mrg (pessimization)
13521 1.1 mrg * [178]7209: Bug involving array referencing and ?: operator
13522 1.1 mrg * [179]7515: invalid inlining of global function with -O3
13523 1.1 mrg * [180]7814: incorrect scheduling for glibc-2.2.92 strcpy test
13524 1.1 mrg * [181]8467: bug in sibling call optimization
13525 1.1 mrg
13526 1.1 mrg Preprocessor bugs
13527 1.1 mrg
13528 1.1 mrg * [182]4890: incorrect line markers from the traditional preprocessor
13529 1.1 mrg * [183]7357: -M option omits system headers files (making it the same
13530 1.1 mrg as -MM)
13531 1.1 mrg * [184]7358: Changes to Sun's make Dependencies
13532 1.1 mrg * [185]7602: C++ header files found in CPLUS_INCLUDE_PATH treated as
13533 1.1 mrg C headers
13534 1.1 mrg * [186]7862: Interrupting GCC -MD removes .d file but not .o
13535 1.1 mrg * [187]8190: Failed compilation deletes -MD dependency file
13536 1.1 mrg * [188]8524: _Pragma within macro is improperly expanded
13537 1.1 mrg
13538 1.1 mrg x86 specific (Intel/AMD)
13539 1.1 mrg
13540 1.1 mrg * [189]5351: (i686-only) function pass-by-value structure copy
13541 1.1 mrg corrupts stack ([190]7591 is a duplicate)
13542 1.1 mrg * [191]6845, [192]7034, [193]7124, [194]7174: ICE's with
13543 1.1 mrg -march=pentium3/pentium2/athlon (these are all the same underlying
13544 1.1 mrg bug, in MMX register use)
13545 1.1 mrg * [195]7134, [196]7375, [197]7390: ICE with -march=athlon (maybe same
13546 1.1 mrg as above?)
13547 1.1 mrg * [198]6890: xmmintrin.h, _MM_TRANSPOSE4_PS is broken
13548 1.1 mrg * [199]6981: wrong code in 64-bit manipulation on x86
13549 1.1 mrg * [200]7242: GCC -mcpu=pentium[23] doesn't define __tune_pentiumpro__
13550 1.1 mrg macro
13551 1.1 mrg * [201]7396: ix86: cmpgt_ss, cmpge_ss, cmpngt_ss, and cmpnge_ss SSE
13552 1.1 mrg intrinsics are broken
13553 1.1 mrg * [202]7630: GCC 3.2 breaks on Mozilla 1.0's JS sources with
13554 1.1 mrg -march=pentium4
13555 1.1 mrg * [203]7693: Typo in i386 mmintrin.h header
13556 1.1 mrg * [204]7723: ICE - Pentium3 sse - GCC 3.2
13557 1.1 mrg * [205]7951: ICE on -march=pentium4 -O2 -mfpmath=sse
13558 1.1 mrg * [206]8146: (i686 only) gcc 3.2 miscompiles gcc 2.95.3
13559 1.1 mrg
13560 1.1 mrg PowerPC specific
13561 1.1 mrg
13562 1.1 mrg * [207]5967: GCC bug when profiling nested functions on powerpc
13563 1.1 mrg * [208]6984: wrong code generated with -O2, -O3, -Os for do-while
13564 1.1 mrg loop on PowerPC
13565 1.1 mrg * [209]7114: PowerPC: ICE building strcoll.op from glibc-2.2.5
13566 1.3 skrll * [210]7130: miscompiled code for GCC-3.1 on
13567 1.3 skrll powerpc-unknown-linux-gnu with -funroll-all-loops
13568 1.1 mrg * [211]7133: PowerPC ICE: unrecognizable insn
13569 1.1 mrg * [212]7380: ICE in extract_insn, at recog.c:2148
13570 1.1 mrg * [213]8252: ICE on Altivec code with optimization turned on
13571 1.1 mrg * [214]8451: Altivec ICE in GCC 3.2
13572 1.1 mrg
13573 1.1 mrg HP/PA specific
13574 1.1 mrg
13575 1.1 mrg * [215]7250: __ashrdi3 returns wrong value on 32 bit hppa
13576 1.1 mrg
13577 1.1 mrg SPARC specific
13578 1.1 mrg
13579 1.1 mrg * [216]6668: when using --disable-multilib, libgcc_s.so is installed
13580 1.1 mrg in the wrong place on sparc-solaris
13581 1.1 mrg * [217]7151: ICE when compiling for UltraSPARC
13582 1.1 mrg * [218]7335: SPARC: ICE in verify_wide_reg (flow.c:557) with long
13583 1.1 mrg double and -O1
13584 1.1 mrg * [219]7842: [REGRESSION] SPARC code gen bug
13585 1.1 mrg
13586 1.1 mrg ARM specific
13587 1.1 mrg
13588 1.1 mrg * [220]7856: [arm] invalid offset in constant pool reference
13589 1.1 mrg * [221]7967: optimization produces wrong code (ARM)
13590 1.1 mrg
13591 1.1 mrg Alpha specific
13592 1.1 mrg
13593 1.1 mrg * [222]7374: __builtin_fabsl broken on alpha
13594 1.1 mrg
13595 1.1 mrg IBM s390 specific
13596 1.1 mrg
13597 1.1 mrg * [223]7370: ICE in fixup_var_refs_1 on s390x
13598 1.1 mrg * [224]7409: loop optimization bug on s390x-linux-gnu
13599 1.1 mrg * [225]8232: s390x: ICE when using bcmp with int length argument
13600 1.1 mrg
13601 1.1 mrg SCO specific
13602 1.1 mrg
13603 1.1 mrg * [226]7623: SCO OpenServer build fails with machmode.def: undefined
13604 1.1 mrg symbol: BITS_PER_UNIT
13605 1.1 mrg
13606 1.1 mrg m68k/Coldfire specific
13607 1.1 mrg
13608 1.1 mrg * [227]8314: crtbegin, crtend need to be multilib'ed for this
13609 1.1 mrg platform
13610 1.1 mrg
13611 1.1 mrg Documentation
13612 1.1 mrg
13613 1.1 mrg * [228]761: Document some undocumented options
13614 1.1 mrg * [229]5610: Fix documentation about invoking SSE instructions
13615 1.1 mrg (-mfpmath=sse)
13616 1.1 mrg * [230]7484: List -Wmissing-declarations as C-only option
13617 1.1 mrg * [231]7531: -mcmodel not documented for x86-64
13618 1.1 mrg * [232]8120: Update documentation of bad use of ##
13619 1.1 mrg __________________________________________________________________
13620 1.1 mrg
13621 1.1 mrg GCC 3.2
13622 1.1 mrg
13623 1.1 mrg 3.2 is a small bug fix release, but there is a change to the
13624 1.1 mrg application binary interface (ABI), hence the change to the second part
13625 1.1 mrg of the version number.
13626 1.1 mrg
13627 1.1 mrg The main purpose of the 3.2 release is to correct a couple of problems
13628 1.1 mrg in the C++ ABI, with the intention of providing a stable interface
13629 1.1 mrg going forward. Accordingly, 3.2 is only a small change to 3.1.1.
13630 1.1 mrg
13631 1.1 mrg Bug Fixes
13632 1.1 mrg
13633 1.1 mrg C++
13634 1.1 mrg
13635 1.1 mrg * [233]7320: g++ 3.2 relocation problem
13636 1.1 mrg * [234]7470: vtable: virtual function pointers not in declaration
13637 1.1 mrg order
13638 1.1 mrg
13639 1.1 mrg libstdc++
13640 1.1 mrg
13641 1.1 mrg * [235]6410: Trouble with non-ASCII monetary symbols and wchar_t
13642 1.1 mrg * [236]6503, [237]6642, [238]7186: Problems with comparing or
13643 1.1 mrg subtracting various types of const and non-const iterators
13644 1.1 mrg * [239]7216: ambiguity with basic_iostream::traits_type
13645 1.1 mrg * [240]7220: problem with basic_istream::ignore(0,delimiter)
13646 1.1 mrg * [241]7222: locale::operator==() doesn't work on std::locale("")
13647 1.1 mrg * [242]7286: placement operator delete issue
13648 1.1 mrg * [243]7442: cxxabi.h does not match the C++ ABI
13649 1.1 mrg * [244]7445: poor performance of std::locale::classic() in
13650 1.1 mrg multi-threaded applications
13651 1.1 mrg
13652 1.1 mrg x86-64 specific
13653 1.1 mrg
13654 1.1 mrg * [245]7291: off-by-one in generated inline bzero code for x86-64
13655 1.1 mrg
13656 1.1 mrg
13657 1.1 mrg For questions related to the use of GCC, please consult these web
13658 1.1 mrg pages and the [246]GCC manuals. If that fails, the
13659 1.1 mrg [247]gcc-help (a] gcc.gnu.org mailing list might help. Comments on these
13660 1.1 mrg web pages and the development of GCC are welcome on our developer
13661 1.1 mrg list at [248]gcc (a] gcc.gnu.org. All of [249]our lists have public
13662 1.1 mrg archives.
13663 1.1 mrg
13664 1.1 mrg Copyright (C) [250]Free Software Foundation, Inc. Verbatim copying and
13665 1.1 mrg distribution of this entire article is permitted in any medium,
13666 1.1 mrg provided this notice is preserved.
13667 1.1 mrg
13668 1.1 mrg These pages are [251]maintained by the GCC team. Last modified
13669 1.6 mrg 2016-01-30[252].
13670 1.1 mrg
13671 1.1 mrg References
13672 1.1 mrg
13673 1.1 mrg 1. http://gcc.gnu.org/gcc-3.2/changes.html#3.2.3
13674 1.1 mrg 2. http://gcc.gnu.org/gcc-3.1/changes.html
13675 1.1 mrg 3. http://gcc.gnu.org/gcc-3.2/c++-abi.html
13676 1.4 mrg 4. https://gcc.gnu.org/PR3782
13677 1.4 mrg 5. https://gcc.gnu.org/PR6440
13678 1.4 mrg 6. https://gcc.gnu.org/PR7050
13679 1.4 mrg 7. https://gcc.gnu.org/PR7741
13680 1.4 mrg 8. https://gcc.gnu.org/PR7982
13681 1.4 mrg 9. https://gcc.gnu.org/PR8068
13682 1.4 mrg 10. https://gcc.gnu.org/PR8178
13683 1.4 mrg 11. https://gcc.gnu.org/PR8396
13684 1.4 mrg 12. https://gcc.gnu.org/PR8674
13685 1.4 mrg 13. https://gcc.gnu.org/PR9768
13686 1.4 mrg 14. https://gcc.gnu.org/PR9798
13687 1.4 mrg 15. https://gcc.gnu.org/PR9799
13688 1.4 mrg 16. https://gcc.gnu.org/PR9928
13689 1.4 mrg 17. https://gcc.gnu.org/PR10114
13690 1.4 mrg 18. https://gcc.gnu.org/PR10352
13691 1.4 mrg 19. https://gcc.gnu.org/PR10336
13692 1.4 mrg 20. https://gcc.gnu.org/PR8224
13693 1.4 mrg 21. https://gcc.gnu.org/PR8613
13694 1.4 mrg 22. https://gcc.gnu.org/PR8828
13695 1.4 mrg 23. https://gcc.gnu.org/PR9226
13696 1.4 mrg 24. https://gcc.gnu.org/PR9853
13697 1.4 mrg 25. https://gcc.gnu.org/PR9797
13698 1.4 mrg 26. https://gcc.gnu.org/PR9967
13699 1.4 mrg 27. https://gcc.gnu.org/PR10116
13700 1.4 mrg 28. https://gcc.gnu.org/PR10171
13701 1.4 mrg 29. https://gcc.gnu.org/PR10175
13702 1.4 mrg 30. https://gcc.gnu.org/PR8316
13703 1.4 mrg 31. https://gcc.gnu.org/PR9169
13704 1.4 mrg 32. https://gcc.gnu.org/PR9420
13705 1.4 mrg 33. https://gcc.gnu.org/PR9459
13706 1.4 mrg 34. https://gcc.gnu.org/PR9507
13707 1.4 mrg 35. https://gcc.gnu.org/PR9538
13708 1.4 mrg 36. https://gcc.gnu.org/PR9602
13709 1.4 mrg 37. https://gcc.gnu.org/PR9993
13710 1.4 mrg 38. https://gcc.gnu.org/PR10167
13711 1.4 mrg 39. https://gcc.gnu.org/PR9652
13712 1.4 mrg 40. https://gcc.gnu.org/PR10144
13713 1.4 mrg 41. https://gcc.gnu.org/PR8746
13714 1.4 mrg 42. https://gcc.gnu.org/PR9888
13715 1.4 mrg 43. https://gcc.gnu.org/PR9638
13716 1.4 mrg 44. https://gcc.gnu.org/PR9954
13717 1.4 mrg 45. https://gcc.gnu.org/PR7784
13718 1.4 mrg 46. https://gcc.gnu.org/PR7796
13719 1.4 mrg 47. https://gcc.gnu.org/PR8281
13720 1.4 mrg 48. https://gcc.gnu.org/PR8366
13721 1.4 mrg 49. https://gcc.gnu.org/PR8726
13722 1.4 mrg 50. https://gcc.gnu.org/PR9414
13723 1.4 mrg 51. https://gcc.gnu.org/PR10067
13724 1.4 mrg 52. https://gcc.gnu.org/PR7248
13725 1.4 mrg 53. https://gcc.gnu.org/PR8343
13726 1.4 mrg 54. https://gcc.gnu.org/PR9732
13727 1.4 mrg 55. https://gcc.gnu.org/PR10073
13728 1.4 mrg 56. https://gcc.gnu.org/PR7702
13729 1.4 mrg 57. https://gcc.gnu.org/PR9671
13730 1.4 mrg 58. https://gcc.gnu.org/PR8694
13731 1.4 mrg 59. https://gcc.gnu.org/PR9953
13732 1.4 mrg 60. https://gcc.gnu.org/PR10271
13733 1.4 mrg 61. https://gcc.gnu.org/PR6362
13734 1.4 mrg 62. https://gcc.gnu.org/PR10377
13735 1.4 mrg 63. https://gcc.gnu.org/PR6955
13736 1.4 mrg 64. https://gcc.gnu.org/PR5919
13737 1.4 mrg 65. https://gcc.gnu.org/PR7129
13738 1.4 mrg 66. https://gcc.gnu.org/PR7507
13739 1.4 mrg 67. https://gcc.gnu.org/PR7622
13740 1.4 mrg 68. https://gcc.gnu.org/PR7681
13741 1.4 mrg 69. https://gcc.gnu.org/PR9528
13742 1.4 mrg 70. https://gcc.gnu.org/PR8031
13743 1.4 mrg 71. https://gcc.gnu.org/PR8275
13744 1.4 mrg 72. https://gcc.gnu.org/PR8332
13745 1.4 mrg 73. https://gcc.gnu.org/PR8372
13746 1.4 mrg 74. https://gcc.gnu.org/PR8439
13747 1.4 mrg 75. https://gcc.gnu.org/PR8442
13748 1.4 mrg 76. https://gcc.gnu.org/PR8518
13749 1.4 mrg 77. https://gcc.gnu.org/PR8615
13750 1.4 mrg 78. https://gcc.gnu.org/PR8663
13751 1.4 mrg 79. https://gcc.gnu.org/PR8799
13752 1.4 mrg 80. https://gcc.gnu.org/PR9328
13753 1.4 mrg 81. https://gcc.gnu.org/PR9465
13754 1.4 mrg 82. https://gcc.gnu.org/PR47
13755 1.4 mrg 83. https://gcc.gnu.org/PR6745
13756 1.4 mrg 84. https://gcc.gnu.org/PR8214
13757 1.4 mrg 85. https://gcc.gnu.org/PR8493
13758 1.4 mrg 86. https://gcc.gnu.org/PR8332
13759 1.4 mrg 87. https://gcc.gnu.org/PR8503
13760 1.4 mrg 88. https://gcc.gnu.org/PR8727
13761 1.4 mrg 89. https://gcc.gnu.org/PR7445
13762 1.4 mrg 90. https://gcc.gnu.org/PR8230
13763 1.4 mrg 91. https://gcc.gnu.org/PR8399
13764 1.4 mrg 92. https://gcc.gnu.org/PR8662
13765 1.4 mrg 93. https://gcc.gnu.org/PR8707
13766 1.4 mrg 94. https://gcc.gnu.org/PR8708
13767 1.4 mrg 95. https://gcc.gnu.org/PR8790
13768 1.4 mrg 96. https://gcc.gnu.org/PR8887
13769 1.4 mrg 97. https://gcc.gnu.org/PR9076
13770 1.4 mrg 98. https://gcc.gnu.org/PR9151
13771 1.4 mrg 99. https://gcc.gnu.org/PR9168
13772 1.4 mrg 100. https://gcc.gnu.org/PR9269
13773 1.4 mrg 101. https://gcc.gnu.org/PR9322
13774 1.4 mrg 102. https://gcc.gnu.org/PR9433
13775 1.4 mrg 103. https://gcc.gnu.org/PR8032
13776 1.4 mrg 104. https://gcc.gnu.org/PR8639
13777 1.4 mrg 105. https://gcc.gnu.org/PR8794
13778 1.4 mrg 106. https://gcc.gnu.org/PR8832
13779 1.4 mrg 107. https://gcc.gnu.org/PR8988
13780 1.4 mrg 108. https://gcc.gnu.org/PR9492
13781 1.4 mrg 109. https://gcc.gnu.org/PR9267
13782 1.4 mrg 110. https://gcc.gnu.org/PR8344
13783 1.4 mrg 111. https://gcc.gnu.org/PR8524
13784 1.4 mrg 112. https://gcc.gnu.org/PR8880
13785 1.4 mrg 113. https://gcc.gnu.org/PR9090
13786 1.4 mrg 114. https://gcc.gnu.org/PR8588
13787 1.4 mrg 115. https://gcc.gnu.org/PR8599
13788 1.4 mrg 116. https://gcc.gnu.org/PR9506
13789 1.4 mrg 117. https://gcc.gnu.org/PR9484
13790 1.4 mrg 118. https://gcc.gnu.org/PR9292
13791 1.4 mrg 119. https://gcc.gnu.org/PR9293
13792 1.4 mrg 120. https://gcc.gnu.org/PR9295
13793 1.4 mrg 121. https://gcc.gnu.org/PR9296
13794 1.4 mrg 122. https://gcc.gnu.org/PR9316
13795 1.4 mrg 123. https://gcc.gnu.org/PR9493
13796 1.4 mrg 124. https://gcc.gnu.org/PR7341
13797 1.4 mrg 125. https://gcc.gnu.org/PR8947
13798 1.4 mrg 126. https://gcc.gnu.org/PR7448
13799 1.4 mrg 127. https://gcc.gnu.org/PR8882
13800 1.4 mrg 128. https://gcc.gnu.org/PR7445
13801 1.4 mrg 129. https://gcc.gnu.org/PR2521
13802 1.4 mrg 130. https://gcc.gnu.org/PR5661
13803 1.4 mrg 131. https://gcc.gnu.org/PR6419
13804 1.4 mrg 132. https://gcc.gnu.org/PR6994
13805 1.4 mrg 133. https://gcc.gnu.org/PR7150
13806 1.4 mrg 134. https://gcc.gnu.org/PR7160
13807 1.4 mrg 135. https://gcc.gnu.org/PR7228
13808 1.4 mrg 136. https://gcc.gnu.org/PR7266
13809 1.4 mrg 137. https://gcc.gnu.org/PR7353
13810 1.4 mrg 138. https://gcc.gnu.org/PR7411
13811 1.4 mrg 139. https://gcc.gnu.org/PR7478
13812 1.4 mrg 140. https://gcc.gnu.org/PR7526
13813 1.4 mrg 141. https://gcc.gnu.org/PR7721
13814 1.4 mrg 142. https://gcc.gnu.org/PR7803
13815 1.4 mrg 143. https://gcc.gnu.org/PR7754
13816 1.4 mrg 144. https://gcc.gnu.org/PR7788
13817 1.4 mrg 145. https://gcc.gnu.org/PR8031
13818 1.4 mrg 146. https://gcc.gnu.org/PR8055
13819 1.4 mrg 147. https://gcc.gnu.org/PR8067
13820 1.4 mrg 148. https://gcc.gnu.org/PR8134
13821 1.4 mrg 149. https://gcc.gnu.org/PR8149
13822 1.4 mrg 150. https://gcc.gnu.org/PR8160
13823 1.4 mrg 151. https://gcc.gnu.org/PR5607
13824 1.4 mrg 152. https://gcc.gnu.org/PR6579
13825 1.4 mrg 153. https://gcc.gnu.org/PR6803
13826 1.4 mrg 154. https://gcc.gnu.org/PR7176
13827 1.4 mrg 155. https://gcc.gnu.org/PR7188
13828 1.4 mrg 156. https://gcc.gnu.org/PR7306
13829 1.4 mrg 157. https://gcc.gnu.org/PR7461
13830 1.4 mrg 158. https://gcc.gnu.org/PR7524
13831 1.4 mrg 159. https://gcc.gnu.org/PR7584
13832 1.4 mrg 160. https://gcc.gnu.org/PR7676
13833 1.4 mrg 161. https://gcc.gnu.org/PR7679
13834 1.4 mrg 162. https://gcc.gnu.org/PR7811
13835 1.4 mrg 163. https://gcc.gnu.org/PR7961
13836 1.4 mrg 164. https://gcc.gnu.org/PR8071
13837 1.4 mrg 165. https://gcc.gnu.org/PR8127
13838 1.4 mrg 166. https://gcc.gnu.org/PR6745
13839 1.4 mrg 167. https://gcc.gnu.org/PR8096
13840 1.4 mrg 168. https://gcc.gnu.org/PR8127
13841 1.4 mrg 169. https://gcc.gnu.org/PR8218
13842 1.4 mrg 170. https://gcc.gnu.org/PR8287
13843 1.4 mrg 171. https://gcc.gnu.org/PR8347
13844 1.4 mrg 172. https://gcc.gnu.org/PR8348
13845 1.4 mrg 173. https://gcc.gnu.org/PR8391
13846 1.4 mrg 174. https://gcc.gnu.org/PR6627
13847 1.4 mrg 175. https://gcc.gnu.org/PR6631
13848 1.4 mrg 176. https://gcc.gnu.org/PR7102
13849 1.4 mrg 177. https://gcc.gnu.org/PR7120
13850 1.4 mrg 178. https://gcc.gnu.org/PR7209
13851 1.4 mrg 179. https://gcc.gnu.org/PR7515
13852 1.4 mrg 180. https://gcc.gnu.org/PR7814
13853 1.4 mrg 181. https://gcc.gnu.org/PR8467
13854 1.4 mrg 182. https://gcc.gnu.org/PR4890
13855 1.4 mrg 183. https://gcc.gnu.org/PR7357
13856 1.4 mrg 184. https://gcc.gnu.org/PR7358
13857 1.4 mrg 185. https://gcc.gnu.org/PR7602
13858 1.4 mrg 186. https://gcc.gnu.org/PR7862
13859 1.4 mrg 187. https://gcc.gnu.org/PR8190
13860 1.4 mrg 188. https://gcc.gnu.org/PR8524
13861 1.4 mrg 189. https://gcc.gnu.org/PR5351
13862 1.4 mrg 190. https://gcc.gnu.org/PR7591
13863 1.4 mrg 191. https://gcc.gnu.org/PR6845
13864 1.4 mrg 192. https://gcc.gnu.org/PR7034
13865 1.4 mrg 193. https://gcc.gnu.org/PR7124
13866 1.4 mrg 194. https://gcc.gnu.org/PR7174
13867 1.4 mrg 195. https://gcc.gnu.org/PR7134
13868 1.4 mrg 196. https://gcc.gnu.org/PR7375
13869 1.4 mrg 197. https://gcc.gnu.org/PR7390
13870 1.4 mrg 198. https://gcc.gnu.org/PR6890
13871 1.4 mrg 199. https://gcc.gnu.org/PR6981
13872 1.4 mrg 200. https://gcc.gnu.org/PR7242
13873 1.4 mrg 201. https://gcc.gnu.org/PR7396
13874 1.4 mrg 202. https://gcc.gnu.org/PR7630
13875 1.4 mrg 203. https://gcc.gnu.org/PR7693
13876 1.4 mrg 204. https://gcc.gnu.org/PR7723
13877 1.4 mrg 205. https://gcc.gnu.org/PR7951
13878 1.4 mrg 206. https://gcc.gnu.org/PR8146
13879 1.4 mrg 207. https://gcc.gnu.org/PR5967
13880 1.4 mrg 208. https://gcc.gnu.org/PR6984
13881 1.4 mrg 209. https://gcc.gnu.org/PR7114
13882 1.4 mrg 210. https://gcc.gnu.org/PR7130
13883 1.4 mrg 211. https://gcc.gnu.org/PR7133
13884 1.4 mrg 212. https://gcc.gnu.org/PR7380
13885 1.4 mrg 213. https://gcc.gnu.org/PR8252
13886 1.4 mrg 214. https://gcc.gnu.org/PR8451
13887 1.4 mrg 215. https://gcc.gnu.org/PR7250
13888 1.4 mrg 216. https://gcc.gnu.org/PR6668
13889 1.4 mrg 217. https://gcc.gnu.org/PR7151
13890 1.4 mrg 218. https://gcc.gnu.org/PR7335
13891 1.4 mrg 219. https://gcc.gnu.org/PR7842
13892 1.4 mrg 220. https://gcc.gnu.org/PR7856
13893 1.4 mrg 221. https://gcc.gnu.org/PR7967
13894 1.4 mrg 222. https://gcc.gnu.org/PR7374
13895 1.4 mrg 223. https://gcc.gnu.org/PR7370
13896 1.4 mrg 224. https://gcc.gnu.org/PR7409
13897 1.4 mrg 225. https://gcc.gnu.org/PR8232
13898 1.4 mrg 226. https://gcc.gnu.org/PR7623
13899 1.4 mrg 227. https://gcc.gnu.org/PR8314
13900 1.4 mrg 228. https://gcc.gnu.org/PR761
13901 1.4 mrg 229. https://gcc.gnu.org/PR5610
13902 1.4 mrg 230. https://gcc.gnu.org/PR7484
13903 1.4 mrg 231. https://gcc.gnu.org/PR7531
13904 1.4 mrg 232. https://gcc.gnu.org/PR8120
13905 1.4 mrg 233. https://gcc.gnu.org/PR7320
13906 1.4 mrg 234. https://gcc.gnu.org/PR7470
13907 1.4 mrg 235. https://gcc.gnu.org/PR6410
13908 1.4 mrg 236. https://gcc.gnu.org/PR6503
13909 1.4 mrg 237. https://gcc.gnu.org/PR6642
13910 1.4 mrg 238. https://gcc.gnu.org/PR7186
13911 1.4 mrg 239. https://gcc.gnu.org/PR7216
13912 1.4 mrg 240. https://gcc.gnu.org/PR7220
13913 1.4 mrg 241. https://gcc.gnu.org/PR7222
13914 1.4 mrg 242. https://gcc.gnu.org/PR7286
13915 1.4 mrg 243. https://gcc.gnu.org/PR7442
13916 1.4 mrg 244. https://gcc.gnu.org/PR7445
13917 1.4 mrg 245. https://gcc.gnu.org/PR7291
13918 1.4 mrg 246. https://gcc.gnu.org/onlinedocs/
13919 1.1 mrg 247. mailto:gcc-help (a] gcc.gnu.org
13920 1.1 mrg 248. mailto:gcc (a] gcc.gnu.org
13921 1.4 mrg 249. https://gcc.gnu.org/lists.html
13922 1.1 mrg 250. http://www.fsf.org/
13923 1.4 mrg 251. https://gcc.gnu.org/about.html
13924 1.1 mrg 252. http://validator.w3.org/check/referer
13925 1.1 mrg ======================================================================
13926 1.1 mrg http://gcc.gnu.org/gcc-3.1/index.html
13927 1.1 mrg GCC 3.1
13928 1.1 mrg
13929 1.1 mrg July 27, 2002
13930 1.1 mrg
13931 1.1 mrg The [1]GNU project and the GCC developers are pleased to announce the
13932 1.1 mrg release of GCC 3.1.1.
13933 1.1 mrg
13934 1.1 mrg The links below still apply to GCC 3.1.1.
13935 1.1 mrg
13936 1.7 mrg This release series is no longer maintained.
13937 1.7 mrg
13938 1.1 mrg May 15, 2002
13939 1.1 mrg
13940 1.1 mrg The [2]GNU project and the GCC developers are pleased to announce the
13941 1.1 mrg release of GCC 3.1.
13942 1.1 mrg
13943 1.1 mrg GCC used to stand for the GNU C Compiler, but since the compiler
13944 1.1 mrg supports several other languages aside from C, it now stands for the
13945 1.1 mrg GNU Compiler Collection.
13946 1.1 mrg
13947 1.1 mrg A list of [3]successful builds is updated as new information becomes
13948 1.1 mrg available.
13949 1.1 mrg
13950 1.1 mrg The GCC developers would like to thank the numerous people that have
13951 1.1 mrg contributed [4]new features, improvements, bug fixes, and other changes
13952 1.1 mrg as well as test results to GCC. This [5]amazing group of volunteers is
13953 1.1 mrg what makes GCC successful.
13954 1.1 mrg
13955 1.1 mrg For additional information about GCC please refer to the [6]GCC project
13956 1.1 mrg web site or contact the [7]GCC development mailing list.
13957 1.1 mrg
13958 1.1 mrg To obtain GCC please use [8]our mirror sites, or our CVS server.
13959 1.1 mrg __________________________________________________________________
13960 1.1 mrg
13961 1.1 mrg
13962 1.1 mrg For questions related to the use of GCC, please consult these web
13963 1.1 mrg pages and the [9]GCC manuals. If that fails, the
13964 1.1 mrg [10]gcc-help (a] gcc.gnu.org mailing list might help. Comments on these
13965 1.1 mrg web pages and the development of GCC are welcome on our developer
13966 1.1 mrg list at [11]gcc (a] gcc.gnu.org. All of [12]our lists have public
13967 1.1 mrg archives.
13968 1.1 mrg
13969 1.1 mrg Copyright (C) [13]Free Software Foundation, Inc. Verbatim copying and
13970 1.1 mrg distribution of this entire article is permitted in any medium,
13971 1.1 mrg provided this notice is preserved.
13972 1.1 mrg
13973 1.1 mrg These pages are [14]maintained by the GCC team. Last modified
13974 1.7 mrg 2016-09-30[15].
13975 1.1 mrg
13976 1.1 mrg References
13977 1.1 mrg
13978 1.1 mrg 1. http://www.gnu.org/
13979 1.1 mrg 2. http://www.gnu.org/
13980 1.1 mrg 3. http://gcc.gnu.org/gcc-3.1/buildstat.html
13981 1.1 mrg 4. http://gcc.gnu.org/gcc-3.1/changes.html
13982 1.4 mrg 5. https://gcc.gnu.org/onlinedocs/gcc/Contributors.html
13983 1.1 mrg 6. http://gcc.gnu.org/index.html
13984 1.1 mrg 7. mailto:gcc (a] gcc.gnu.org
13985 1.1 mrg 8. http://gcc.gnu.org/mirrors.html
13986 1.4 mrg 9. https://gcc.gnu.org/onlinedocs/
13987 1.1 mrg 10. mailto:gcc-help (a] gcc.gnu.org
13988 1.1 mrg 11. mailto:gcc (a] gcc.gnu.org
13989 1.4 mrg 12. https://gcc.gnu.org/lists.html
13990 1.1 mrg 13. http://www.fsf.org/
13991 1.4 mrg 14. https://gcc.gnu.org/about.html
13992 1.1 mrg 15. http://validator.w3.org/check/referer
13993 1.1 mrg ======================================================================
13994 1.1 mrg http://gcc.gnu.org/gcc-3.1/changes.html
13995 1.1 mrg GCC 3.1 Release Series
13996 1.1 mrg Changes, New Features, and Fixes
13997 1.1 mrg
13998 1.1 mrg Additional changes in GCC 3.1.1
13999 1.1 mrg
14000 1.1 mrg * A bug related to how structures and unions are returned has been
14001 1.1 mrg fixed for powerpc-*-netbsd*.
14002 1.1 mrg * An important bug in the implementation of -fprefetch-loop-arrays
14003 1.1 mrg has been fixed. Previously the optimization prefetched random
14004 1.1 mrg blocks of memory for most targets except for i386.
14005 1.1 mrg * The Java compiler now compiles Java programs much faster and also
14006 1.1 mrg works with parallel make.
14007 1.1 mrg * Nested functions have been fixed for mips*-*-netbsd*.
14008 1.1 mrg * Some missing floating point support routines have beed added for
14009 1.1 mrg mips*-*-netbsd*.
14010 1.1 mrg * This [1]message gives additional information about the bugs fixed
14011 1.1 mrg in this release.
14012 1.1 mrg
14013 1.1 mrg Caveats
14014 1.1 mrg
14015 1.1 mrg * The -traditional C compiler option has been deprecated and will be
14016 1.1 mrg removed in GCC 3.3. (It remains possible to preprocess non-C code
14017 1.1 mrg with the traditional preprocessor.)
14018 1.1 mrg * The default debugging format for most ELF platforms (including
14019 1.1 mrg GNU/Linux and FreeBSD; notable exception is Solaris) has changed
14020 1.1 mrg from stabs to DWARF2. This requires GDB 5.1.1 or later.
14021 1.1 mrg
14022 1.1 mrg General Optimizer Improvements
14023 1.1 mrg
14024 1.1 mrg * Jan Hubicka, SuSE Labs, together with Richard Henderson, Red Hat,
14025 1.1 mrg and Andreas Jaeger, SuSE Labs, has contributed [2]infrastructure
14026 1.1 mrg for profile driven optimizations.
14027 1.1 mrg Options -fprofile-arcs and -fbranch-probabilities can now be used
14028 1.1 mrg to improve speed of the generated code by profiling the actual
14029 1.1 mrg program behaviour on typical runs. In the absence of profile info
14030 1.1 mrg the compiler attempts to guess the profile statically.
14031 1.1 mrg * [3]SPEC2000 and SPEC95 benchmark suites are now used daily to
14032 1.1 mrg monitor performance of the generated code.
14033 1.1 mrg According to the SPECInt2000 results on an AMD Athlon CPU, the code
14034 1.1 mrg generated by GCC 3.1 is 6% faster on the average (8.2% faster with
14035 1.1 mrg profile feedback) compared to GCC 3.0. The code produced by GCC 3.0
14036 1.1 mrg is about 2.1% faster compared to 2.95.3. Tests were done using the
14037 1.1 mrg -O2 -march=athlon command-line options.
14038 1.1 mrg * Alexandre Oliva, of Red Hat, has generalized the tree inlining
14039 1.1 mrg infrastructure developed by CodeSourcery, LLC for the C++ front
14040 1.1 mrg end, so that it is now used in the C front end too. Inlining
14041 1.1 mrg functions as trees exposes them earlier to the compiler, giving it
14042 1.1 mrg more opportunities for optimization.
14043 1.1 mrg * Support for data prefetching instructions has been added to the GCC
14044 1.1 mrg back end and several targets. A new __builtin_prefetch intrinsic is
14045 1.1 mrg available to explicitly insert prefetch instructions and
14046 1.1 mrg experimental support for loop array prefetching has been added (see
14047 1.1 mrg -fprefetch-loop-array documentation).
14048 1.1 mrg * Support for emitting debugging information for macros has been
14049 1.1 mrg added for DWARF2. It is activated using -g3.
14050 1.1 mrg
14051 1.1 mrg New Languages and Language specific improvements
14052 1.1 mrg
14053 1.1 mrg C/C++
14054 1.1 mrg
14055 1.1 mrg * A few more [4]ISO C99 features.
14056 1.1 mrg * The preprocessor is 10-50% faster than the preprocessor in GCC 3.0.
14057 1.1 mrg * The preprocessor's symbol table has been merged with the symbol
14058 1.1 mrg table of the C, C++ and Objective-C front ends.
14059 1.1 mrg * The preprocessor consumes less memory than the preprocessor in GCC
14060 1.1 mrg 3.0, often significantly so. On normal input files, it typically
14061 1.1 mrg consumes less memory than pre-3.0 cccp-based GCC, too.
14062 1.1 mrg
14063 1.1 mrg C++
14064 1.1 mrg
14065 1.1 mrg * -fhonor-std and -fno-honor-std have been removed. -fno-honor-std
14066 1.1 mrg was a workaround to allow std compliant code to work with the
14067 1.1 mrg non-std compliant libstdc++-v2. libstdc++-v3 is std compliant.
14068 1.1 mrg * The C++ ABI has been fixed so that void (A::*)() const is mangled
14069 1.1 mrg as "M1AKFvvE", rather than "MK1AFvvE" as before. This change only
14070 1.1 mrg affects pointer to cv-qualified member function types.
14071 1.1 mrg * The C++ ABI has been changed to correctly handle this code:
14072 1.1 mrg struct A {
14073 1.1 mrg void operator delete[] (void *, size_t);
14074 1.1 mrg };
14075 1.1 mrg
14076 1.1 mrg struct B : public A {
14077 1.1 mrg };
14078 1.1 mrg
14079 1.1 mrg new B[10];
14080 1.1 mrg
14081 1.1 mrg The amount of storage allocated for the array will be greater than
14082 1.1 mrg it was in 3.0, in order to store the number of elements in the
14083 1.1 mrg array, so that the correct size can be passed to operator delete[]
14084 1.1 mrg when the array is deleted. Previously, the value passed to operator
14085 1.1 mrg delete[] was unpredictable.
14086 1.1 mrg This change will only affect code that declares a two-argument
14087 1.1 mrg operator delete[] with a second parameter of type size_t in a base
14088 1.1 mrg class, and does not override that definition in a derived class.
14089 1.1 mrg * The C++ ABI has been changed so that:
14090 1.1 mrg struct A {
14091 1.1 mrg void operator delete[] (void *, size_t);
14092 1.1 mrg void operator delete[] (void *);
14093 1.1 mrg };
14094 1.1 mrg
14095 1.1 mrg does not cause unnecessary storage to be allocated when an array of
14096 1.1 mrg A objects is allocated.
14097 1.1 mrg This change will only affect code that declares both of these forms
14098 1.1 mrg of operator delete[], and declared the two-argument form before the
14099 1.1 mrg one-argument form.
14100 1.1 mrg * The C++ ABI has been changed so that when a parameter is passed by
14101 1.1 mrg value, any cleanup for that parameter is performed in the caller,
14102 1.1 mrg as specified by the ia64 C++ ABI, rather than the called function
14103 1.1 mrg as before. As a result, classes with a non-trivial destructor but a
14104 1.1 mrg trivial copy constructor will be passed and returned by invisible
14105 1.1 mrg reference, rather than by bitwise copy as before.
14106 1.1 mrg * G++ now supports the "named return value optimization": for code
14107 1.1 mrg like
14108 1.1 mrg A f () {
14109 1.1 mrg A a;
14110 1.1 mrg ...
14111 1.1 mrg return a;
14112 1.1 mrg }
14113 1.1 mrg
14114 1.1 mrg G++ will allocate a in the return value slot, so that the return
14115 1.1 mrg becomes a no-op. For this to work, all return statements in the
14116 1.1 mrg function must return the same variable.
14117 1.1 mrg * Improvements to the C++ library are listed in [5]the libstdc++-v3
14118 1.1 mrg FAQ.
14119 1.1 mrg
14120 1.1 mrg Objective-C
14121 1.1 mrg
14122 1.1 mrg * Annoying linker warnings (due to incorrect code being generated)
14123 1.1 mrg have been fixed.
14124 1.1 mrg * If a class method cannot be found, the compiler no longer issues a
14125 1.1 mrg warning if a corresponding instance method exists in the root
14126 1.1 mrg class.
14127 1.1 mrg * Forward @protocol declarations have been fixed.
14128 1.1 mrg * Loading of categories has been fixed in certain situations (GNU run
14129 1.1 mrg time only).
14130 1.1 mrg * The class lookup in the run-time library has been rewritten so that
14131 1.1 mrg class method dispatch is more than twice as fast as it used to be
14132 1.1 mrg (GNU run time only).
14133 1.1 mrg
14134 1.1 mrg Java
14135 1.1 mrg
14136 1.1 mrg * libgcj now includes RMI, java.lang.ref.*, javax.naming, and
14137 1.1 mrg javax.transaction.
14138 1.1 mrg * Property files and other system resources can be compiled into
14139 1.1 mrg executables which use libgcj using the new gcj --resource feature.
14140 1.1 mrg * libgcj has been ported to more platforms. In particular there is
14141 1.1 mrg now a mostly-functional mingw32 (Windows) target port.
14142 1.1 mrg * JNI and CNI invocation interfaces were implemented, so gcj-compiled
14143 1.1 mrg Java code can now be called from a C/C++ application.
14144 1.1 mrg * gcj can now use builtin functions for certain known methods, for
14145 1.1 mrg instance Math.cos.
14146 1.1 mrg * gcj can now automatically remove redundant array-store checks in
14147 1.1 mrg some common cases.
14148 1.1 mrg * The --no-store-checks optimization option was added. This can be
14149 1.1 mrg used to omit runtime store checks for code which is known not to
14150 1.1 mrg throw ArrayStoreException
14151 1.1 mrg * The following third party interface standards were added to libgcj:
14152 1.1 mrg org.w3c.dom and org.xml.sax.
14153 1.1 mrg * java.security has been merged with GNU Classpath. The new package
14154 1.1 mrg is now JDK 1.2 compliant, and much more complete.
14155 1.1 mrg * A bytecode verifier was added to the libgcj interpreter.
14156 1.1 mrg * java.lang.Character was rewritten to comply with the Unicode 3.0
14157 1.1 mrg standard, and improve performance.
14158 1.1 mrg * Partial support for many more locales was added to libgcj.
14159 1.1 mrg * Socket timeouts have been implemented.
14160 1.1 mrg * libgcj has been merged into a single shared library. There are no
14161 1.1 mrg longer separate shared libraries for the garbage collector and
14162 1.1 mrg zlib.
14163 1.1 mrg * Several performance improvements were made to gcj and libgcj:
14164 1.1 mrg + Hash synchronization (thin locks)
14165 1.1 mrg + A special allocation path for finalizer-free objects
14166 1.1 mrg + Thread-local allocation
14167 1.1 mrg + Parallel GC, and other GC tweaks
14168 1.1 mrg
14169 1.1 mrg Fortran
14170 1.1 mrg
14171 1.1 mrg Fortran improvements are listed in [6]the Fortran documentation.
14172 1.1 mrg
14173 1.1 mrg Ada
14174 1.1 mrg
14175 1.1 mrg [7]Ada Core Technologies, Inc, has contributed its GNAT Ada 95 front
14176 1.1 mrg end and associated tools. The GNAT compiler fully implements the Ada
14177 1.1 mrg language as defined by the ISO/IEC 8652 standard.
14178 1.1 mrg
14179 1.1 mrg Please note that the integration of the Ada front end is still work in
14180 1.1 mrg progress.
14181 1.1 mrg
14182 1.1 mrg New Targets and Target Specific Improvements
14183 1.1 mrg
14184 1.7 mrg * Hans-Peter Nilsson has contributed a port to MMIX, the CPU
14185 1.1 mrg architecture used in new editions of Donald E. Knuth's The Art of
14186 1.1 mrg Computer Programming.
14187 1.7 mrg * Axis Communications has contributed its port to the CRIS CPU
14188 1.7 mrg architecture, used in the ETRAX system-on-a-chip series.
14189 1.7 mrg * Alexandre Oliva, of Red Hat, has contributed a port to the SuperH
14190 1.7 mrg SH5 64-bit RISC microprocessor architecture, extending the existing
14191 1.7 mrg SH port.
14192 1.1 mrg * UltraSPARC is fully supported in 64-bit mode. The option -m64
14193 1.1 mrg enables it.
14194 1.1 mrg * For compatibility with the Sun compiler #pragma redefine_extname
14195 1.1 mrg has been implemented on Solaris.
14196 1.1 mrg * The x86 back end has had some noticeable work done to it.
14197 1.1 mrg + SuSE Labs developers Jan Hubicka, Bo Thorsen and Andreas
14198 1.1 mrg Jaeger have contributed a port to the AMD x86-64 architecture.
14199 1.7 mrg For more information on x86-64 see http://www.x86-64.org.
14200 1.1 mrg + The compiler now supports MMX, 3DNow!, SSE, and SSE2
14201 1.1 mrg instructions. Options -mmmx, -m3dnow, -msse, and -msse2 will
14202 1.1 mrg enable the respective instruction sets. Intel C++ compatible
14203 1.1 mrg MMX/3DNow!/SSE intrinsics are implemented. SSE2 intrinsics
14204 1.1 mrg will be added in next major release.
14205 1.1 mrg + Following those improvements, targets for Pentium MMX, K6-2,
14206 1.1 mrg K6-3, Pentium III, Pentium 4, and Athlon 4 Mobile/XP/MP were
14207 1.1 mrg added. Refer to the documentation on -march= and -mcpu=
14208 1.1 mrg options for details.
14209 1.1 mrg + For those targets that support it, -mfpmath=sse will cause the
14210 1.1 mrg compiler to generate SSE/SSE2 instructions for floating point
14211 1.1 mrg math instead of x87 instructions. Usually, this will lead to
14212 1.7 mrg quicker code especially on the Pentium 4. Note that only
14213 1.1 mrg scalar floating point instructions are used and GCC does not
14214 1.1 mrg exploit SIMD features yet.
14215 1.1 mrg + Prefetch support has been added to the Pentium III, Pentium 4,
14216 1.1 mrg K6-2, K6-3, and Athlon series.
14217 1.1 mrg + Code generated for floating point to integer conversions has
14218 1.1 mrg been improved leading to better performance of many 3D
14219 1.1 mrg applications.
14220 1.1 mrg * The PowerPC back end has added 64-bit PowerPC GNU/Linux support.
14221 1.1 mrg * C++ support for AIX has been improved.
14222 1.1 mrg * Aldy Hernandez, of Red Hat, Inc, has contributed extensions to the
14223 1.1 mrg PowerPC port supporting the AltiVec programming model (SIMD). The
14224 1.1 mrg support, though presently useful, is experimental and is expected
14225 1.1 mrg to stabilize for 3.2. The support is written to conform to
14226 1.1 mrg Motorola's AltiVec specs. See -maltivec.
14227 1.1 mrg
14228 1.1 mrg Obsolete Systems
14229 1.1 mrg
14230 1.1 mrg Support for a number of older systems has been declared obsolete in GCC
14231 1.1 mrg 3.1. Unless there is activity to revive them, the next release of GCC
14232 1.1 mrg will have their sources permanently removed.
14233 1.1 mrg
14234 1.1 mrg All configurations of the following processor architectures have been
14235 1.1 mrg declared obsolete:
14236 1.1 mrg * MIL-STD-1750A, 1750a-*-*
14237 1.1 mrg * AMD A29k, a29k-*-*
14238 1.1 mrg * Convex, c*-convex-*
14239 1.1 mrg * Clipper, clipper-*-*
14240 1.1 mrg * Elxsi, elxsi-*-*
14241 1.1 mrg * Intel i860, i860-*-*
14242 1.1 mrg * Sun picoJava, pj-*-* and pjl-*-*
14243 1.1 mrg * Western Electric 32000, we32k-*-*
14244 1.1 mrg
14245 1.1 mrg Most configurations of the following processor architectures have been
14246 1.1 mrg declared obsolete, but we are preserving a few systems which may have
14247 1.1 mrg active developers. It is unlikely that the remaining systems will
14248 1.1 mrg survive much longer unless we see definite signs of port activity.
14249 1.1 mrg * Motorola 88000 except
14250 1.1 mrg + Generic a.out, m88k-*-aout*
14251 1.1 mrg + Generic SVR4, m88k-*-sysv4
14252 1.1 mrg + OpenBSD, m88k-*-openbsd*
14253 1.1 mrg * NS32k except
14254 1.1 mrg + NetBSD, ns32k-*-netbsd*
14255 1.1 mrg + OpenBSD, ns32k-*-openbsd*.
14256 1.1 mrg * ROMP except
14257 1.1 mrg + OpenBSD, romp-*-openbsd*.
14258 1.1 mrg
14259 1.1 mrg Finally, only some configurations of these processor architectures are
14260 1.1 mrg being obsoleted.
14261 1.1 mrg * Alpha:
14262 1.1 mrg + OSF/1, alpha*-*-osf[123]*. (Digital Unix and Tru64 Unix, aka
14263 1.1 mrg alpha*-*-osf[45], are still supported.)
14264 1.1 mrg * ARM:
14265 1.1 mrg + RISCiX, arm-*-riscix*.
14266 1.1 mrg * i386:
14267 1.1 mrg + 386BSD, i?86-*-bsd*
14268 1.1 mrg + Chorus, i?86-*-chorusos*
14269 1.1 mrg + DG/UX, i?86-*-dgux*
14270 1.1 mrg + FreeBSD 1.x, i?86-*-freebsd1.*
14271 1.1 mrg + IBM AIX, i?86-*-aix*
14272 1.1 mrg + ISC UNIX, i?86-*-isc*
14273 1.1 mrg + GNU/Linux with pre-BFD linker, i?86-*-linux*oldld*
14274 1.1 mrg + NEXTstep, i?86-next-*
14275 1.1 mrg + OSF UNIX, i?86-*-osf1* and i?86-*-osfrose*
14276 1.1 mrg + RTEMS/coff, i?86-*-rtemscoff*
14277 1.1 mrg + RTEMS/go32, i?86-go32-rtems*
14278 1.1 mrg + Sequent/BSD, i?86-sequent-bsd*
14279 1.1 mrg + Sequent/ptx before version 3, i?86-sequent-ptx[12]* and
14280 1.1 mrg i?86-sequent-sysv3*
14281 1.1 mrg + SunOS, i?86-*-sunos*
14282 1.1 mrg * Motorola 68000:
14283 1.1 mrg + Altos, m68[k0]*-altos-*
14284 1.1 mrg + Apollo, m68[k0]*-apollo-*
14285 1.1 mrg + Apple A/UX, m68[k0]*-apple-*
14286 1.1 mrg + Bull, m68[k0]*-bull-*
14287 1.1 mrg + Convergent, m68[k0]*-convergent-*
14288 1.1 mrg + Generic SVR3, m68[k0]*-*-sysv3*
14289 1.1 mrg + ISI, m68[k0]*-isi-*
14290 1.1 mrg + LynxOS, m68[k0]*-*-lynxos*
14291 1.1 mrg + NEXT, m68[k0]*-next-*
14292 1.1 mrg + RTEMS/coff, m68[k0]*-*-rtemscoff*
14293 1.1 mrg + Sony, m68[k0]*-sony-*
14294 1.1 mrg * MIPS:
14295 1.1 mrg + DEC Ultrix, mips-*-ultrix* and mips-dec-*
14296 1.1 mrg + Generic BSD, mips-*-bsd*
14297 1.1 mrg + Generic System V, mips-*-sysv*
14298 1.1 mrg + IRIX before version 5, mips-sgi-irix[1234]*
14299 1.1 mrg + RiscOS, mips-*-riscos*
14300 1.1 mrg + Sony, mips-sony-*
14301 1.1 mrg + Tandem, mips-tandem-*
14302 1.1 mrg * SPARC:
14303 1.1 mrg + RTEMS/a.out, sparc-*-rtemsaout*.
14304 1.1 mrg
14305 1.1 mrg Documentation improvements
14306 1.1 mrg
14307 1.1 mrg * The old manual ("Using and Porting the GNU Compiler Collection")
14308 1.1 mrg has been replaced by a users manual ("Using the GNU Compiler
14309 1.1 mrg Collection") and a separate internals reference manual ("GNU
14310 1.1 mrg Compiler Collection Internals").
14311 1.1 mrg * More complete and much improved documentation about GCC's internal
14312 1.1 mrg representation used by the C and C++ front ends.
14313 1.1 mrg * Many cleanups and improvements in general.
14314 1.1 mrg
14315 1.1 mrg
14316 1.1 mrg For questions related to the use of GCC, please consult these web
14317 1.7 mrg pages and the [8]GCC manuals. If that fails, the
14318 1.7 mrg [9]gcc-help (a] gcc.gnu.org mailing list might help. Comments on these
14319 1.1 mrg web pages and the development of GCC are welcome on our developer
14320 1.7 mrg list at [10]gcc (a] gcc.gnu.org. All of [11]our lists have public
14321 1.1 mrg archives.
14322 1.1 mrg
14323 1.7 mrg Copyright (C) [12]Free Software Foundation, Inc. Verbatim copying and
14324 1.1 mrg distribution of this entire article is permitted in any medium,
14325 1.1 mrg provided this notice is preserved.
14326 1.1 mrg
14327 1.7 mrg These pages are [13]maintained by the GCC team. Last modified
14328 1.7 mrg 2017-09-09[14].
14329 1.1 mrg
14330 1.1 mrg References
14331 1.1 mrg
14332 1.4 mrg 1. https://gcc.gnu.org/ml/gcc/2002-07/msg01208.html
14333 1.1 mrg 2. http://gcc.gnu.org/news/profiledriven.html
14334 1.1 mrg 3. http://gcc.gnu.org/benchmarks/
14335 1.3 skrll 4. http://gcc.gnu.org/c99status.html
14336 1.4 mrg 5. https://gcc.gnu.org/onlinedocs/libstdc++/faq.html
14337 1.4 mrg 6. https://gcc.gnu.org/onlinedocs/gcc-3.1.1/g77/News.html
14338 1.3 skrll 7. http://www.adacore.com/
14339 1.7 mrg 8. https://gcc.gnu.org/onlinedocs/
14340 1.7 mrg 9. mailto:gcc-help (a] gcc.gnu.org
14341 1.7 mrg 10. mailto:gcc (a] gcc.gnu.org
14342 1.7 mrg 11. https://gcc.gnu.org/lists.html
14343 1.7 mrg 12. http://www.fsf.org/
14344 1.7 mrg 13. https://gcc.gnu.org/about.html
14345 1.7 mrg 14. http://validator.w3.org/check/referer
14346 1.1 mrg ======================================================================
14347 1.4 mrg http://gcc.gnu.org/gcc-3.0/index.html
14348 1.1 mrg GCC 3.0.4
14349 1.1 mrg
14350 1.1 mrg February 20, 2002
14351 1.1 mrg
14352 1.1 mrg The [1]GNU project and the GCC developers are pleased to announce the
14353 1.1 mrg release of GCC 3.0.4, which is a bug-fix release for the GCC 3.0
14354 1.1 mrg series.
14355 1.1 mrg
14356 1.7 mrg This release series is no longer maintained.
14357 1.7 mrg
14358 1.1 mrg GCC used to stand for the GNU C Compiler, but since the compiler
14359 1.1 mrg supports several other languages aside from C, it now stands for the
14360 1.1 mrg GNU Compiler Collection.
14361 1.1 mrg
14362 1.1 mrg GCC 3.0.x has several new optimizations, new targets, new languages and
14363 1.1 mrg many other new features, relative to GCC 2.95.x. See the [2]new
14364 1.1 mrg features page for a more complete list.
14365 1.1 mrg
14366 1.1 mrg A list of [3]successful builds is updated as new information becomes
14367 1.1 mrg available.
14368 1.1 mrg
14369 1.1 mrg The GCC developers would like to thank the numerous people that have
14370 1.1 mrg contributed new features, test results, bug fixes, etc to GCC. This
14371 1.1 mrg [4]amazing group of volunteers is what makes GCC successful.
14372 1.1 mrg
14373 1.1 mrg And finally, we can't in good conscience fail to mention some
14374 1.1 mrg [5]caveats to using GCC 3.0.x.
14375 1.1 mrg
14376 1.1 mrg For additional information about GCC please refer to the [6]GCC project
14377 1.1 mrg web site or contact the [7]GCC development mailing list.
14378 1.1 mrg
14379 1.1 mrg To obtain GCC please use [8]our mirror sites, or our CVS server.
14380 1.1 mrg __________________________________________________________________
14381 1.1 mrg
14382 1.1 mrg Previous 3.0.x Releases
14383 1.1 mrg
14384 1.1 mrg December 20, 2001: GCC 3.0.3 has been released.
14385 1.1 mrg October 25, 2001: GCC 3.0.2 has been released.
14386 1.1 mrg August 20, 2001: GCC 3.0.1 has been released.
14387 1.1 mrg June 18, 2001: GCC 3.0 has been released.
14388 1.1 mrg
14389 1.1 mrg
14390 1.1 mrg For questions related to the use of GCC, please consult these web
14391 1.1 mrg pages and the [9]GCC manuals. If that fails, the
14392 1.1 mrg [10]gcc-help (a] gcc.gnu.org mailing list might help. Comments on these
14393 1.1 mrg web pages and the development of GCC are welcome on our developer
14394 1.1 mrg list at [11]gcc (a] gcc.gnu.org. All of [12]our lists have public
14395 1.1 mrg archives.
14396 1.1 mrg
14397 1.1 mrg Copyright (C) [13]Free Software Foundation, Inc. Verbatim copying and
14398 1.1 mrg distribution of this entire article is permitted in any medium,
14399 1.1 mrg provided this notice is preserved.
14400 1.1 mrg
14401 1.1 mrg These pages are [14]maintained by the GCC team. Last modified
14402 1.7 mrg 2016-09-30[15].
14403 1.1 mrg
14404 1.1 mrg References
14405 1.1 mrg
14406 1.1 mrg 1. http://www.gnu.org/
14407 1.1 mrg 2. http://gcc.gnu.org/gcc-3.0/features.html
14408 1.1 mrg 3. http://gcc.gnu.org/gcc-3.0/buildstat.html
14409 1.4 mrg 4. https://gcc.gnu.org/onlinedocs/gcc/Contributors.html
14410 1.1 mrg 5. http://gcc.gnu.org/gcc-3.0/caveats.html
14411 1.1 mrg 6. http://gcc.gnu.org/index.html
14412 1.1 mrg 7. mailto:gcc (a] gcc.gnu.org
14413 1.1 mrg 8. http://gcc.gnu.org/mirrors.html
14414 1.4 mrg 9. https://gcc.gnu.org/onlinedocs/
14415 1.1 mrg 10. mailto:gcc-help (a] gcc.gnu.org
14416 1.1 mrg 11. mailto:gcc (a] gcc.gnu.org
14417 1.4 mrg 12. https://gcc.gnu.org/lists.html
14418 1.1 mrg 13. http://www.fsf.org/
14419 1.4 mrg 14. https://gcc.gnu.org/about.html
14420 1.1 mrg 15. http://validator.w3.org/check/referer
14421 1.1 mrg ======================================================================
14422 1.1 mrg http://gcc.gnu.org/gcc-3.0/features.html
14423 1.1 mrg GCC 3.0 New Features
14424 1.1 mrg
14425 1.1 mrg Additional changes in GCC 3.0.4
14426 1.1 mrg
14427 1.1 mrg * GCC 3.0 now supports newer versions of the [1]NetBSD operating
14428 1.1 mrg system, which use the ELF object file format, on x86 processors.
14429 1.1 mrg * Correct debugging information is generated from functions that have
14430 1.1 mrg lines from multiple files (e.g. yacc output).
14431 1.1 mrg * A fix for whitespace handling in the -traditional preprocessor,
14432 1.1 mrg which can affect Fortran.
14433 1.1 mrg * Fixes to the exception handling runtime.
14434 1.1 mrg * More fixes for bad code generation in C++.
14435 1.1 mrg * A fix for shared library generation under AIX 4.3.
14436 1.1 mrg * Documentation updates.
14437 1.1 mrg * Port of GCC to Tensilica's Xtensa processor contributed.
14438 1.1 mrg * A fix for compiling the PPC Linux kernel (FAT fs wouldn't link).
14439 1.1 mrg
14440 1.1 mrg Additional changes in GCC 3.0.3
14441 1.1 mrg
14442 1.1 mrg * A fix to correct an accidental change to the PowerPC ABI.
14443 1.1 mrg * Fixes for bad code generation on a variety of architectures.
14444 1.1 mrg * Improvements to the debugging information generated for C++
14445 1.1 mrg classes.
14446 1.1 mrg * Fixes for bad code generation in C++.
14447 1.1 mrg * A fix to avoid crashes in the C++ demangler.
14448 1.1 mrg * A fix to the C++ standard library to avoid buffer overflows.
14449 1.1 mrg * Miscellaneous improvements for a variety of architectures.
14450 1.1 mrg
14451 1.1 mrg Additional changes in GCC 3.0.2
14452 1.1 mrg
14453 1.1 mrg * Fixes for bad code generation during loop unrolling.
14454 1.1 mrg * Fixes for bad code generation by the sibling call optimization.
14455 1.1 mrg * Minor improvements to x86 code generation.
14456 1.1 mrg * Implementation of function descriptors in C++ vtables for IA64.
14457 1.1 mrg * Numerous minor bug-fixes.
14458 1.1 mrg
14459 1.1 mrg Additional changes in GCC 3.0.1
14460 1.1 mrg
14461 1.1 mrg * C++ fixes for incorrect code-generation.
14462 1.1 mrg * Improved cross-compiling support for the C++ standard library.
14463 1.1 mrg * Fixes for some embedded targets that worked in GCC 2.95.3, but not
14464 1.1 mrg in GCC 3.0.
14465 1.1 mrg * Fixes for various exception-handling bugs.
14466 1.1 mrg * A port to the S/390 architecture.
14467 1.1 mrg
14468 1.1 mrg General Optimizer Improvements
14469 1.1 mrg
14470 1.1 mrg * [2]Basic block reordering pass.
14471 1.1 mrg * New if-conversion pass with support for conditional (predicated)
14472 1.1 mrg execution.
14473 1.1 mrg * New tail call and sibling call elimination optimizations.
14474 1.1 mrg * New register renaming pass.
14475 1.1 mrg * New (experimental) [3]static single assignment (SSA) representation
14476 1.1 mrg support.
14477 1.1 mrg * New dead-code elimination pass implemented using the SSA
14478 1.1 mrg representation.
14479 1.1 mrg * [4]Global null pointer test elimination.
14480 1.1 mrg * [5]Global code hoisting/unification.
14481 1.1 mrg * More builtins and optimizations for stdio.h, string.h and old BSD
14482 1.1 mrg functions, as well as for ISO C99 functions.
14483 1.1 mrg * New builtin __builtin_expect for giving hints to the branch
14484 1.1 mrg predictor.
14485 1.1 mrg
14486 1.1 mrg New Languages and Language specific improvements
14487 1.1 mrg
14488 1.1 mrg * The GNU Compiler for the Java(TM) language (GCJ) is now integrated
14489 1.1 mrg and supported, including the run-time library containing most
14490 1.1 mrg common non-GUI Java classes, a bytecode interpreter, and the Boehm
14491 1.1 mrg conservative garbage collector. Many bugs have been fixed. GCJ can
14492 1.1 mrg compile Java source or Java bytecodes to either native code or Java
14493 1.1 mrg class files, and supports native methods written in either the
14494 1.1 mrg standard JNI or the more efficient and convenient CNI.
14495 1.1 mrg * Here is a [6]partial list of C++ improvements, both new features
14496 1.1 mrg and those no longer supported.
14497 1.1 mrg * New C++ ABI. On the IA-64 platform GCC is capable of
14498 1.1 mrg inter-operating with other IA-64 compilers.
14499 1.1 mrg * The new ABI also significantly reduces the size of symbol and debug
14500 1.1 mrg information.
14501 1.7 mrg * New C++ support library and many C++ bug fixes, vastly improving
14502 1.1 mrg our conformance to the ISO C++ standard.
14503 1.7 mrg * New [7]inliner for C++.
14504 1.1 mrg * Rewritten C preprocessor, integrated into the C, C++ and Objective
14505 1.1 mrg C compilers, with very many improvements including ISO C99 support
14506 1.7 mrg and [8]improvements to dependency generation.
14507 1.7 mrg * Support for more [9]ISO C99 features.
14508 1.1 mrg * Many improvements to support for checking calls to format functions
14509 1.1 mrg such as printf and scanf, including support for ISO C99 format
14510 1.1 mrg features, extensions from the Single Unix Specification and GNU
14511 1.1 mrg libc 2.2, checking of strfmon formats and features to assist in
14512 1.1 mrg auditing for format string security bugs.
14513 1.1 mrg * New warnings for C code that may have undefined semantics because
14514 1.1 mrg of violations of sequence point rules in the C standard (such as a
14515 1.1 mrg = a++;, a[n] = b[n++]; and a[i++] = i;), included in -Wall.
14516 1.1 mrg * Additional warning option -Wfloat-equal.
14517 1.1 mrg * Improvements to -Wtraditional.
14518 1.7 mrg * Fortran improvements are listed in [10]the Fortran documentation.
14519 1.1 mrg
14520 1.1 mrg New Targets and Target Specific Improvements
14521 1.1 mrg
14522 1.3 skrll * New x86 back end, generating much improved code.
14523 1.1 mrg * Support for a generic i386-elf target contributed.
14524 1.1 mrg * New option to emit x86 assembly code using Intel style syntax
14525 1.1 mrg (-mintel-syntax).
14526 1.1 mrg * HPUX 11 support contributed.
14527 1.1 mrg * Improved PowerPC code generation, including scheduled prologue and
14528 1.1 mrg epilogue.
14529 1.1 mrg * Port of GCC to Intel's IA-64 processor contributed.
14530 1.1 mrg * Port of GCC to Motorola's MCore 210 and 340 contributed.
14531 1.1 mrg * New unified back-end for Arm, Thumb and StrongArm contributed.
14532 1.1 mrg * Port of GCC to Intel's XScale processor contributed.
14533 1.1 mrg * Port of GCC to Atmel's AVR microcontrollers contributed.
14534 1.1 mrg * Port of GCC to Mitsubishi's D30V processor contributed.
14535 1.1 mrg * Port of GCC to Matsushita's AM33 processor (a member of the MN10300
14536 1.1 mrg processor family) contributed.
14537 1.1 mrg * Port of GCC to Fujitsu's FR30 processor contributed.
14538 1.1 mrg * Port of GCC to Motorola's 68HC11 and 68HC12 processors contributed.
14539 1.1 mrg * Port of GCC to Sun's picoJava processor core contributed.
14540 1.1 mrg
14541 1.1 mrg Documentation improvements
14542 1.1 mrg
14543 1.1 mrg * Substantially rewritten and improved C preprocessor manual.
14544 1.1 mrg * Many improvements to other documentation.
14545 1.1 mrg * Manpages for gcc, cpp and gcov are now generated automatically from
14546 1.1 mrg the master Texinfo manual, eliminating the problem of manpages
14547 1.1 mrg being out of date. (The generated manpages are only extracts from
14548 1.1 mrg the full manual, which is provided in Texinfo form, from which
14549 1.1 mrg info, HTML, other formats and a printed manual can be generated.)
14550 1.1 mrg * Generated info files are included in the release tarballs alongside
14551 1.1 mrg their Texinfo sources, avoiding problems on some platforms with
14552 1.1 mrg building makeinfo as part of the GCC distribution.
14553 1.1 mrg
14554 1.1 mrg Other significant improvements
14555 1.1 mrg
14556 1.1 mrg * Garbage collection used internally by the compiler for most memory
14557 1.1 mrg allocation instead of obstacks.
14558 1.1 mrg * Lengauer and Tarjan algorithm used for computing dominators in the
14559 1.1 mrg CFG. This algorithm can be significantly faster and more space
14560 1.1 mrg efficient than our older algorithm.
14561 1.1 mrg * gccbug script provided to assist in submitting bug reports to our
14562 1.1 mrg bug tracking system. (Bug reports previously submitted directly to
14563 1.1 mrg our mailing lists, for which you received no bug tracking number,
14564 1.1 mrg should be submitted again using gccbug if you can reproduce the
14565 1.1 mrg problem with GCC 3.0.)
14566 1.7 mrg * The internal libgcc library is [11]built as a shared library on
14567 1.1 mrg systems that support it.
14568 1.1 mrg * Extensive testsuite included with GCC, with many new tests. In
14569 1.1 mrg addition to tests for GCC bugs that have been fixed, many tests
14570 1.1 mrg have been added for language features, compiler warnings and
14571 1.1 mrg builtin functions.
14572 1.1 mrg * Additional language-independent warning options -Wpacked, -Wpadded,
14573 1.1 mrg -Wunreachable-code and -Wdisabled-optimization.
14574 1.1 mrg * Target-independent options -falign-functions, -falign-loops and
14575 1.1 mrg -falign-jumps.
14576 1.1 mrg
14577 1.7 mrg Plus a great many bug fixes and almost all the [12]features found in
14578 1.1 mrg GCC 2.95.
14579 1.1 mrg
14580 1.1 mrg
14581 1.1 mrg For questions related to the use of GCC, please consult these web
14582 1.7 mrg pages and the [13]GCC manuals. If that fails, the
14583 1.7 mrg [14]gcc-help (a] gcc.gnu.org mailing list might help. Comments on these
14584 1.1 mrg web pages and the development of GCC are welcome on our developer
14585 1.7 mrg list at [15]gcc (a] gcc.gnu.org. All of [16]our lists have public
14586 1.1 mrg archives.
14587 1.1 mrg
14588 1.7 mrg Copyright (C) [17]Free Software Foundation, Inc. Verbatim copying and
14589 1.1 mrg distribution of this entire article is permitted in any medium,
14590 1.1 mrg provided this notice is preserved.
14591 1.1 mrg
14592 1.7 mrg These pages are [18]maintained by the GCC team. Last modified
14593 1.7 mrg 2016-08-23[19].
14594 1.1 mrg
14595 1.1 mrg References
14596 1.1 mrg
14597 1.1 mrg 1. http://www.netbsd.org/
14598 1.1 mrg 2. http://gcc.gnu.org/news/reorder.html
14599 1.1 mrg 3. http://gcc.gnu.org/news/ssa.html
14600 1.1 mrg 4. http://gcc.gnu.org/news/null.html
14601 1.1 mrg 5. http://gcc.gnu.org/news/unify.html
14602 1.1 mrg 6. http://gcc.gnu.org/gcc-3.0/c++features.html
14603 1.7 mrg 7. http://gcc.gnu.org/news/inlining.html
14604 1.7 mrg 8. http://gcc.gnu.org/news/dependencies.html
14605 1.7 mrg 9. http://gcc.gnu.org/c99status.html
14606 1.7 mrg 10. https://gcc.gnu.org/onlinedocs/gcc-3.4.6/g77/News.html
14607 1.7 mrg 11. http://gcc.gnu.org/gcc-3.0/libgcc.html
14608 1.7 mrg 12. http://gcc.gnu.org/gcc-2.95/features.html
14609 1.7 mrg 13. https://gcc.gnu.org/onlinedocs/
14610 1.7 mrg 14. mailto:gcc-help (a] gcc.gnu.org
14611 1.7 mrg 15. mailto:gcc (a] gcc.gnu.org
14612 1.7 mrg 16. https://gcc.gnu.org/lists.html
14613 1.7 mrg 17. http://www.fsf.org/
14614 1.7 mrg 18. https://gcc.gnu.org/about.html
14615 1.7 mrg 19. http://validator.w3.org/check/referer
14616 1.1 mrg ======================================================================
14617 1.1 mrg http://gcc.gnu.org/gcc-3.0/caveats.html
14618 1.1 mrg GCC 3.0 Caveats
14619 1.1 mrg
14620 1.1 mrg * -fstrict-aliasing is now part of -O2 and higher optimization
14621 1.1 mrg levels. This allows the compiler to assume the strictest aliasing
14622 1.1 mrg rules applicable to the language being compiled. For C and C++,
14623 1.1 mrg this activates optimizations based on the type of expressions. This
14624 1.1 mrg optimization may thus break old, non-compliant code.
14625 1.1 mrg * Enumerations are now properly promoted to int in function
14626 1.1 mrg parameters and function returns. Normally this change is not
14627 1.1 mrg visible, but when using -fshort-enums this is an ABI change.
14628 1.1 mrg * The undocumented extension that allowed C programs to have a label
14629 1.1 mrg at the end of a compound statement has been deprecated and may be
14630 1.1 mrg removed in a future version. Programs that now generate a warning
14631 1.1 mrg about this may be fixed by adding a null statement (a single
14632 1.1 mrg semicolon) after the label.
14633 1.1 mrg * The poorly documented extension that allowed string constants in C,
14634 1.1 mrg C++ and Objective C to contain unescaped newlines has been
14635 1.1 mrg deprecated and may be removed in a future version. Programs using
14636 1.1 mrg this extension may be fixed in several ways: the bare newline may
14637 1.1 mrg be replaced by \n, or preceded by \n\, or string concatenation may
14638 1.1 mrg be used with the bare newline preceded by \n" and " placed at the
14639 1.1 mrg start of the next line.
14640 1.1 mrg * The Chill compiler is not included in GCC 3.0, because of the lack
14641 1.1 mrg of a volunteer to convert it to use garbage collection.
14642 1.1 mrg * Certain non-standard iostream methods from earlier versions of
14643 1.1 mrg libstdc++ are not included in libstdc++ v3, i.e. filebuf::attach,
14644 1.1 mrg ostream::form, and istream::gets.
14645 1.1 mrg * The new C++ ABI is not yet fully supported by current (as of
14646 1.1 mrg 2001-07-01) releases and development versions of GDB, or any
14647 1.1 mrg earlier versions. There is a problem setting breakpoints by line
14648 1.1 mrg number, and other related issues that have been fixed in GCC 3.0
14649 1.1 mrg but not yet handled in GDB:
14650 1.4 mrg [1]https://gcc.gnu.org/ml/gcc-bugs/2001-06/msg00421.html
14651 1.1 mrg
14652 1.1 mrg
14653 1.1 mrg For questions related to the use of GCC, please consult these web
14654 1.1 mrg pages and the [2]GCC manuals. If that fails, the
14655 1.1 mrg [3]gcc-help (a] gcc.gnu.org mailing list might help. Comments on these
14656 1.1 mrg web pages and the development of GCC are welcome on our developer
14657 1.1 mrg list at [4]gcc (a] gcc.gnu.org. All of [5]our lists have public archives.
14658 1.1 mrg
14659 1.1 mrg Copyright (C) [6]Free Software Foundation, Inc. Verbatim copying and
14660 1.1 mrg distribution of this entire article is permitted in any medium,
14661 1.1 mrg provided this notice is preserved.
14662 1.1 mrg
14663 1.1 mrg These pages are [7]maintained by the GCC team. Last modified
14664 1.6 mrg 2016-01-30[8].
14665 1.1 mrg
14666 1.1 mrg References
14667 1.1 mrg
14668 1.4 mrg 1. https://gcc.gnu.org/ml/gcc-bugs/2001-06/msg00421.html
14669 1.4 mrg 2. https://gcc.gnu.org/onlinedocs/
14670 1.1 mrg 3. mailto:gcc-help (a] gcc.gnu.org
14671 1.1 mrg 4. mailto:gcc (a] gcc.gnu.org
14672 1.4 mrg 5. https://gcc.gnu.org/lists.html
14673 1.1 mrg 6. http://www.fsf.org/
14674 1.4 mrg 7. https://gcc.gnu.org/about.html
14675 1.1 mrg 8. http://validator.w3.org/check/referer
14676 1.1 mrg ======================================================================
14677 1.1 mrg http://gcc.gnu.org/gcc-2.95/index.html
14678 1.1 mrg GCC 2.95
14679 1.1 mrg
14680 1.1 mrg March 16, 2001: The GNU project and the GCC developers are pleased to
14681 1.1 mrg announce the release of GCC version 2.95.3.
14682 1.1 mrg
14683 1.7 mrg This release is no longer maintained.
14684 1.7 mrg
14685 1.1 mrg Release History
14686 1.1 mrg
14687 1.1 mrg GCC 2.95.3
14688 1.1 mrg March 16, 2001
14689 1.1 mrg
14690 1.1 mrg GCC 2.95.2
14691 1.1 mrg October 27, 1999
14692 1.1 mrg
14693 1.1 mrg GCC 2.95.1
14694 1.1 mrg August 19, 1999
14695 1.1 mrg
14696 1.1 mrg GCC 2.95
14697 1.1 mrg July 31, 1999. This is the first release of GCC since the April
14698 1.1 mrg 1999 GCC/EGCS reunification and includes nearly a year's worth
14699 1.1 mrg of new development and bugfixes.
14700 1.1 mrg
14701 1.1 mrg References and Acknowledgements
14702 1.1 mrg
14703 1.1 mrg GCC used to stand for the GNU C Compiler, but since the compiler
14704 1.1 mrg supports several other languages aside from C, it now stands for the
14705 1.1 mrg GNU Compiler Collection.
14706 1.1 mrg
14707 1.1 mrg The whole suite has been extensively [1]regression tested and
14708 1.1 mrg [2]package tested. It should be reliable and suitable for widespread
14709 1.1 mrg use.
14710 1.1 mrg
14711 1.1 mrg The compiler has several new optimizations, new targets, new languages
14712 1.1 mrg and other new features. See the [3]new features page for a more
14713 1.1 mrg complete list of new features found in the GCC 2.95 releases.
14714 1.1 mrg
14715 1.1 mrg The sources include installation instructions in both HTML and
14716 1.1 mrg plaintext forms in the install directory in the distribution. However,
14717 1.4 mrg the most up to date installation instructions and [4]build/test status
14718 1.4 mrg are on the web pages. We will update those pages as new information
14719 1.4 mrg becomes available.
14720 1.1 mrg
14721 1.1 mrg The GCC developers would like to thank the numerous people that have
14722 1.1 mrg contributed new features, test results, bugfixes, etc to GCC. This
14723 1.4 mrg [5]amazing group of volunteers is what makes GCC successful.
14724 1.1 mrg
14725 1.1 mrg And finally, we can't in good conscience fail to mention some
14726 1.4 mrg [6]caveats to using GCC 2.95.
14727 1.1 mrg
14728 1.4 mrg Download GCC 2.95 from one of our many [7]mirror sites.
14729 1.1 mrg
14730 1.4 mrg For additional information about GCC please see the [8]GCC project web
14731 1.4 mrg server or contact the [9]GCC development mailing list.
14732 1.1 mrg
14733 1.1 mrg
14734 1.1 mrg For questions related to the use of GCC, please consult these web
14735 1.4 mrg pages and the [10]GCC manuals. If that fails, the
14736 1.4 mrg [11]gcc-help (a] gcc.gnu.org mailing list might help. Comments on these
14737 1.1 mrg web pages and the development of GCC are welcome on our developer
14738 1.4 mrg list at [12]gcc (a] gcc.gnu.org. All of [13]our lists have public
14739 1.1 mrg archives.
14740 1.1 mrg
14741 1.4 mrg Copyright (C) [14]Free Software Foundation, Inc. Verbatim copying and
14742 1.1 mrg distribution of this entire article is permitted in any medium,
14743 1.1 mrg provided this notice is preserved.
14744 1.1 mrg
14745 1.4 mrg These pages are [15]maintained by the GCC team. Last modified
14746 1.7 mrg 2016-09-30[16].
14747 1.1 mrg
14748 1.1 mrg References
14749 1.1 mrg
14750 1.1 mrg 1. http://gcc.gnu.org/gcc-2.95/regress.html
14751 1.1 mrg 2. http://gcc.gnu.org/gcc-2.95/othertest.html
14752 1.1 mrg 3. http://gcc.gnu.org/gcc-2.95/features.html
14753 1.4 mrg 4. http://gcc.gnu.org/gcc-2.95/buildstat.html
14754 1.4 mrg 5. https://gcc.gnu.org/onlinedocs/gcc/Contributors.html
14755 1.4 mrg 6. http://gcc.gnu.org/gcc-2.95/caveats.html
14756 1.4 mrg 7. http://gcc.gnu.org/mirrors.html
14757 1.4 mrg 8. http://gcc.gnu.org/index.html
14758 1.4 mrg 9. mailto:gcc (a] gcc.gnu.org
14759 1.4 mrg 10. https://gcc.gnu.org/onlinedocs/
14760 1.4 mrg 11. mailto:gcc-help (a] gcc.gnu.org
14761 1.4 mrg 12. mailto:gcc (a] gcc.gnu.org
14762 1.4 mrg 13. https://gcc.gnu.org/lists.html
14763 1.4 mrg 14. http://www.fsf.org/
14764 1.4 mrg 15. https://gcc.gnu.org/about.html
14765 1.4 mrg 16. http://validator.w3.org/check/referer
14766 1.1 mrg ======================================================================
14767 1.1 mrg http://gcc.gnu.org/gcc-2.95/features.html
14768 1.1 mrg GCC 2.95 New Features
14769 1.1 mrg
14770 1.1 mrg * General Optimizer Improvements:
14771 1.1 mrg + [1]Localized register spilling to improve speed and code
14772 1.1 mrg density especially on small register class machines.
14773 1.1 mrg + [2]Global CSE using lazy code motion algorithms.
14774 1.1 mrg + [3]Improved global constant/copy propagation.
14775 1.1 mrg + [4]Improved control flow graph analysis and manipulation.
14776 1.1 mrg + [5]Local dead store elimination.
14777 1.1 mrg + [6]Memory Load hoisting/store sinking in loops.
14778 1.1 mrg + [7]Type based alias analysis is enabled by default. Note this
14779 1.1 mrg feature will expose bugs in the Linux kernel. Please refer to
14780 1.1 mrg the FAQ (as shipped with GCC 2.95) for additional information
14781 1.1 mrg on this issue.
14782 1.1 mrg + Major revamp of GIV detection, combination and simplification
14783 1.1 mrg to improve loop performance.
14784 1.1 mrg + Major improvements to register allocation and reloading.
14785 1.1 mrg * New Languages and Language specific improvements
14786 1.1 mrg + [8]Many C++ improvements.
14787 1.1 mrg + [9]Many Fortran improvements.
14788 1.7 mrg + [10]Java front-end has been integrated. A [11]runtime library
14789 1.7 mrg is available separately.
14790 1.1 mrg + [12]ISO C99 support
14791 1.1 mrg + [13]Chill front-end and runtime has been integrated.
14792 1.1 mrg + Boehm garbage collector support in libobjc.
14793 1.1 mrg + More support for various pragmas which appear in vendor
14794 1.1 mrg include files
14795 1.1 mrg * New Targets and Target Specific Improvements
14796 1.1 mrg + [14]SPARC backend rewrite.
14797 1.1 mrg + -mschedule=8000 will optimize code for PA8000 class
14798 1.1 mrg processors; -mpa-risc-2-0 will generate code for PA2.0
14799 1.1 mrg processors
14800 1.1 mrg + Various micro-optimizations for the ia32 port. K6
14801 1.1 mrg optimizations
14802 1.1 mrg + Compiler will attempt to align doubles in the stack on the
14803 1.1 mrg ia32 port
14804 1.1 mrg + Alpha EV6 support
14805 1.1 mrg + PowerPC 750
14806 1.1 mrg + RS6000/PowerPC: -mcpu=401 was added as an alias for -mcpu=403.
14807 1.1 mrg -mcpu=e603e was added to do -mcpu=603e and -msoft-float.
14808 1.1 mrg + c3x, c4x
14809 1.1 mrg + HyperSPARC
14810 1.1 mrg + SparcLite86x
14811 1.1 mrg + sh4
14812 1.1 mrg + Support for new systems (OpenBSD, FreeBSD, UWIN, Interix,
14813 1.1 mrg arm-linux)
14814 1.1 mrg + vxWorks targets include support for vxWorks threads
14815 1.1 mrg + StrongARM 110 and ARM9 support added. ARM Scheduling
14816 1.1 mrg parameters rewritten.
14817 1.1 mrg + Various changes to the MIPS port to avoid assembler macros,
14818 1.1 mrg which in turn improves performance
14819 1.1 mrg + Various performance improvements to the i960 port.
14820 1.1 mrg + Major rewrite of ns32k port
14821 1.1 mrg * Other significant improvements
14822 1.1 mrg + [15]Ability to dump cfg information and display it using vcg.
14823 1.1 mrg + The new faster scheme for fixing vendor header files is
14824 1.1 mrg enabled by default.
14825 1.1 mrg + Experimental internationalization support.
14826 1.1 mrg + multibyte character support
14827 1.1 mrg + Some compile-time speedups for pathological problems
14828 1.1 mrg + Better support for complex types
14829 1.1 mrg * Plus the usual mountain of bugfixes
14830 1.1 mrg * Core compiler is based on the gcc2 development tree from Sept 30,
14831 1.1 mrg 1998, so we have all of the [16]features found in GCC 2.8.
14832 1.1 mrg
14833 1.1 mrg Additional Changes in GCC 2.95.1
14834 1.1 mrg
14835 1.1 mrg * Generic bugfixes and improvements
14836 1.1 mrg + Various documentation fixes related to the GCC/EGCS merger.
14837 1.1 mrg + Fix memory management bug which could lead to spurious aborts,
14838 1.1 mrg core dumps or random parsing errors in the compiler.
14839 1.1 mrg + Fix a couple bugs in the dwarf1 and dwarf2 debug record
14840 1.1 mrg support.
14841 1.1 mrg + Fix infinite loop in the CSE optimizer.
14842 1.1 mrg + Avoid undefined behavior in compiler FP emulation code
14843 1.1 mrg + Fix install problem when prefix is overridden on the make
14844 1.1 mrg install command.
14845 1.1 mrg + Fix problem with unwanted installation of assert.h on some
14846 1.1 mrg systems.
14847 1.1 mrg + Fix problem with finding the wrong assembler in a single tree
14848 1.1 mrg build.
14849 1.1 mrg + Avoid increasing the known alignment of a register that is
14850 1.1 mrg already known to be a pointer.
14851 1.1 mrg * Platform specific bugfixes and improvements
14852 1.1 mrg + Codegen bugfix for prologue/epilogue for cpu32 target.
14853 1.1 mrg + Fix long long code generation bug for the Coldfire target.
14854 1.1 mrg + Fix various aborts in the SH compiler.
14855 1.1 mrg + Fix bugs in libgcc support library for the SH.
14856 1.1 mrg + Fix alpha ev6 code generation bug.
14857 1.1 mrg + Fix problems with EXIT_SUCCESS/EXIT_FAILURE redefinitions on
14858 1.1 mrg AIX platforms.
14859 1.1 mrg + Fix -fpic code generation bug for rs6000/ppc svr4 targets.
14860 1.1 mrg + Fix varargs/stdarg code generation bug for rs6000/ppc svr4
14861 1.1 mrg targets.
14862 1.1 mrg + Fix weak symbol handling for rs6000/ppc svr4 targets.
14863 1.1 mrg + Fix various problems with 64bit code generation for the
14864 1.1 mrg rs6000/ppc port.
14865 1.1 mrg + Fix codegen bug which caused tetex to be mis-compiled on the
14866 1.1 mrg x86.
14867 1.1 mrg + Fix compiler abort in new cfg code exposed by x86 port.
14868 1.1 mrg + Fix out of range array reference in code convert flat
14869 1.1 mrg registers to the x87 stacked FP register file.
14870 1.1 mrg + Fix minor vxworks configuration bug.
14871 1.1 mrg + Fix return type of bsearch for SunOS 4.x.
14872 1.1 mrg * Language & Runtime specific fixes.
14873 1.1 mrg + The G++ signature extension has been deprecated. It will be
14874 1.1 mrg removed in the next major release of G++. Use of signatures
14875 1.1 mrg will result in a warning from the compiler.
14876 1.1 mrg + Several bugs relating to templates and namespaces were fixed.
14877 1.1 mrg + A bug that caused crashes when combining templates with -g on
14878 1.1 mrg DWARF1 platforms was fixed.
14879 1.1 mrg + Pointers-to-members, virtual functions, and multiple
14880 1.1 mrg inheritance should now work together correctly.
14881 1.1 mrg + Some code-generation bugs relating to function try blocks were
14882 1.1 mrg fixed.
14883 1.1 mrg + G++ is a little bit more lenient with certain archaic
14884 1.1 mrg constructs than in GCC 2.95.
14885 1.1 mrg + Fix to prevent shared library version #s from bring truncated
14886 1.1 mrg to 1 digit
14887 1.1 mrg + Fix missing std:: in the libstdc++ library.
14888 1.1 mrg + Fix stream locking problems in libio.
14889 1.1 mrg + Fix problem in java compiler driver.
14890 1.1 mrg
14891 1.1 mrg Additional Changes in GCC 2.95.2
14892 1.1 mrg
14893 1.1 mrg The -fstrict-aliasing is not enabled by default for GCC 2.95.2. While
14894 1.1 mrg the optimizations performed by -fstrict-aliasing are valid according to
14895 1.1 mrg the C and C++ standards, the optimization have caused some problems,
14896 1.1 mrg particularly with old non-conforming code.
14897 1.1 mrg
14898 1.1 mrg The GCC developers are experimenting with ways to warn users about code
14899 1.1 mrg which violates the C/C++ standards, but those warnings are not ready
14900 1.1 mrg for widespread use at this time. Rather than wait for those warnings
14901 1.1 mrg the GCC developers have chosen to disable -fstrict-aliasing by default
14902 1.1 mrg for the GCC 2.95.2 release.
14903 1.1 mrg
14904 1.1 mrg We strongly encourage developers to find and fix code which violates
14905 1.1 mrg the C/C++ standards as -fstrict-aliasing may be enabled by default in
14906 1.1 mrg future releases. Use the option -fstrict-aliasing to re-enable these
14907 1.1 mrg optimizations.
14908 1.1 mrg * Generic bugfixes and improvements
14909 1.1 mrg + Fix incorrectly optimized memory reference in global common
14910 1.1 mrg subexpression elimination (GCSE) optimization pass.
14911 1.1 mrg + Fix code generation bug in regmove.c in which it could
14912 1.1 mrg incorrectly change a "const" value.
14913 1.1 mrg + Fix bug in optimization of conditionals involving volatile
14914 1.1 mrg memory references.
14915 1.1 mrg + Avoid over-allocation of stack space for some procedures.
14916 1.1 mrg + Fixed bug in the compiler which caused incorrect optimization
14917 1.1 mrg of an obscure series of bit manipulations, shifts and
14918 1.1 mrg arithmetic.
14919 1.1 mrg + Fixed register allocator bug which caused teTeX to be
14920 1.1 mrg mis-compiled on SPARC targets.
14921 1.1 mrg + Avoid incorrect optimization of degenerate case statements for
14922 1.1 mrg certain targets such as the ARM.
14923 1.1 mrg + Fix out of range memory reference in the jump optimizer.
14924 1.1 mrg + Avoid dereferencing null pointer in fix-header.
14925 1.1 mrg + Fix test for GCC specific features so that it is possible to
14926 1.1 mrg bootstrap with gcc-2.6.2 and older versions of GCC.
14927 1.1 mrg + Fix typo in scheduler which could potentially cause out of
14928 1.1 mrg range memory accesses.
14929 1.1 mrg + Avoid incorrect loop reversal which caused incorrect code for
14930 1.1 mrg certain loops on PowerPC targets.
14931 1.1 mrg + Avoid incorrect optimization of switch statements on certain
14932 1.1 mrg targets (for example the ARM).
14933 1.1 mrg * Platform specific bugfixes and improvements
14934 1.1 mrg + Work around bug in Sun V5.0 compilers which caused bootstrap
14935 1.1 mrg comparison failures on SPARC targets.
14936 1.1 mrg + Fix SPARC backend bug which caused aborts in final.c.
14937 1.1 mrg + Fix sparc-hal-solaris2* configuration fragments.
14938 1.1 mrg + Fix bug in sparc block profiling.
14939 1.1 mrg + Fix obscure code generation bug for the PARISC targets.
14940 1.1 mrg + Define __STDC_EXT__ for HPUX configurations.
14941 1.1 mrg + Various POWERPC64 code generation bugfixes.
14942 1.1 mrg + Fix abort for PPC targets using ELF (ex GNU/Linux).
14943 1.1 mrg + Fix collect2 problems for AIX targets.
14944 1.1 mrg + Correct handling of .file directive for PPC targets.
14945 1.1 mrg + Fix bug in fix_trunc x86 patterns.
14946 1.1 mrg + Fix x86 port to correctly pop the FP stack for functions that
14947 1.1 mrg return structures in memory.
14948 1.1 mrg + Fix minor bug in strlen x86 pattern.
14949 1.1 mrg + Use stabs debugging instead of dwarf1 for x86-solaris targets.
14950 1.1 mrg + Fix template repository code to handle leading underscore in
14951 1.1 mrg mangled names.
14952 1.1 mrg + Fix weak/weak alias support for OpenBSD.
14953 1.1 mrg + GNU/Linux for the ARM has C++ compatible include files.
14954 1.1 mrg * Language & Runtime specific fixes.
14955 1.1 mrg + Fix handling of constructor attribute in the C front-end which
14956 1.1 mrg caused problems building the Chill runtime library on some
14957 1.1 mrg targets.
14958 1.1 mrg + Fix minor problem merging type qualifiers in the C front-end.
14959 1.1 mrg + Fix aliasing bug for pointers and references (C/C++).
14960 1.1 mrg + Fix incorrect "non-constant initializer bug" when -traditional
14961 1.1 mrg or -fwritable-strings is enabled.
14962 1.1 mrg + Fix build error for Chill front-end on SunOS.
14963 1.1 mrg + Do not complain about duplicate instantiations when using
14964 1.1 mrg -frepo (C++).
14965 1.1 mrg + Fix array bounds handling in C++ front-end which caused
14966 1.1 mrg problems with dwarf debugging information in some
14967 1.1 mrg circumstances.
14968 1.1 mrg + Fix minor namespace problem.
14969 1.1 mrg + Fix problem linking java programs.
14970 1.1 mrg
14971 1.1 mrg Additional Changes in GCC 2.95.3
14972 1.1 mrg
14973 1.1 mrg * Generic bugfixes and improvements
14974 1.1 mrg + Fix numerous problems that caused incorrect optimization in
14975 1.1 mrg the register reloading code.
14976 1.1 mrg + Fix numerous problems that caused incorrect optimization in
14977 1.1 mrg the loop optimizer.
14978 1.1 mrg + Fix aborts in the functions build_insn_chain and scan_loops
14979 1.1 mrg under some circumstances.
14980 1.1 mrg + Fix an alias analysis bug.
14981 1.1 mrg + Fix an infinite compilation bug in the combiner.
14982 1.1 mrg + A few problems with complex number support have been fixed.
14983 1.1 mrg + It is no longer possible for gcc to act as a fork bomb when
14984 1.1 mrg installed incorrectly.
14985 1.1 mrg + The -fpack-struct option should be recognized now.
14986 1.1 mrg + Fixed a bug that caused incorrect code to be generated due to
14987 1.1 mrg a lost stack adjustment.
14988 1.1 mrg * Platform specific bugfixes and improvements
14989 1.1 mrg + Support building ARM toolchains hosted on Windows.
14990 1.1 mrg + Fix attribute calculations in ARM toolchains.
14991 1.1 mrg + arm-linux support has been improved.
14992 1.1 mrg + Fix a PIC failure on sparc targets.
14993 1.1 mrg + On ix86 targets, the regparm attribute should now work
14994 1.1 mrg reliably.
14995 1.1 mrg + Several updates for the h8300 port.
14996 1.1 mrg + Fix problem building libio with glibc 2.2.
14997 1.1 mrg
14998 1.1 mrg
14999 1.1 mrg For questions related to the use of GCC, please consult these web
15000 1.1 mrg pages and the [17]GCC manuals. If that fails, the
15001 1.1 mrg [18]gcc-help (a] gcc.gnu.org mailing list might help. Comments on these
15002 1.1 mrg web pages and the development of GCC are welcome on our developer
15003 1.1 mrg list at [19]gcc (a] gcc.gnu.org. All of [20]our lists have public
15004 1.1 mrg archives.
15005 1.1 mrg
15006 1.1 mrg Copyright (C) [21]Free Software Foundation, Inc. Verbatim copying and
15007 1.1 mrg distribution of this entire article is permitted in any medium,
15008 1.1 mrg provided this notice is preserved.
15009 1.1 mrg
15010 1.1 mrg These pages are [22]maintained by the GCC team. Last modified
15011 1.7 mrg 2016-12-29[23].
15012 1.1 mrg
15013 1.1 mrg References
15014 1.1 mrg
15015 1.1 mrg 1. http://gcc.gnu.org/news/spill.html
15016 1.1 mrg 2. http://gcc.gnu.org/news/lcm.html
15017 1.1 mrg 3. http://gcc.gnu.org/news/cprop.html
15018 1.1 mrg 4. http://gcc.gnu.org/news/cfg.html
15019 1.1 mrg 5. http://gcc.gnu.org/news/dse.html
15020 1.1 mrg 6. http://gcc.gnu.org/news/hoist.html
15021 1.1 mrg 7. http://gcc.gnu.org/news/alias.html
15022 1.1 mrg 8. http://gcc.gnu.org/gcc-2.95/c++features.html
15023 1.4 mrg 9. https://gcc.gnu.org/onlinedocs/gcc-3.4.6/g77/News.html
15024 1.7 mrg 10. http://gcc.gnu.org/news/gcj-announce.txt
15025 1.1 mrg 11. http://gcc.gnu.org/news/javaannounce.html
15026 1.1 mrg 12. http://gcc.gnu.org/c99status.html
15027 1.1 mrg 13. http://gcc.gnu.org/news/chill.html
15028 1.1 mrg 14. http://gcc.gnu.org/news/sparc.html
15029 1.1 mrg 15. http://gcc.gnu.org/news/egcs-vcg.html
15030 1.1 mrg 16. http://gcc.gnu.org/egcs-1.0/features-2.8.html
15031 1.4 mrg 17. https://gcc.gnu.org/onlinedocs/
15032 1.1 mrg 18. mailto:gcc-help (a] gcc.gnu.org
15033 1.1 mrg 19. mailto:gcc (a] gcc.gnu.org
15034 1.4 mrg 20. https://gcc.gnu.org/lists.html
15035 1.1 mrg 21. http://www.fsf.org/
15036 1.4 mrg 22. https://gcc.gnu.org/about.html
15037 1.1 mrg 23. http://validator.w3.org/check/referer
15038 1.1 mrg ======================================================================
15039 1.1 mrg http://gcc.gnu.org/gcc-2.95/caveats.html
15040 1.1 mrg GCC 2.95 Caveats
15041 1.1 mrg
15042 1.1 mrg * GCC 2.95 will issue an error for invalid asm statements that had
15043 1.1 mrg been silently accepted by earlier versions of the compiler. This is
15044 1.1 mrg particularly noticeable when compiling older versions of the Linux
15045 1.1 mrg kernel (2.0.xx). Please refer to the FAQ (as shipped with GCC 2.95)
15046 1.1 mrg for more information on this issue.
15047 1.1 mrg * GCC 2.95 implements type based alias analysis to disambiguate
15048 1.1 mrg memory references. Some programs, particularly the Linux kernel
15049 1.1 mrg violate ANSI/ISO aliasing rules and therefore may not operate
15050 1.1 mrg correctly when compiled with GCC 2.95. Please refer to the FAQ (as
15051 1.1 mrg shipped with GCC 2.95) for more information on this issue.
15052 1.1 mrg * GCC 2.95 has a known bug in its handling of complex variables for
15053 1.1 mrg 64bit targets. Instead of silently generating incorrect code, GCC
15054 1.1 mrg 2.95 will issue a fatal error for situations it can not handle.
15055 1.1 mrg This primarily affects the Fortran community as Fortran makes more
15056 1.1 mrg use of complex variables than C or C++.
15057 1.1 mrg * GCC 2.95 has an integrated libstdc++, but does not have an
15058 1.1 mrg integrated libg++. Furthermore old libg++ releases will not work
15059 1.1 mrg with GCC 2.95. You can retrieve a recent copy of libg++ from the
15060 1.1 mrg [1]GCC ftp server.
15061 1.1 mrg Note most C++ programs only need libstdc++.
15062 1.1 mrg * Exception handling may not work with shared libraries, particularly
15063 1.1 mrg on alphas, hppas, rs6000/powerpc and mips based platforms.
15064 1.1 mrg Exception handling is known to work on x86 GNU/Linux platforms with
15065 1.1 mrg shared libraries.
15066 1.1 mrg * In general, GCC 2.95 is more rigorous about rejecting invalid C++
15067 1.1 mrg code or deprecated C++ constructs than G++ 2.7, G++ 2.8, EGCS 1.0,
15068 1.1 mrg or EGCS 1.1. As a result it may be necessary to fix C++ code before
15069 1.1 mrg it will compile with GCC 2.95.
15070 1.1 mrg * G++ is also converting toward the ISO C++ standard; as a result
15071 1.1 mrg code which was previously valid (and thus accepted by other
15072 1.1 mrg compilers and older versions of g++) may no longer be accepted. The
15073 1.1 mrg flag -fpermissive may allow some non-conforming code to compile
15074 1.1 mrg with GCC 2.95.
15075 1.1 mrg * GCC 2.95 compiled C++ code is not binary compatible with EGCS
15076 1.1 mrg 1.1.x, EGCS 1.0.x or GCC 2.8.x.
15077 1.1 mrg * GCC 2.95 does not have changes from the GCC 2.8 tree that were made
15078 1.1 mrg between Sept 30, 1998 and April 30, 1999 (the official end of the
15079 1.1 mrg GCC 2.8 project). Future GCC releases will include all the changes
15080 1.1 mrg from the defunct GCC 2.8 sources.
15081 1.1 mrg
15082 1.1 mrg
15083 1.1 mrg For questions related to the use of GCC, please consult these web
15084 1.1 mrg pages and the [2]GCC manuals. If that fails, the
15085 1.1 mrg [3]gcc-help (a] gcc.gnu.org mailing list might help. Comments on these
15086 1.1 mrg web pages and the development of GCC are welcome on our developer
15087 1.1 mrg list at [4]gcc (a] gcc.gnu.org. All of [5]our lists have public archives.
15088 1.1 mrg
15089 1.1 mrg Copyright (C) [6]Free Software Foundation, Inc. Verbatim copying and
15090 1.1 mrg distribution of this entire article is permitted in any medium,
15091 1.1 mrg provided this notice is preserved.
15092 1.1 mrg
15093 1.1 mrg These pages are [7]maintained by the GCC team. Last modified
15094 1.6 mrg 2016-01-30[8].
15095 1.1 mrg
15096 1.1 mrg References
15097 1.1 mrg
15098 1.1 mrg 1. ftp://gcc.gnu.org/pub/gcc/infrastructure/libg++-2.8.1.3.tar.gz
15099 1.4 mrg 2. https://gcc.gnu.org/onlinedocs/
15100 1.1 mrg 3. mailto:gcc-help (a] gcc.gnu.org
15101 1.1 mrg 4. mailto:gcc (a] gcc.gnu.org
15102 1.4 mrg 5. https://gcc.gnu.org/lists.html
15103 1.1 mrg 6. http://www.fsf.org/
15104 1.4 mrg 7. https://gcc.gnu.org/about.html
15105 1.1 mrg 8. http://validator.w3.org/check/referer
15106 1.1 mrg ======================================================================
15107 1.1 mrg http://gcc.gnu.org/egcs-1.1/index.html
15108 1.1 mrg EGCS 1.1
15109 1.1 mrg
15110 1.1 mrg September 3, 1998: We are pleased to announce the release of EGCS 1.1.
15111 1.1 mrg December 1, 1998: We are pleased to announce the release of EGCS 1.1.1.
15112 1.1 mrg March 15, 1999: We are pleased to announce the release of EGCS 1.1.2.
15113 1.1 mrg
15114 1.1 mrg EGCS is a free software project to further the development of the GNU
15115 1.1 mrg compilers using an open development environment.
15116 1.1 mrg
15117 1.1 mrg EGCS 1.1 is a major new release of the EGCS compiler system. It has
15118 1.1 mrg been [1]extensively tested and is believed to be stable and suitable
15119 1.1 mrg for widespread use.
15120 1.1 mrg
15121 1.1 mrg EGCS 1.1 is based on an June 6, 1998 snapshot of the GCC 2.8
15122 1.1 mrg development sources; it contains all of the new features found in GCC
15123 1.1 mrg 2.8.1 as well as all new development from GCC up to June 6, 1998.
15124 1.1 mrg
15125 1.1 mrg EGCS 1.1 also contains many improvements and features not found in GCC
15126 1.1 mrg or in older versions of EGCS:
15127 1.1 mrg * Global common subexpression elimination and global constant/copy
15128 1.1 mrg propagation (aka [2]gcse)
15129 1.1 mrg * Ongoing improvements to the [3]alias analysis support to allow for
15130 1.1 mrg better optimizations throughout the compiler.
15131 1.1 mrg * Vastly improved [4]C++ compiler and integrated C++ runtime
15132 1.1 mrg libraries.
15133 1.1 mrg * Fixes for the /tmp symlink race security problems.
15134 1.1 mrg * New targets including mips16, arm-thumb and 64 bit PowerPC.
15135 1.1 mrg * Improvements to GNU Fortran (g77) compiler and runtime library made
15136 1.1 mrg since g77 version 0.5.23.
15137 1.1 mrg
15138 1.1 mrg See the [5]new features page for a more complete list of new features
15139 1.1 mrg found in EGCS 1.1 releases.
15140 1.1 mrg
15141 1.1 mrg EGCS 1.1.1 is a minor update to fix several serious problems in EGCS
15142 1.1 mrg 1.1:
15143 1.1 mrg * General improvements and fixes
15144 1.1 mrg + Avoid some stack overflows when compiling large functions.
15145 1.1 mrg + Avoid incorrect loop invariant code motions.
15146 1.1 mrg + Fix some core dumps on Linux kernel code.
15147 1.1 mrg + Bring back the imake -Di386 and friends fix from EGCS 1.0.2.
15148 1.1 mrg + Fix code generation problem in gcse.
15149 1.1 mrg + Various documentation related fixes.
15150 1.1 mrg * g++/libstdc++ improvements and fixes
15151 1.1 mrg + MT safe EH fix for setjmp/longjmp based exception handling.
15152 1.1 mrg + Fix a few bad interactions between optimization and exception
15153 1.1 mrg handling.
15154 1.1 mrg + Fixes for demangling of template names starting with "__".
15155 1.1 mrg + Fix a bug that would fail to run destructors in some cases
15156 1.1 mrg with -O2.
15157 1.1 mrg + Fix 'new' of classes with virtual bases.
15158 1.1 mrg + Fix crash building Qt on the Alpha.
15159 1.1 mrg + Fix failure compiling WIFEXITED macro on GNU/Linux.
15160 1.1 mrg + Fix some -frepo failures.
15161 1.1 mrg * g77 and libf2c improvements and fixes
15162 1.1 mrg + Various documentation fixes.
15163 1.1 mrg + Avoid compiler crash on RAND intrinsic.
15164 1.1 mrg + Fix minor bugs in makefiles exposed by BSD make programs.
15165 1.1 mrg + Define _XOPEN_SOURCE for libI77 build to avoid potential
15166 1.1 mrg problems on some 64-bit systems.
15167 1.1 mrg + Fix problem with implicit endfile on rewind.
15168 1.1 mrg + Fix spurious recursive I/O errors.
15169 1.1 mrg * platform specific improvements and fixes
15170 1.1 mrg + Match all versions of UnixWare7.
15171 1.1 mrg + Do not assume x86 SVR4 or UnixWare targets can handle stabs.
15172 1.1 mrg + Fix PPC/RS6000 LEGITIMIZE_ADDRESS macro and bug in conversion
15173 1.1 mrg from unsigned ints to double precision floats.
15174 1.1 mrg + Fix ARM ABI issue with NetBSD.
15175 1.1 mrg + Fix a few arm code generation bugs.
15176 1.1 mrg + Fixincludes will fix additional broken SCO OpenServer header
15177 1.1 mrg files.
15178 1.1 mrg + Fix a m68k backend bug which caused invalid offsets in reg+d
15179 1.1 mrg addresses.
15180 1.1 mrg + Fix problems with 64bit AIX 4.3 support.
15181 1.1 mrg + Fix handling of long longs for varargs/stdarg functions on the
15182 1.1 mrg ppc.
15183 1.1 mrg + Minor fixes to CPP predefines for Windows.
15184 1.1 mrg + Fix code generation problems with gpr<->fpr copies for 64bit
15185 1.1 mrg ppc.
15186 1.1 mrg + Fix a few coldfire code generation bugs.
15187 1.1 mrg + Fix some more header file problems on SunOS 4.x.
15188 1.1 mrg + Fix assert.h handling for RTEMS.
15189 1.1 mrg + Fix Windows handling of TREE_SYMBOL_REFERENCED.
15190 1.1 mrg + Fix x86 compiler abort in reg-stack pass.
15191 1.1 mrg + Fix cygwin/windows problem with section attributes.
15192 1.1 mrg + Fix Alpha code generation problem exposed by SMP Linux
15193 1.1 mrg kernels.
15194 1.1 mrg + Fix typo in m68k 32->64bit integer conversion.
15195 1.1 mrg + Make sure target libraries build with -fPIC for PPC & Alpha
15196 1.1 mrg targets.
15197 1.1 mrg
15198 1.1 mrg EGCS 1.1.2 is a minor update to fix several serious problems in EGCS
15199 1.1 mrg 1.1.1:
15200 1.1 mrg * General improvements and fixes
15201 1.1 mrg + Fix bug in loop optimizer which caused the SPARC (and
15202 1.1 mrg potentially other) ports to segfault.
15203 1.1 mrg + Fix infinite recursion in alias analysis and combiner code.
15204 1.1 mrg + Fix bug in regclass preferencing.
15205 1.1 mrg + Fix incorrect loop reversal which caused incorrect code to be
15206 1.1 mrg generated for several targets.
15207 1.1 mrg + Fix return value for builtin memcpy.
15208 1.1 mrg + Reduce compile time for certain loops which exposed quadratic
15209 1.1 mrg behavior in the loop optimizer.
15210 1.1 mrg + Fix bug which caused volatile memory to be written multiple
15211 1.1 mrg times when only one write was needed/desired.
15212 1.1 mrg + Fix compiler abort in caller-save.c
15213 1.1 mrg + Fix combiner bug which caused incorrect code generation for
15214 1.1 mrg certain division by constant operations.
15215 1.1 mrg + Fix incorrect code generation due to a bug in range check
15216 1.1 mrg optimizations.
15217 1.1 mrg + Fix incorrect code generation due to mis-handling of clobbered
15218 1.1 mrg values in CSE.
15219 1.1 mrg + Fix compiler abort/segfault due to incorrect register
15220 1.1 mrg splitting when unrolling loops.
15221 1.1 mrg + Fix code generation involving autoincremented addresses with
15222 1.1 mrg ternary operators.
15223 1.1 mrg + Work around bug in the scheduler which caused qt to be
15224 1.1 mrg mis-compiled on some platforms.
15225 1.1 mrg + Fix code generation problems with -fshort-enums.
15226 1.1 mrg + Tighten security for temporary files.
15227 1.1 mrg + Improve compile time for codes which make heavy use of
15228 1.1 mrg overloaded functions.
15229 1.1 mrg + Fix multiply defined constructor/destructor symbol problems.
15230 1.1 mrg + Avoid setting bogus RPATH environment variable during
15231 1.1 mrg bootstrap.
15232 1.1 mrg + Avoid GNU-make dependencies in the texinfo subdir.
15233 1.1 mrg + Install CPP wrapper script in $(prefix)/bin if --enable-cpp.
15234 1.1 mrg --enable-cpp=<dirname> can be used to specify an additional
15235 1.1 mrg install directory for the cpp wrapper script.
15236 1.1 mrg + Fix CSE bug which caused incorrect label-label refs to appear
15237 1.1 mrg on some platforms.
15238 1.1 mrg + Avoid linking in EH routines from libgcc if they are not
15239 1.1 mrg needed.
15240 1.1 mrg + Avoid obscure bug in aliasing code.
15241 1.1 mrg + Fix bug in weak symbol handling.
15242 1.1 mrg * Platform-specific improvements and fixes
15243 1.1 mrg + Fix detection of PPro/PII on Unixware 7.
15244 1.1 mrg + Fix compiler segfault when building spec99 and other programs
15245 1.1 mrg for SPARC targets.
15246 1.1 mrg + Fix code-generation bugs for integer and floating point
15247 1.1 mrg conditional move instructions on the PPro/PII.
15248 1.1 mrg + Use fixincludes to fix byteorder problems on i?86-*-sysv.
15249 1.1 mrg + Fix build failure for the arc port.
15250 1.1 mrg + Fix floating point format configuration for i?86-gnu port.
15251 1.1 mrg + Fix problems with hppa1.0-hp-hpux10.20 configuration when
15252 1.1 mrg threads are enabled.
15253 1.1 mrg + Fix coldfire code generation bugs.
15254 1.1 mrg + Fix "unrecognized insn" problems for Alpha and PPC ports.
15255 1.1 mrg + Fix h8/300 code generation problem with floating point values
15256 1.1 mrg in memory.
15257 1.1 mrg + Fix unrecognized insn problems for the m68k port.
15258 1.1 mrg + Fix namespace-pollution problem for the x86 port.
15259 1.1 mrg + Fix problems with old assembler on x86 NeXT systems.
15260 1.1 mrg + Fix PIC code-generation problems for the SPARC port.
15261 1.1 mrg + Fix minor bug with LONG_CALLS in PowerPC SVR4 support.
15262 1.1 mrg + Fix minor ISO namespace violation in Alpha varargs/stdarg
15263 1.1 mrg support.
15264 1.1 mrg + Fix incorrect "braf" instruction usage for the SH port.
15265 1.1 mrg + Fix minor bug in va-sh which prevented its use with -ansi.
15266 1.1 mrg + Fix problems recognizing and supporting FreeBSD.
15267 1.1 mrg + Handle OpenBSD systems correctly.
15268 1.1 mrg + Minor fixincludes fix for Digital UNIX 4.0B.
15269 1.1 mrg + Fix problems with ctors/dtors in SCO shared libraries.
15270 1.1 mrg + Abort instead of generating incorrect code for PPro/PII
15271 1.1 mrg floating point conditional moves.
15272 1.3 skrll + Avoid multiply defined symbols on GNU/Linux systems using
15273 1.1 mrg libc-5.4.xx.
15274 1.1 mrg + Fix abort in alpha compiler.
15275 1.1 mrg * Fortran-specific fixes
15276 1.1 mrg + Fix the IDate intrinsic (VXT) (in libg2c) so the returned year
15277 1.1 mrg is in the documented, non-Y2K-compliant range of 0-99, instead
15278 1.1 mrg of being returned as 100 in the year 2000.
15279 1.1 mrg + Fix the `Date_and_Time' intrinsic (in libg2c) to return the
15280 1.1 mrg milliseconds value properly in Values(8).
15281 1.1 mrg + Fix the `LStat' intrinsic (in libg2c) to return device-ID
15282 1.1 mrg information properly in SArray(7).
15283 1.1 mrg
15284 1.1 mrg Each release includes installation instructions in both HTML and
15285 1.1 mrg plaintext forms (see the INSTALL directory in the toplevel directory of
15286 1.1 mrg the distribution). However, we also keep the most up to date
15287 1.4 mrg installation instructions and [6]build/test status on our web page. We
15288 1.4 mrg will update those pages as new information becomes available.
15289 1.1 mrg
15290 1.1 mrg The EGCS project would like to thank the numerous people that have
15291 1.4 mrg contributed new features, test results, bugfixes, etc. This [7]amazing
15292 1.1 mrg group of volunteers is what makes EGCS successful.
15293 1.1 mrg
15294 1.1 mrg And finally, we can't in good conscience fail to mention some
15295 1.4 mrg [8]caveats to using EGCS 1.1.
15296 1.1 mrg
15297 1.1 mrg Download EGCS from egcs.cygnus.com (USA California).
15298 1.1 mrg
15299 1.1 mrg The EGCS 1.1 release is also available on many mirror sites.
15300 1.4 mrg [9]Goto mirror list to find a closer site.
15301 1.1 mrg
15302 1.1 mrg
15303 1.1 mrg For questions related to the use of GCC, please consult these web
15304 1.4 mrg pages and the [10]GCC manuals. If that fails, the
15305 1.4 mrg [11]gcc-help (a] gcc.gnu.org mailing list might help. Comments on these
15306 1.1 mrg web pages and the development of GCC are welcome on our developer
15307 1.4 mrg list at [12]gcc (a] gcc.gnu.org. All of [13]our lists have public
15308 1.1 mrg archives.
15309 1.1 mrg
15310 1.4 mrg Copyright (C) [14]Free Software Foundation, Inc. Verbatim copying and
15311 1.1 mrg distribution of this entire article is permitted in any medium,
15312 1.1 mrg provided this notice is preserved.
15313 1.1 mrg
15314 1.4 mrg These pages are [15]maintained by the GCC team. Last modified
15315 1.6 mrg 2016-01-30[16].
15316 1.1 mrg
15317 1.1 mrg References
15318 1.1 mrg
15319 1.1 mrg 1. http://gcc.gnu.org/egcs-1.1/egcs-1.1-test.html
15320 1.1 mrg 2. http://gcc.gnu.org/news/gcse.html
15321 1.1 mrg 3. http://gcc.gnu.org/news/alias.html
15322 1.1 mrg 4. http://gcc.gnu.org/egcs-1.1/c++features.html
15323 1.1 mrg 5. http://gcc.gnu.org/egcs-1.1/features.html
15324 1.4 mrg 6. http://gcc.gnu.org/egcs-1.1/buildstat.html
15325 1.4 mrg 7. https://gcc.gnu.org/onlinedocs/gcc/Contributors.html
15326 1.4 mrg 8. http://gcc.gnu.org/egcs-1.1/caveats.html
15327 1.4 mrg 9. http://gcc.gnu.org/mirrors.html
15328 1.4 mrg 10. https://gcc.gnu.org/onlinedocs/
15329 1.4 mrg 11. mailto:gcc-help (a] gcc.gnu.org
15330 1.4 mrg 12. mailto:gcc (a] gcc.gnu.org
15331 1.4 mrg 13. https://gcc.gnu.org/lists.html
15332 1.4 mrg 14. http://www.fsf.org/
15333 1.4 mrg 15. https://gcc.gnu.org/about.html
15334 1.4 mrg 16. http://validator.w3.org/check/referer
15335 1.1 mrg ======================================================================
15336 1.1 mrg http://gcc.gnu.org/egcs-1.1/features.html
15337 1.1 mrg EGCS 1.1 new features
15338 1.1 mrg
15339 1.1 mrg * Integrated GNU Fortran (g77) compiler and runtime library with
15340 1.1 mrg improvements, based on g77 version 0.5.23.
15341 1.1 mrg * Vast improvements in the C++ compiler; so many they have [1]page of
15342 1.1 mrg their own!
15343 1.1 mrg * Compiler implements [2]global common subexpression elimination and
15344 1.1 mrg global copy/constant propagation.
15345 1.1 mrg * More major improvements in the [3]alias analysis code.
15346 1.1 mrg * More major improvements in the exception handling code to improve
15347 1.1 mrg performance, lower static overhead and provide the infrastructure
15348 1.1 mrg for future improvements.
15349 1.1 mrg * The infamous /tmp symlink race security problems have been fixed.
15350 1.1 mrg * The regmove optimization pass has been nearly completely rewritten
15351 1.1 mrg to improve performance of generated code.
15352 1.1 mrg * The compiler now recomputes register usage information before local
15353 1.1 mrg register allocation. By providing more accurate information to the
15354 1.1 mrg priority based allocator, we get better register allocation.
15355 1.1 mrg * The register reloading phase of the compiler optimizes spill code
15356 1.1 mrg much better than in previous releases.
15357 1.1 mrg * Some bad interactions between the register allocator and
15358 1.1 mrg instruction scheduler have been fixed, resulting in much better
15359 1.1 mrg code for certain programs. Additionally, we have tuned the
15360 1.1 mrg scheduler in various ways to improve performance of generated code
15361 1.1 mrg for some architectures.
15362 1.1 mrg * The compiler's branch shortening algorithms have been significantly
15363 1.1 mrg improved to work better on targets which align jump targets.
15364 1.1 mrg * The compiler now supports -Os to prefer optimizing for code space
15365 1.1 mrg over optimizing for code speed.
15366 1.1 mrg * The compiler will now totally eliminate library calls which compute
15367 1.1 mrg constant values. This primarily helps targets with no integer
15368 1.1 mrg div/mul support and targets without floating point support.
15369 1.1 mrg * The compiler now supports an extensive "--help" option.
15370 1.1 mrg * cpplib has been greatly improved and may be suitable for limited
15371 1.1 mrg use.
15372 1.1 mrg * Memory footprint for the compiler has been significantly reduced
15373 1.1 mrg for some pathological cases.
15374 1.1 mrg * The time to build EGCS has been improved for certain targets
15375 1.1 mrg (particularly the alpha and mips platforms).
15376 1.1 mrg * Many infrastructure improvements throughout the compiler, plus the
15377 1.1 mrg usual mountain of bugfixes and minor improvements.
15378 1.1 mrg * Target dependent improvements:
15379 1.1 mrg + SPARC port now includes V8 plus and V9 support as well as
15380 1.1 mrg performance tuning for Ultra class machines. The SPARC port
15381 1.1 mrg now uses the Haifa scheduler.
15382 1.1 mrg + Alpha port has been tuned for the EV6 processor and has an
15383 1.1 mrg optimized expansion of memcpy/bzero. The Alpha port now uses
15384 1.1 mrg the Haifa scheduler.
15385 1.1 mrg + RS6000/PowerPC: support for the Power64 architecture and AIX
15386 1.1 mrg 4.3. The RS6000/PowerPC port now uses the Haifa scheduler.
15387 1.1 mrg + x86: Alignment of static store data and jump targets is per
15388 1.1 mrg Intel recommendations now. Various improvements throughout the
15389 1.1 mrg x86 port to improve performance on Pentium processors
15390 1.1 mrg (including improved epilogue sequences for Pentium chips and
15391 1.1 mrg backend improvements which should help register allocation on
15392 1.1 mrg all x86 variants. Conditional move support has been fixed and
15393 1.1 mrg enabled for PPro processors. The x86 port also better supports
15394 1.1 mrg 64bit operations now. Unixware 7, a System V Release 5 target,
15395 1.1 mrg is now supported and SCO OpenServer targets can support GAS.
15396 1.1 mrg + MIPS has improved multiply/multiply-add support and now
15397 1.1 mrg includes mips16 ISA support.
15398 1.1 mrg + M68k has many micro-optimizations and Coldfire fixes.
15399 1.1 mrg * Core compiler is based on the GCC development tree from June 9,
15400 1.1 mrg 1998, so we have all of the [4]features found in GCC 2.8.
15401 1.1 mrg
15402 1.1 mrg
15403 1.1 mrg For questions related to the use of GCC, please consult these web
15404 1.1 mrg pages and the [5]GCC manuals. If that fails, the
15405 1.1 mrg [6]gcc-help (a] gcc.gnu.org mailing list might help. Comments on these
15406 1.1 mrg web pages and the development of GCC are welcome on our developer
15407 1.1 mrg list at [7]gcc (a] gcc.gnu.org. All of [8]our lists have public archives.
15408 1.1 mrg
15409 1.1 mrg Copyright (C) [9]Free Software Foundation, Inc. Verbatim copying and
15410 1.1 mrg distribution of this entire article is permitted in any medium,
15411 1.1 mrg provided this notice is preserved.
15412 1.1 mrg
15413 1.1 mrg These pages are [10]maintained by the GCC team. Last modified
15414 1.6 mrg 2016-01-30[11].
15415 1.1 mrg
15416 1.1 mrg References
15417 1.1 mrg
15418 1.1 mrg 1. http://gcc.gnu.org/egcs-1.1/c++features.html
15419 1.1 mrg 2. http://gcc.gnu.org/news/gcse.html
15420 1.1 mrg 3. http://gcc.gnu.org/news/alias.html
15421 1.1 mrg 4. http://gcc.gnu.org/egcs-1.0/features-2.8.html
15422 1.4 mrg 5. https://gcc.gnu.org/onlinedocs/
15423 1.1 mrg 6. mailto:gcc-help (a] gcc.gnu.org
15424 1.1 mrg 7. mailto:gcc (a] gcc.gnu.org
15425 1.4 mrg 8. https://gcc.gnu.org/lists.html
15426 1.1 mrg 9. http://www.fsf.org/
15427 1.4 mrg 10. https://gcc.gnu.org/about.html
15428 1.1 mrg 11. http://validator.w3.org/check/referer
15429 1.1 mrg ======================================================================
15430 1.1 mrg http://gcc.gnu.org/egcs-1.1/caveats.html
15431 1.1 mrg EGCS 1.1 Caveats
15432 1.1 mrg
15433 1.1 mrg * EGCS has an integrated libstdc++, but does not have an integrated
15434 1.1 mrg libg++. Furthermore old libg++ releases will not work with EGCS; HJ
15435 1.1 mrg Lu has made a libg++-2.8.1.2 snapshot available which may work with
15436 1.1 mrg EGCS.
15437 1.1 mrg Note most C++ programs only need libstdc++.
15438 1.1 mrg * Exception handling may not work with shared libraries, particularly
15439 1.1 mrg on alphas, hppas, rs6000/powerpc and mips based platforms.
15440 1.1 mrg Exception handling is known to work on x86-linux platforms with
15441 1.1 mrg shared libraries.
15442 1.1 mrg * Some versions of the Linux kernel have bugs which prevent them from
15443 1.1 mrg being compiled or from running when compiled by EGCS. See the FAQ
15444 1.1 mrg (as shipped with EGCS 1.1) for additional information.
15445 1.1 mrg * In general, EGCS is more rigorous about rejecting invalid C++ code
15446 1.1 mrg or deprecated C++ constructs than g++-2.7, g++-2.8 or EGCS 1.0. As
15447 1.1 mrg a result it may be necessary to fix C++ code before it will compile
15448 1.1 mrg with EGCS.
15449 1.1 mrg * G++ is also converting toward the ISO C++ standard; as a result
15450 1.1 mrg code which was previously valid (and thus accepted by other
15451 1.1 mrg compilers and older versions of g++) may no longer be accepted.
15452 1.1 mrg * EGCS 1.1 compiled C++ code is not binary compatible with EGCS 1.0.x
15453 1.1 mrg or GCC 2.8.x due to changes necessary to support thread safe
15454 1.1 mrg exception handling.
15455 1.1 mrg
15456 1.1 mrg
15457 1.1 mrg For questions related to the use of GCC, please consult these web
15458 1.1 mrg pages and the [1]GCC manuals. If that fails, the
15459 1.1 mrg [2]gcc-help (a] gcc.gnu.org mailing list might help. Comments on these
15460 1.1 mrg web pages and the development of GCC are welcome on our developer
15461 1.1 mrg list at [3]gcc (a] gcc.gnu.org. All of [4]our lists have public archives.
15462 1.1 mrg
15463 1.1 mrg Copyright (C) [5]Free Software Foundation, Inc. Verbatim copying and
15464 1.1 mrg distribution of this entire article is permitted in any medium,
15465 1.1 mrg provided this notice is preserved.
15466 1.1 mrg
15467 1.1 mrg These pages are [6]maintained by the GCC team. Last modified
15468 1.6 mrg 2016-01-30[7].
15469 1.1 mrg
15470 1.1 mrg References
15471 1.1 mrg
15472 1.4 mrg 1. https://gcc.gnu.org/onlinedocs/
15473 1.1 mrg 2. mailto:gcc-help (a] gcc.gnu.org
15474 1.1 mrg 3. mailto:gcc (a] gcc.gnu.org
15475 1.4 mrg 4. https://gcc.gnu.org/lists.html
15476 1.1 mrg 5. http://www.fsf.org/
15477 1.4 mrg 6. https://gcc.gnu.org/about.html
15478 1.1 mrg 7. http://validator.w3.org/check/referer
15479 1.1 mrg ======================================================================
15480 1.1 mrg http://gcc.gnu.org/egcs-1.0/index.html
15481 1.1 mrg EGCS 1.0
15482 1.1 mrg
15483 1.1 mrg December 3, 1997: We are pleased to announce the release of EGCS 1.0.
15484 1.1 mrg January 6, 1998: We are pleased to announce the release of EGCS 1.0.1.
15485 1.1 mrg March 16, 1998: We are pleased to announce the release of EGCS 1.0.2.
15486 1.1 mrg May 15, 1998 We are pleased to announce the release of EGCS 1.0.3.
15487 1.1 mrg
15488 1.1 mrg EGCS is a collaborative effort involving several groups of hackers
15489 1.1 mrg using an open development model to accelerate development and testing
15490 1.1 mrg of GNU compilers and runtime libraries.
15491 1.1 mrg
15492 1.1 mrg An important goal of EGCS is to allow wide scale testing of
15493 1.1 mrg experimental features and optimizations; therefore, EGCS contains some
15494 1.1 mrg features and optimizations which are still under development. However,
15495 1.1 mrg EGCS has been carefully tested and should be comparable in quality to
15496 1.1 mrg most GCC releases.
15497 1.1 mrg
15498 1.1 mrg EGCS 1.0 is based on an August 2, 1997 snapshot of the GCC 2.8
15499 1.1 mrg development sources; it contains nearly all of the new features found
15500 1.1 mrg in GCC 2.8.
15501 1.1 mrg
15502 1.1 mrg EGCS 1.0 also contains many improvements and features not found in GCC
15503 1.1 mrg 2.7 and even the GCC 2.8 series (which was released after the original
15504 1.1 mrg EGCS 1.0 release).
15505 1.1 mrg * Integrated C++ runtime libraries, including support for most major
15506 1.1 mrg GNU/Linux systems!
15507 1.1 mrg * The integrated libstdc++ library includes a verbatim copy of SGI's
15508 1.1 mrg STL release.
15509 1.1 mrg * Integrated GNU Fortran compiler.
15510 1.1 mrg * New instruction scheduler.
15511 1.1 mrg * New alias analysis code.
15512 1.1 mrg
15513 1.1 mrg See the [1]new features page for a more complete list of new features.
15514 1.1 mrg
15515 1.1 mrg EGCS 1.0.1 is a minor update to the EGCS 1.0 compiler to fix a few
15516 1.1 mrg critical bugs and add support for Red Hat 5.0 Linux. Changes since the
15517 1.1 mrg EGCS 1.0 release:
15518 1.1 mrg * Add support for Red Hat 5.0 Linux and better support for Linux
15519 1.1 mrg systems using glibc2.
15520 1.1 mrg Many programs failed to link when compiled with EGCS 1.0 on Red Hat
15521 1.1 mrg 5.0 or on systems with newer versions of glibc2. EGCS 1.0.1 should
15522 1.1 mrg fix these problems.
15523 1.1 mrg * Compatibility with both EGCS 1.0 and GCC 2.8 libgcc exception
15524 1.1 mrg handling interfaces.
15525 1.1 mrg To avoid future compatibility problems, we strongly urge anyone who
15526 1.1 mrg is planning on distributing shared libraries that contain C++ code
15527 1.1 mrg to upgrade to EGCS 1.0.1 first.
15528 1.1 mrg Soon after EGCS 1.0 was released, the GCC developers made some
15529 1.1 mrg incompatible changes in libgcc's exception handling interfaces.
15530 1.1 mrg These changes were needed to solve problems on some platforms. This
15531 1.1 mrg means that GCC 2.8.0, when released, will not be seamlessly
15532 1.1 mrg compatible with shared libraries built by EGCS 1.0. The reason is
15533 1.1 mrg that the libgcc.a in GCC 2.8.0 will not contain a function needed
15534 1.1 mrg by the old interface.
15535 1.1 mrg The result of this is that there may be compatibility problems with
15536 1.1 mrg shared libraries built by EGCS 1.0 when used with GCC 2.8.0.
15537 1.1 mrg With EGCS 1.0.1, generated code uses the new (GCC 2.8.0) interface,
15538 1.1 mrg and libgcc.a has the support routines for both the old and the new
15539 1.1 mrg interfaces (so EGCS 1.0.1 and EGCS 1.0 code can be freely mixed,
15540 1.1 mrg and EGCS 1.0.1 and GCC 2.8.0 code can be freely mixed).
15541 1.1 mrg The maintainers of GCC 2.x have decided against including seamless
15542 1.1 mrg support for the old interface in 2.8.0, since it was never
15543 1.1 mrg "official", so to avoid future compatibility problems we recommend
15544 1.1 mrg against distributing any shared libraries built by EGCS 1.0 that
15545 1.1 mrg contain C++ code (upgrade to 1.0.1 and use that).
15546 1.3 skrll * Various bugfixes in the x86, hppa, mips, and rs6000/ppc back ends.
15547 1.1 mrg The x86 changes fix code generation errors exposed when building
15548 1.3 skrll glibc2 and the usual GNU/Linux dynamic linker (ld.so).
15549 1.1 mrg The hppa change fixes a compiler abort when configured for use with
15550 1.1 mrg RTEMS.
15551 1.1 mrg The MIPS changes fix problems with the definition of LONG_MAX on
15552 1.1 mrg newer systems, allow for command line selection of the target ABI,
15553 1.1 mrg and fix one code generation problem.
15554 1.1 mrg The rs6000/ppc change fixes some problems with passing structures
15555 1.1 mrg to varargs/stdarg functions.
15556 1.1 mrg * A few machine independent bugfixes, mostly to fix code generation
15557 1.1 mrg errors when building Linux kernels or glibc.
15558 1.1 mrg * Fix a few critical exception handling and template bugs in the C++
15559 1.1 mrg compiler.
15560 1.1 mrg * Fix Fortran namelist bug on alphas.
15561 1.1 mrg * Fix build problems on x86-solaris systems.
15562 1.1 mrg
15563 1.1 mrg EGCS 1.0.2 is a minor update to the EGCS 1.0.1 compiler to fix several
15564 1.1 mrg serious problems in EGCS 1.0.1.
15565 1.1 mrg * General improvements and fixes
15566 1.1 mrg + Memory consumption significantly reduced, especially for
15567 1.1 mrg templates and inline functions.
15568 1.1 mrg + Fix various problems with glibc2.1.
15569 1.1 mrg + Fix loop optimization bug exposed by rs6000/ppc port.
15570 1.1 mrg + Fix to avoid potential code generation problems in jump.c.
15571 1.1 mrg + Fix some undefined symbol problems in dwarf1 debug support.
15572 1.1 mrg * g++/libstdc++ improvements and fixes
15573 1.1 mrg + libstdc++ in the EGCS release has been updated and should be
15574 1.1 mrg link compatible with libstdc++-2.8.
15575 1.3 skrll + Various fixes in libio/libstdc++ to work better on GNU/Linux
15576 1.1 mrg systems.
15577 1.1 mrg + Fix problems with duplicate symbols on systems that do not
15578 1.1 mrg support weak symbols.
15579 1.1 mrg + Memory corruption bug and undefined symbols in bastring have
15580 1.1 mrg been fixed.
15581 1.1 mrg + Various exception handling fixes.
15582 1.1 mrg + Fix compiler abort for very long thunk names.
15583 1.1 mrg * g77 improvements and fixes
15584 1.1 mrg + Fix compiler crash for omitted bound in Fortran CASE
15585 1.1 mrg statement.
15586 1.1 mrg + Add missing entries to g77 lang-options.
15587 1.1 mrg + Fix problem with -fpedantic in the g77 compiler.
15588 1.1 mrg + Fix "backspace" problem with g77 on alphas.
15589 1.1 mrg + Fix x86 backend problem with Fortran literals and -fpic.
15590 1.1 mrg + Fix some of the problems with negative subscripts for g77 on
15591 1.1 mrg alphas.
15592 1.1 mrg + Fixes for Fortran builds on cygwin32/mingw32.
15593 1.1 mrg * platform specific improvements and fixes
15594 1.1 mrg + Fix long double problems on x86 (exposed by glibc).
15595 1.1 mrg + x86 ports define i386 again to keep imake happy.
15596 1.1 mrg + Fix exception handling support on NetBSD ports.
15597 1.1 mrg + Several changes to collect2 to fix many problems with AIX.
15598 1.3 skrll + Define __ELF__ for GNU/Linux on rs6000.
15599 1.3 skrll + Fix -mcall-linux problem on GNU/Linux on rs6000.
15600 1.3 skrll + Fix stdarg/vararg problem for GNU/Linux on rs6000.
15601 1.1 mrg + Allow autoconf to select a proper install problem on AIX 3.1.
15602 1.1 mrg + m68k port support includes -mcpu32 option as well as cpu32
15603 1.1 mrg multilibs.
15604 1.1 mrg + Fix stdarg bug for irix6.
15605 1.1 mrg + Allow EGCS to build on irix5 without the gnu assembler.
15606 1.1 mrg + Fix problem with static linking on sco5.
15607 1.1 mrg + Fix bootstrap on sco5 with native compiler.
15608 1.1 mrg + Fix for abort building newlib on H8 target.
15609 1.1 mrg + Fix fixincludes handling of math.h on SunOS.
15610 1.1 mrg + Minor fix for Motorola 3300 m68k systems.
15611 1.1 mrg
15612 1.1 mrg EGCS 1.0.3 is a minor update to the EGCS 1.0.2 compiler to fix a few
15613 1.1 mrg problems reported by Red Hat for builds of Red Hat 5.1.
15614 1.1 mrg * Generic bugfixes:
15615 1.1 mrg + Fix a typo in the libio library which resulted in incorrect
15616 1.1 mrg behavior of istream::get.
15617 1.1 mrg + Fix the Fortran negative array index problem.
15618 1.1 mrg + Fix a major problem with the ObjC runtime thread support
15619 1.1 mrg exposed by glibc2.
15620 1.1 mrg + Reduce memory consumption of the Haifa scheduler.
15621 1.1 mrg * Target specific bugfixes:
15622 1.1 mrg + Fix one x86 floating point code generation bug exposed by
15623 1.1 mrg glibc2 builds.
15624 1.1 mrg + Fix one x86 internal compiler error exposed by glibc2 builds.
15625 1.1 mrg + Fix profiling bugs on the Alpha.
15626 1.1 mrg + Fix ImageMagick & emacs 20.2 build problems on the Alpha.
15627 1.1 mrg + Fix rs6000/ppc bug when converting values from integer types
15628 1.1 mrg to floating point types.
15629 1.1 mrg
15630 1.1 mrg The EGCS 1.0 releases include installation instructions in both HTML
15631 1.1 mrg and plaintext forms (see the INSTALL directory in the toplevel
15632 1.1 mrg directory of the distribution). However, we also keep the most up to
15633 1.4 mrg date installation instructions and [2]build/test status on our web
15634 1.1 mrg page. We will update those pages as new information becomes available.
15635 1.1 mrg
15636 1.4 mrg And, we can't in good conscience fail to mention some [3]caveats to
15637 1.1 mrg using EGCS.
15638 1.1 mrg
15639 1.1 mrg Update: Big thanks to Stanford for providing a high speed link for
15640 1.1 mrg downloading EGCS (go.cygnus.com)!
15641 1.1 mrg
15642 1.1 mrg Download EGCS from ftp.cygnus.com (USA California) or go.cygnus.com
15643 1.1 mrg (USA California -- High speed link provided by Stanford).
15644 1.1 mrg
15645 1.1 mrg The EGCS 1.0 release is also available many mirror sites.
15646 1.4 mrg [4]Goto mirror list to find a closer site
15647 1.1 mrg
15648 1.1 mrg We'd like to thank the numerous people that have contributed new
15649 1.1 mrg features, test results, bugfixes, etc. Unfortunately, they're far too
15650 1.1 mrg numerous to mention by name.
15651 1.1 mrg
15652 1.1 mrg
15653 1.1 mrg For questions related to the use of GCC, please consult these web
15654 1.4 mrg pages and the [5]GCC manuals. If that fails, the
15655 1.4 mrg [6]gcc-help (a] gcc.gnu.org mailing list might help. Comments on these
15656 1.1 mrg web pages and the development of GCC are welcome on our developer
15657 1.4 mrg list at [7]gcc (a] gcc.gnu.org. All of [8]our lists have public archives.
15658 1.1 mrg
15659 1.4 mrg Copyright (C) [9]Free Software Foundation, Inc. Verbatim copying and
15660 1.1 mrg distribution of this entire article is permitted in any medium,
15661 1.1 mrg provided this notice is preserved.
15662 1.1 mrg
15663 1.4 mrg These pages are [10]maintained by the GCC team. Last modified
15664 1.6 mrg 2016-01-30[11].
15665 1.1 mrg
15666 1.1 mrg References
15667 1.1 mrg
15668 1.1 mrg 1. http://gcc.gnu.org/egcs-1.0/features.html
15669 1.4 mrg 2. http://gcc.gnu.org/egcs-1.0/buildstat.html
15670 1.4 mrg 3. http://gcc.gnu.org/egcs-1.0/caveats.html
15671 1.4 mrg 4. http://gcc.gnu.org/mirrors.html
15672 1.4 mrg 5. https://gcc.gnu.org/onlinedocs/
15673 1.4 mrg 6. mailto:gcc-help (a] gcc.gnu.org
15674 1.4 mrg 7. mailto:gcc (a] gcc.gnu.org
15675 1.4 mrg 8. https://gcc.gnu.org/lists.html
15676 1.4 mrg 9. http://www.fsf.org/
15677 1.4 mrg 10. https://gcc.gnu.org/about.html
15678 1.4 mrg 11. http://validator.w3.org/check/referer
15679 1.1 mrg ======================================================================
15680 1.1 mrg http://gcc.gnu.org/egcs-1.0/features.html
15681 1.1 mrg EGCS 1.0 features
15682 1.1 mrg
15683 1.1 mrg * Core compiler is based on the gcc2 development tree from Aug 2,
15684 1.1 mrg 1997, so we have most of the [1]features found in GCC 2.8.
15685 1.1 mrg * Integrated GNU Fortran compiler based on g77-0.5.22-19970929.
15686 1.1 mrg * Vast improvements in the C++ compiler; so many they have [2]page of
15687 1.1 mrg their own!
15688 1.1 mrg * Integrated C++ runtime libraries, including support for most major
15689 1.3 skrll GNU/Linux systems!
15690 1.1 mrg * New instruction scheduler from IBM Haifa which includes support for
15691 1.1 mrg function wide instruction scheduling as well as superscalar
15692 1.1 mrg scheduling.
15693 1.1 mrg * Significantly improved alias analysis code.
15694 1.1 mrg * Improved register allocation for two address machines.
15695 1.1 mrg * Significant code generation improvements for Fortran code on
15696 1.1 mrg Alphas.
15697 1.1 mrg * Various optimizations from the g77 project as well as improved loop
15698 1.1 mrg optimizations.
15699 1.1 mrg * Dwarf2 debug format support for some targets.
15700 1.1 mrg * egcs libstdc++ includes the SGI STL implementation without changes.
15701 1.1 mrg * As a result of these and other changes, egcs libstc++ is not binary
15702 1.1 mrg compatible with previous releases of libstdc++.
15703 1.1 mrg * Various new ports -- UltraSPARC, Irix6.2 & Irix6.3 support, The SCO
15704 1.1 mrg Openserver 5 family (5.0.{0,2,4} and Internet FastStart 1.0 and
15705 1.1 mrg 1.1), Support for RTEMS on several embedded targets, Support for
15706 1.1 mrg arm-linux, Mitsubishi M32R, Hitachi H8/S, Matsushita MN102 and
15707 1.3 skrll MN103, NEC V850, Sparclet, Solaris & GNU/Linux on PowerPCs, etc.
15708 1.1 mrg * Integrated testsuites for gcc, g++, g77, libstdc++ and libio.
15709 1.1 mrg * RS6000/PowerPC ports generate code which can run on all
15710 1.1 mrg RS6000/PowerPC variants by default.
15711 1.1 mrg * -mcpu= and -march= switches for the x86 port to allow better
15712 1.1 mrg control over how the x86 port generates code.
15713 1.1 mrg * Includes the template repository patch (aka repo patch); note the
15714 1.1 mrg new template code makes repo obsolete for ELF systems using gnu-ld
15715 1.3 skrll such as GNU/Linux.
15716 1.1 mrg * Plus the usual assortment of bugfixes and improvements.
15717 1.1 mrg
15718 1.1 mrg
15719 1.1 mrg For questions related to the use of GCC, please consult these web
15720 1.1 mrg pages and the [3]GCC manuals. If that fails, the
15721 1.1 mrg [4]gcc-help (a] gcc.gnu.org mailing list might help. Comments on these
15722 1.1 mrg web pages and the development of GCC are welcome on our developer
15723 1.1 mrg list at [5]gcc (a] gcc.gnu.org. All of [6]our lists have public archives.
15724 1.1 mrg
15725 1.1 mrg Copyright (C) [7]Free Software Foundation, Inc. Verbatim copying and
15726 1.1 mrg distribution of this entire article is permitted in any medium,
15727 1.1 mrg provided this notice is preserved.
15728 1.1 mrg
15729 1.1 mrg These pages are [8]maintained by the GCC team. Last modified
15730 1.6 mrg 2016-01-30[9].
15731 1.1 mrg
15732 1.1 mrg References
15733 1.1 mrg
15734 1.1 mrg 1. http://gcc.gnu.org/egcs-1.0/features-2.8.html
15735 1.1 mrg 2. http://gcc.gnu.org/egcs-1.0/c++features.html
15736 1.4 mrg 3. https://gcc.gnu.org/onlinedocs/
15737 1.1 mrg 4. mailto:gcc-help (a] gcc.gnu.org
15738 1.1 mrg 5. mailto:gcc (a] gcc.gnu.org
15739 1.4 mrg 6. https://gcc.gnu.org/lists.html
15740 1.1 mrg 7. http://www.fsf.org/
15741 1.4 mrg 8. https://gcc.gnu.org/about.html
15742 1.1 mrg 9. http://validator.w3.org/check/referer
15743 1.1 mrg ======================================================================
15744 1.1 mrg http://gcc.gnu.org/egcs-1.0/caveats.html
15745 1.1 mrg EGCS 1.0 Caveats
15746 1.1 mrg
15747 1.1 mrg * EGCS has an integrated libstdc++, but does not have an integrated
15748 1.1 mrg libg++. Furthermore old libg++ releases will not work with egc; HJ
15749 1.1 mrg Lu has made a libg++-2.8.1.2 available which may work with EGCS.
15750 1.1 mrg Note most C++ programs only need libstdc++.
15751 1.1 mrg * Note that using -pedantic or -Wreturn-type can cause an explosion
15752 1.1 mrg in the amount of memory needed for template-heavy C++ code, such as
15753 1.1 mrg code that uses STL. Also note that -Wall includes -Wreturn-type, so
15754 1.1 mrg if you use -Wall you will need to specify -Wno-return-type to turn
15755 1.1 mrg it off.
15756 1.1 mrg * Exception handling may not work with shared libraries, particularly
15757 1.1 mrg on alphas, hppas, and mips based platforms. Exception handling is
15758 1.1 mrg known to work on x86-linux platforms with shared libraries.
15759 1.1 mrg * Some versions of the Linux kernel have bugs which prevent them from
15760 1.1 mrg being compiled or from running when compiled by EGCS. See the FAQ
15761 1.1 mrg (as shipped with EGCS 1.0) for additional information.
15762 1.1 mrg * In general, EGCS is more rigorous about rejecting invalid C++ code
15763 1.1 mrg or deprecated C++ constructs than G++ 2.7. As a result it may be
15764 1.1 mrg necessary to fix C++ code before it will compile with EGCS.
15765 1.1 mrg * G++ is also aggressively tracking the C++ standard; as a result
15766 1.1 mrg code which was previously valid (and thus accepted by other
15767 1.1 mrg compilers and older versions of G++) may no longer be accepted.
15768 1.1 mrg * EGCS 1.0 may not work with Red Hat Linux 5.0 on all targets. EGCS
15769 1.1 mrg 1.0.x and later releases should work with Red Hat Linux 5.0.
15770 1.1 mrg
15771 1.1 mrg
15772 1.1 mrg For questions related to the use of GCC, please consult these web
15773 1.1 mrg pages and the [1]GCC manuals. If that fails, the
15774 1.1 mrg [2]gcc-help (a] gcc.gnu.org mailing list might help. Comments on these
15775 1.1 mrg web pages and the development of GCC are welcome on our developer
15776 1.1 mrg list at [3]gcc (a] gcc.gnu.org. All of [4]our lists have public archives.
15777 1.1 mrg
15778 1.1 mrg Copyright (C) [5]Free Software Foundation, Inc. Verbatim copying and
15779 1.1 mrg distribution of this entire article is permitted in any medium,
15780 1.1 mrg provided this notice is preserved.
15781 1.1 mrg
15782 1.1 mrg These pages are [6]maintained by the GCC team. Last modified
15783 1.6 mrg 2016-01-30[7].
15784 1.1 mrg
15785 1.1 mrg References
15786 1.1 mrg
15787 1.4 mrg 1. https://gcc.gnu.org/onlinedocs/
15788 1.1 mrg 2. mailto:gcc-help (a] gcc.gnu.org
15789 1.1 mrg 3. mailto:gcc (a] gcc.gnu.org
15790 1.4 mrg 4. https://gcc.gnu.org/lists.html
15791 1.1 mrg 5. http://www.fsf.org/
15792 1.4 mrg 6. https://gcc.gnu.org/about.html
15793 1.1 mrg 7. http://validator.w3.org/check/referer
15794 1.1 mrg ======================================================================
15795