On 03/19/2015 06:13 PM, Jakub Jelinek wrote:
On Thu, Mar 19, 2015 at 06:08:03PM +0100, Martin Liška wrote:
>From 1b0416658cf59348664d44b14518c994075fd9bd Mon Sep 17 00:00:00 2001
From: mliska
Date: Thu, 19 Mar 2015 15:36:34 +0100
Subject: [PATCH] Fix for PR ipa/65465.
gcc/ChangeLog:
2015-03-1
On Thu, Mar 19, 2015 at 06:08:03PM +0100, Martin Liška wrote:
> >From 1b0416658cf59348664d44b14518c994075fd9bd Mon Sep 17 00:00:00 2001
> From: mliska
> Date: Thu, 19 Mar 2015 15:36:34 +0100
> Subject: [PATCH] Fix for PR ipa/65465.
>
> gcc/ChangeLog:
>
> 2015-03-19 Martin Liska
>
> PR
Hello.
Following patch is fix for the PR. Problem is caused if we fill up
cgraph_thunk_info with some values (e.g. virtual_value != 0)
and further analysis set thunk_p = false. In all situations IPA ICF needs to
reset all fields of the struct as it sets
thunk_p = true.
Tested on x86_64-linux-p