Hi Steven: You are right, I have build arm toolchain today, it's crash when building libgcc since there is no valid CFG in split_all_insns_noflow.
Hi Jeff: Maybe we need split_reg_dead_p and split_reg_unused_p like peephole2 have peep2_reg_dead_p? On Wed, Aug 10, 2016 at 3:54 AM, Steven Bosscher <stevenb....@gmail.com> wrote: > On Mon, Aug 8, 2016 at 9:45 PM, Jeff Law wrote: > >> >> I'm pretty sure we do _not_ want it for split_all_insns_noflow since that's >> used when the CFG is not necessarily correct and thus I don't see how we can >> reliably have death/unused notes. > > Actually, trying to initializing DF without a valid CFG will most > likely just crash the compiler. DF doesn't work without a valid CFG. > > I expect the patch to fail for at least MIPS, SPARC, and ARM. > > Ciao! > Steven