stmt.c (all_cases_count, [...]): New functions.
authorPer Bothner <bothner@gcc.gnu.org>
Wed, 31 Aug 1994 23:42:28 +0000 (16:42 -0700)
committerPer Bothner <bothner@gcc.gnu.org>
Wed, 31 Aug 1994 23:42:28 +0000 (16:42 -0700)
commit94d6511c61decde2c932e8800b4469eeaccd5e62
tree0a4bb7db39b8818eaae4160604d11a8b0acba84d
parent91378b76fda1883f0ace90ca04e883ef35bcbbe0
stmt.c (all_cases_count, [...]): New functions.

* stmt.c (all_cases_count, mark_seen_cases):  New functions.
(BITARRAY_TEST, BITARRAY_SET):  New macros.  Used (mainly by
Chill) to check all cases are covered (for enums and ranges).
(check_for_full_enumeration_handling):  Re-write to use the
new functions, now that we have them.

From-SVN: r8009
gcc/stmt.c