This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [patch] PR middle-end/54385
- From: Eric Botcazou <ebotcazou at adacore dot com>
- To: Steven Bosscher <stevenb dot gcc at gmail dot com>
- Cc: gcc-patches at gcc dot gnu dot org, Andreas Schwab <schwab at linux-m68k dot org>
- Date: Mon, 27 Aug 2012 22:32:23 +0200
- Subject: Re: [patch] PR middle-end/54385
- References: <CABu31nOsRDxRMEQhbm5cvJMSOpBGT0byt1A3XWABn+we9fxHog@mail.gmail.com>
> 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