[PATCH] Fix up g++.dg/cpp*/feat-cxx*.C tests (PR testsuite/90772, take 2, was: [PATCH] Avoid unnecessary inclusion of <stdexcept> header)
Mon Jun 10 15:48:00 GMT 2019
On 06/06/19 22:34 +0200, Jakub Jelinek wrote:
>On Thu, Jun 06, 2019 at 10:19:52PM +0200, Jakub Jelinek wrote:
>> Not only those, but apparently also ::size_t or std::plus; this broke
>> FAIL: g++.dg/cpp1y/feat-cxx14.C (test for excess errors)
>> FAIL: g++.dg/cpp1z/feat-cxx1z.C -std=gnu++17 (test for excess errors)
>> FAIL: g++.dg/cpp1z/pr85569.C -std=c++17 (test for excess errors)
>> FAIL: g++.dg/cpp2a/feat-cxx2a.C (test for excess errors)
>> Fixed thusly, tested on x86_64-linux with check-c++-all, ok for trunk?
>Bill has mentioned two other tests that are failing for similar reasons, so
>here is an updated patch to cover those two too. Tested again on
>x86_64-linux with check-c++-all, ok for trunk?
This looks good to me. I checked to see if any of them could actually
use a smaller header, but the ones you've added are the right ones.
More information about the Gcc-patches