]> git.ipfire.org Git - thirdparty/gcc.git/commit
re PR libstdc++/66327 (-fsanitize=nonnull-attribute errors in stl_algobase.h)
authorJonathan Wakely <jwakely@redhat.com>
Fri, 29 May 2015 13:28:54 +0000 (14:28 +0100)
committerJonathan Wakely <redi@gcc.gnu.org>
Fri, 29 May 2015 13:28:54 +0000 (14:28 +0100)
commit6759eddee476abdfb5e847a7de3765309f4f1e2d
tree3715a94926f2e666ec7040720bff322b87087c1c
parentca382af0c82a750538c97187c6a2a2f721d0812d
re PR libstdc++/66327 (-fsanitize=nonnull-attribute errors in stl_algobase.h)

PR libstdc++/66327
* include/bits/stl_algobase.h (__equal<true>::equal): Do not call
memcmp with null pointers.
(__lexicographical_compare<true>::__lc): Do not call memcmp for empty
ranges.

From-SVN: r223865
libstdc++-v3/ChangeLog
libstdc++-v3/include/bits/stl_algobase.h