[PATCH 8/13] v2 Use new per-location warning APIs in libcc1

Jeff Law jeffreyalaw@gmail.com
Thu Jun 24 05:04:12 GMT 2021



On 6/4/2021 3:42 PM, Martin Sebor via Gcc-patches wrote:
> The attached patch replaces the uses of TREE_NO_WARNING in libcc1 with
> the new suppress_warning() API.
>
> gcc-no-warning-libcc1.diff
>
> Add support for per-location warning groups.
>
> libcc1/ChangeLog:
>
> 	* libcp1plugin.cc (record_decl_address): Replace a direct use
> 	of TREE_NO_WARNING with suppress_warning.
OK once prereqs are approved.
jeff



More information about the Gcc-patches mailing list