On Mon, Nov 20, 2017 at 11:00 PM, Michael Matz <m...@suse.de> wrote: > Hi, > > On Mon, 20 Nov 2017, Richard Biener wrote: > >> Also we cannot raise alignment of commons and thus vectorization is >> pessimized (all vectorizer testcases use - fno-common). > > That would be a simple oversight then. That's one of the nice things with > common symbols, they contain their own alignment which you can freely > adjust, you don't have to care for something like section alignment.
You can't because of the need for merging a real definition with lower alignment with the adjusted tentative one. Richard. >> IIRC LTO promotes commons to locals. > > Might be, but if so, probably for no good reason. > > > Ciao, > Michael.