------- Comment #7 from mikulas at artax dot karlin dot mff dot cuni dot cz 2009-09-26 15:27 ------- Richard Guenther: the bug caused by common symbol (in file commonalign1.o) with the same name as data section symbol (in file commonalign2.o). In this case, the linker redirects the common symbol to the symbol in the data section. But the linker cannot change the content of the data section, so it cannot make both symbols array and array2 aligned. Linker is innocent in this and giving a warning is the best thing it can do.
-- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41475