On Wed, Apr 01, 2015 at 11:42:28PM +0100, H.J. Lu wrote: > On Mon, Mar 30, 2015 at 3:19 PM, Martin Liška <mli...@suse.cz> wrote: > > You are right, there's one more occurrence of the usage. > > I'm going to install the patch I've attached. > > > > This caused: > > FAIL: g++.dg/torture/pr64378.C -O2 -flto -fno-use-linker-plugin > -flto-partition=none (internal compiler error) > FAIL: g++.dg/torture/pr64378.C -O2 -flto -fno-use-linker-plugin > -flto-partition=none (test for excess errors) > > on x86-64.
Likewise on aarch64-none-elf and aarch64-none-linux-gnu. Thanks, James ---- /build-gcc/obj/gcc2/gcc/testsuite/g++6/../../xg++ -B/build-gcc/obj/gcc2/gcc/testsuite/g++6/../../ /gcc-src/gcc/gcc/testsuite/g++.dg/torture/pr64378.C -fno-diagnostics-show-caret -fdiagnostics-color=never -nostdinc++ -I/build-gcc/obj/gcc2/aarch64-none-elf/libstdc++-v3/include/aarch64-none-elf -I/build-gcc/obj/gcc2/aarch64-none-elf/libstdc++-v3/include -I/gcc-src/gcc/libstdc++-v3/libsupc++ -I/gcc-src/gcc/libstdc++-v3/include/backward -I/gcc-src/gcc/libstdc++-v3/testsuite/util -fmessage-length=0 -O2 -flto -fno-use-linker-plugin -flto-partition=none -fno-ipa-cp -S -specs=aem-ve.specs -mcmodel=small -o pr64378.s /gcc-src/gcc/gcc/testsuite/g++.dg/torture/pr64378.C:24:1: internal compiler error: Segmentation fault 0xc2c81a crash_signal /gcc-src/gcc/gcc/toplev.c:383 0x10e434e vec<ipa_param_descriptor, va_heap, vl_embed>::operator[](unsigned int) /gcc-src/gcc/gcc/vec.h:736 0x10e434e vec<ipa_param_descriptor, va_heap, vl_ptr>::operator[](unsigned int) /gcc-src/gcc/gcc/vec.h:1202 0x10e434e ipa_is_param_used /gcc-src/gcc/gcc/ipa-prop.h:405 0x10e434e ipa_icf::sem_item_optimizer::update_hash_by_addr_refs() /gcc-src/gcc/gcc/ipa-icf.c:2511 0x10e45c5 ipa_icf::sem_item_optimizer::execute() /gcc-src/gcc/gcc/ipa-icf.c:2394 0x10e6aa6 ipa_icf_driver /gcc-src/gcc/gcc/ipa-icf.c:3304 0x10e6aa6 ipa_icf::pass_ipa_icf::execute(function*) /gcc-src/gcc/gcc/ipa-icf.c:3351 Please submit a full bug report, with preprocessed source if appropriate. Please include the complete backtrace with any bug report. See <http://gcc.gnu.org/bugs.html> for instructions.