This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Fwd: Macros taking a function as argument - and evaluating it at least twice
- From: Tom Tromey <tromey at redhat dot com>
- To: Steven Bosscher <stevenb dot gcc at gmail dot com>
- Cc: GCC Mailing List <gcc at gcc dot gnu dot org>
- Date: Wed, 13 Nov 2013 09:15:44 -0700
- Subject: Re: Fwd: Macros taking a function as argument - and evaluating it at least twice
- Authentication-results: sourceware.org; auth=none
- References: <CABu31nMDGXH0n2OpfsPcTpDU7qqwLGsaeWiOXSK=8pSVDBx8pQ at mail dot gmail dot com> <CABu31nMcEEe_W-UKuXHAM33V5n_OT7SqjFan8Rbhwm_7TbvUpw at mail dot gmail dot com>
>>>>> "Steven" == Steven Bosscher <stevenb.gcc@gmail.com> writes:
Steven> Here is a non-comprehensive list of macros that are used with a
Steven> function passed to the macro's argument, and the macro evaluates that
Steven> argument at least twice:
[...]
Steven> Not sure what to do about them (if anything) but I don't think this is
Steven> intended...
If someone implemented PR 57612 then we could detect these automatically :-)
Tom