This is the mail archive of the libstdc++@gcc.gnu.org mailing list for the libstdc++ 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] |
On 19/01/19 23:56 +0100, Jakub Jelinek wrote:
Hi! The following patch uses __builtin_is_constant_evaluated for __constant_string_p and __constant_char_array_p - in constexpr contexts, all the strings or arrays should be constant, and by doing it this way the compiler should be able to optimize better the callers of these inline functions already shortly after early inlining rather than having to wait until fold builtins pass much later. Bootstrapped/regtested on x86_64-linux and i686-linux, ok for trunk?
OK, thanks.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |