This is the list of problem reports (PRs) from GCC's bug tracking system
that are known to be fixed in the 12.2 release. This list might not be
complete (that is, it is possible that some PRs that have been fixed are
not listed here).
https://gcc.gnu.org/bugzilla/buglist.cgi?bug_status=RESOLVED&resolution=FIXED&target_milestone=12.2
Target Specific Changes
LoongArch
The default setting of -m[check|no-check]-zero-division is changed for
optimized code. Now -mno-check-zero-division is the default for all
optimization levels but -O0 and -Og. The old behavior can be obtained by
explicitly passing -mcheck-zero-division to GCC.
drop gcc4-compatible libstdcxx string format
GCC 5.1 included a change to how strings operated to be compatible with
the 2011 C++ standard. It gave an option to use the previous method by
setting:
--with-default-libstdcxx-abi=gcc4-compatible
The default is to have this value set to "new", and has been for several
years.
See https://gcc.gnu.org/onlinedocs/libstdc++/manual/using_dual_abi.html
for further details.
drop --enable-c99 from gcc:host configure
This doesn't appear in ./configure. It either does nothing, or works
against the default of gnu11 since GCC5.
Signed-off-by: Ian Leonard <antonlacon@gmail.com>
GCC 6 changed the default C++ mode from gnu++98 to gnu++14. This change
caused some packages to stop building. GCC 6 has been out for 4 years.
Affected software should have been fixed by now. Remaining software
should be updated, purged, or have its call to gcc changed to include
this individually.
Signed-off-by: Ian Leonard <antonlacon@gmail.com>
Builds use a mix of styles for the hash table in the ELF header. Only
one style of table is necessary, and the GNU one is more performant
for lookups. Eliminating the SysV style hash table trims ~450kb. This
is done via setting the default linker in gcc instead of LDFLAGS as
some packages ignore LDFLAGS.
Note that if MIPS is ever added as a supported architecture, it
does not support hash-style=gnu at this time.
Signed-off-by: Ian Leonard <antonlacon@gmail.com>