summaryrefslogtreecommitdiff
path: root/gcc/function.c
diff options
context:
space:
mode:
authorhubicka <hubicka@138bc75d-0d04-0410-961f-82ee72b054a4>2002-10-11 20:26:50 +0000
committerhubicka <hubicka@138bc75d-0d04-0410-961f-82ee72b054a4>2002-10-11 20:26:50 +0000
commit0d86b7af93844f64e5357635b8a76e4bd7c123ff (patch)
treefbcbac53dc98b47f9f2b0b115a5d2f2bb473c34d /gcc/function.c
parent7a9eed3fe478871f0095e0e14c7a7114342f1927 (diff)
downloadgcc-0d86b7af93844f64e5357635b8a76e4bd7c123ff.tar.gz
* calls.c (expand_call): Simplify noreturn call.
PR c/7344 * cfgbuild.c (make_edges): Create edge cache when we do have large jumptable. (do_tablejump): Note size of maximal jumptable. * function.c (prepare_function_start): Zero out size. * function.h (function): Add max_jumptable_ents. * cfgcleanup.c (insn_match_p): Verify sibcall flag for calls to. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@58063 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/function.c')
-rw-r--r--gcc/function.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/gcc/function.c b/gcc/function.c
index d39fca3b4f9..479ecef4141 100644
--- a/gcc/function.c
+++ b/gcc/function.c
@@ -6295,6 +6295,8 @@ prepare_function_start ()
cfun->function_frequency = FUNCTION_FREQUENCY_NORMAL;
+ cfun->max_jumptable_ents = 0;
+
(*lang_hooks.function.init) (cfun);
if (init_machine_status)
cfun->machine = (*init_machine_status) ();