diff options
Diffstat (limited to 'gcc/config/arm/arm.c')
-rw-r--r-- | gcc/config/arm/arm.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/gcc/config/arm/arm.c b/gcc/config/arm/arm.c index 53633dc..75dd8b2 100644 --- a/gcc/config/arm/arm.c +++ b/gcc/config/arm/arm.c @@ -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; |