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++/69379] [6 Regression] ICE in fold_convert_loc, at fold-const.c:2366


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

--- Comment #12 from Marek Polacek <mpolacek at gcc dot gnu.org> ---
Author: mpolacek
Date: Wed Jan 27 16:46:40 2016
New Revision: 232882

URL: https://gcc.gnu.org/viewcvs?rev=232882&root=gcc&view=rev
Log:
        PR c++/69379
        * constexpr.c (cxx_eval_constant_expression): Handle PTRMEM_CSTs
        wrapped in NOP_EXPRs.

        * g++.dg/pr69379.C: New test.

Added:
    trunk/gcc/testsuite/g++.dg/pr69379.C
Modified:
    trunk/gcc/cp/ChangeLog
    trunk/gcc/cp/constexpr.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]