This is the mail archive of the fortran@gcc.gnu.org mailing list for the GNU Fortran project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [RFC][PATCH] Change default to -fcommon


On Mon, Nov 20, 2017 at 11:00 PM, Michael Matz <matz@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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]