[PATCH v2 1/2] gdb, testsuite: Enable testcases that suppress specific warnings, for icc/icx.
Kevin Buettner
kevinb@redhat.com
Wed Jul 27 01:07:44 GMT 2022
On Mon, 25 Jul 2022 13:38:21 +0200
Felix Willgerodt via Gdb-patches <gdb-patches@sourceware.org> wrote:
> To cite gdb.exp:
> Some C/C++ testcases unconditionally pass -Wno-foo as additional
> options to disable some warning. That is OK with GCC, because
> by design, GCC accepts any -Wno-foo option, even if it doesn't
> support -Wfoo. Clang however warns about unknown -Wno-foo by
> default, unless you pass -Wno-unknown-warning-option as well.
> We do that here, so that individual testcases don't have to
> worry about it.
>
> This patch adds the same option that already exists for clang for icx and
> adds the equivalent icc option.
Okay.
Kevin
More information about the Gdb-patches
mailing list