]> gcc.gnu.org Git - gcc.git/commit - gcc/builtins.c
stmt.c: Don't include insn-codes.h.
authorZack Weinberg <zack@gcc.gnu.org>
Tue, 21 Aug 2001 15:51:22 +0000 (15:51 +0000)
committerZack Weinberg <zack@gcc.gnu.org>
Tue, 21 Aug 2001 15:51:22 +0000 (15:51 +0000)
commitad82abb8e647ebdfa459383c25130a97a8a9b849
tree575699b686457410b32fd7f6c60e918c730b69ba
parent71038fd576e8551a8e46b99cabe7cd138571498a
stmt.c: Don't include insn-codes.h.

* stmt.c: Don't include insn-codes.h.
(expand_end_case): Machine specific logic moved to expr.c.
No need to worry about __builtin_classify_type.
(check_for_full_enumeration_handling, emit_case_nodes):
Kill #if 0 blocks.

* builtins.o (expand_builtin_classify_type): Split up so code
can be shared with fold_builtin_classify_type.
(type_to_class, fold_builtin_classify_type): New functions.
(fold_builtins): Handle __builtin_classify_type.

* expr.c (do_tablejump): Now static.
(case_values_threshold, try_casesi, try_tablejump): New;
code mostly from stmt.c (expand_end_case).
(expr.h): Update prototypes.

* Makefile.in (stmt.o): Update dependencies.

From-SVN: r45078
gcc/ChangeLog
gcc/Makefile.in
gcc/builtins.c
gcc/expr.c
gcc/expr.h
gcc/stmt.c
This page took 0.064145 seconds and 5 git commands to generate.