[PATCH 5/13] v2 Use new per-location warning APIs in the RL78 back end

Jeff Law jeffreyalaw@gmail.com
Thu Jun 24 05:06:01 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 the RL78
> back end with the new suppress_warning() and warning_suppressed_p()
> APIs.
>
> gcc-no-warning-rl78.diff
>
> Add support for per-location warning groups.
>
> gcc/ChangeLog:
>
> 	* config/rl78/rl78.c (rl78_handle_naked_attribute): 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