* stmt.c: Don't include insn-codes.h.
authorzack <zack@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 21 Aug 2001 15:51:22 +0000 (15:51 +0000)
committerzack <zack@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 21 Aug 2001 15:51:22 +0000 (15:51 +0000)
commit539a3a92766f2bed10ae2365106796bb16515195
tree575699b686457410b32fd7f6c60e918c730b69ba
parent64fad8114742cdf33d7bd2016e48f9721b94e2f3
* 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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@45078 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/Makefile.in
gcc/builtins.c
gcc/expr.c
gcc/expr.h
gcc/stmt.c