re PR c++/82541 (Wduplicated-branches triggers in template context)
PR c++/82541 * call.c (build_conditional_expr_1): Check complain before warning. * pt.c (tsubst_copy_and_build) <case COND_EXPR>: Suppress -Wduplicated-branches. * g++.dg/warn/Wduplicated-branches4.C: New test. From-SVN: r256441
Showing
Please
register
or
sign in
to comment