]> git.ipfire.org Git - thirdparty/gcc.git/commit
tree-cfg.c (gimple_redirect_edge_and_branch): Change ERROR_MARK to GIMPLE_ERROR_MARK.
authorIan Lance Taylor <ian@gcc.gnu.org>
Fri, 19 Jun 2009 20:55:27 +0000 (20:55 +0000)
committerIan Lance Taylor <ian@gcc.gnu.org>
Fri, 19 Jun 2009 20:55:27 +0000 (20:55 +0000)
commitd130ae115657aa4e4c4dab6e56f3c08d44bcdfa8
tree1e0b709ce5a70aacdf2f57b1ae07b31bd68bf02e
parent502c4bb950b3f5f0b1089800123acadf595e12b4
tree-cfg.c (gimple_redirect_edge_and_branch): Change ERROR_MARK to GIMPLE_ERROR_MARK.

./: * tree-cfg.c (gimple_redirect_edge_and_branch): Change ERROR_MARK
to GIMPLE_ERROR_MARK.

* c-typeck.c (build_conditional_expr): Add op1_original_type and
op2_original_type parameters.  Warn about using different enum
types.
* c-parser.c (c_parser_conditional_expression): Pass original
types to build_conditional_expr.
* c-tree.h (build_conditional_expr): Update declaration.
testsuite/:
* gcc.dg/Wcxx-compat-18.c: New testcase.

From-SVN: r148727
gcc/ChangeLog
gcc/c-parser.c
gcc/c-tree.h
gcc/c-typeck.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/Wcxx-compat-18.c [new file with mode: 0644]
gcc/tree-cfg.c