typeck2.c (my_friendly_abort): Don't fatal twice in a row.
authorJason Merrill <jason@yorick.cygnus.com>
Mon, 16 Nov 1998 20:45:16 +0000 (20:45 +0000)
committerJason Merrill <jason@gcc.gnu.org>
Mon, 16 Nov 1998 20:45:16 +0000 (15:45 -0500)
commit6a8f78d52c014ae0222e276118b5b73fba6abf07
tree6d358bc09a0493bbd2f6db806f1bb441a5f92658
parentefc97ef076f10601b5d21de530e37f8182779b13
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
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