Re: [PATCH] tree-inline: Fix a -fcompare-debug issue in the inliner [PR94167]

2020-03-16 Thread Richard Biener
On Sat, 14 Mar 2020, Jakub Jelinek wrote: > Hi! > > The following testcase fails with -fcompare-debug. The problem is that > bar is marked as address_taken only with -g and not without. > I've tracked it down to insert_init_stmt calling gimple_regimplify_operands > even on DEBUG_STMTs. That fun

[PATCH] tree-inline: Fix a -fcompare-debug issue in the inliner [PR94167]

2020-03-14 Thread Jakub Jelinek via Gcc-patches
Hi! The following testcase fails with -fcompare-debug. The problem is that bar is marked as address_taken only with -g and not without. I've tracked it down to insert_init_stmt calling gimple_regimplify_operands even on DEBUG_STMTs. That function will just insert normal stmts before the DEBUG_ST