Re: [patch] fix guality/nrv-1.c LTO failure

2014-08-18 Thread Richard Biener
On Fri, Aug 15, 2014 at 10:29 PM, Aldy Hernandez wrote: > This test is failing with LTO because in the LTRANS phase (DCE) we realize > that the call to f() is useless, so we don't generate it. This leads to an > uncalled f() which also gets deleted. We end up with an empty main(), and > rightly

[patch] fix guality/nrv-1.c LTO failure

2014-08-15 Thread Aldy Hernandez
This test is failing with LTO because in the LTRANS phase (DCE) we realize that the call to f() is useless, so we don't generate it. This leads to an uncalled f() which also gets deleted. We end up with an empty main(), and rightly so, gdb has nothing good to print. Marking `a1' as used keep