From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [216.205.24.124]) by sourceware.org (Postfix) with ESMTP id E4945384841C for ; Tue, 27 Jul 2021 20:38:40 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org E4945384841C Received: from mimecast-mx01.redhat.com (mimecast-mx01.redhat.com [209.132.183.4]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-215-1k9WCE18NWKUZGTqUt6f6A-1; Tue, 27 Jul 2021 16:38:36 -0400 X-MC-Unique: 1k9WCE18NWKUZGTqUt6f6A-1 Received: from smtp.corp.redhat.com (int-mx01.intmail.prod.int.phx2.redhat.com [10.5.11.11]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id A1C5F8799EB; Tue, 27 Jul 2021 20:38:35 +0000 (UTC) Received: from localhost (ovpn-113-85.ams2.redhat.com [10.36.113.85]) by smtp.corp.redhat.com (Postfix) with ESMTP id 39448189C7; Tue, 27 Jul 2021 20:38:34 +0000 (UTC) Date: Tue, 27 Jul 2021 21:38:34 +0100 From: Jonathan Wakely To: libstdc++@gcc.gnu.org, gcc-patches@gcc.gnu.org Subject: [committed] [3/2] testsuite: Add missing C++ includes to tests [PR101646] Message-ID: References: MIME-Version: 1.0 In-Reply-To: X-Clacks-Overhead: GNU Terry Pratchett X-Scanned-By: MIMEDefang 2.79 on 10.5.11.11 X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Type: multipart/mixed; boundary="KLVIR78UzvYKyAb5" Content-Disposition: inline X-Spam-Status: No, score=-14.2 required=5.0 tests=BAYES_00, DKIMWL_WL_HIGH, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, GIT_PATCH_0, RCVD_IN_DNSWL_LOW, RCVD_IN_MSPIKE_H4, RCVD_IN_MSPIKE_WL, SPF_HELO_NONE, SPF_NONE, TXREP autolearn=unavailable autolearn_force=no version=3.4.4 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on server2.sourceware.org X-BeenThere: libstdc++@gcc.gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Libstdc++ mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 27 Jul 2021 20:38:42 -0000 --KLVIR78UzvYKyAb5 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Disposition: inline These tests stopped working after some libstdc++ refactoring, because they aren't including what they use. I committed a blank ChangeLog (I did 'git push' when I meant to push to the compile farm, oops) so I'll fix that tomorrow. Tested powerpc64le-linux. Committed to trunk. --KLVIR78UzvYKyAb5 Content-Type: text/x-patch; charset=us-ascii Content-Disposition: attachment; filename="patch.txt" commit b7195fb01fe62a313ae5f7faede698101bdb3025 Author: Jonathan Wakely Date: Tue Jul 27 21:29:10 2021 testsuite: Add missing C++ includes to tests [PR101646] These tests stopped working after some libstdc++ refactoring, because they aren't including what they use. gcc/testsuite/ChangeLog: PR testsuite/101646 * g++.dg/coroutines/pr99047.C: * g++.dg/pr71655.C: diff --git a/gcc/testsuite/g++.dg/coroutines/pr99047.C b/gcc/testsuite/g++.dg/coroutines/pr99047.C index 124633a08e6..05ce08567b2 100644 --- a/gcc/testsuite/g++.dg/coroutines/pr99047.C +++ b/gcc/testsuite/g++.dg/coroutines/pr99047.C @@ -1,4 +1,5 @@ #include +#include #include template diff --git a/gcc/testsuite/g++.dg/pr71655.C b/gcc/testsuite/g++.dg/pr71655.C index 8ed33711c36..45943060bc5 100644 --- a/gcc/testsuite/g++.dg/pr71655.C +++ b/gcc/testsuite/g++.dg/pr71655.C @@ -5,6 +5,7 @@ #include #include +#include extern int var_16, le_s5, le_s6, le_s9; std::array, 4>, 24> v4; extern std::array, 18> v15; --KLVIR78UzvYKyAb5--