https://gcc.gnu.org/bugzilla/show_bug.cgi?id=60449
--- Comment #17 from wmi at gcc dot gnu.org --- Author: wmi Date: Wed Aug 20 17:09:25 2014 New Revision: 214237 URL: https://gcc.gnu.org/viewcvs?rev=214237&root=gcc&view=rev Log: 2014-08-20 Martin Jambor <mjam...@suse.cz> Wei Mi <w...@google.com> PR ipa/60449 PR middle-end/61776 * tree-ssa-operands.c (update_stmt_operands): Remove MODIFIED_NORETURN_CALLS. * tree-cfgcleanup.c (cleanup_call_ctrl_altering_flag): New func. (cleanup_control_flow_bb): Use cleanup_call_ctrl_altering_flag. (split_bb_on_noreturn_calls): Renamed from split_bbs_on_noreturn_calls. (cleanup_tree_cfg_1): Use split_bb_on_noreturn_calls. * tree-ssanames.h: Remove MODIFIED_NORETURN_CALLS. * gimple.h (enum gf_mask): Add GF_CALL_CTRL_ALTERING. (gimple_call_set_ctrl_altering): New func. (gimple_call_ctrl_altering_p): Ditto. * tree-cfg.c (gimple_call_initialize_ctrl_altering): Ditto. (make_blocks): Use gimple_call_initialize_ctrl_altering. (is_ctrl_altering_stmt): Use gimple_call_ctrl_altering_p. (execute_fixup_cfg): Use gimple_call_ctrl_altering_p and remove MODIFIED_NORETURN_CALLS. 2014-08-20 Martin Jambor <mjam...@suse.cz> Wei Mi <w...@google.com> PR ipa/60449 PR middle-end/61776 * testsuite/gcc.dg/lto/pr60449_1.c: New test. * testsuite/gcc.dg/lto/pr60449_0.c: New test. * testsuite/gcc.dg/pr61776.c: New test. Added: branches/gcc-4_9-branch/gcc/testsuite/gcc.dg/lto/pr60449_0.c branches/gcc-4_9-branch/gcc/testsuite/gcc.dg/lto/pr60449_1.c branches/gcc-4_9-branch/gcc/testsuite/gcc.dg/pr61776.c Modified: branches/gcc-4_9-branch/gcc/ChangeLog branches/gcc-4_9-branch/gcc/gimple.h branches/gcc-4_9-branch/gcc/testsuite/ChangeLog branches/gcc-4_9-branch/gcc/tree-cfg.c branches/gcc-4_9-branch/gcc/tree-cfgcleanup.c branches/gcc-4_9-branch/gcc/tree-ssa-operands.c branches/gcc-4_9-branch/gcc/tree-ssanames.h