re PR middle-end/49519 (Revision 175272 miscompiled 447.dealII in SPEC CPU 2006)
authorKirill Yukhin <kirill.yukhin@intel.com>
Fri, 8 Jul 2011 13:12:03 +0000 (13:12 +0000)
committerH.J. Lu <hjl@gcc.gnu.org>
Fri, 8 Jul 2011 13:12:03 +0000 (06:12 -0700)
commit6c3cb698c53a85548621eeb871011b6d7774051c
tree12985c1b71115046191bb5215bc72531f64397e2
parent7d8d6d7359822490c1a14cfcde0c736c4d220d34
re PR middle-end/49519 (Revision 175272 miscompiled 447.dealII in SPEC CPU 2006)

Fix PR middle-end/49519.

gcc/

2011-07-08  Kirill Yukhin  <kirill.yukhin@intel.com>

PR middle-end/49519
* calls.c (mem_overlaps_already_clobbered_arg_p): Additional
check if address is stored in register. If so - give up.
(check_sibcall_argument_overlap_1): Do not perform check of
overlapping when it is call to address.

gcc/tessuite/

2011-07-08  Kirill Yukhin  <kirill.yukhin@intel.com>

PR middle-end/49519
* g++.dg/torture/pr49519.C: New test.

From-SVN: r176042
gcc/ChangeLog
gcc/calls.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/torture/pr49519.C [new file with mode: 0644]