(output_return_instruction): Do not create the conditional part of the return instruction...

(output_return_instruction): Do not create the conditional part of the return
instruction, if there is no condition to be used.

From-SVN: r51750
This commit is contained in:
Nick Clifton 2002-04-02 13:51:01 +00:00 committed by Nick Clifton
parent 3741b1abe0
commit 36f09faa05
2 changed files with 10 additions and 1 deletions

View File

@ -1,3 +1,9 @@
2002-04-02 Nick Clifton <nickc@cambridge.redhat.com>
* config/arm/arm.c (output_return_instruction): Do not create the
conditional part of the return instruction, if there is no
condition to be used.
Tue Apr 2 06:47:40 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
* stor-layout.c (layout_type, case ARRAY_TYPE): Give one-element array

View File

@ -7210,7 +7210,10 @@ output_return_instruction (operand, really_return, reverse)
abort ();
/* Construct the conditional part of the instruction(s) to be emitted. */
sprintf (conditional, "%%?%%%c0", reverse ? 'D' : 'd');
if (operand)
sprintf (conditional, "%%?%%%c0", reverse ? 'D' : 'd');
else
* conditional = 0;
return_used_this_function = 1;