http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52718
--- Comment #2 from Paolo Carlini <paolo.carlini at oracle dot com> 2012-03-29 10:17:49 UTC --- I guess that first of all we want to fix this to warn at line #1 instead of #2: void* fun(void* a = 0); void* f2 = fun();