0032df7f14
https://gcc.gnu.org/gcc-9/changes.html has a comprehensive overview of many improvements and changes and https://gcc.gnu.org/gcc-8/porting_to.html addresses issues you may encounter porting to this new version, though this release series should have fewer of those than previous ones. To provide a brief overview of some of the more noticable changes: GCC's diagnostics now print source code with a left margin showing line numbers. This is configurable via -fno-diagnostics-show-line-numbers. Plus there have been lots of further improvements around diagnostic messages in general as -fopt-info. As usual a large number of improvements to code generation, including but by far not limited to the following: - Switch expansion (into expressions). - Inliner defaults are tuned to better suit modern C++ codebases, especially when built with link time optimizations. - Hot/cold partitioning is now more precise and aggressive. - Improved scalability for very large translation units. - Link-time optimization improvements including faster compilation. A new option -flive-patching=[inline-only-static|inline-clone] has been introduced to provide a safe compilation for live-patching. A new pair of profiling options -fprofile-filter-files and -fprofile-exclude-files help filter which source files are instrumented. New built-in functions __builtin_expect_with_probability, __builtin_has_attribute, and __builtin_speculation_safe_value. Significant effort has been put into refining existing compiler warnings and adding additional diagnostics. One notable addition is -Wabsolute-value which warns for calls to standard functions that compute the absolute value of an argument when a more appropriate standard function is available. For example, calling abs(3.14) warns because the appropriate function to compute the absolute value of a double argument is fabs. The spelling corrector now considers transposed letters, and the threshold for similarity has been tightened, to avoid nonsensical suggestions. A new option --completion provides better option completion in a shell (such as bash). OpenACC support in C, C++, and Fortran continues to be maintained and improved. Most of the OpenACC 2.5 specification is implemented. Version 5.0 of the OpenMP specification is now partially supported in the C and C++ compilers. There is now experimental support for the upcoming C2X revision of the ISO C standard (via the -std=c2x and similar options). The C++ front end has experimental support for some of the upcoming C++2a draft features, enabled by the -std=c++2a or -std=gnu++2a options. This includes range-based for statements with initializer, default constructible and assignable stateless lambdas, lambdas in unevaluated contexts, language support for empty data members, allowing pack expansion in lambda init-capture, likely and unlikely attributes, class types in non-type template parameters, allowing virtual function calls in constant expressions, explicit(bool), std::is_constant_evaluated, nested inline namespaces, etc. The C++17 implementation is no longer experimental and parallel algorithms and <execution> and <memory_resource> are available. Using the types and functions in <filesystem> does not require linking with -lstdc++fs any more. On the Fortran side asynchronous I/O is now fully supported; FINDLOC and IS_CONTIGUOUS and other intrinsics have been implemented. The MAX and MIN intrinsics are no longer guaranteed to return any particular value in case one of the arguments is a NaN. This conforms with the Fortran standard and what other Fortran compilers do. A new option -fdec-include, set also by -fdec, has been added for compatibility with legacy code. With this option, the INCLUDE directive is parsed also as a statement, which allows it to be written on multiple source lines with line continuations. Support for the Cell Broadband Engine (SPU), and thus powerpcspe on FreeBSD as well, has been removed for lack of upstream maintainership. Also there's been a minor ABI change on arm* targets (that GCC warns about by default, controlled by the -Wpsabi option). Support for the D programming language has been added to GCC, implementing version 2.076 of the language and run-time library, though this port does not enable this yet. Volunteers welcome to test and contribute. |
||
---|---|---|
.. | ||
abcl | ||
adacontrol | ||
afnix | ||
alchemist.el | ||
algol68g | ||
angelscript | ||
arena | ||
asis | ||
asn1c | ||
atlast | ||
awka | ||
bas2tap | ||
basic256 | ||
beignet | ||
bf2c | ||
bsh | ||
bwbasic | ||
c | ||
cbmbasic | ||
ccl | ||
cdent | ||
ceylon | ||
cfortran | ||
chaiscript | ||
chez-scheme | ||
chibi-scheme | ||
chicken | ||
chicken5 | ||
cim | ||
cint | ||
cjs | ||
cling | ||
clips | ||
clisp | ||
clojure | ||
clojure-mode.el | ||
clover | ||
cmucl | ||
cmucl-extra | ||
cocor | ||
coffeescript | ||
cparser | ||
crystal | ||
csharp-mode.el | ||
cython | ||
diveintopython | ||
dlang-tools | ||
dlv | ||
dmd1 | ||
dmd2 | ||
duktape | ||
duktape-lib | ||
ecl | ||
elan | ||
elixir | ||
elixir-mode.el | ||
elk | ||
emacs-lisp-intro | ||
erlang | ||
erlang-doc | ||
erlang-java | ||
erlang-man | ||
erlang-riak | ||
erlang-runtime15 | ||
erlang-runtime16 | ||
erlang-runtime17 | ||
erlang-runtime18 | ||
erlang-runtime19 | ||
erlang-runtime20 | ||
erlang-runtime21 | ||
erlang-runtime22 | ||
erlang-wx | ||
execline | ||
expect | ||
f2c | ||
fasm | ||
ferite | ||
ficl | ||
fpc | ||
fpc-base | ||
fpc-docs | ||
fpc-lua | ||
fpc-rexx | ||
fpc-rtl-console | ||
fpc-rtl-extra | ||
fpc-rtl-objpas | ||
fpc-rtl-unicode | ||
fpc-units | ||
fpc-utils | ||
fsharp | ||
fth | ||
gambit-c | ||
gauche | ||
gawk | ||
gcc | ||
gcc5 | ||
gcc6 | ||
gcc6-aux | ||
gcc7 | ||
gcc7-devel | ||
gcc8 | ||
gcc8-devel | ||
gcc9 | ||
gcc9-devel | ||
gcc10-devel | ||
gcc48 | ||
gcc-ecj45 | ||
gforth | ||
ghc | ||
gjs | ||
gnat_util | ||
gnatcross-aarch64 | ||
gnatcross-binutils-aarch64 | ||
gnatcross-sysroot-aarch64 | ||
gnatdroid-armv7 | ||
gnatdroid-binutils | ||
gnatdroid-binutils-x86 | ||
gnatdroid-sysroot | ||
gnatdroid-sysroot-x86 | ||
gnatdroid-x86 | ||
gnu-cobol | ||
gnustep-base | ||
go | ||
go14 | ||
Gofer | ||
gomacro | ||
gprolog | ||
gravity | ||
groovy | ||
gscheme | ||
guile | ||
guile2 | ||
harbour | ||
haskell-mode.el | ||
hla | ||
hope | ||
hs-brainfuck | ||
hs-unlambda | ||
huc | ||
hugs | ||
icc | ||
ici | ||
icon | ||
intercal | ||
io | ||
io-devel | ||
itcl | ||
itcl4 | ||
J | ||
jakarta-commons-jelly | ||
janet | ||
jimtcl | ||
jruby | ||
js_of_ocaml | ||
julia | ||
julia06 | ||
julia07 | ||
julia10 | ||
julia11 | ||
jython | ||
kawa | ||
kf5-kross | ||
kross-interpreters | ||
kturtle | ||
lafontaine | ||
lci | ||
ldc | ||
lfe | ||
libhx | ||
libobjc2 | ||
librep | ||
libstdc++_stldoc_4.2.2 | ||
linux-c6-tcl85 | ||
linux-c7-tcl85 | ||
linux-dotnet10-runtime | ||
linux-dotnet11-runtime | ||
linux-dotnet11-sdk | ||
linux-dotnet-cli | ||
linux-dotnet-runtime | ||
linux-dotnet-sdk | ||
linux-j | ||
lua51 | ||
lua52 | ||
lua53 | ||
lua-ada | ||
luajit | ||
malbolge | ||
maude | ||
mawk | ||
mdk | ||
micropython | ||
mit-scheme | ||
mixal | ||
mlton | ||
mmix | ||
modula3 | ||
mono | ||
mono-basic | ||
mosh | ||
mosml | ||
mtasc | ||
mujs | ||
munger | ||
myrddin | ||
nawk | ||
nbc | ||
nbfc | ||
neko | ||
nesasm | ||
newlisp | ||
newlisp-devel | ||
nhc98 | ||
nickle | ||
nim | ||
nml | ||
nqc | ||
nwcc | ||
nx | ||
nyan | ||
ocaml | ||
ocaml-autoconf | ||
ocaml-camlidl | ||
ocaml-nox11 | ||
ohugs | ||
onyx | ||
oo2c | ||
opencoarrays | ||
opendylan | ||
ott | ||
owl-lisp | ||
p2c | ||
p5-Data-JavaScript | ||
p5-ePerl | ||
p5-Error | ||
p5-Expect | ||
p5-ExtUtils-F77 | ||
p5-Interpolation | ||
p5-JavaScript-SpiderMonkey | ||
p5-JavaScript-Squish | ||
p5-JavaScript-Value-Escape | ||
p5-JSAN | ||
p5-List-MoreUtils | ||
p5-List-MoreUtils-XS | ||
p5-Marpa | ||
p5-Marpa-PP | ||
p5-Marpa-XS | ||
p5-Modern-Perl | ||
p5-Perl6-Subs | ||
p5-Promises | ||
p5-Pugs-Compiler-Rule | ||
p5-Quantum-Superpositions | ||
p5-Scalar-List-Utils | ||
p5-signatures | ||
p5-Switch | ||
p5-Tcl | ||
p5-Test-XPath | ||
p5-Try-Catch | ||
p5-Try-Tiny | ||
p5-Try-Tiny-Retry | ||
p5-TryCatch | ||
p5-v6 | ||
parrot | ||
pbasic | ||
pcc | ||
perl5-devel | ||
perl5.26 | ||
perl5.28 | ||
perl5.30 | ||
petite-chez | ||
pfe | ||
phantomjs | ||
pharo | ||
phc | ||
php71 | ||
php71-extensions | ||
php72 | ||
php72-extensions | ||
php73 | ||
php73-extensions | ||
php-mode.el | ||
picoc | ||
pocl | ||
polyml | ||
ponyc | ||
ptoc | ||
pure | ||
py-hy | ||
py-mx-base | ||
py-prolog | ||
py-qt5-qml | ||
pypy | ||
pypy3 | ||
python | ||
python2 | ||
python3 | ||
python27 | ||
python35 | ||
python36 | ||
python37 | ||
python-doc-html | ||
python-doc-pdf-a4 | ||
python-doc-pdf-letter | ||
python-doc-text | ||
python-mode.el | ||
python-tools | ||
qscheme | ||
quack | ||
racket | ||
racket-minimal | ||
ratfor | ||
referenceassemblies-pcl | ||
retro12 | ||
rexx-imc | ||
rexx-regina | ||
rexx-regutil | ||
rexx-wrapper | ||
rhino | ||
rubinius | ||
ruby24 | ||
ruby25 | ||
ruby26 | ||
runawk | ||
rust | ||
rust-nightly | ||
sagittarius-scheme | ||
sather-specification | ||
sather-tutorial | ||
sbcl | ||
scala | ||
scala-docs | ||
scheme48 | ||
scm | ||
sdcc | ||
see | ||
seed7 | ||
siod | ||
sisc | ||
sketchy | ||
slib | ||
slib-guile | ||
slib-guile2 | ||
slisp | ||
smalltalk | ||
smlnj | ||
snobol4 | ||
solidity | ||
spidermonkey17 | ||
spidermonkey24 | ||
spidermonkey52 | ||
spidermonkey185 | ||
spl | ||
squeak | ||
squirrel | ||
starlogo | ||
stldoc | ||
swi-pl | ||
swift | ||
tcbasic | ||
tcc | ||
tcl85 | ||
tcl86 | ||
tcl87 | ||
tcl-manual | ||
tcl-wrapper | ||
tclX | ||
tinypy | ||
tolua | ||
tolua++ | ||
tuareg-mode.el | ||
twelf | ||
ucc | ||
urweb | ||
v8 | ||
vala | ||
visualworks | ||
yabasic | ||
yap | ||
yap-devel | ||
yorick | ||
ypsilon | ||
Makefile |