This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
RE: does GCC support __assume, __noop and _ReturnAddress?
- From: "Rupert Wood" <me at rupey dot net>
- To: "'Daniel Berlin'" <dberlin at dberlin dot org>,"'Jonathan Wilson'" <jonwil at tpgi dot com dot au>
- Cc: <gcc-help at gcc dot gnu dot org>
- Date: Mon, 29 Aug 2005 23:08:56 +0100
- Subject: RE: does GCC support __assume, __noop and _ReturnAddress?
Daniel Berlin wrote:
> i'm not sure what nop does
> Does it really output a nop to the instruction stream?
It appears to just throw its arguments away
http://msdn.microsoft.com/library/en-us/vclang/html/vcref__noop.asp
The __noop intrinsic specifies that a function should be ignored
and the argument list unevaluated. It is intended for use in
global debug functions that take a variable number of arguments.
I'm not a preprocessor guru (or a GCC-builtins guru) so I don't know what to
suggest :-/
Rup.