This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug libstdc++/69769] arithmetic operation on pointer to a function
- From: "redi at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Thu, 24 May 2018 15:29:31 +0000
- Subject: [Bug libstdc++/69769] arithmetic operation on pointer to a function
- Auto-submitted: auto-generated
- References: <bug-69769-4@http.gcc.gnu.org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69769
Jonathan Wakely <redi at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|ASSIGNED |RESOLVED
Resolution|--- |FIXED
Target Milestone|--- |9.0
--- Comment #8 from Jonathan Wakely <redi at gcc dot gnu.org> ---
The C++17 standard says that arithmetic on atomic pointer types is ill-formed,
so libstdc++ now enforces that for C++17 and later.