Re: [PATCH] document __builtin_is_constant_evaluated

2019-02-19 Thread Sandra Loosemore
On 2/18/19 11:52 AM, Martin Sebor wrote: Index: gcc/doc/extend.texi === --- gcc/doc/extend.texi (revision 268992) +++ gcc/doc/extend.texi (working copy) @@ -12890,6 +12890,23 @@ built-in in this case, because it has no opportuni opt

Re: [PATCH] document __builtin_is_constant_evaluated

2019-02-18 Thread Martin Sebor
On 2/15/19 9:01 PM, Sandra Loosemore wrote: On 2/13/19 4:33 PM, Martin Sebor wrote: Index: gcc/doc/extend.texi === --- gcc/doc/extend.texi    (revision 268856) +++ gcc/doc/extend.texi    (working copy) @@ -12890,6 +12890,22 @@ buil

Re: [PATCH] document __builtin_is_constant_evaluated

2019-02-15 Thread Sandra Loosemore
On 2/13/19 4:33 PM, Martin Sebor wrote: Index: gcc/doc/extend.texi === --- gcc/doc/extend.texi (revision 268856) +++ gcc/doc/extend.texi (working copy) @@ -12890,6 +12890,22 @@ built-in in this case, because it has no opportuni opt

[PATCH] document __builtin_is_constant_evaluated

2019-02-13 Thread Martin Sebor
The attached patch adds the __builtin_is_constant_evaluated newly introduced in GCC 9 to the Other Builtins section in the manual. I followed the example of __builtin_setjmp and __builtin_longjmp by encouraging the use of std::is_constant_evaluated over making use of the built-in directly. There