[Bug c++/70001] [5/6 regression] Infinity compilation time
jakub at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Thu Mar 10 17:23:00 GMT 2016
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70001
--- Comment #9 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Author: jakub
Date: Thu Mar 10 17:23:06 2016
New Revision: 234117
URL: https://gcc.gnu.org/viewcvs?rev=234117&root=gcc&view=rev
Log:
PR c++/70001
* constexpr.c (cxx_eval_vec_init_1): For pre_init case, reuse
return value from cxx_eval_constant_expression from earlier
elements if it is valid constant initializer requiring no
relocations.
* g++.dg/cpp0x/constexpr-70001-1.C: New test.
* g++.dg/cpp0x/constexpr-70001-2.C: New test.
* g++.dg/cpp0x/constexpr-70001-3.C: New test.
Added:
trunk/gcc/testsuite/g++.dg/cpp0x/constexpr-70001-1.C
trunk/gcc/testsuite/g++.dg/cpp0x/constexpr-70001-2.C
trunk/gcc/testsuite/g++.dg/cpp0x/constexpr-70001-3.C
Modified:
trunk/gcc/cp/ChangeLog
trunk/gcc/cp/constexpr.c
trunk/gcc/testsuite/ChangeLog
More information about the Gcc-bugs
mailing list