Re: [PATCH] PR c/89524 - Ignore -Wno-error=

2019-03-01 Thread Joseph Myers
On Thu, 28 Feb 2019, Alex Henrie wrote: > * opts.c: Ignore -Wno-error=. I'd expect this to follow the same logic as how -Wno- is ignored (see the comment on postpone_unknown_option_warning). That is, the option would still be diagnosed if there is some error message that might have been

[PATCH] PR c/89524 - Ignore -Wno-error=

2019-02-28 Thread Alex Henrie
* opts.c: Ignore -Wno-error=. --- gcc/opts.c | 5 - gcc/testsuite/c-c++-common/pr89524.c | 7 +++ 2 files changed, 11 insertions(+), 1 deletion(-) create mode 100644 gcc/testsuite/c-c++-common/pr89524.c diff --git a/gcc/opts.c b/gcc/opts.c index