This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Converting tm.h macros to functions
- To: Neil Booth <neil at daikokuya dot demon dot co dot uk>
- Subject: Re: Converting tm.h macros to functions
- From: "Joseph S. Myers" <jsm28 at cam dot ac dot uk>
- Date: Wed, 20 Jun 2001 09:25:14 +0100 (BST)
- cc: <gcc at gcc dot gnu dot org>, Mark Mitchell <mark at codesourcery dot com>, mike stump <mrs at windriver dot com>
On Wed, 20 Jun 2001, Neil Booth wrote:
> And what do you propose to do about other clients of cpplib, like
> fix-headers?
As long as the relevant definitions stay in the target headers - and since
they aren't ones expanding to large macro definitions that ought to be
functions, there's no strong reason for them to change - they can continue
to work fine (of course, linking in some suitable implementation of target
arithmetic). If any of the macros start expanding to values depending on
command line options passed to the compiler, or to values calling
functions in the target .c file, I don't see that this would cause more
problems than it would cause now.
--
Joseph S. Myers
jsm28@cam.ac.uk