aboutsummaryrefslogtreecommitdiff
path: root/gcc/fortran
diff options
context:
space:
mode:
authorRichard Biener <rguenther@suse.de>2022-09-05 14:22:51 +0200
committerRichard Biener <rguenther@suse.de>2022-09-05 15:15:03 +0200
commit178447296423ff7e1072621185438c45ab5b0a1d (patch)
treef146e3eee62f7e44a2eb856b900da4ed90776a8e /gcc/fortran
parente9ea2688271bd0b4319bdfb1fc852169ab3cf076 (diff)
downloadgcc-178447296423ff7e1072621185438c45ab5b0a1d.zip
gcc-178447296423ff7e1072621185438c45ab5b0a1d.tar.gz
gcc-178447296423ff7e1072621185438c45ab5b0a1d.tar.bz2
Remove MAX_SWITCH_CASES limit
The following removes the MAX_SWITCH_CASES limit to fight quadraticness when looking up case labels from edges. Instead use the {start,end}_recording_case_labels facility for that. For it to be usable I've exported get_cases_for_edge from tree-cfg.cc. * tree-cfg.h (get_cases_for_edge): Declare. * tree-cfg.cc (get_cases_for_edge): Export. * tree-ssa-uninit.cc (execute_late_warn_uninitialized): Start and end recording case labels. * gimple-predicate-analysis.cc (MAX_SWITCH_CASES): Remove. (predicate::init_from_control_deps): Use get_cases_for_edge.
Diffstat (limited to 'gcc/fortran')
0 files changed, 0 insertions, 0 deletions