r230929 - in /trunk/gcc: ChangeLog calls.c test...

ktkachov@gcc.gnu.org ktkachov@gcc.gnu.org
Thu Nov 26 09:58:00 GMT 2015


Author: ktkachov
Date: Thu Nov 26 09:58:28 2015
New Revision: 230929

URL: https://gcc.gnu.org/viewcvs?rev=230929&root=gcc&view=rev
Log:
[calls.c] PR rtl-optimization/67226: Take into account pretend_args_size when checking stack offsets for sibcall optimisation

2015-11-26  Kyrylo Tkachov  <kyrylo.tkachov@arm.com>
            Bernd Schmidt  <bschmidt@redhat.com>

	PR rtl-optimization/67226
	* calls.c (store_one_arg): Take into account
	crtl->args.pretend_args_size when checking for overlap between
	arg->value and argblock + arg->locate.offset during sibcall
	optimization.

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


Added:
    trunk/gcc/testsuite/gcc.c-torture/execute/pr67226.c
Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/calls.c
    trunk/gcc/testsuite/ChangeLog



More information about the Gcc-cvs mailing list