This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH] Fix PR ipa/65557
- From: James Greenhalgh <james dot greenhalgh at arm dot com>
- To: "H.J. Lu" <hjl dot tools at gmail dot com>
- Cc: Martin LiÅka <mliska at suse dot cz>, GCC Patches <gcc-patches at gcc dot gnu dot org>
- Date: Thu, 2 Apr 2015 14:29:13 +0100
- Subject: Re: [PATCH] Fix PR ipa/65557
- Authentication-results: sourceware.org; auth=none
- References: <55192F13 dot 8050002 at suse dot cz> <20150330170259 dot GB93920 at kam dot mff dot cuni dot cz> <5519CC05 dot 2070807 at suse dot cz> <CAMe9rOrw+k76ZysZSJiSf0kCJXO91oB+MMsTJfHM0iF3t0EdMA at mail dot gmail dot com>
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 <mliska@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.