r262071 - in /branches/gcc-6-branch/gcc: Change...

jakub@gcc.gnu.org jakub@gcc.gnu.org
Mon Jun 25 17:28:00 GMT 2018


Author: jakub
Date: Mon Jun 25 17:28:32 2018
New Revision: 262071

URL: https://gcc.gnu.org/viewcvs?rev=262071&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-6-branch/gcc/testsuite/gcc.dg/pr84739.c
Modified:
    branches/gcc-6-branch/gcc/ChangeLog
    branches/gcc-6-branch/gcc/testsuite/ChangeLog
    branches/gcc-6-branch/gcc/tree-tailcall.c



More information about the Gcc-cvs mailing list