Translations:GCC optimization/154/en
From Gentoo Wiki
No, because it would solve the halting problem, where it can tell if any program stops or runs forever [1]. This means that there is no perfect CFLAGS for every package. Even if such CFLAGS were found, packages change over time.