[PATCH][c++] Do not warn about unused macros while processing #pragma GCC optimize
Jeff Law
law@redhat.com
Fri Nov 13 17:29:15 GMT 2020
On 8/5/19 7:53 PM, Piotr H. Dabrowski wrote:
> Fixes c++/91318.
>
> libcpp/ChangeLog:
>
> 2019-08-06 Piotr Henryk Dabrowski <phd@phd.re>
>
> PR c++/91318
> * include/cpplib.h: Added cpp_define_unused(), cpp_define_formatted_unused()
> * directives.c: Likewise.
>
> gcc/c-family/ChangeLog:
>
> 2019-08-06 Piotr Henryk Dabrowski <phd@phd.re>
>
> PR c++/91318
> * c-cppbuiltin.c: c_cpp_builtins_optimize_pragma(): use cpp_define_unused()
THanks. I've bootstrapped and regression tested this patch and pushed
it to the trunk. Sorry about the long delay.
jeff
More information about the Gcc-patches
mailing list