[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
Mon Feb 16 13:33:00 GMT 2015
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64963
--- Comment #12 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Created attachment 34779
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=34779&action=edit
gcc5-pr64963.patch
Updated untested patch (well, tested with dg.exp=ipa/* ipa.exp so far), whcih
doesn't introduce these regressions and I think roughly matches what we used to
do with DECL_SECTION_NAME in the past.
Another thing is DECL_COMDAT_GROUP, seems we used to copy that and only clear
in some cases (non-local ones).
More information about the Gcc-bugs
mailing list