-
- Downloads
introduce EH_ELSE_EXPR tree and gimplifier
I found GIMPLE_EH_ELSE offered exactly the semantics I needed for some Ada changes yet to be contributed, but GIMPLE_EH_ELSE was only built by GIMPLE passes, and I needed to build earlier something that eventually became GIMPLE_EH_ELSE. This patch does that, introducing an EH_ELSE_EXPR tree, and logic to dump it and to gimplify it. for gcc/ChangeLog * doc/generic.texi (Cleanups): Document EH_ELSE_EXPR. * except.c: Likewise. * expr.c (expand_expr_real_1): Reject it. * gimplify.c (gimplify_expr): Gimplify it, within TRY_FINALLY_EXPR. * tree-dump.c (dequeue_and_dump): Dump it. * tree-pretty-print.c (dump_generic_node): Likewise. * tree.c (block_may_fallthru): Handle it. * tree.def (EH_ELSE_EXPR): Introduce it. * gimple-pretty-print.c (dump_gimple_try): Dump TRY_FINALLY with GIMPLE_EH_ELSE as try/finally/else. From-SVN: r273084
Showing
- gcc/ChangeLog 14 additions, 0 deletionsgcc/ChangeLog
- gcc/doc/generic.texi 5 additions, 0 deletionsgcc/doc/generic.texi
- gcc/except.c 6 additions, 6 deletionsgcc/except.c
- gcc/expr.c 1 addition, 0 deletionsgcc/expr.c
- gcc/gimple-pretty-print.c 19 additions, 1 deletiongcc/gimple-pretty-print.c
- gcc/gimplify.c 17 additions, 1 deletiongcc/gimplify.c
- gcc/tree-dump.c 1 addition, 0 deletionsgcc/tree-dump.c
- gcc/tree-pretty-print.c 25 additions, 3 deletionsgcc/tree-pretty-print.c
- gcc/tree.c 3 additions, 0 deletionsgcc/tree.c
- gcc/tree.def 8 additions, 1 deletiongcc/tree.def
Loading
Please register or sign in to comment