diff options
Diffstat (limited to 'gcc/config/stormy16/stormy16.c')
-rw-r--r-- | gcc/config/stormy16/stormy16.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/gcc/config/stormy16/stormy16.c b/gcc/config/stormy16/stormy16.c index 597c4dd..9ab984d 100644 --- a/gcc/config/stormy16/stormy16.c +++ b/gcc/config/stormy16/stormy16.c @@ -1971,6 +1971,11 @@ xstormy16_expand_arith (mode, code, dest, src0, src1, carry) firstloop = 0; emit (insn); } + + /* If we emit nothing, try_split() will think we failed. So emit + something that does nothing and can be optimized away. */ + if (firstloop) + emit (gen_nop ()); } /* Return 1 if OP is a shift operator. */ |