http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52718
Paolo Carlini <paolo.carlini at oracle dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |jason at gcc dot gnu.org
--- Comment #3 from Paolo Carlini <paolo.carlini at oracle dot com> 2012-03-29
10:40:41 UTC ---
Considering for simplicity the snippet in Comment #2, I'm not sure whether we
should aim for an unconditional warning for line #1 or a conditional one for
line #2 but referring to line #1. Eg, whether we want to avoid warning for:
void* fun(void* a = 0);
void* f2 = fun(nullptr);
(currently we avoid warning for the latter, which may not be bad, but we fail
completely to refer to line #1)