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 c++/68362] [6 Regression] ICE: tree check: expected integer_cst, have nop_expr in get_val, at tree.h:5157


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68362

--- Comment #6 from Marek Polacek <mpolacek at gcc dot gnu.org> ---
Author: mpolacek
Date: Mon Nov 16 20:16:57 2015
New Revision: 230435

URL: https://gcc.gnu.org/viewcvs?rev=230435&root=gcc&view=rev
Log:
        PR c++/68362
        * c-common.c (check_case_bounds): Fold low and high cases.

        * g++.dg/delayedfold/switch-1.C: New test.

Added:
    trunk/gcc/testsuite/g++.dg/delayedfold/switch-1.C
Modified:
    trunk/gcc/c-family/ChangeLog
    trunk/gcc/c-family/c-common.c
    trunk/gcc/testsuite/ChangeLog

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