PPL and CLooG
PPL and CLooG are used by GCC for high level optimizations. As of August 2008, the new optimization method has been merged into GCC (4.4.0) mainline, but maintains a separate branch known as Graphite for development.
Enabling "Graphite" Enhancements
PPL and GMP
PPL depends on the C++ bindings for GMP, so GMP must be built with --enable-cxx in configure. To allow C++ exception handling thrown from PPL to propagate properly, make sure all GMP code is compiled with CPPFLAGS="-fexceptions".
Note: For Windows based platform, GMP is either built as shared (DLL) or static, but not both. It is preferable to build PPL and CLooG similarly to how GMP was built.
Building CLooG is straight forward. For static builds, you should add '--with-host-libstdcxx="-lstdc++ -lsupc++"' to the configuration script to avoid link failures.
When running the GCC configure script, remember to set --with-ppl and --with-cloog to point to the PPL and CLooG install prefix. If you are linking to static PPL and CLooG, add '--with-host-libstdcxx="-lstdc++ -lsupc++"' to prevent link failures when building the new GCC backends.