[Bug c++/80294] [5/6 Regression] ICE with constexpr and inheritance

2017-10-10 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80294

Jakub Jelinek  changed:

   What|Removed |Added

   Target Milestone|5.5 |6.5

--- Comment #21 from Jakub Jelinek  ---
GCC 5 branch is being closed

[Bug c++/80294] [5/6 Regression] ICE with constexpr and inheritance

2017-09-18 Thread jason at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80294

--- Comment #20 from Jason Merrill  ---
Author: jason
Date: Mon Sep 18 18:34:10 2017
New Revision: 252940

URL: https://gcc.gnu.org/viewcvs?rev=252940=gcc=rev
Log:
PR c++/80294 - ICE with constexpr and inheritance.

* constexpr.c (reduced_constant_expression_p):
A null constructor element is non-constant.
(cxx_eval_indirect_ref): Don't VERIFY_CONSTANT before
returning an empty base.

Added:
branches/gcc-5-branch/gcc/testsuite/g++.dg/cpp1y/constexpr-empty3.C
Modified:
branches/gcc-5-branch/gcc/cp/ChangeLog
branches/gcc-5-branch/gcc/cp/constexpr.c

[Bug c++/80294] [5/6 Regression] ICE with constexpr and inheritance

2017-05-23 Thread jason at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80294

--- Comment #19 from Jason Merrill  ---
Author: jason
Date: Tue May 23 20:48:58 2017
New Revision: 248385

URL: https://gcc.gnu.org/viewcvs?rev=248385=gcc=rev
Log:
PR c++/80294 - ICE with constexpr and inheritance.

* constexpr.c (reduced_constant_expression_p):
A null constructor element is non-constant.
(cxx_eval_indirect_ref): Don't VERIFY_CONSTANT before
returning an empty base.

Added:
branches/gcc-6-branch/gcc/testsuite/g++.dg/cpp1y/constexpr-empty3.C
Modified:
branches/gcc-6-branch/gcc/cp/ChangeLog
branches/gcc-6-branch/gcc/cp/constexpr.c

[Bug c++/80294] [5/6 Regression] ICE with constexpr and inheritance

2017-04-11 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80294

Jakub Jelinek  changed:

   What|Removed |Added

Summary|[5/6/7 Regression] ICE with |[5/6 Regression] ICE with
   |constexpr and inheritance   |constexpr and inheritance

--- Comment #18 from Jakub Jelinek  ---
Fixed on the trunk.