mirror of
git://gcc.gnu.org/git/gcc.git
synced 2025-02-05 10:00:18 +08:00
Recognize return insns even if the return appears in a parallel.
From-SVN: r55885
This commit is contained in:
parent
26e20555c3
commit
79cbc1f764
@ -2,6 +2,8 @@
|
||||
|
||||
* ifcvt.c (cond_exec_process_if_block): Fix a merging error.
|
||||
Bail out early if false_expr is NULL and we'd crash due to this.
|
||||
* genemit.c (gen_expand): Recognize return insns even if the return
|
||||
appears in a parallel.
|
||||
|
||||
2002-07-30 David Edelsohn <edelsohn@gnu.org>
|
||||
Zack Weinberg <zack@codesourcery.com>
|
||||
|
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user