On Thu, Apr 8, 2010 at 09:25, Basile Starynkevitch <bas...@starynkevitch.net> wrote:
> I am bit confused by this last sentence. Isn't it already the case in > gcc 4.5 that using -flto both at compile and at link times (usually a > trivial way to do that might be "make CC='gcc-4.5 -flto -O2'" or > something similar) is practically enough to replace the -combine flag? It should be, yes. It still needs to be done and make sure that no regressions are introduced. > So what are the real use cases of -combine not covered by -flto ? I don't know. I haven't checked. In theory, -flto is already a superset of -combine. Diego.