(check_for_full_enumeration_handling): Call case_tree2list before checking for...
authorRichard Kenner <kenner@gcc.gnu.org>
Sat, 20 Apr 1996 12:33:43 +0000 (08:33 -0400)
committerRichard Kenner <kenner@gcc.gnu.org>
Sat, 20 Apr 1996 12:33:43 +0000 (08:33 -0400)
commit5720c7e75b4c01567bf0b0fee33ea6663c4bb44c
tree600ff401c40a3fea087486f34e580dbb45997973
parentb059139cfa7b992bccdaac439853f8e1b4422f7d
(check_for_full_enumeration_handling): Call case_tree2list before checking for...

(check_for_full_enumeration_handling): Call case_tree2list
before checking for case expressions not corresponding to enumerators.
(mark_seen_cases): If SPARSENESS == 2, exploit AVL order.
Else, convert tree to list.
Set xlo to -1 if SPARSENESS == 1 search failed.
(expand_end_case): Avoid calling case_tree2list on list.

From-SVN: r11857
gcc/stmt.c