This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: [RFD] Extremely large alignment of read-only strings
- From: Hans-Peter Nilsson <hp at bitrange dot com>
- To: Thorsten Glaser <tg at mirbsd dot de>
- Cc: Alexander Monakov <amonakov at ispras dot ru>, gcc at gcc dot gnu dot org
- Date: Fri, 12 Aug 2016 16:40:26 -0400 (EDT)
- Subject: Re: [RFD] Extremely large alignment of read-only strings
- Authentication-results: sourceware.org; auth=none
- References: <Pine.BSM.4.64L.1607271521240.18257@herc.mirbsd.org> <alpine.LNX.2.20.13.1607281812230.2106@monopod.intra.ispras.ru> <Pine.BSM.4.64L.1607281850160.1271@herc.mirbsd.org> <Pine.BSM.4.64L.1608122001360.858@herc.mirbsd.org>
On Fri, 12 Aug 2016, Thorsten Glaser wrote:
> Dixi quod?
>
> >Alexander Monakov dixit:
> >
> >>First of all, I think option -malign-data=abi (new in GCC 5) addresses your
> >>need: it can be used to reduce the default (excessive) alignment to just the
> >>psABI-dictated value (you can play with this at https://gcc.godbolt.org even if
> >
> >Ah, nice!
>
> ? except -malign-data=abi is, apparently, cris-only.
ITYM "i386-only". I see "malign-data=" in
gcc/config/i386/i386.opt.
(Not sure why the CRIS port was mentioned at all.
There's no option named "-malign-data=abi" for
cris-*; the closest is an option named "-mdata-align".)
brgds, H-P