https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82039
--- Comment #5 from Jonathan Wakely <redi at gcc dot gnu.org> --- Author: redi Date: Mon Sep 4 12:24:57 2017 New Revision: 251658 URL: https://gcc.gnu.org/viewcvs?rev=251658&root=gcc&view=rev Log: PR c++/82039 suppress -Wzero-as-null-pointer-constant warning Backport from mainline 2017-08-31 Jonathan Wakely <jwak...@redhat.com> PR c++/82039 * include/ext/new_allocator.h (__gnu_cxx::new_allocator::allocate): Adjust null pointer constant to avoid warning. Modified: branches/gcc-7-branch/libstdc++-v3/ChangeLog branches/gcc-7-branch/libstdc++-v3/include/ext/new_allocator.h