[Bug target/71991] Inconsistency for __attribute__ ((__always_inline__)) among LTO and non-LTO compilation
hubicka at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Thu Mar 29 14:06:00 GMT 2018
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71991
Jan Hubicka <hubicka at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |hubicka at gcc dot gnu.org
--- Comment #5 from Jan Hubicka <hubicka at gcc dot gnu.org> ---
Created attachment 43798
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=43798&action=edit
proposed fix
this patch simply while-lists some transitions of target flags for always
inline functions. It is ugly but I can't think of anything else which would
look safe.
Martin, you mentioned there was packages broken by this. Perhaps we can try
rebuild with this patch to see if all of the real world issues are solved? If
not, i guess we will need to decide case-by-case what is safe and what not :(
More information about the Gcc-bugs
mailing list