Fix __gnu_cxx::_Pointer_adapter for long long arithmetic
commit549d33da392de99284a42aa5350e5199c20da220
authorredi <redi@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 30 Aug 2018 12:24:06 +0000 (30 12:24 +0000)
committerredi <redi@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 30 Aug 2018 12:24:06 +0000 (30 12:24 +0000)
treed2760242d4c298cad4f4a6154674d81bd2feba8f
parentade2db41a712f60f86b8ebf46d8b82e11a900f63
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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@263976 138bc75d-0d04-0410-961f-82ee72b054a4
libstdc++-v3/ChangeLog
libstdc++-v3/include/ext/pointer.h
libstdc++-v3/testsuite/ext/ext_pointer/1.cc