On Thu, 2010-12-09 at 13:31 +1300, Michael Hope wrote:
On Wed, Dec 8, 2010 at 7:10 PM, Michael Hope michael.hope@linaro.org wrote: -fno-common also gives a small improvement in various benchmarks, but may break some programs.
Any breakage with -fno-common would be detected at link time, so if your program compiles successfully it should run successfully.
The breakage is that some non-strictly conforming programs that declare variables tentatively with, for example:
int x;
in multiple translation units will get multiple-definition errors at link time.
R.