This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH] Fix EH labels on IA-64 (PR target/30230)
- From: Jakub Jelinek <jakub at redhat dot com>
- To: Steven Bosscher <stevenb dot gcc at gmail dot com>
- Cc: gcc-patches at gcc dot gnu dot org, Jim Wilson <wilson at specifix dot com>, Andreas Schwab <schwab at suse dot de>
- Date: Sat, 16 Dec 2006 11:05:57 -0500
- Subject: Re: [PATCH] Fix EH labels on IA-64 (PR target/30230)
- References: <20061216130443.GU29911@devserv.devel.redhat.com> <200612161419.40647.steven@gcc.gnu.org>
- Reply-to: Jakub Jelinek <jakub at redhat dot com>
On Sat, Dec 16, 2006 at 02:19:40PM +0100, Steven Bosscher wrote:
> On Saturday 16 December 2006 14:04, Jakub Jelinek wrote:
> > +#if NR_BUNDLES == 10
>
> When is NR_BUNDLES ever not 10?
It is always 10, but I was trying to match the
#if NR_BUNDLES == 10
".bbb",
".mbb",
#endif
conditional (if NR_BUNDLES changed, then we wouldn't have .bbb and .mbb
patterns.
Alternatively, we could just nuke the NR_BUNDLES define altogether,
the array can be just static const char *bundle_name [] = { ... };
and the #if NR_BUNDLES == 10 plus #endif can go too.
Those are the only places which use this and apparently other code
already relies on NR_BUNDLES being 10, or at least .bbb and .mbb bundles
in the middle (e.g. if (template0 == 9) assuming it is .mlx).
Jakub