diff options
author | Martin Liska <mliska@suse.cz> | 2021-06-07 15:38:10 +0200 |
---|---|---|
committer | Martin Liska <mliska@suse.cz> | 2021-06-07 15:38:10 +0200 |
commit | 6467a4e9a6cceae84be71007d11dfc61b47b43a4 (patch) | |
tree | fec0feb43d7f9ce092ad6e9a90f598cde22e1fd4 /gcc/rtl.c | |
parent | 7584ede940802ce5f6401bc6122a5550106f5925 (diff) | |
parent | 4d3907c222646174ec7e405491435aefc50bf1bb (diff) | |
download | gcc-6467a4e9a6cceae84be71007d11dfc61b47b43a4.zip gcc-6467a4e9a6cceae84be71007d11dfc61b47b43a4.tar.gz gcc-6467a4e9a6cceae84be71007d11dfc61b47b43a4.tar.bz2 |
Merge branch 'master' into devel/sphinx
Diffstat (limited to 'gcc/rtl.c')
-rw-r--r-- | gcc/rtl.c | 6 |
1 files changed, 4 insertions, 2 deletions
@@ -395,8 +395,10 @@ shallow_copy_rtx (const_rtx orig MEM_STAT_DECL) case SCRATCH: break; default: - /* For all other RTXes clear the used flag on the copy. */ - RTX_FLAG (copy, used) = 0; + /* For all other RTXes clear the used flag on the copy. + CALL_INSN use "used" flag to indicate it's a fake call. */ + if (!INSN_P (orig)) + RTX_FLAG (copy, used) = 0; break; } return copy; |