summaryrefslogtreecommitdiff
path: root/gcc/genflags.c
diff options
context:
space:
mode:
authorrth <rth@138bc75d-0d04-0410-961f-82ee72b054a4>2000-03-17 22:40:45 +0000
committerrth <rth@138bc75d-0d04-0410-961f-82ee72b054a4>2000-03-17 22:40:45 +0000
commit60ecc450bdb562faecd8b47d5152db3e61d0ba1a (patch)
tree720b4c50b7ea074422601de35cfc7e48ed679e49 /gcc/genflags.c
parent03df82f0be625e9dd74727cbe4e8f50b71069384 (diff)
downloadgcc-60ecc450bdb562faecd8b47d5152db3e61d0ba1a.tar.gz
Sibling call optimizations.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@32612 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/genflags.c')
-rw-r--r--gcc/genflags.c8
1 files changed, 6 insertions, 2 deletions
diff --git a/gcc/genflags.c b/gcc/genflags.c
index d1f19e08b81..39b5354e7dc 100644
--- a/gcc/genflags.c
+++ b/gcc/genflags.c
@@ -174,11 +174,15 @@ gen_insn (insn)
call_value_pop) ignoring the extra arguments that are passed for
some machines, so by default, turn off the prototype. */
- obstack_ptr = (name[0] == 'c'
+ obstack_ptr = ((name[0] == 'c' || name[0] == 's')
&& (!strcmp (name, "call")
|| !strcmp (name, "call_value")
|| !strcmp (name, "call_pop")
- || !strcmp (name, "call_value_pop")))
+ || !strcmp (name, "call_value_pop")
+ || !strcmp (name, "sibcall")
+ || !strcmp (name, "sibcall_value")
+ || !strcmp (name, "sibcall_pop")
+ || !strcmp (name, "sibcall_value_pop")))
? &call_obstack : &normal_obstack;
obstack_grow (obstack_ptr, &insn, sizeof (rtx));