diff options
author | Jakub Jelinek <jakub@redhat.com> | 2016-12-02 16:42:04 +0100 |
---|---|---|
committer | Jakub Jelinek <jakub@gcc.gnu.org> | 2016-12-02 16:42:04 +0100 |
commit | eb61d07edaf05f36151bfe4382777eaa79bce4d9 (patch) | |
tree | 26d9c8c50957315a60c37f181ee12d0fb67a19fb /gcc/emit-rtl.c | |
parent | 8261e476cb64cee8891fa676202d1f42decdcd14 (diff) | |
download | gcc-eb61d07edaf05f36151bfe4382777eaa79bce4d9.zip gcc-eb61d07edaf05f36151bfe4382777eaa79bce4d9.tar.gz gcc-eb61d07edaf05f36151bfe4382777eaa79bce4d9.tar.bz2 |
re PR target/78614 (ICE error: invalid rtl sharing found in the insn (verify_rtx_sharing) gcc/emit-rtl.c:2743)
PR target/78614
* rtl.c (copy_rtx): Don't clear used flag here.
(shallow_copy_rtx_stat): Clear used flag here unless code the rtx
is shareable.
* simplify-rtx.c (simplify_replace_fn_rtx): When copying rtx with
'E' in format, copy all vectors.
* emit-rtl.c (copy_insn_1): Don't clear used flag here.
* valtrack.c (cleanup_auto_inc_dec): Likewise.
* config/rs6000/rs6000.c (rs6000_frame_related): Likewise.
From-SVN: r243194
Diffstat (limited to 'gcc/emit-rtl.c')
-rw-r--r-- | gcc/emit-rtl.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/gcc/emit-rtl.c b/gcc/emit-rtl.c index d2ac88b..4650540 100644 --- a/gcc/emit-rtl.c +++ b/gcc/emit-rtl.c @@ -5552,10 +5552,6 @@ copy_insn_1 (rtx orig) us to explicitly document why we are *not* copying a flag. */ copy = shallow_copy_rtx (orig); - /* We do not copy the USED flag, which is used as a mark bit during - walks over the RTL. */ - RTX_FLAG (copy, used) = 0; - /* We do not copy JUMP, CALL, or FRAME_RELATED for INSNs. */ if (INSN_P (orig)) { |