This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: A final solution. (Was Re: kernel-2.2.1-undefined references.)
- To: torvalds at transmeta dot com
- Subject: Re: A final solution. (Was Re: kernel-2.2.1-undefined references.)
- From: craig at jcb-sc dot com
- Date: 13 Feb 1999 01:29:16 -0000
- Cc: pderbysh at usa dot net, egcs at egcs dot cygnus dot com
- Cc: craig at jcb-sc dot com
- References: <Pine.LNX.3.95.990212152049.31280H-100000@penguin.transmeta.com>
>Yes, I could have used a macro. I didn't, because:
> - macro syntax sucks
> - macros don't do type testing
> - macros don't handle arguments with side effects nicely, so you have to
> work around that in various ways.
I'd like to add the following item more clearly than I've expressed
it, buried in my previous emails:
- macros don't guarantee inlining of the sort Linus probably wants
(They might *today*. They probably won't in future versions of gcc.)
tq vm, (burley)