Re: [PATCH 10/13] v2 Use new per-location warning APIs in the middle end

2021-06-24 Thread Martin Sebor via Gcc-patches
On 6/23/21 11:15 PM, Jeff Law wrote: On 6/4/2021 3:43 PM, Martin Sebor via Gcc-patches wrote: The attached patch introduces declarations of the new suppress_warning(), warning_suppressed_p(), and copy_warning() APIs, and replaces the uses of TREE_NO_WARNING in the middle end with them. gcc-no

Re: [PATCH 10/13] v2 Use new per-location warning APIs in the middle end

2021-06-23 Thread Jeff Law via Gcc-patches
On 6/4/2021 3:43 PM, Martin Sebor via Gcc-patches wrote: The attached patch introduces declarations of the new suppress_warning(), warning_suppressed_p(), and copy_warning() APIs, and replaces the uses of TREE_NO_WARNING in the middle end with them. gcc-no-warning-middle-end.diff Add support

[PING][PATCH 10/13] v2 Use new per-location warning APIs in the middle end

2021-06-21 Thread Martin Sebor via Gcc-patches
Ping: https://gcc.gnu.org/pipermail/gcc-patches/2021-June/571981.html Looking for a review of the middle end changes to replace the uses of TREE_NO_WARNING and gimple_{get,set}_no_warning with the new warning group APIs. Most of the changes are a mechanical search and replace kind, just a handfu

[PATCH 10/13] v2 Use new per-location warning APIs in the middle end

2021-06-04 Thread Martin Sebor via Gcc-patches
The attached patch introduces declarations of the new suppress_warning(), warning_suppressed_p(), and copy_warning() APIs, and replaces the uses of TREE_NO_WARNING in the middle end with them. Add support for per-location warning groups. gcc/ChangeLog: * builtins.c (warn_string_no_nul): Replace