[Bug libstdc++/69769] arithmetic operation on pointer to a function

2018-05-24 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69769 Jonathan Wakely changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug libstdc++/69769] arithmetic operation on pointer to a function

2018-05-24 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69769 --- Comment #7 from Jonathan Wakely --- Author: redi Date: Thu May 24 15:28:26 2018 New Revision: 260676 URL: https://gcc.gnu.org/viewcvs?rev=260676=gcc=rev Log: Implement P0558R2 changes to std::atomic The restrictions forbidding arithmetic

[Bug libstdc++/69769] arithmetic operation on pointer to a function

2018-05-24 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69769 Jonathan Wakely changed: What|Removed |Added Status|NEW |ASSIGNED

[Bug libstdc++/69769] arithmetic operation on pointer to a function

2017-04-20 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69769 --- Comment #6 from Jonathan Wakely --- (In reply to Wolfgang Roehrl from comment #0) > The compiler accepts this programm despite of performing an arithmetic > operation on pointer to a function. Arithmetic on (non-atomic) function pointers is

[Bug libstdc++/69769] arithmetic operation on pointer to a function

2017-04-18 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69769 Jonathan Wakely changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug libstdc++/69769] arithmetic operation on pointer to a function

2016-05-19 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69769 --- Comment #4 from Jonathan Wakely --- For atomic Clang rejects use of its builtin with a void*: /usr/local/libcxx-head/include/c++/v1/atomic:1081:40: error: incomplete type 'void' where a complete type is required But it allows the

[Bug libstdc++/69769] arithmetic operation on pointer to a function

2016-05-19 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69769 --- Comment #3 from Jonathan Wakely --- The same problem exists for std::atomic

[Bug libstdc++/69769] arithmetic operation on pointer to a function

2016-05-19 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69769 --- Comment #2 from Jonathan Wakely --- No, I'm not aware of one.

[Bug libstdc++/69769] arithmetic operation on pointer to a function

2016-05-18 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69769 Martin Sebor changed: What|Removed |Added CC||jwakely.gcc at gmail dot com,