re PR c++/36254 (wrong "control reaches end of non-void function" warning with IF_STMT)
PR c++/36254 * cp-gimplify.c (genericize_if_stmt): Renamed from ... (gimplify_if_stmt): ... this. (cp_gimplify_expr): Don't handle IF_STMT here. (cp_genericize_r): Call genericize_if_stmt for IF_STMT. * g++.dg/warn/Wreturn-type-5.C: New test. From-SVN: r143281
Showing
gcc/testsuite/g++.dg/warn/Wreturn-type-5.C
0 → 100644
Please
register
or
sign in
to comment