This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC 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: [PATCH] Fix EH labels on IA-64 (PR target/30230)


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


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