On Sat, Apr 26, 2014 at 3:58 PM, Martin Vaeth <[email protected]> wrote:
> I have not always tested whether filtering -fwhole-program
> alone would be sufficient, but in many cases I did, and
> usually it was not sufficient.

Well, there is certainly something going on here, because...

> app-arch/bzip2 +flto*

This at least builds just fine for me with:
CFLAGS="-march=amdfam10 -Os -pipe -frename-registers -fweb
-freorder-blocks -freorder-blocks-and-partition -flto=5
-funit-at-a-time -ftree-pre -fgcse-sm -fgcse-las -fgcse-after-reload
-fmerge-all-constants -ftree-vectorize -ftree-parallelize-loops=4
-mabm -msse4a -fstack-protector"

It is possible that you might get different behavior on a different
version of gcc, or with some other combination of CFLAGS including the
ones you're using.

Rich

Reply via email to