r261914 - in /branches/gcc-7-branch/gcc: Change...
jakub@gcc.gnu.org
jakub@gcc.gnu.org
Fri Jun 22 20:31:00 GMT 2018
Author: jakub
Date: Fri Jun 22 20:31:10 2018
New Revision: 261914
URL: https://gcc.gnu.org/viewcvs?rev=261914&root=gcc&view=rev
Log:
Backported from mainline
2018-03-08 Jakub Jelinek <jakub@redhat.com>
PR tree-optimization/84739
* tree-tailcall.c (find_tail_calls): Check call arguments against
DECL_ARGUMENTS (current_function_decl) rather than
DECL_ARGUMENTS (func) when checking for tail recursion.
* gcc.dg/pr84739.c: New test.
Added:
branches/gcc-7-branch/gcc/testsuite/gcc.dg/pr84739.c
Modified:
branches/gcc-7-branch/gcc/ChangeLog
branches/gcc-7-branch/gcc/testsuite/ChangeLog
branches/gcc-7-branch/gcc/tree-tailcall.c
More information about the Gcc-cvs
mailing list