summaryrefslogtreecommitdiff
path: root/gcc/integrate.c
diff options
context:
space:
mode:
authorRichard Kenner <kenner@gcc.gnu.org>1997-01-19 20:54:40 -0500
committerRichard Kenner <kenner@gcc.gnu.org>1997-01-19 20:54:40 -0500
commit299b54ba04836b48d2e8c599a84b8be74f70510f (patch)
tree0f6b0c86ddf060eb6f4e6773881afd1c2f22983a /gcc/integrate.c
parent4bfe969bc7dfff5a23631285f5a667db3b18a9a1 (diff)
downloadgcc-299b54ba04836b48d2e8c599a84b8be74f70510f.tar.gz
(expand_inline_function): Handle a PARALLEL containing a RETURN the
same as a RETURN. From-SVN: r13533
Diffstat (limited to 'gcc/integrate.c')
-rw-r--r--gcc/integrate.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/gcc/integrate.c b/gcc/integrate.c
index 5d22dc8d2d0..4bb1bc55dcd 100644
--- a/gcc/integrate.c
+++ b/gcc/integrate.c
@@ -1847,7 +1847,9 @@ expand_inline_function (fndecl, parms, target, ignore, type,
break;
case JUMP_INSN:
- if (GET_CODE (PATTERN (insn)) == RETURN)
+ if (GET_CODE (PATTERN (insn)) == RETURN
+ || (GET_CODE (PATTERN (insn)) == PARALLEL
+ && GET_CODE (XVECEXP (PATTERN (insn), 0, 0)) == RETURN))
{
if (local_return_label == 0)
local_return_label = gen_label_rtx ();