]> git.ipfire.org Git - thirdparty/gcc.git/commit - gcc/ree.c
re PR rtl-optimization/51667 (new FAIL: 27_io/basic_*stream/* execution test with...
authorEric Botcazou <ebotcazou@adacore.com>
Tue, 27 Dec 2011 16:25:43 +0000 (16:25 +0000)
committerEric Botcazou <ebotcazou@gcc.gnu.org>
Tue, 27 Dec 2011 16:25:43 +0000 (16:25 +0000)
commit282bc7b4c5fd895ecc81781e0febb8ec13d9ad86
treeeaf9391ce1461e4951b958573322625de296a53b
parent0bed228eb6a10757b28a4e3f355d88267421bf6e
re PR rtl-optimization/51667 (new FAIL: 27_io/basic_*stream/* execution test with -m32)

PR rtl-optimization/51667
* ree.c (insn_merge_code): Delete.
(is_insn_merge_attempted): Likewise.
(get_insn_status): Likewise.
(set_insn_status): Likewise.
(struct ext_cand): Add CODE and MODE fields.
(combine_set_extend): Rename to...
(combine_set_extension): ...this.  Use above fields and tidy up.
(transform_ifelse): Likewise.
(get_defs): Return the chain of definitions.
(is_this_a_cmove): Merge into...
(is_cond_copy_insn): ...this.  Return bool.
(make_defs_and_copies_lists): Adjust calls to get_defs and simplify.
(merge_def_and_ext): Adjust call to combine_set_extend.
(combine_reaching_defs): Remove calls to {g|s}et_insn_status.
(struct extend_info): Rename to...
(struct re_info): ...this.  Add DEF_MAP field.
(add_ext_candidate): Merge into...
(add_removable_extension): ...this.  Adjust calls to get_defs.  Ensure
reaching definitions are associated with only one kind of extension.
(find_removable_extensions): Create and destroy the definition map.
(find_and_remove_re): Return void.  Change 'long' variables to 'int'.
Do not deal with is_insn_merge_attempted.

From-SVN: r182694
gcc/ChangeLog
gcc/ree.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.c-torture/execute/20111227-1.c [new file with mode: 0644]