This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug middle-end/26557] [4.0/4.1 Regression] ICE in simplify_subreg



------- Comment #5 from sayle at gcc dot gnu dot org  2006-03-14 19:19 -------
Subject: Bug 26557

Author: sayle
Date: Tue Mar 14 19:19:14 2006
New Revision: 112063

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=112063
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:
    branches/gcc-4_1-branch/gcc/testsuite/gcc.c-torture/compile/switch-1.c
Modified:
    branches/gcc-4_1-branch/gcc/ChangeLog
    branches/gcc-4_1-branch/gcc/stmt.c
    branches/gcc-4_1-branch/gcc/testsuite/ChangeLog


-- 


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]