This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH] Add -funknown-commons to work around PR/69368 (and others) in SPEC2006
- From: Jakub Jelinek <jakub at redhat dot com>
- To: Richard Biener <richard dot guenther at gmail dot com>
- Cc: Alan Lawrence <alan dot lawrence at arm dot com>, GCC Patches <gcc-patches at gcc dot gnu dot org>, Thomas Koenig <tkoenig at gcc dot gnu dot org>
- Date: Fri, 4 Mar 2016 14:33:24 +0100
- Subject: Re: [PATCH] Add -funknown-commons to work around PR/69368 (and others) in SPEC2006
- Authentication-results: sourceware.org; auth=none
- References: <20160222120328 dot GH3017 at tucnak dot redhat dot com> <1456423200-16337-1-git-send-email-alan dot lawrence at arm dot com> <CAFiYyc3Z-jzxMWC4KR_6-joFiARoufXBhfjM64YbS9i64H4YaA at mail dot gmail dot com>
- Reply-to: Jakub Jelinek <jakub at redhat dot com>
On Fri, Mar 04, 2016 at 02:27:46PM +0100, Richard Biener wrote:
> > +funknown-commons
> > +Common Var(flag_unknown_commons)
> > +Assume common declarations may be overridden with unknown larger sizes
>
> I think to make it work with LTO you need to mark it 'Optimization'.
> Also it's about
> arrays so maybe
>
> 'Assume common declarations may be overridden with ones with a larger
> trailing array'
>
> also if we document it here we should eventually document it in invoke.texi.
Also, isn't the *.opt description line supposed to end with a full stop?
Jakub