[Bug c++/60760] arithmetic on null pointers should not be allowed in constant expressions

2016-07-30 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=60760 --- Comment #9 from Martin Sebor --- Author: msebor Date: Sat Jul 30 22:36:56 2016 New Revision: 238909 URL: https://gcc.gnu.org/viewcvs?rev=238909=gcc=rev Log: PR c++/60760 - arithmetic on null pointers should not be allowed in constant PR

[Bug c++/60760] arithmetic on null pointers should not be allowed in constant expressions

2016-07-30 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=60760 Martin Sebor changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug c++/60760] arithmetic on null pointers should not be allowed in constant expressions

2016-05-12 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=60760 --- Comment #8 from Martin Sebor --- Patch resubmitted for review: https://gcc.gnu.org/ml/gcc-patches/2016-05/msg00935.html

[Bug c++/60760] arithmetic on null pointers should not be allowed in constant expressions

2016-05-12 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=60760 Martin Sebor changed: What|Removed |Added Target Milestone|--- |7.0 Known to fail|5.0, 6.0

[Bug c++/60760] arithmetic on null pointers should not be allowed in constant expressions

2016-03-14 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=60760 --- Comment #6 from Martin Sebor --- Patch posted for review: https://gcc.gnu.org/ml/gcc-patches/2016-03/msg00796.html

[Bug c++/60760] arithmetic on null pointers should not be allowed in constant expressions

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

[Bug c++/60760] arithmetic on null pointers should not be allowed in constant expressions

2016-03-08 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=60760 Martin Sebor changed: What|Removed |Added Last reconfirmed|2014-12-14 00:00:00 |2016-3-8 CC|

[Bug c++/60760] arithmetic on null pointers should not be allowed in constant expressions

2014-12-14 Thread ville.voutilainen at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=60760 Ville Voutilainen ville.voutilainen at gmail dot com changed: What|Removed |Added Status|UNCONFIRMED

[Bug c++/60760] arithmetic on null pointers should not be allowed in constant expressions

2014-04-04 Thread daniel.kruegler at googlemail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60760 Daniel Krügler daniel.kruegler at googlemail dot com changed: What|Removed |Added CC|

[Bug c++/60760] arithmetic on null pointers should not be allowed in constant expressions

2014-04-04 Thread redi at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60760 --- Comment #2 from Jonathan Wakely redi at gcc dot gnu.org --- Yes, we rely on that in initializer_list::end(), and clang rejects that. I discussed that case with Jason and we think [expr.add] could be clarified - do you have an existing issue

[Bug c++/60760] arithmetic on null pointers should not be allowed in constant expressions

2014-04-04 Thread daniel.kruegler at googlemail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60760 --- Comment #3 from Daniel Krügler daniel.kruegler at googlemail dot com --- (In reply to Jonathan Wakely from comment #2) Yes, we rely on that in initializer_list::end(), and clang rejects that. nod I discussed that case with Jason and we