------- Comment #3 from sayle at gcc dot gnu dot org  2006-03-13 23:47 -------
Subject: Bug 26557

Author: sayle
Date: Mon Mar 13 23:47:47 2006
New Revision: 112032

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=112032
Log:

        PR middle-end/26557
        * stmt.c (emit_case_nodes): Handle the case where the index is a
        CONST_INT, where the comparison mode is specified by the index type.

        * gcc.c-torture/compile/switch-1.c: New test case.


Added:
    trunk/gcc/testsuite/gcc.c-torture/compile/switch-1.c
Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/stmt.c
    trunk/gcc/testsuite/ChangeLog


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=26557

Reply via email to