diff options
author | Bernd Schmidt <bernds@redhat.com> | 2002-07-30 21:57:56 +0000 |
---|---|---|
committer | Bernd Schmidt <bernds@gcc.gnu.org> | 2002-07-30 21:57:56 +0000 |
commit | 79cbc1f7649ee1b63aa66a3ffcad6e959df0a7d7 (patch) | |
tree | 02dcc5d5de24bf48516498d246dc8137d5864968 /gcc/genemit.c | |
parent | 26e20555c3f1ae9ff98fe9566c60df4facbdbe3e (diff) | |
download | gcc-79cbc1f7649ee1b63aa66a3ffcad6e959df0a7d7.zip gcc-79cbc1f7649ee1b63aa66a3ffcad6e959df0a7d7.tar.gz gcc-79cbc1f7649ee1b63aa66a3ffcad6e959df0a7d7.tar.bz2 |
Recognize return insns even if the return appears in a parallel.
From-SVN: r55885
Diffstat (limited to 'gcc/genemit.c')
-rw-r--r-- | gcc/genemit.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/gcc/genemit.c b/gcc/genemit.c index 781eba2..cb6c06c 100644 --- a/gcc/genemit.c +++ b/gcc/genemit.c @@ -524,8 +524,9 @@ gen_expand (expand) rtx next = XVECEXP (expand, 1, i); if ((GET_CODE (next) == SET && GET_CODE (SET_DEST (next)) == PC) || (GET_CODE (next) == PARALLEL - && GET_CODE (XVECEXP (next, 0, 0)) == SET - && GET_CODE (SET_DEST (XVECEXP (next, 0, 0))) == PC) + && ((GET_CODE (XVECEXP (next, 0, 0)) == SET + && GET_CODE (SET_DEST (XVECEXP (next, 0, 0))) == PC) + || GET_CODE (XVECEXP (next, 0, 0)) == RETURN)) || GET_CODE (next) == RETURN) printf (" emit_jump_insn ("); else if ((GET_CODE (next) == SET && GET_CODE (SET_SRC (next)) == CALL) |