This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
[trans-mem] COMMITTED: propagate irrevocability in the presence of EXIT_BLOCKs correctly
- From: Aldy Hernandez <aldyh at redhat dot com>
- To: Richard Henderson <rth at redhat dot com>, gcc-patches <gcc-patches at gcc dot gnu dot org>
- Date: Mon, 31 Jan 2011 11:29:17 -0600
- Subject: [trans-mem] COMMITTED: propagate irrevocability in the presence of EXIT_BLOCKs correctly
Currently we are getting confused when examining an EXIT_BLOCK in
ipa_tm_propagate_irr(), because we assume for any given BB that all
children are irrevocable unless we can prove otherwise. However, if we
have no successors (e.g. an EXIT_BLOCK), we end up assuming all children
are irrevocable, so the EXIT_BLOCK must be irrevocable as well.
I believe this is an obvious patch and am committing as such. Please
feel free to contradict me, if I am wrong.
This patch fixes the ICE in PR/47340.
Attachment:
curr
Description: Text document