re PR middle-end/48722 (ICE in df_refs_verify() with -mno-push-args)
authorJakub Jelinek <jakub@redhat.com>
Mon, 29 Aug 2011 11:52:22 +0000 (13:52 +0200)
committerJakub Jelinek <jakub@gcc.gnu.org>
Mon, 29 Aug 2011 11:52:22 +0000 (13:52 +0200)
commit776bebcdb0de9557b40aa5496c016588da845398
treeb21c10d04005768db52dd8381f69e4b5da208843
parent8934a5840e5f5f51309a9a6bf5113278274fdb4e
re PR middle-end/48722 (ICE in df_refs_verify() with -mno-push-args)

PR middle-end/48722
* emit-rtl.c (unshare_all_rtl_again): For CALL_INSNs,
reset_used_flags also in CALL_INSN_FUNCTION_USAGE.
(verify_rtl_sharing): Likewise and verify_rtx_sharing
in there too.
(unshare_all_rtl_in_chain): For CALL_INSNs
copy_rtx_if_shared also CALL_INSN_FUNCTION_USAGE.

* gcc.target/i386/pr48722.c: New test.

From-SVN: r178208
gcc/ChangeLog
gcc/emit-rtl.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.target/i386/pr48722.c [new file with mode: 0644]