[Bug c++/82039] -Wzero-as-null-pointer-constant triggers when calling std::allocate<...>::allocate

2017-09-04 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82039 --- Comment #8 from Jonathan Wakely --- Fixed for all active branches.

[Bug c++/82039] -Wzero-as-null-pointer-constant triggers when calling std::allocate<...>::allocate

2017-09-04 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82039 --- Comment #7 from Jonathan Wakely --- Author: redi Date: Mon Sep 4 16:41:38 2017 New Revision: 251672 URL: https://gcc.gnu.org/viewcvs?rev=251672=gcc=rev Log: PR c++/82039 suppress -Wzero-as-null-pointer-constant warning Backport from

[Bug c++/82039] -Wzero-as-null-pointer-constant triggers when calling std::allocate<...>::allocate

2017-09-04 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82039 --- Comment #6 from Jonathan Wakely --- Author: redi Date: Mon Sep 4 16:17:11 2017 New Revision: 251668 URL: https://gcc.gnu.org/viewcvs?rev=251668=gcc=rev Log: PR c++/82039 suppress -Wzero-as-null-pointer-constant warning Backport from

[Bug c++/82039] -Wzero-as-null-pointer-constant triggers when calling std::allocate<...>::allocate

2017-09-04 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82039 --- Comment #5 from Jonathan Wakely --- Author: redi Date: Mon Sep 4 12:24:57 2017 New Revision: 251658 URL: https://gcc.gnu.org/viewcvs?rev=251658=gcc=rev Log: PR c++/82039 suppress -Wzero-as-null-pointer-constant warning Backport from

[Bug c++/82039] -Wzero-as-null-pointer-constant triggers when calling std::allocate<...>::allocate

2017-08-31 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82039 --- Comment #4 from Jonathan Wakely --- Author: redi Date: Thu Aug 31 16:45:37 2017 New Revision: 251570 URL: https://gcc.gnu.org/viewcvs?rev=251570=gcc=rev Log: PR c++/82039 suppress -Wzero-as-null-pointer-constant warning PR

[Bug c++/82039] -Wzero-as-null-pointer-constant triggers when calling std::allocate<...>::allocate

2017-08-31 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82039 Jonathan Wakely changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug c++/82039] -Wzero-as-null-pointer-constant triggers when calling std::allocate<...>::allocate

2017-08-31 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82039 --- Comment #2 from Jonathan Wakely --- Minimal testcase for the front-end bug: template void f(void* = 0) { } int main() { f(); } loc.cc: In function 'void f(void*) [with T = int]': loc.cc:4:10: warning: zero as null pointer constant

[Bug c++/82039] -Wzero-as-null-pointer-constant triggers when calling std::allocate<...>::allocate

2017-08-31 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82039 Jonathan Wakely changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|