Re: fix latent bootstrap-debug issue (modref, tree-inline, tree jump-threading)

2021-08-28 Thread Jan Hubicka
> On Aug 22, 2021, Jan Hubicka wrote: > > > OK, thanks for looking into this issue! > > Thanks, I've finally installed it in the trunk. > > > It seems that analye_stmt indeed does not skip debug stmts. It is very > > odd we got so far without hitting build difference. > > Indeed. That got me

Re: fix latent bootstrap-debug issue (modref, tree-inline, tree jump-threading)

2021-08-27 Thread Alexandre Oliva
On Aug 22, 2021, Jan Hubicka wrote: > OK, thanks for looking into this issue! Thanks, I've finally installed it in the trunk. > It seems that analye_stmt indeed does not skip debug stmts. It is very > odd we got so far without hitting build difference. Indeed. That got me thinking... The co

Re: fix latent bootstrap-debug issue (modref, tree-inline, tree jump-threading)

2021-08-22 Thread Jan Hubicka
> > for gcc/ChangeLog > > * ipa-modref.c (analyze_function): Skip debug stmts. > * tree-inline.c (estimate_num_insn): Consider builtins even > without a cgraph_node. OK, thanks for looking into this issue! (for mainline and release brances bit later) > --- > gcc/ipa-modref.c

fix latent bootstrap-debug issue (modref, tree-inline, tree jump-threading)

2021-08-20 Thread Alexandre Oliva
I've hit a bootstrap-debug error involving large subprograms in gcc/ada/sem_ch12.adb. I'm afraid I couldn't narrow it down to a reasonable testcase. thread1 made different decisions about a block containing a builtin_eh_filter call because in one compilation, estimate_num_insns found a cgraph_n