* h8300.c (output_adds_subs): check for adding 0.
From-SVN: r13984
This commit is contained in:
parent
5b5686f5e7
commit
db5a46802c
|
@ -735,6 +735,10 @@ output_adds_subs (operands)
|
|||
if (val == -1)
|
||||
return "subs #1,%A0";
|
||||
|
||||
/* If not optimizing, we might be asked to add 0. */
|
||||
if (val == 0)
|
||||
return "";
|
||||
|
||||
/* In theory, this can't happen. */
|
||||
abort ();
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue