History log of /netbsd-current/external/gpl3/gcc/dist/config/acx.m4
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
Revision tags: gcc-12-3-0
# 1.1.1.4 30-Jul-2023 mrg

initial import of GCC 12.3.0.

major changes in GCC 11 included:

- The default mode for C++ is now -std=gnu++17 instead of -std=gnu++14.
- When building GCC itself, the host compiler must now support C++11,
rather than C++98.
- Some short options of the gcov tool have been renamed: -i to -j and
-j to -H.
- ThreadSanitizer improvements.
- Introduce Hardware-assisted AddressSanitizer support.
- For targets that produce DWARF debugging information GCC now defaults
to DWARF version 5. This can produce up to 25% more compact debug
information compared to earlier versions.
- Many optimisations.
- The existing malloc attribute has been extended so that it can be
used to identify allocator/deallocator API pairs. A pair of new
-Wmismatched-dealloc and -Wmismatched-new-delete warnings are added.
- Other new warnings:
-Wsizeof-array-div, enabled by -Wall, warns about divisions of two
sizeof operators when the first one is applied to an array and the
divisor does not equal the size of the array element.
-Wstringop-overread, enabled by default, warns about calls to string
functions reading past the end of the arrays passed to them as
arguments.
-Wtsan, enabled by default, warns about unsupported features in
ThreadSanitizer (currently std::atomic_thread_fence).
- Enchanced warnings:
-Wfree-nonheap-object detects many more instances of calls to
deallocation functions with pointers not returned from a dynamic
memory allocation function.
-Wmaybe-uninitialized diagnoses passing pointers or references to
uninitialized memory to functions taking const-qualified arguments.
-Wuninitialized detects reads from uninitialized dynamically
allocated memory.
-Warray-parameter warns about functions with inconsistent array forms.
-Wvla-parameter warns about functions with inconsistent VLA forms.
- Several new features from the upcoming C2X revision of the ISO C
standard are supported with -std=c2x and -std=gnu2x.
- Several C++20 features have been implemented.
- The C++ front end has experimental support for some of the upcoming
C++23 draft.
- Several new C++ warnings.
- Enhanced Arm, AArch64, x86, and RISC-V CPU support.
- The implementation of how program state is tracked within
-fanalyzer has been completely rewritten with many enhancements.

see https://gcc.gnu.org/gcc-11/changes.html for a full list.

major changes in GCC 12 include:

- An ABI incompatibility between C and C++ when passing or returning
by value certain aggregates containing zero width bit-fields has
been discovered on various targets. x86-64, ARM and AArch64
will always ignore them (so there is a C ABI incompatibility
between GCC 11 and earlier with GCC 12 or later), PowerPC64 ELFv2
always take them into account (so there is a C++ ABI
incompatibility, GCC 4.4 and earlier compatible with GCC 12 or
later, incompatible with GCC 4.5 through GCC 11). RISC-V has
changed the handling of these already starting with GCC 10. As
the ABI requires, MIPS takes them into account handling function
return values so there is a C++ ABI incompatibility with GCC 4.5
through 11.
- STABS: Support for emitting the STABS debugging format is
deprecated and will be removed in the next release. All ports now
default to emit DWARF (version 2 or later) debugging info or are
obsoleted.
- Vectorization is enabled at -O2 which is now equivalent to the
original -O2 -ftree-vectorize -fvect-cost-model=very-cheap.
- GCC now supports the ShadowCallStack sanitizer.
- Support for __builtin_shufflevector compatible with the clang
language extension was added.
- Support for attribute unavailable was added.
- Support for __builtin_dynamic_object_size compatible with the
clang language extension was added.
- New warnings:
-Wbidi-chars warns about potentially misleading UTF-8
bidirectional control characters.
-Warray-compare warns about comparisons between two operands of
array type.
- Some new features from the upcoming C2X revision of the ISO C
standard are supported with -std=c2x and -std=gnu2x.
- Several C++23 features have been implemented.
- Many C++ enhancements across warnings and -f options.

see https://gcc.gnu.org/gcc-12/changes.html for a full list.


Revision tags: gcc-10-5-0 netbsd-10-base netbsd-9-3-RELEASE gcc-10-4-0 cjep_sun2x-base1 cjep_sun2x-base cjep_staticlib_x-base1 netbsd-9-2-RELEASE cjep_staticlib_x-base gcc-10-3-0 netbsd-9-1-RELEASE gcc-9-3-0 gcc-7-5-0 phil-wifi-20200421 phil-wifi-20200411 is-mlppp-base phil-wifi-20200406 gcc-8-4-0 netbsd-9-0-RELEASE netbsd-9-0-RC2 netbsd-9-0-RC1 phil-wifi-20191119 gcc-8-3-0 netbsd-9-base phil-wifi-20190609 pgoyette-compat-20190127 gcc-7-4-0
# 1.1.1.3 19-Jan-2019 mrg

import GCC 7.4.0. main changes include:

The non-standard C++0x type traits has_trivial_default_constructor,
has_trivial_copy_constructor and has_trivial_copy_assign have been
removed.

On ARM targets (arm*-*-*), a bug introduced in GCC 5 that affects
conformance to the procedure call standard (AAPCS) has been fixed.

Many optimiser improvements

DWARF-5 support.

Many new and enhanced warnings.

Warnings about format strings now underline the pertinent part of
the string, and can offer suggested fixes.

Several new warnings related to buffer overflows and buffer
truncation.

New __builtin_add_overflow_p, __builtin_sub_overflow_p,
__builtin_mul_overflow_p built-ins added that test for overflow.

The C++ front end has experimental support for all of the current
C++17 draft.

The -fverbose-asm option has been expanded to prints comments
showing the source lines that correspond to the assembly.

The gcc and g++ driver programs will now provide suggestions for
misspelled arguments to command-line options.


AArch64 specific:

GCC has been updated to the latest revision of the procedure call
standard (AAPCS64) to provide support for parameter passing when
data types have been over-aligned.

The ARMv8.2-A and ARMv8.3-A architecture are now supported.

ARM specific:

Support for the ARMv5 and ARMv5E architectures has been
deprecated (which have no known implementations).

A new command-line option -mpure-code has been added. It does not
allow constant data to be placed in code sections.

x86 specific:

Support for the AVX-512 4FMAPS, 4VNNIW, VPOPCNTDQ and Software
Guard Extensions (SGX) ISA extensions has been added.

PPC specific:

GCC now diagnoses inline assembly that clobbers register r2.

RISC-V specific:

Support for the RISC-V instruction set has been added.

SH specific:

Support for SH5/SH64 has been removed.

Support for SH2A has been enhanced.


Revision tags: netbsd-8-2-RELEASE netbsd-8-1-RELEASE netbsd-8-1-RC1 pgoyette-compat-20190118 pgoyette-compat-1226 pgoyette-compat-1126 gcc-6-5-0 pgoyette-compat-1020 pgoyette-compat-0930 pgoyette-compat-0906 netbsd-7-2-RELEASE pgoyette-compat-0728 netbsd-8-0-RELEASE phil-wifi-base pgoyette-compat-0625 netbsd-8-0-RC2 pgoyette-compat-0521 pgoyette-compat-0502 pgoyette-compat-0422 netbsd-8-0-RC1 pgoyette-compat-0415 pgoyette-compat-0407 pgoyette-compat-0330 pgoyette-compat-0322 pgoyette-compat-0315 netbsd-7-1-2-RELEASE pgoyette-compat-base gcc-6-4-0 netbsd-7-1-1-RELEASE gcc-5-5-0 matt-nb8-mediatek-base perseant-stdc-iso10646-base netbsd-8-base prg-localcount2-base3 prg-localcount2-base2 prg-localcount2-base1 prg-localcount2-base pgoyette-localcount-20170426 bouyer-socketcan-base1 pgoyette-localcount-20170320 netbsd-7-1-RELEASE netbsd-7-1-RC2 netbsd-7-nhusb-base-20170116 bouyer-socketcan-base pgoyette-localcount-20170107 netbsd-7-1-RC1 pgoyette-localcount-20161104 netbsd-7-0-2-RELEASE localcount-20160914 netbsd-7-nhusb-base pgoyette-localcount-20160806 pgoyette-localcount-20160726 pgoyette-localcount-base gcc-5-4-0 netbsd-7-0-1-RELEASE gcc-5-3-0 netbsd-7-0-RELEASE gcc-4-8-5-pre-gcc-old-import netbsd-7-0-RC3 netbsd-7-0-RC2 post-gcc-4-8-5-merge gcc-4-8-5 netbsd-7-0-RC1 gcc-4-8-4 gcc-4-8-20141009 netbsd-7-base gcc-4-8-3 yamt-pagecache-base9 tls-earlyentropy-base riastradh-xf86-video-intel-2-7-1-pre-2-21-15 riastradh-drm2-base3 gcc-4-8-3-pre-r208254 gcc-4-8-3-pre-r206687 imported-to-gcc-old-20140227-0107 riastradh-drm2-base2 riastradh-drm2-base1 riastradh-drm2-base agc-symver-base yamt-pagecache-base8 yamt-pagecache-base7 yamt-pagecache-base6 gcc-4-5-4 tls-maxphys-base
# 1.1.1.2 18-Sep-2012 skrll

branches: 1.1.1.2.28; 1.1.1.2.30;
Import of gcc 4.5.4. The (possibly incomplete) list of fixed bugs is

50617 [4.5/4.6/4.7 Regression] ICE: RTL flag check: INSN_ANNULLED_BRANCH_P used with unexpected rtx code 'simplify_immed_subreg' in output_bb, at config/pa/pa.c:6631
45383 [4.5 Regression] Implicit conversion to pointer does no longer automatically generate operator== and operator!=.
45606 [4.5 Regression] match a method prototyped a typedef alias with the original type (using stdlib)
47398 [4.5 Regression] tree check: accessed elt 10 of tree_vec with 9 elts in tsubst, at cp/pt.c:10500
49951 [4.5/4.6/4.7 Regression] Debug stepping behavior regarding g++ Class destructor has changed for the worse starting at gcc 4.5.0
43190 [4.4 Regression] Used pointer typedefs eliminated from debug info
43866 [4.4 Regression] wrong code with -fbounds-check -funswitch-loops
43897 [4.4 Regression] IA-64 asm clobbers are ignored
44777 [4.4 Regression] ICE: SIGSEGV with -fprofile-use in gcc.c-torture/execute/comp-goto-2.c
46985 [4.5 Regression] ICE: SIGSEGV in is_gimple_min_invariant (gimple.c:2742) with -fno-tree-ccp -fno-tree-dominator-opts -fno-tree-fre
47780 [4.5 Regression] -fcompare-debug failure with -O -fgcse -fgcse-las -fstack-protector-all
47858 [4.5/4.6/4.7 Regression] IPA-SRA decreases quality of debug info
47903 [4.5 Regression] var-tracking.c: valgrind error
48685 [4.5 Regression] ICE in gimplify_expr, at gimplify.c:7034
52139 [4.5 Regression] ICE: in remove_insn, at emit-rtl.c:3960 with -O -fPIC -fno-tree-dominator-opts -fno-tree-fre
48046 [4.5 Regression] Expected diagnostic "reference to 'type' is ambiguous" not given for function-local static declaration
51406 [4.5/4.6/4.7 Regression][c++0x] Incorrect result of static_cast to rvalue reference to base class.
43949 [4.4 Regression] bogus warning: array subscript is above array bounds
45982 [4.4 Regression] PTA does not track integers
48172 [4.5 Regression] incorrect vectorization of loop in GCC 4.5.* with -O3
49115 [4.5 Regression] invalid return value optimization (?) when exception is thrown and caught
49279 [4.5 Regression] Optimization incorrectly presuming constant variable inside loop in g++ 4.5 and 4.6 with -O2 and -O3 for x86_64 targets
50189 [4.5 Regression] Wrong code error in -O2 [-fstrict-enums] compile, target independent
48660 [4.5/4.6 Regression] ARM ICE in expand_expr_real_1
23656 Cross-compilation with newlib fails in libiberty
37985 [4.5/4.6/4.7/4.8 Regression] unsigned char shift lacks "statement with no effect" warning
38292 [4.5/4.6/4.7/4.8 Regression] corrupted profile info with -O[23] -fprofile-use
40778 [4.5 Regression] Mudflap instrumentation missing in cloned function.
40992 [4.4 Regression] cunroll ignoring asm size
48306 [4.4 Regression] presence of gcc subdir with . in PATH causes breakdown
49651 [4.4 Regression] nested lambdas and -O3 produced incorrect integer variable increments
52223 [4.5/4.6 Regression] libffi's man page install breaks with multilibs and overridden mandir
53418 [4.5 Regression] ICE at gimplify.c:7773
53138 [4.7 Regression] spaceship operator miscompiled
50091 [4.5/4.6/4.7 Regression] -fstack-check generates wrong assembly
50979 architecture mismatch: "mul32" not enabled for "smul" or "umul"
51187 miscompilation of genrecog.c at -O2 for --target=avr
52717 thunk referenced in discarded section when building samba with -flto
48742 [4.5 Regression] Internal error in gimplify_expr
49120 [4.5 Regression] bogus "value computed is not used" warning (variable-length array in compound statement)
49161 [4.5 Regression] Fix VRP on switch stmts
49619 [4.5 Regression] ICE in simplify_subreg, at simplify-rtx.c:5362
49621 [4.5 regression] ICE in trunc_int_for_mode, at explow.c:57
49644 [4.5 Regression] post-increment of promoted operand is incorrect.
51767 [4.5 Regression] ICE with degenerated asm goto
51768 [4.5 Regression] ICE with invalid asm goto
52736 [4.5/4.6/4.7/4.8 Regression] miscompilation: store to aliased __m128d is 8 Bytes off
49440 [4.6 regression] Invalid dynamic_cast for unnamed namespace
50565 [4.5/4.6/4.7 Regression] initializer element is not computable at load time
52294 [4.7 Regression] [ARM Thumb] generated asm code produces "branch out of range" error in gas with -Os -mcpu=cortex-a9
41159 [LTO] ICE in insert_value_copy_on_edge, at tree-outof-ssa.c:225
48822 [4.5 Regression] G++ gets stucks and never finishes compilation when enabling -O2/3 optimization options.
50162 [4.5 Regression] Wrong vectorization
49381 Unresolved symbols in libgcjgc.a when linking gctest
45786 [4.5 Regression] Relational operators .eq. and == are not recognized as equivalent
48708 Invalid V2DI vector set insn generated
50464 Using -Ofast -march=bdver1 results in internal compiler error: in extract_insn, at recog.c:2109
51821 [4.5/4.6/4.7 Regression] 64bit > 32bit conversion produces incorrect results with optimizations
52698 -maddress-mode=long doesn't work
53228 [4.6/4.7/4.8 Regression] target attributes in libcpp/lex.c cause illegal instructions to be used elsewhere
42082 [C++0x] ICE on probably invalid with "canonical types differ for identical types"
42652 vectorizer created unaligned vector insns
42856 [4.4 Regression] FAIL: gcc.dg/torture/pr41555.c -O0 (test for excess errors)
47733 psignal (int, const? char*) in libiberty/strsignal.h
48743 -march=native mis-detects AMD K6-2+ / K6-3 as Athlon - compiled C fails with "illegal instruction"
49038 [4.5/4.6/4.7 Regression] -ftree-vectorise introduces reads past end of array
49448 arm-tab-linux-gnu-eabi enableds big endian when it should not
49461 boehm-gc and gcj incompatible with pie
50875 O3 and -mavx lead to internal compiler error: in find_reloads
51161 [C++0x] Illegal static_cast to rvalue reference to ambiguous base class
51393 Wrong parameter type for _mm256_insert_epi64 in avxintrin.h
51444 [4.4 Regression]: Spurious "is used uninitialized" warning for structure with bitfields
51835 ARM EABI violation when passing arguments to helper floating functions like __aeabi_d2iz
52894 [4.5,4.6,4.7 Regression] Stage1 bootstrap fails with gcc-4.6.3: Infinite loop in pointer_set_insert
53310 [4.5/4.6/4.7/4.8 Regression] EOSHIFT leaks memory
53744 gcov version oscillates between 407* and 407p on branches
52335 [4.4/4.5/4.6/4.7 Regression] I/O: -std=f95 rejects valid DELIM= in OPEN
46192 [4.5/4.6/4.7 regression] wrong code for renaming of volatile packed array with address clause
44581 [4.5/4.6/4.7 Regression] internal compiler error: in simplify_subreg
49307 [4.5/4.6/4.7 Regression] ICE in spill_failure, at reload1.c:2113
50163 [4.4/4.5/4.6/4.7 Regression] ICE: initialization expression
50273 [4.5/4.6/4.7 Regression] -Walign-commons no longer effective
52022 [4.5/4.6/4.7 Regression] Wrong-code with procedures passed as actual argument
52452 [4.5/4.6/4.7/4.8 Regression] INTRINSIC cannot be applied to gfortran's ETIME
25973 [4.5/4.6/4.7/4.8 Regression] Wrong warning: control reaches end of non-void function
53521 [4.5/4.6/4.7/4.8 Regression] Memory leak with zero-sized array constructor


Revision tags: netbsd-6-0-6-RELEASE netbsd-6-1-5-RELEASE netbsd-6-1-4-RELEASE netbsd-6-0-5-RELEASE netbsd-6-1-3-RELEASE netbsd-6-0-4-RELEASE netbsd-6-1-2-RELEASE netbsd-6-0-3-RELEASE netbsd-6-1-1-RELEASE netbsd-6-0-2-RELEASE netbsd-6-1-RELEASE netbsd-6-1-RC4 netbsd-6-1-RC3 netbsd-6-1-RC2 netbsd-6-1-RC1 netbsd-6-0-1-RELEASE matt-nb6-plus-nbase netbsd-6-0-RELEASE netbsd-6-0-RC2 matt-nb6-plus-base netbsd-6-0-RC1 yamt-pagecache-base5 yamt-pagecache-base4 netbsd-6-base yamt-pagecache-base3 yamt-pagecache-base2 yamt-pagecache-base gcc-4-5-3
# 1.1.1.1 21-Jun-2011 mrg

branches: 1.1.1.1.2; 1.1.1.1.8;
initial import of GCC 4.5.3 sources. changes since 4.1 are way too numerous
to review, please see http://gcc.gnu.org/gcc-4.5/changes.html (and the 4.2,
4.3 and 4.4 versions, too.)

this includes the core, c++, objc and the non java/ada/fortran parts of the
testsuite.


Revision tags: gcc-7-4-0
# 1.1.1.3 19-Jan-2019 mrg

import GCC 7.4.0. main changes include:

The non-standard C++0x type traits has_trivial_default_constructor,
has_trivial_copy_constructor and has_trivial_copy_assign have been
removed.

On ARM targets (arm*-*-*), a bug introduced in GCC 5 that affects
conformance to the procedure call standard (AAPCS) has been fixed.

Many optimiser improvements

DWARF-5 support.

Many new and enhanced warnings.

Warnings about format strings now underline the pertinent part of
the string, and can offer suggested fixes.

Several new warnings related to buffer overflows and buffer
truncation.

New __builtin_add_overflow_p, __builtin_sub_overflow_p,
__builtin_mul_overflow_p built-ins added that test for overflow.

The C++ front end has experimental support for all of the current
C++17 draft.

The -fverbose-asm option has been expanded to prints comments
showing the source lines that correspond to the assembly.

The gcc and g++ driver programs will now provide suggestions for
misspelled arguments to command-line options.


AArch64 specific:

GCC has been updated to the latest revision of the procedure call
standard (AAPCS64) to provide support for parameter passing when
data types have been over-aligned.

The ARMv8.2-A and ARMv8.3-A architecture are now supported.

ARM specific:

Support for the ARMv5 and ARMv5E architectures has been
deprecated (which have no known implementations).

A new command-line option -mpure-code has been added. It does not
allow constant data to be placed in code sections.

x86 specific:

Support for the AVX-512 4FMAPS, 4VNNIW, VPOPCNTDQ and Software
Guard Extensions (SGX) ISA extensions has been added.

PPC specific:

GCC now diagnoses inline assembly that clobbers register r2.

RISC-V specific:

Support for the RISC-V instruction set has been added.

SH specific:

Support for SH5/SH64 has been removed.

Support for SH2A has been enhanced.


Revision tags: pgoyette-compat-20190118 pgoyette-compat-1226 pgoyette-compat-1126 gcc-6-5-0 pgoyette-compat-1020 pgoyette-compat-0930 pgoyette-compat-0906 netbsd-7-2-RELEASE pgoyette-compat-0728 netbsd-8-0-RELEASE phil-wifi-base pgoyette-compat-0625 netbsd-8-0-RC2 pgoyette-compat-0521 pgoyette-compat-0502 pgoyette-compat-0422 netbsd-8-0-RC1 pgoyette-compat-0415 pgoyette-compat-0407 pgoyette-compat-0330 pgoyette-compat-0322 pgoyette-compat-0315 netbsd-7-1-2-RELEASE pgoyette-compat-base gcc-6-4-0 netbsd-7-1-1-RELEASE gcc-5-5-0 matt-nb8-mediatek-base perseant-stdc-iso10646-base netbsd-8-base prg-localcount2-base3 prg-localcount2-base2 prg-localcount2-base1 prg-localcount2-base pgoyette-localcount-20170426 bouyer-socketcan-base1 pgoyette-localcount-20170320 netbsd-7-1-RELEASE netbsd-7-1-RC2 netbsd-7-nhusb-base-20170116 bouyer-socketcan-base pgoyette-localcount-20170107 netbsd-7-1-RC1 pgoyette-localcount-20161104 netbsd-7-0-2-RELEASE localcount-20160914 netbsd-7-nhusb-base pgoyette-localcount-20160806 pgoyette-localcount-20160726 pgoyette-localcount-base gcc-5-4-0 netbsd-7-0-1-RELEASE gcc-5-3-0 netbsd-7-0-RELEASE gcc-4-8-5-pre-gcc-old-import netbsd-7-0-RC3 netbsd-7-0-RC2 post-gcc-4-8-5-merge gcc-4-8-5 netbsd-7-0-RC1 gcc-4-8-4 gcc-4-8-20141009 netbsd-7-base gcc-4-8-3 yamt-pagecache-base9 tls-earlyentropy-base riastradh-xf86-video-intel-2-7-1-pre-2-21-15 riastradh-drm2-base3 gcc-4-8-3-pre-r208254 gcc-4-8-3-pre-r206687 imported-to-gcc-old-20140227-0107 riastradh-drm2-base2 riastradh-drm2-base1 riastradh-drm2-base agc-symver-base yamt-pagecache-base8 yamt-pagecache-base7 yamt-pagecache-base6 gcc-4-5-4 tls-maxphys-base
# 1.1.1.2 18-Sep-2012 skrll

Import of gcc 4.5.4. The (possibly incomplete) list of fixed bugs is

50617 [4.5/4.6/4.7 Regression] ICE: RTL flag check: INSN_ANNULLED_BRANCH_P used with unexpected rtx code 'simplify_immed_subreg' in output_bb, at config/pa/pa.c:6631
45383 [4.5 Regression] Implicit conversion to pointer does no longer automatically generate operator== and operator!=.
45606 [4.5 Regression] match a method prototyped a typedef alias with the original type (using stdlib)
47398 [4.5 Regression] tree check: accessed elt 10 of tree_vec with 9 elts in tsubst, at cp/pt.c:10500
49951 [4.5/4.6/4.7 Regression] Debug stepping behavior regarding g++ Class destructor has changed for the worse starting at gcc 4.5.0
43190 [4.4 Regression] Used pointer typedefs eliminated from debug info
43866 [4.4 Regression] wrong code with -fbounds-check -funswitch-loops
43897 [4.4 Regression] IA-64 asm clobbers are ignored
44777 [4.4 Regression] ICE: SIGSEGV with -fprofile-use in gcc.c-torture/execute/comp-goto-2.c
46985 [4.5 Regression] ICE: SIGSEGV in is_gimple_min_invariant (gimple.c:2742) with -fno-tree-ccp -fno-tree-dominator-opts -fno-tree-fre
47780 [4.5 Regression] -fcompare-debug failure with -O -fgcse -fgcse-las -fstack-protector-all
47858 [4.5/4.6/4.7 Regression] IPA-SRA decreases quality of debug info
47903 [4.5 Regression] var-tracking.c: valgrind error
48685 [4.5 Regression] ICE in gimplify_expr, at gimplify.c:7034
52139 [4.5 Regression] ICE: in remove_insn, at emit-rtl.c:3960 with -O -fPIC -fno-tree-dominator-opts -fno-tree-fre
48046 [4.5 Regression] Expected diagnostic "reference to 'type' is ambiguous" not given for function-local static declaration
51406 [4.5/4.6/4.7 Regression][c++0x] Incorrect result of static_cast to rvalue reference to base class.
43949 [4.4 Regression] bogus warning: array subscript is above array bounds
45982 [4.4 Regression] PTA does not track integers
48172 [4.5 Regression] incorrect vectorization of loop in GCC 4.5.* with -O3
49115 [4.5 Regression] invalid return value optimization (?) when exception is thrown and caught
49279 [4.5 Regression] Optimization incorrectly presuming constant variable inside loop in g++ 4.5 and 4.6 with -O2 and -O3 for x86_64 targets
50189 [4.5 Regression] Wrong code error in -O2 [-fstrict-enums] compile, target independent
48660 [4.5/4.6 Regression] ARM ICE in expand_expr_real_1
23656 Cross-compilation with newlib fails in libiberty
37985 [4.5/4.6/4.7/4.8 Regression] unsigned char shift lacks "statement with no effect" warning
38292 [4.5/4.6/4.7/4.8 Regression] corrupted profile info with -O[23] -fprofile-use
40778 [4.5 Regression] Mudflap instrumentation missing in cloned function.
40992 [4.4 Regression] cunroll ignoring asm size
48306 [4.4 Regression] presence of gcc subdir with . in PATH causes breakdown
49651 [4.4 Regression] nested lambdas and -O3 produced incorrect integer variable increments
52223 [4.5/4.6 Regression] libffi's man page install breaks with multilibs and overridden mandir
53418 [4.5 Regression] ICE at gimplify.c:7773
53138 [4.7 Regression] spaceship operator miscompiled
50091 [4.5/4.6/4.7 Regression] -fstack-check generates wrong assembly
50979 architecture mismatch: "mul32" not enabled for "smul" or "umul"
51187 miscompilation of genrecog.c at -O2 for --target=avr
52717 thunk referenced in discarded section when building samba with -flto
48742 [4.5 Regression] Internal error in gimplify_expr
49120 [4.5 Regression] bogus "value computed is not used" warning (variable-length array in compound statement)
49161 [4.5 Regression] Fix VRP on switch stmts
49619 [4.5 Regression] ICE in simplify_subreg, at simplify-rtx.c:5362
49621 [4.5 regression] ICE in trunc_int_for_mode, at explow.c:57
49644 [4.5 Regression] post-increment of promoted operand is incorrect.
51767 [4.5 Regression] ICE with degenerated asm goto
51768 [4.5 Regression] ICE with invalid asm goto
52736 [4.5/4.6/4.7/4.8 Regression] miscompilation: store to aliased __m128d is 8 Bytes off
49440 [4.6 regression] Invalid dynamic_cast for unnamed namespace
50565 [4.5/4.6/4.7 Regression] initializer element is not computable at load time
52294 [4.7 Regression] [ARM Thumb] generated asm code produces "branch out of range" error in gas with -Os -mcpu=cortex-a9
41159 [LTO] ICE in insert_value_copy_on_edge, at tree-outof-ssa.c:225
48822 [4.5 Regression] G++ gets stucks and never finishes compilation when enabling -O2/3 optimization options.
50162 [4.5 Regression] Wrong vectorization
49381 Unresolved symbols in libgcjgc.a when linking gctest
45786 [4.5 Regression] Relational operators .eq. and == are not recognized as equivalent
48708 Invalid V2DI vector set insn generated
50464 Using -Ofast -march=bdver1 results in internal compiler error: in extract_insn, at recog.c:2109
51821 [4.5/4.6/4.7 Regression] 64bit > 32bit conversion produces incorrect results with optimizations
52698 -maddress-mode=long doesn't work
53228 [4.6/4.7/4.8 Regression] target attributes in libcpp/lex.c cause illegal instructions to be used elsewhere
42082 [C++0x] ICE on probably invalid with "canonical types differ for identical types"
42652 vectorizer created unaligned vector insns
42856 [4.4 Regression] FAIL: gcc.dg/torture/pr41555.c -O0 (test for excess errors)
47733 psignal (int, const? char*) in libiberty/strsignal.h
48743 -march=native mis-detects AMD K6-2+ / K6-3 as Athlon - compiled C fails with "illegal instruction"
49038 [4.5/4.6/4.7 Regression] -ftree-vectorise introduces reads past end of array
49448 arm-tab-linux-gnu-eabi enableds big endian when it should not
49461 boehm-gc and gcj incompatible with pie
50875 O3 and -mavx lead to internal compiler error: in find_reloads
51161 [C++0x] Illegal static_cast to rvalue reference to ambiguous base class
51393 Wrong parameter type for _mm256_insert_epi64 in avxintrin.h
51444 [4.4 Regression]: Spurious "is used uninitialized" warning for structure with bitfields
51835 ARM EABI violation when passing arguments to helper floating functions like __aeabi_d2iz
52894 [4.5,4.6,4.7 Regression] Stage1 bootstrap fails with gcc-4.6.3: Infinite loop in pointer_set_insert
53310 [4.5/4.6/4.7/4.8 Regression] EOSHIFT leaks memory
53744 gcov version oscillates between 407* and 407p on branches
52335 [4.4/4.5/4.6/4.7 Regression] I/O: -std=f95 rejects valid DELIM= in OPEN
46192 [4.5/4.6/4.7 regression] wrong code for renaming of volatile packed array with address clause
44581 [4.5/4.6/4.7 Regression] internal compiler error: in simplify_subreg
49307 [4.5/4.6/4.7 Regression] ICE in spill_failure, at reload1.c:2113
50163 [4.4/4.5/4.6/4.7 Regression] ICE: initialization expression
50273 [4.5/4.6/4.7 Regression] -Walign-commons no longer effective
52022 [4.5/4.6/4.7 Regression] Wrong-code with procedures passed as actual argument
52452 [4.5/4.6/4.7/4.8 Regression] INTRINSIC cannot be applied to gfortran's ETIME
25973 [4.5/4.6/4.7/4.8 Regression] Wrong warning: control reaches end of non-void function
53521 [4.5/4.6/4.7/4.8 Regression] Memory leak with zero-sized array constructor


Revision tags: netbsd-6-0-6-RELEASE netbsd-6-1-5-RELEASE netbsd-6-1-4-RELEASE netbsd-6-0-5-RELEASE netbsd-6-1-3-RELEASE netbsd-6-0-4-RELEASE netbsd-6-1-2-RELEASE netbsd-6-0-3-RELEASE netbsd-6-1-1-RELEASE netbsd-6-0-2-RELEASE netbsd-6-1-RELEASE netbsd-6-1-RC4 netbsd-6-1-RC3 netbsd-6-1-RC2 netbsd-6-1-RC1 netbsd-6-0-1-RELEASE matt-nb6-plus-nbase netbsd-6-0-RELEASE netbsd-6-0-RC2 matt-nb6-plus-base netbsd-6-0-RC1 yamt-pagecache-base5 yamt-pagecache-base4 netbsd-6-base yamt-pagecache-base3 yamt-pagecache-base2 yamt-pagecache-base gcc-4-5-3
# 1.1.1.1 21-Jun-2011 mrg

branches: 1.1.1.1.2; 1.1.1.1.8;
initial import of GCC 4.5.3 sources. changes since 4.1 are way too numerous
to review, please see http://gcc.gnu.org/gcc-4.5/changes.html (and the 4.2,
4.3 and 4.4 versions, too.)

this includes the core, c++, objc and the non java/ada/fortran parts of the
testsuite.


# 1.1 20-Jun-2011 mrg

branches: 1.1.1;
Initial revision


# 1.1.1.2 18-Sep-2012 skrll

Import of gcc 4.5.4. The (possibly incomplete) list of fixed bugs is

50617 [4.5/4.6/4.7 Regression] ICE: RTL flag check: INSN_ANNULLED_BRANCH_P used with unexpected rtx code 'simplify_immed_subreg' in output_bb, at config/pa/pa.c:6631
45383 [4.5 Regression] Implicit conversion to pointer does no longer automatically generate operator== and operator!=.
45606 [4.5 Regression] match a method prototyped a typedef alias with the original type (using stdlib)
47398 [4.5 Regression] tree check: accessed elt 10 of tree_vec with 9 elts in tsubst, at cp/pt.c:10500
49951 [4.5/4.6/4.7 Regression] Debug stepping behavior regarding g++ Class destructor has changed for the worse starting at gcc 4.5.0
43190 [4.4 Regression] Used pointer typedefs eliminated from debug info
43866 [4.4 Regression] wrong code with -fbounds-check -funswitch-loops
43897 [4.4 Regression] IA-64 asm clobbers are ignored
44777 [4.4 Regression] ICE: SIGSEGV with -fprofile-use in gcc.c-torture/execute/comp-goto-2.c
46985 [4.5 Regression] ICE: SIGSEGV in is_gimple_min_invariant (gimple.c:2742) with -fno-tree-ccp -fno-tree-dominator-opts -fno-tree-fre
47780 [4.5 Regression] -fcompare-debug failure with -O -fgcse -fgcse-las -fstack-protector-all
47858 [4.5/4.6/4.7 Regression] IPA-SRA decreases quality of debug info
47903 [4.5 Regression] var-tracking.c: valgrind error
48685 [4.5 Regression] ICE in gimplify_expr, at gimplify.c:7034
52139 [4.5 Regression] ICE: in remove_insn, at emit-rtl.c:3960 with -O -fPIC -fno-tree-dominator-opts -fno-tree-fre
48046 [4.5 Regression] Expected diagnostic "reference to 'type' is ambiguous" not given for function-local static declaration
51406 [4.5/4.6/4.7 Regression][c++0x] Incorrect result of static_cast to rvalue reference to base class.
43949 [4.4 Regression] bogus warning: array subscript is above array bounds
45982 [4.4 Regression] PTA does not track integers
48172 [4.5 Regression] incorrect vectorization of loop in GCC 4.5.* with -O3
49115 [4.5 Regression] invalid return value optimization (?) when exception is thrown and caught
49279 [4.5 Regression] Optimization incorrectly presuming constant variable inside loop in g++ 4.5 and 4.6 with -O2 and -O3 for x86_64 targets
50189 [4.5 Regression] Wrong code error in -O2 [-fstrict-enums] compile, target independent
48660 [4.5/4.6 Regression] ARM ICE in expand_expr_real_1
23656 Cross-compilation with newlib fails in libiberty
37985 [4.5/4.6/4.7/4.8 Regression] unsigned char shift lacks "statement with no effect" warning
38292 [4.5/4.6/4.7/4.8 Regression] corrupted profile info with -O[23] -fprofile-use
40778 [4.5 Regression] Mudflap instrumentation missing in cloned function.
40992 [4.4 Regression] cunroll ignoring asm size
48306 [4.4 Regression] presence of gcc subdir with . in PATH causes breakdown
49651 [4.4 Regression] nested lambdas and -O3 produced incorrect integer variable increments
52223 [4.5/4.6 Regression] libffi's man page install breaks with multilibs and overridden mandir
53418 [4.5 Regression] ICE at gimplify.c:7773
53138 [4.7 Regression] spaceship operator miscompiled
50091 [4.5/4.6/4.7 Regression] -fstack-check generates wrong assembly
50979 architecture mismatch: "mul32" not enabled for "smul" or "umul"
51187 miscompilation of genrecog.c at -O2 for --target=avr
52717 thunk referenced in discarded section when building samba with -flto
48742 [4.5 Regression] Internal error in gimplify_expr
49120 [4.5 Regression] bogus "value computed is not used" warning (variable-length array in compound statement)
49161 [4.5 Regression] Fix VRP on switch stmts
49619 [4.5 Regression] ICE in simplify_subreg, at simplify-rtx.c:5362
49621 [4.5 regression] ICE in trunc_int_for_mode, at explow.c:57
49644 [4.5 Regression] post-increment of promoted operand is incorrect.
51767 [4.5 Regression] ICE with degenerated asm goto
51768 [4.5 Regression] ICE with invalid asm goto
52736 [4.5/4.6/4.7/4.8 Regression] miscompilation: store to aliased __m128d is 8 Bytes off
49440 [4.6 regression] Invalid dynamic_cast for unnamed namespace
50565 [4.5/4.6/4.7 Regression] initializer element is not computable at load time
52294 [4.7 Regression] [ARM Thumb] generated asm code produces "branch out of range" error in gas with -Os -mcpu=cortex-a9
41159 [LTO] ICE in insert_value_copy_on_edge, at tree-outof-ssa.c:225
48822 [4.5 Regression] G++ gets stucks and never finishes compilation when enabling -O2/3 optimization options.
50162 [4.5 Regression] Wrong vectorization
49381 Unresolved symbols in libgcjgc.a when linking gctest
45786 [4.5 Regression] Relational operators .eq. and == are not recognized as equivalent
48708 Invalid V2DI vector set insn generated
50464 Using -Ofast -march=bdver1 results in internal compiler error: in extract_insn, at recog.c:2109
51821 [4.5/4.6/4.7 Regression] 64bit > 32bit conversion produces incorrect results with optimizations
52698 -maddress-mode=long doesn't work
53228 [4.6/4.7/4.8 Regression] target attributes in libcpp/lex.c cause illegal instructions to be used elsewhere
42082 [C++0x] ICE on probably invalid with "canonical types differ for identical types"
42652 vectorizer created unaligned vector insns
42856 [4.4 Regression] FAIL: gcc.dg/torture/pr41555.c -O0 (test for excess errors)
47733 psignal (int, const? char*) in libiberty/strsignal.h
48743 -march=native mis-detects AMD K6-2+ / K6-3 as Athlon - compiled C fails with "illegal instruction"
49038 [4.5/4.6/4.7 Regression] -ftree-vectorise introduces reads past end of array
49448 arm-tab-linux-gnu-eabi enableds big endian when it should not
49461 boehm-gc and gcj incompatible with pie
50875 O3 and -mavx lead to internal compiler error: in find_reloads
51161 [C++0x] Illegal static_cast to rvalue reference to ambiguous base class
51393 Wrong parameter type for _mm256_insert_epi64 in avxintrin.h
51444 [4.4 Regression]: Spurious "is used uninitialized" warning for structure with bitfields
51835 ARM EABI violation when passing arguments to helper floating functions like __aeabi_d2iz
52894 [4.5,4.6,4.7 Regression] Stage1 bootstrap fails with gcc-4.6.3: Infinite loop in pointer_set_insert
53310 [4.5/4.6/4.7/4.8 Regression] EOSHIFT leaks memory
53744 gcov version oscillates between 407* and 407p on branches
52335 [4.4/4.5/4.6/4.7 Regression] I/O: -std=f95 rejects valid DELIM= in OPEN
46192 [4.5/4.6/4.7 regression] wrong code for renaming of volatile packed array with address clause
44581 [4.5/4.6/4.7 Regression] internal compiler error: in simplify_subreg
49307 [4.5/4.6/4.7 Regression] ICE in spill_failure, at reload1.c:2113
50163 [4.4/4.5/4.6/4.7 Regression] ICE: initialization expression
50273 [4.5/4.6/4.7 Regression] -Walign-commons no longer effective
52022 [4.5/4.6/4.7 Regression] Wrong-code with procedures passed as actual argument
52452 [4.5/4.6/4.7/4.8 Regression] INTRINSIC cannot be applied to gfortran's ETIME
25973 [4.5/4.6/4.7/4.8 Regression] Wrong warning: control reaches end of non-void function
53521 [4.5/4.6/4.7/4.8 Regression] Memory leak with zero-sized array constructor


# 1.1.1.1 20-Jun-2011 mrg

branches: 1.1.1.1.2; 1.1.1.1.8;
initial import of GCC 4.5.3 sources. changes since 4.1 are way too numerous
to review, please see http://gcc.gnu.org/gcc-4.5/changes.html (and the 4.2,
4.3 and 4.4 versions, too.)

this includes the core, c++, objc and the non java/ada/fortran parts of the
testsuite.


# 1.1.1.1.8.1 19-Nov-2012 tls

Resync to 2012-11-19 00:00:00 UTC


# 1.1.1.1.2.1 30-Oct-2012 yamt

sync with head