This is the mail archive of the gcc-help@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: 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.


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