Bug#484569: Acknowledgement (g++-4.3: Regression in optimization on amd64 - g++ stuck in endless loop)
rguenth at gcc dot gnu dot org writes:
> ------- Comment #1 from rguenth at gcc dot gnu dot org 2008-06-05 11:24 -------
> In function cimg_library::CImg<T>& cimg_library::CImg<T>::blur_patch(unsigned
> int, float, float, unsigned int, bool), which contains some number of loops
> macro expansion stuff. -fno-tree-pre "fixes" it. phi-translation is dog slow.
so maybe use -O2 -fno-tree-pre on all archs for now.