This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
[patch] fix PR 36974
- From: "Rafael Espindola" <espindola at google dot com>
- To: gcc-patches <gcc-patches at gcc dot gnu dot org>
- Cc: "H.J. Lu" <hjl dot tools at gmail dot com>
- Date: Wed, 30 Jul 2008 17:48:32 +0100
- Subject: [patch] fix PR 36974
2008-07-30 Rafael Avila de Espindola <espindola@google.com>
PR 36974
* final.c (call_from_call_insn): Handle COND_EXEC.
Cheers,
--
Rafael Avila de Espindola
Google Ireland Ltd.
Gordon House
Barrow Street
Dublin 4
Ireland
Registered in Dublin, Ireland
Registration Number: 368047
diff --git a/gcc/final.c b/gcc/final.c
index 2a9d40b..099942a 100644
--- a/gcc/final.c
+++ b/gcc/final.c
@@ -1758,6 +1758,9 @@ call_from_call_insn (rtx insn)
{
default:
gcc_unreachable ();
+ case COND_EXEC:
+ x = COND_EXEC_CODE (x);
+ break;
case PARALLEL:
x = XVECEXP (x, 0, 0);
break;