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 breaks ARGS_GROW_DOWNWARD targets.  There's a missing ) in the
     >     line you changed.
    
     > Ooops, sorry.  Will fix.

    Which begs the question-- what testing *did* you do before you checked
    your patch in?

I tested it on a target that doesn't define ARGS_GROW_DOWNWARD,
obviously.  Most targets don't define that.  Only five do: 1750a, c4x,
dsp16xx, pa, and pj.

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.

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.


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