]> gcc.gnu.org Git - gcc.git/commit
semantics.c (finish_switch_cond): Handle error cases gracefully.
authorMartin v. Löwis <loewis@informatik.hu-berlin.de>
Sat, 13 Mar 1999 01:16:36 +0000 (01:16 +0000)
committerMartin v. Löwis <loewis@gcc.gnu.org>
Sat, 13 Mar 1999 01:16:36 +0000 (01:16 +0000)
commit0db982bee5681b334b0b2cc460920c542dbbc964
tree045622ec131250d2de223434afc679ea17570fa1
parentdb7695ef3e803f8a4404e8404ae5bb9710f7e876
semantics.c (finish_switch_cond): Handle error cases gracefully.

        * semantics.c (finish_switch_cond): Handle error cases gracefully.
        Detected by g++.law/enum5.C
        * typeck.c (build_modify_expr): Check for errors after resolving
        offsets. Detected by g++.brendan/static1.C
        * decl.c (complete_array_type): Ignore initial_value if it is an
        error. Detected by g++.benjamin/17930.C
        * typeck2.c (process_init_constructor): Return error if one argument
        is in error. Detected by g++.benjamin/13478.C

From-SVN: r25740
gcc/cp/ChangeLog
gcc/cp/decl.c
gcc/cp/semantics.c
gcc/cp/typeck.c
gcc/cp/typeck2.c
This page took 0.061998 seconds and 5 git commands to generate.