[PATCH 2/2] PR c/65403 - Add tests for -Wno-error=<some-future-option>

Jeff Law law@redhat.com
Wed Jun 19 17:55:00 GMT 2019


On 3/18/19 8:46 PM, Alex Henrie wrote:
> ---
>  gcc/testsuite/c-c++-common/pr65403-1.c | 10 ++++++++++
>  gcc/testsuite/c-c++-common/pr65403-2.c | 15 +++++++++++++++
>  2 files changed, 25 insertions(+)
>  create mode 100644 gcc/testsuite/c-c++-common/pr65403-1.c
>  create mode 100644 gcc/testsuite/c-c++-common/pr65403-2.c
This needs a ChangeLog entry.  It could be as simple as:

	* c-c++-common/pr65403-1.c: New test.
	* c-c++-common/pr65403-2.c: New test.

No inherent problems with the test, though I think we need to verify
they still do the right thing given the hints the compiler will try to
emit on unknown options now.  That's easy enough to do once we have
concluded on what the behvior should be now that the compiler emits
hints for unknown options.

Jeff



More information about the Gcc-patches mailing list