This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug ipa/81541] Potential size optimisation: reusing common function endings
- From: "rguenth at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Tue, 25 Jul 2017 07:43:47 +0000
- Subject: [Bug ipa/81541] Potential size optimisation: reusing common function endings
- Auto-submitted: auto-generated
- References: <bug-81541-4@http.gcc.gnu.org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81541
Richard Biener <rguenth at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Version|unknown |8.0
Keywords| |missed-optimization
Last reconfirmed| |2017-07-25
Component|other |ipa
CC| |marxin at gcc dot gnu.org,
| |mliska at suse dot cz
Ever confirmed|0 |1
Severity|normal |enhancement
--- Comment #1 from Richard Biener <rguenth at gcc dot gnu.org> ---
Both crossjumping (on RTL) and tail-merging on GIMPLE perform the desired
transform inside a function. You are looking for the IPA side of this
(which only can common whole functions at the moment), basically function
part outlining plus ICF.