------- Comment #2 from manu at gcc dot gnu dot org 2010-02-22 13:49 ------- It seems to me that the template parameter to allocator should be a pointer and in this testcase is just double. So the warning is correct. If the testcase is correct, then you should either catch the warning with // { dg-warning } or silence it with // { dg-options "-Wno-conversion-null" }
-- manu at gcc dot gnu dot org changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Ever Confirmed|0 |1 Last reconfirmed|0000-00-00 00:00:00 |2010-02-22 13:49:05 date| | http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43140