> Yes, I know -fno-strict-aliasing is globally set, but will all > -fstrict-aliasing optimization attributes on functions be "overwritten"? > That is, are you sure that when optimizing a function originally compiled > with -fstrict-aliasing that -fno-strict-aliasing is in effect?
Do you mean with the "optimize" attribute or somesuch? If so, I suppose not, if the attributes are properly saved and restored; otherwise, I don't really understand the question because I don't think that LTO saves the entire option state on a per-function basis. -- Eric Botcazou