re PR middle-end/9707 (Unnecessary range test in switches with less than 4 cases)
authorKazu Hirata <kazu@cs.umass.edu>
Thu, 25 Mar 2004 16:16:41 +0000 (16:16 +0000)
committerKazu Hirata <kazu@gcc.gnu.org>
Thu, 25 Mar 2004 16:16:41 +0000 (16:16 +0000)
commit43a21dfc46151a5f50f7372fda42b6eba36950c9
treeb8180448c0f7c82d4935723ff1e395c1211301e7
parent6d11af89b1c8723f644edcd243ba109b0cb2507d
re PR middle-end/9707 (Unnecessary range test in switches with less than 4 cases)

PR optimization/9707.
* stmt.c (emit_case_nodes): Emit equality comparisons instead
of recursing if both children are single-valued cases with no
children.

From-SVN: r79954
gcc/ChangeLog
gcc/stmt.c