re PR c++/39554 (-Wdisallowed-function-list fails when #including <algorithm>)
PR c++/39554 * opts.c (warn_if_disallowed_function_p): Don't assume get_callee_fndecl must return non-NULL. * gcc.dg/wdisallowed-functions-3.c: New test. * g++.dg/warn/Wdisallowed-functions-3.C: New test. From-SVN: r145094
Showing
Please
register
or
sign in
to comment