]> git.ipfire.org Git - thirdparty/gcc.git/commit - gcc/dce.c
re PR rtl-optimization/47337 (Wrong RTL dce of calls)
authorJakub Jelinek <jakub@redhat.com>
Wed, 19 Jan 2011 15:13:01 +0000 (16:13 +0100)
committerJakub Jelinek <jakub@gcc.gnu.org>
Wed, 19 Jan 2011 15:13:01 +0000 (16:13 +0100)
commit2e0642cde2ace61ba98145609d5f62796666cbfa
tree5646308e390bbb76c0d494c9bae522ddbfc05847
parent46e7483cbaff644bc21d2a69469921709e1a849c
re PR rtl-optimization/47337 (Wrong RTL dce of calls)

PR rtl-optimization/47337
* dce.c (check_argument_store): New function.
(find_call_stack_args): Ignore debug insns.  Use check_argument_store.

* gcc.c-torture/execute/pr47337.c: New test.

From-SVN: r168997
gcc/ChangeLog
gcc/dce.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.c-torture/execute/pr47337.c [new file with mode: 0644]