This is the mail archive of the
gcc-cvs@gcc.gnu.org
mailing list for the GCC project.
r263976 - in /trunk/libstdc++-v3: ChangeLog inc...
- From: redi at gcc dot gnu dot org
- To: gcc-cvs at gcc dot gnu dot org
- Date: Thu, 30 Aug 2018 12:24:07 -0000
- Subject: r263976 - in /trunk/libstdc++-v3: ChangeLog inc...
Author: redi
Date: Thu Aug 30 12:24:06 2018
New Revision: 263976
URL: https://gcc.gnu.org/viewcvs?rev=263976&root=gcc&view=rev
Log:
Fix __gnu_cxx::_Pointer_adapter for long long arithmetic
* include/ext/pointer.h (_Pointer_adapter): Define operators for
pointer arithmetic using long long offsets.
* testsuite/ext/ext_pointer/1.cc: Test pointer arithmetic using
long long values.
Modified:
trunk/libstdc++-v3/ChangeLog
trunk/libstdc++-v3/include/ext/pointer.h
trunk/libstdc++-v3/testsuite/ext/ext_pointer/1.cc