summaryrefslogtreecommitdiff
path: root/gcc/optabs.c
diff options
context:
space:
mode:
authoraoliva <aoliva@138bc75d-0d04-0410-961f-82ee72b054a4>2003-04-09 17:50:08 +0000
committeraoliva <aoliva@138bc75d-0d04-0410-961f-82ee72b054a4>2003-04-09 17:50:08 +0000
commit39810676742d211d2b80a19de7a791378f9c2854 (patch)
tree34830d3300213fa9d314566552067ebc840c3cb3 /gcc/optabs.c
parent58b907680dcc396601735ed6a9620a1cd8f96bf6 (diff)
downloadgcc-39810676742d211d2b80a19de7a791378f9c2854.tar.gz
* optabs.c: Comment that gen_add2_insn and others may actually
return emitted insns, if the gen functions turn out to return emitted insns. * reload1.c (reload_cse_move2add): Cope with emitted insns from gen_add2_insn. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@65400 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/optabs.c')
-rw-r--r--gcc/optabs.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/gcc/optabs.c b/gcc/optabs.c
index bd5c385cec5..14d93c65fe8 100644
--- a/gcc/optabs.c
+++ b/gcc/optabs.c
@@ -4512,8 +4512,9 @@ emit_conditional_add (target, code, op0, op1, cmode, op2, op3, mode,
return target;
}
-/* These functions generate an insn body and return it
- rather than emitting the insn.
+/* These functions attempt to generate an insn body, rather than
+ emitting the insn, but if the gen function already emits them, we
+ make no attempt to turn them back into naked patterns.
They do not protect from queued increments,
because they may be used 1) in protect_from_queue itself