[Bug ipa/64963] [5 Regression] IPA Cloning/Splitting does not copy function section attributes resulting in kernel miscompilation
jakub at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Tue Feb 10 15:50:00 GMT 2015
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64963
Jakub Jelinek <jakub at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Target Milestone|--- |5.0
Summary|IPA Cloning/Splitting does |[5 Regression] IPA
|not copy function section |Cloning/Splitting does not
|attributes resulting in |copy function section
|kernel miscompilation |attributes resulting in
| |kernel miscompilation
--- Comment #7 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Ah, though it seems we've actually been using the user section for the clones
in the past, it is just Honza's r211363/r211365 changes (or so, r211350 works,
r211400 doesn't), that broke this. So in that case it is a regression and
supposedly cloning should ensure the section name is copied (which has been
done automatically in the past because it was part of the FUNCTION_DECL that
was copied and modified, but after moving that out into cgraph that doesn't
happen anymore).
More information about the Gcc-bugs
mailing list