[Bug ipa/65873] [5/6 Regression] Failure to inline always_inline memcpy

jakub at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Mon Apr 27 08:14:00 GMT 2015


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65873

--- Comment #2 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
(In reply to Jan Hubicka from comment #1)
> I think certain combinations of flag will trigger ICE, such as one
> enabling/disabling vector builtins. But I suppose we may want to bypass
> majority of the checks for case we have always_inline w/o explicit
> optimization attribute indeed, but only at early inlining time, probably not
> at LTO?
> At LTO time we already did transformation that turn previously correct code
> with target's optimization flags to be incorrect (i.e. -fstrict-aliasing
> blocks some transformations we may do during early opts)

Yeah, special casing always_inline with no explicit optimize/target attributes
only, and only during early inlining IMHO should be sufficient.



More information about the Gcc-bugs mailing list