typeck2.c (my_friendly_abort): Don't fatal twice in a row.
* typeck2.c (my_friendly_abort): Don't fatal twice in a row. * typeck.c (c_expand_start_case): Use build_expr_type_conversion. Simplify. Fixes Sec6/4_2/G06164.gr * parse.y (structsp): Fix cut-and-paste error. Fixes Sec6/4_2/C06166.cm * init.c (build_new): Complain about non-integral size. Fixes Sec5/3_4/E05276.C * parse.y (unary_expr): Complain about defining types in sizeof. Fixes Sec5/3_3/S05178.C * typeck.c (expr_sizeof): Complain about sizeof an overloaded fn. Fixes Sec5/3_3/S05161.C * rtti.c (build_x_typeid): Complain about typeid without including <typeinfo>. (get_typeid): Likewise. Complain about typeid of incomplete type. (get_tinfo_fn_dynamic): Likewise. (get_typeid_1): Not static anymore. * except.c (build_eh_type_type): Use get_typeid_1. Fixes Sec5/2_8/C05517.cm * rtti.c (build_dynamic_cast_1): Give errors for dynamic_cast to ambiguous or private bases. Fix warning for reference cast. Fixes Sec5/2_7/C05516.cm From-SVN: r23678
Showing
This diff is collapsed.
Click to expand it.
Please
register
or
sign in
to comment