On Mon, Mar 30, 2015 at 3:19 PM, Martin Liška <mli...@suse.cz> wrote: > On 03/30/2015 07:03 PM, Jan Hubicka wrote: >>> >>> Hello. >>> >>> Following patch fixed the issue, where we have to check if function >>> summary >>> for IPA CP has been already created. >>> >>> Tested on x86_64-linux-pc w/o any new regression introduced. >>> Ready for trunk? >>> >>> Thanks, >>> Martin >> >> >>> >From c33680093e67328863836a845e847bf1b1b23d0e Mon Sep 17 00:00:00 2001 >>> From: mliska <mli...@suse.cz> >>> Date: Sun, 29 Mar 2015 20:20:33 +0200 >>> Subject: [PATCH] Fix PR65557. >>> >>> gcc/ChangeLog: >>> >>> 2015-03-29 Martin Liska <mli...@suse.cz> >>> >>> PR ipa/65557 >>> * ipa-icf.c (sem_function::equals_wpa): Check if IPA CP >>> has already filled up function summary. >> >> >> OK, there is one extra occurence of flag_ipa_cp test, so please update it >> consistently. >> >> Honza >> > > Hi. > > 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. -- H.J.