This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [patch] PR middle-end/54385


> This patch fixes the problem by deleting unreachable basic blocks if
> edges were purged during a reload-cse transformation on an insn. I
> didn't add a test case because reliably triggering problems this late
> in the pass pipeline is so hard.

A pervasive idiom in the RTL land is to call cleanup_cfg (0) in this case (and 
Richard recently added the cleanup_cfg (CLEANUP_CFG_CHANGED) variant).  Any 
reason not to use it?  Are you concerned about compilation time here?

-- 
Eric Botcazou


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]