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

--- Comment #9 from Jason Merrill <jason at gcc dot gnu.org> ---
Author: jason
Date: Wed Mar  2 02:45:45 2016
New Revision: 233882

URL: https://gcc.gnu.org/viewcvs?rev=233882&root=gcc&view=rev
Log:
        PR c++/68087

2016-03-01  Markus Trippelsdorf  <mar...@trippelsdorf.de>
            Paolo Carlini  <paolo.carl...@oracle.com>
/cp
        * constexpr.c (cxx_eval_array_reference): Use tree_fits_shwi_p before
        tree_to_shwi to avoid ICEs.

Modified:
    branches/gcc-5-branch/gcc/cp/ChangeLog
    branches/gcc-5-branch/gcc/cp/constexpr.c
    branches/gcc-5-branch/gcc/testsuite/ChangeLog
    branches/gcc-5-branch/gcc/testsuite/g++.dg/cpp0x/constexpr-array13.C

Reply via email to