[Bug c/57612] add builtin to assert that expression does not have side effects

hpa at zytor dot com gcc-bugzilla@gcc.gnu.org
Tue Jan 24 20:53:00 GMT 2017


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=57612

H. Peter Anvin <hpa at zytor dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |hpa at zytor dot com

--- Comment #2 from H. Peter Anvin <hpa at zytor dot com> ---
I would like to second this request, however, I would like to request that it
issues a warning rather than an error.  It can always be promoted to an error
via -Werror= or the equivalent pragma.


More information about the Gcc-bugs mailing list