Re: [4.6 PATCH] Fix pr48973-{1,2}.c testcases with LTO (PR lto/49123)

2011-05-23 Thread Richard Guenther
On Mon, May 23, 2011 at 6:56 PM, Jakub Jelinek wrote: > Hi! > > This is something I didn't notice in my testing because my ld doesn't > support plugins and thus -flto didn't act as -fwhole-file. > The bug got fixed on the trunk by changing build_int_cst, which is > too risky to backport, so this p

[4.6 PATCH] Fix pr48973-{1,2}.c testcases with LTO (PR lto/49123)

2011-05-23 Thread Jakub Jelinek
Hi! This is something I didn't notice in my testing because my ld doesn't support plugins and thus -flto didn't act as -fwhole-file. The bug got fixed on the trunk by changing build_int_cst, which is too risky to backport, so this patch instead just adjusts the single place relevant to this patch