init.c (build_new_1): Bail early if the call to new fails.
authorJason Merrill <jason@gcc.gnu.org>
Mon, 10 Jul 2000 07:16:23 +0000 (03:16 -0400)
committerJason Merrill <jason@gcc.gnu.org>
Mon, 10 Jul 2000 07:16:23 +0000 (03:16 -0400)
commit2bb5d995f27dcd3db33ecd983795ffd0654a2e5d
tree8c219d55310b63ccdd999bc2385bfe4a962d9e9e
parent089acd579b8079afb590c101117ea76be13c7093
init.c (build_new_1): Bail early if the call to new fails.

        * init.c (build_new_1): Bail early if the call to new fails.

        * decl.c (compute_array_index_type): Check specifically for
        an INTEGER_CST, not just TREE_CONSTANT.

        * decl.c (duplicate_decls): Don't call duplicate_decls on
        the DECL_TEMPLATE_RESULT.
        (decls_match): Return 0 if the DECL_TEMPLATE_RESULTs have different
        codes.

        * error.c (dump_template_bindings): Don't crash if we had an
        invalid argument list.

        * typeck.c (c_expand_start_case): Do narrowing here.
        * semantics.c (finish_switch_cond): Not here.

        * parse.y (asm_clobbers): Do string concatenation.

From-SVN: r34938
gcc/cp/ChangeLog
gcc/cp/decl.c
gcc/cp/error.c
gcc/cp/init.c
gcc/cp/parse.c
gcc/cp/parse.y
gcc/cp/semantics.c
gcc/cp/typeck.c