* typeck2.c (my_friendly_abort): Don't fatal twice in a row.
authorjason <jason@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 16 Nov 1998 20:45:16 +0000 (20:45 +0000)
committerjason <jason@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 16 Nov 1998 20:45:16 +0000 (20:45 +0000)
commitbe295d1ffa57211b377c2751436701f8eb7f8c07
tree6d358bc09a0493bbd2f6db806f1bb441a5f92658
parentc5c4370fb958ac481193b8b3996fcec9c37feb45
* 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

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@23678 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/cp/ChangeLog
gcc/cp/cp-tree.h
gcc/cp/except.c
gcc/cp/init.c
gcc/cp/parse.c
gcc/cp/parse.y
gcc/cp/rtti.c
gcc/cp/typeck.c
gcc/cp/typeck2.c