From b3022d35599b29e1abb3a6589f148e8f905e50cb Mon Sep 17 00:00:00 2001 From: David Malcolm Date: Tue, 26 Apr 2016 12:44:37 -0400 Subject: [PATCH 116/117] FIXME: handle RETURN/SIMPLE_RETURN in for_each_label_ref --- gcc/rtl/rtl-frontend.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/gcc/rtl/rtl-frontend.c b/gcc/rtl/rtl-frontend.c index 67260ac..30b04bd 100644 --- a/gcc/rtl/rtl-frontend.c +++ b/gcc/rtl/rtl-frontend.c @@ -789,6 +789,9 @@ for_each_label_ref (rtx_jump_insn *jump_insn, return; } + if (ANY_RETURN_P (PATTERN (jump_insn))) + return; + /* TODO: something else? */ gcc_unreachable (); } -- 1.8.5.3