re PR rtl-optimization/5120 (tail recursion incorrect using -O2)
authorMark Mitchell <mark@codesourcery.com>
Sat, 6 Apr 2002 19:42:22 +0000 (19:42 +0000)
committerMark Mitchell <mmitchel@gcc.gnu.org>
Sat, 6 Apr 2002 19:42:22 +0000 (19:42 +0000)
commitb1896e61038b3c63b567393ba12ddaa99f6f4a43
tree1bbe36ac9cb6e53aa6cc59b0bee82e20c63cf21e
parentb01488847164f74449ebd08cd35f95660b91de8b
re PR rtl-optimization/5120 (tail recursion incorrect using -O2)

PR opt/5120
* sibcall.c (optimize_sibling_and_tail_recursive_call): Clear
RTX_UNCHANGING_P for the functions arguments when a tail call
is made.

From-SVN: r51969
gcc/ChangeLog
gcc/sibcall.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.c-torture/execute/20020406-1.c [new file with mode: 0644]