This is the mail archive of the
mailing list for the GCC project.
Re: Remove mem checking code
- From: Aldy Hernandez <aldyh at redhat dot com>
- To: Richard Kenner <kenner at vlsi1 dot ultra dot nyu dot edu>
- Cc: gcc patches <gcc-patches at gcc dot gnu dot org>
- Date: 06 Dec 2001 11:52:10 -0800
- Subject: Re: Remove mem checking code
- References: <10112061932.AA02787@vlsi1.ultra.nyu.edu>
> This is why languages such as Ada forbid conditional compilation and why
> GCC is trying to move towards testing these in "if" statements and not
> in the preprocessor.
yeah, but we're not compiling ada code, are we?
if you change coditionally compiled code, it follows that you should
test on a platform that stresses that path of action.
perhaps adding just one other platform to your tests would help. iirc,
you only test major (or minor) changes to gcc on alpha-osf.
> Luckily, this got caught relatively quickly and was a one-character typo,
> but it's easy to see cases where it the relevant symbol might be defined
> only on very obscure machines.
Aldy Hernandez E-mail: firstname.lastname@example.org
Red Hat, Inc.