https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83993
--- Comment #8 from Jakub Jelinek ---
Author: jakub
Date: Wed Jan 31 20:46:36 2018
New Revision: 257265
URL: https://gcc.gnu.org/viewcvs?rev=257265=gcc=rev
Log:
PR c++/83993
* constexpr.c (cxx_eval_outermost_constant_expr):
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83993
--- Comment #7 from Jakub Jelinek ---
Author: jakub
Date: Wed Jan 31 20:45:41 2018
New Revision: 257264
URL: https://gcc.gnu.org/viewcvs?rev=257264=gcc=rev
Log:
PR c++/83993
* constexpr.c (diag_array_subscript): Emit different
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83993
Richard Biener changed:
What|Removed |Added
Target Milestone|7.3 |7.4
--- Comment #6 from Richard Biener
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83993
Jakub Jelinek changed:
What|Removed |Added
Status|NEW |ASSIGNED
Assignee|unassigned
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83993
Richard Biener changed:
What|Removed |Added
Target Milestone|8.0 |7.3
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83993
--- Comment #4 from Jakub Jelinek ---
The clang++ error on e is:
pr83993-2.C:5:22: error: constexpr variable 'e' must be initialized by a
constant expression
constexpr const int *e = [10];
^ ~~
pr83993-2.C:5:27: note:
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83993
Jakub Jelinek changed:
What|Removed |Added
Priority|P1 |P2
CC|