This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: PATCH to implement `restrict' in C
- To: lat at iki dot fi
- Subject: Re: PATCH to implement `restrict' in C
- From: Joe Buck <jbuck at synopsys dot com>
- Date: Fri, 16 Oct 98 9:56:17 PDT
- Cc: egcs at cygnus dot com
> 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.