This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [RFC PATCH] Avoid most of the BUILT_IN_*_CHKP enum values
- From: Jakub Jelinek <jakub at redhat dot com>
- To: Jeff Law <law at redhat dot com>
- Cc: Richard Biener <richard dot guenther at gmail dot com>, David Edelsohn <dje dot gcc at gmail dot com>, Ilya Enkovich <enkovich dot gnu at gmail dot com>, Ilya Enkovich <ilya dot enkovich at intel dot com>, gcc-patches <gcc-patches at gcc dot gnu dot org>
- Date: Wed, 28 Jan 2015 20:57:23 +0100
- Subject: Re: [RFC PATCH] Avoid most of the BUILT_IN_*_CHKP enum values
- Authentication-results: sourceware.org; auth=none
- References: <20150127142709 dot GF1746 at tucnak dot redhat dot com> <CAMbmDYa28X0MSNxYc4wjoz0dBW2B4VwOtoHpz866q9jXC707gg at mail dot gmail dot com> <20150127224257 dot GP1746 at tucnak dot redhat dot com> <CAFiYyc1JYbE6aNxzRTL9gv+krwpPCeT1aee66ewDdzYrDDPzsg at mail dot gmail dot com> <20150128112441 dot GS1746 at tucnak dot redhat dot com> <CAFiYyc2GL6s+=f7f0Ht1CxQUnw+_AXOLtSL8w1BN6AwwHs90qg at mail dot gmail dot com> <CAGWvny=uSsndn5DKk5eoY2APNj-_Xw7=4tTYzYeOi_b8yS6spQ at mail dot gmail dot com> <0F323985-C40F-4781-AC6D-790297F8AF0C at gmail dot com> <54C93DBC dot 6020503 at redhat dot com>
- Reply-to: Jakub Jelinek <jakub at redhat dot com>
On Wed, Jan 28, 2015 at 12:51:24PM -0700, Jeff Law wrote:
> On 01/28/15 12:24, Richard Biener wrote:
> >>>It should be the STABS and/or affected target maintainers job to get
> >>this fixed
> >>>for them.
> >>
> >>Richard,
> >>
> >>Even if the STABS continuations are fixed, it requires fixing it in
> >>previous releases of GCC, deploying the solution and achieving
> >>adoption. The current problem prevents linking of stage 1 cc1,
> >>cc1plus, etc.
> >
> >I am aware of this. But if GCC 5 were fixed stabs-wise then stage1 could be built with XLC or earlier GCC with -g0, no?
> But if there's a problem, then you don't have debug symbols.
>
> We've been through this before. Really the way forward is to cut down the
> size of those enums.
I'd say cut down the size of those enums and really fix the stabs issue, so
that we don't run into it again next release with another enum or large
struct etc. or users don't run into it elsewhere.
64K for textual representation of the enumerators and their values is a
severe limitation.
Jakub