This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
[PATCH, 4.5 0/2] Make IPA-SRA clone functions in 4.5 too
- From: Martin Jambor <mjambor at suse dot cz>
- To: GCC Patches <gcc-patches at gcc dot gnu dot org>
- Cc: Jan Hubicka <hubicka at ucw dot cz>
- Date: Mon, 28 Jun 2010 18:56:47 +0200
- Subject: [PATCH, 4.5 0/2] Make IPA-SRA clone functions in 4.5 too
Hi,
when I tried to backport the mainline IPA-SRA versioning patch to the
4.5 branch, I ran into two issues. First, the
cgraph_function_versioning function on the branch is currently not
used and so needed some fixes for LTO and second, since versioning
requires that I recompute outgoing call graph edges, I ended up
modifying recursive calls twice.
The first problem is handled by the first patch which is really only a
backport of small part of a recent Honza's patch to trunk. The second
issue required some small re-working of how we handle recursive calls
on the branch and so the second patch, which implements the
versioning, is slightly different than the trunk version.
I have successfully bootstrapped and tested a ver similar version of
the patches today, a bootstrap and test of this exact version is
underway. Are the patches OK for the branch?
Thanks,
Martin