[Bug c++/67376] [5/6 regression] Comparison with pointer to past-the-end of array fails inside constant expression

2016-04-02 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67376 --- Comment #18 from Martin Sebor --- The outstanding problems mentioned in comment #10 have been fixed in 6.0 via r234698.

[Bug c++/67376] [5/6 regression] Comparison with pointer to past-the-end of array fails inside constant expression

2016-04-02 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67376 --- Comment #17 from Martin Sebor --- Author: msebor Date: Sat Apr 2 17:14:48 2016 New Revision: 234698 URL: https://gcc.gnu.org/viewcvs?rev=234698=gcc=rev Log: PR c++/67376 - [5/6 regression] Comparison with pointer to past-the-end of

[Bug c++/67376] [5/6 regression] Comparison with pointer to past-the-end of array fails inside constant expression

2016-03-14 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67376 --- Comment #16 from Martin Sebor --- Patch for the outstanding issues noted in comment #10 has been posted for review: https://gcc.gnu.org/ml/gcc-patches/2016-03/msg00796.html

[Bug c++/67376] [5/6 regression] Comparison with pointer to past-the-end of array fails inside constant expression

2016-03-09 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67376 Martin Sebor changed: What|Removed |Added Status|NEW |ASSIGNED Assignee|unassigned

[Bug c++/67376] [5/6 regression] Comparison with pointer to past-the-end of array fails inside constant expression

2016-02-10 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67376 --- Comment #14 from Jakub Jelinek --- Author: jakub Date: Wed Feb 10 18:24:29 2016 New Revision: 233285 URL: https://gcc.gnu.org/viewcvs?rev=233285=gcc=rev Log: Backported from mainline 2015-12-22 Jakub Jelinek

[Bug c++/67376] [5/6 regression] Comparison with pointer to past-the-end of array fails inside constant expression

2016-01-12 Thread jason at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67376 Jason Merrill changed: What|Removed |Added CC||jason at gcc dot gnu.org --- Comment

[Bug c++/67376] [5/6 regression] Comparison with pointer to past-the-end of array fails inside constant expression

2015-12-22 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67376 --- Comment #11 from Jakub Jelinek --- Author: jakub Date: Tue Dec 22 20:47:58 2015 New Revision: 231909 URL: https://gcc.gnu.org/viewcvs?rev=231909=gcc=rev Log: PR c++/67376 * fold-const.c (size_low_cst): Removed.

[Bug c++/67376] [5/6 regression] Comparison with pointer to past-the-end of array fails inside constant expression

2015-12-22 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67376 --- Comment #12 from Jakub Jelinek --- The first issue should be fixed for GCC 6+ already, the other one needs further fixes. As for backporting this to GCC 5 branch, I think it should be done only after a few weeks on the trunk.

[Bug c++/67376] [5/6 regression] Comparison with pointer to past-the-end of array fails inside constant expression

2015-12-22 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67376 Jakub Jelinek changed: What|Removed |Added Attachment #37103|0 |1 is obsolete|

[Bug c++/67376] [5/6 regression] Comparison with pointer to past-the-end of array fails inside constant expression

2015-12-22 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67376 Jakub Jelinek changed: What|Removed |Added CC||jakub at gcc dot gnu.org --- Comment #8

[Bug c++/67376] [5/6 regression] Comparison with pointer to past-the-end of array fails inside constant expression

2015-12-22 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67376 --- Comment #10 from Jakub Jelinek --- As for the non-NULL checks, struct A { int e[2]; }; constexpr A a { { 0, 1 } }; static_assert (a.e != 0, ""); static_assert ([1] != 0, ""); static_assert ([2] != 0, ""); static_assert (a.e + 1 != 0, "");

[Bug c++/67376] [5/6 regression] Comparison with pointer to past-the-end of array fails inside constant expression

2015-12-04 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67376 Richard Biener changed: What|Removed |Added Target Milestone|5.3 |5.4 --- Comment #7 from Richard Biener

[Bug c++/67376] [5/6 regression] Comparison with pointer to past-the-end of array fails inside constant expression

2015-11-18 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67376 Richard Biener changed: What|Removed |Added Priority|P3 |P2

[Bug c++/67376] [5/6 regression] Comparison with pointer to past-the-end of array fails inside constant expression

2015-10-16 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67376 Richard Biener changed: What|Removed |Added Target Milestone|--- |5.3

[Bug c++/67376] [5/6 regression] Comparison with pointer to past-the-end of array fails inside constant expression

2015-09-04 Thread trippels at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67376 Markus Trippelsdorf changed: What|Removed |Added Keywords||rejects-valid

[Bug c++/67376] [5/6 regression] Comparison with pointer to past-the-end of array fails inside constant expression

2015-09-04 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67376 Martin Sebor changed: What|Removed |Added CC||msebor at gcc dot gnu.org --- Comment #6

[Bug c++/67376] [5/6 regression] Comparison with pointer to past-the-end of array fails inside constant expression

2015-09-04 Thread trippels at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67376 --- Comment #5 from Markus Trippelsdorf --- And: static_assert(a.elems_ + 1, ""); started to get rejected with r212499.