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

Re: PATCH to implement `restrict' in C


> The newest Microsoft Visual C++ (6.0) seems to have a new construct
> `__assume(expr)'.  What they recommend is to replace `assert' in with
> `__assume(expr)' in non-debug build.

Ah, but they could have done this without asking people to change their
code: 'assert' would expand to __assume if NDEBUG is defined.  It isn't
necessary to invent a new user-level construct.


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