diff options
author | Kazu Hirata <kazu@cs.umass.edu> | 2005-02-28 18:18:26 +0000 |
---|---|---|
committer | Kazu Hirata <kazu@gcc.gnu.org> | 2005-02-28 18:18:26 +0000 |
commit | 321cf1f25e3accb866f1a93097677dee6bb05f49 (patch) | |
tree | 6c92c8ce1deb768b15d63c2cbd9a0e5c3d96f660 /gcc/tree-cfg.c | |
parent | ac5205bd7d71d1b9b5931ab9be3289da57d5507b (diff) | |
download | gcc-321cf1f25e3accb866f1a93097677dee6bb05f49.zip gcc-321cf1f25e3accb866f1a93097677dee6bb05f49.tar.gz gcc-321cf1f25e3accb866f1a93097677dee6bb05f49.tar.bz2 |
calls.c (emit_call_1): Don't use REG_ALWAYS_RETURN.
* calls.c (emit_call_1): Don't use REG_ALWAYS_RETURN.
(emit_library_call_value_1): Don't use LCT_ALWAYS_RETURN and
REG_ALWAYS_RETURN.
* cfgrtl.c (need_fake_edge_p): Likewise.
* combine.c (distribute_notes): Likewise.
* emit-rtl.c (try_split): Likewise.
* recog.c (peephole2_opimize): Likewise.
* reg-notes.def (ALWAYS_RETURN): Remove.
* rtl.h (LCT_ALWAYS_RETURN): Remove.
* tree-cfg.c (need_fake_edge_p): Don't use ECF_ALWAYS_RETURN.
* tree.h (ECF_ALWAYS_RETURN): Remove.
From-SVN: r95690
Diffstat (limited to 'gcc/tree-cfg.c')
-rw-r--r-- | gcc/tree-cfg.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/tree-cfg.c b/gcc/tree-cfg.c index 9e87dbf..2ebc595 100644 --- a/gcc/tree-cfg.c +++ b/gcc/tree-cfg.c @@ -5327,7 +5327,7 @@ need_fake_edge_p (tree t) tree call; /* NORETURN and LONGJMP calls already have an edge to exit. - CONST, PURE and ALWAYS_RETURN calls do not need one. + CONST and PURE calls do not need one. We don't currently check for CONST and PURE here, although it would be a good idea, because those attributes are figured out from the RTL in mark_constant_function, and @@ -5335,7 +5335,7 @@ need_fake_edge_p (tree t) leads to different results from -fbranch-probabilities. */ call = get_call_expr_in (t); if (call - && !(call_expr_flags (call) & (ECF_NORETURN | ECF_ALWAYS_RETURN))) + && !(call_expr_flags (call) & ECF_NORETURN)) return true; if (TREE_CODE (t) == ASM_EXPR |