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: Remove mem checking code


> 
> 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: aldyh@redhat.com
Professional Gypsy
Red Hat, Inc.


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