This is the mail archive of the
gcc-cvs@gcc.gnu.org
mailing list for the GCC project.
r231622 - in /branches/gcc-5-branch/gcc: Change...
- From: jamborm at gcc dot gnu dot org
- To: gcc-cvs at gcc dot gnu dot org
- Date: Mon, 14 Dec 2015 16:31:27 -0000
- Subject: r231622 - in /branches/gcc-5-branch/gcc: Change...
Author: jamborm
Date: Mon Dec 14 16:31:26 2015
New Revision: 231622
URL: https://gcc.gnu.org/viewcvs?rev=231622&root=gcc&view=rev
Log:
[PR 66616] Check for thunks when adding extra constants to clones
2015-12-14 Martin Jambor <mjambor@suse.cz>
PR ipa/66616
* ipa-cp.c (propagate_constants_accross_call): Move thuk check...
(call_passes_through_thunk_p): ...here.
(find_more_scalar_values_for_callers_subset): Perform thunk checks
like propagate_constants_accross_call does.
testsuite/
* g++.dg/ipa/pr66616.C: New test.
Added:
branches/gcc-5-branch/gcc/testsuite/g++.dg/ipa/pr66616.C
Modified:
branches/gcc-5-branch/gcc/ChangeLog
branches/gcc-5-branch/gcc/ipa-cp.c
branches/gcc-5-branch/gcc/testsuite/ChangeLog