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++/70001] [5 Regression] Infinity compilation time


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

--- Comment #11 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Author: jakub
Date: Wed Mar 23 18:55:38 2016
New Revision: 234439

URL: https://gcc.gnu.org/viewcvs?rev=234439&root=gcc&view=rev
Log:
        PR c++/70001
        * constexpr.c (cxx_eval_vec_init_1): Reuse CONSTRUCTOR initializers
        for 1..max even for multi-dimensional arrays.  Call unshare_expr
        on it.

        * g++.dg/cpp0x/constexpr-70001-4.C: New test.
        * g++.dg/cpp1y/pr70001.C: New test.

Added:
    trunk/gcc/testsuite/g++.dg/cpp0x/constexpr-70001-4.C
    trunk/gcc/testsuite/g++.dg/cpp1y/pr70001.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]