From patchwork Thu Oct 13 16:42:46 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jonathan Wakely X-Patchwork-Id: 681869 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from sourceware.org (server1.sourceware.org [209.132.180.131]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 3svxPJ1KNxz9ryT for ; Fri, 14 Oct 2016 03:43:15 +1100 (AEDT) Authentication-Results: ozlabs.org; dkim=pass (1024-bit key; unprotected) header.d=gcc.gnu.org header.i=@gcc.gnu.org header.b=xVQXNEQz; dkim-atps=neutral DomainKey-Signature: a=rsa-sha1; c=nofws; d=gcc.gnu.org; h=list-id :list-unsubscribe:list-archive:list-post:list-help:sender:date :from:to:subject:message-id:mime-version:content-type; q=dns; s= default; b=faVTFdIcuwPU8wGM0WarP7NgXuRuqz4PNGabNr6qgJmDINeJtGrMo SVFI9qpF/QRbMZrYlruYIraqmBXuJc2BcebDF6Xzjkfp4/BzxTYtgpw4ZeTX6/Ak j6YrVqq46Vy8iUjU3u3If1bgbPMjiMuV6L7yT+bNzS42+SzIr45yfE= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=gcc.gnu.org; h=list-id :list-unsubscribe:list-archive:list-post:list-help:sender:date :from:to:subject:message-id:mime-version:content-type; s= default; bh=7WEmay0YospE1q6uTNZOQ3RdRaI=; b=xVQXNEQzvuzJoBykCe5v XRtSIZ+5oZ1AxsFDOmHfJc3u3FhaDG6dattmomV2Mah4P8nu1wTOHp5YM+nm8Xtv c6+5KhHGuByS4bX9wddu+GnXNnsNEfEpFWrqAec7YC7J2dAJNq4c0h1u3I2mM0ev tF7QVFWh+LRMihQb2MzIW40= Received: (qmail 51382 invoked by alias); 13 Oct 2016 16:42:59 -0000 Mailing-List: contact gcc-patches-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Archive: List-Post: List-Help: Sender: gcc-patches-owner@gcc.gnu.org Delivered-To: mailing list gcc-patches@gcc.gnu.org Received: (qmail 51354 invoked by uid 89); 13 Oct 2016 16:42:59 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-2.3 required=5.0 tests=BAYES_00, RP_MATCHES_RCVD, SPF_HELO_PASS autolearn=ham version=3.3.2 spammy=sstream X-Spam-User: qpsmtpd, 2 recipients X-HELO: mx1.redhat.com Received: from mx1.redhat.com (HELO mx1.redhat.com) (209.132.183.28) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Thu, 13 Oct 2016 16:42:48 +0000 Received: from int-mx09.intmail.prod.int.phx2.redhat.com (int-mx09.intmail.prod.int.phx2.redhat.com [10.5.11.22]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id C401712B2E; Thu, 13 Oct 2016 16:42:47 +0000 (UTC) Received: from localhost (ovpn-116-70.ams2.redhat.com [10.36.116.70]) by int-mx09.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id u9DGglsU025078; Thu, 13 Oct 2016 12:42:47 -0400 Date: Thu, 13 Oct 2016 17:42:46 +0100 From: Jonathan Wakely To: libstdc++@gcc.gnu.org, gcc-patches@gcc.gnu.org Subject: [PATCH] Add missing header in testcase Message-ID: <20161013164246.GA8363@redhat.com> MIME-Version: 1.0 Content-Disposition: inline X-Clacks-Overhead: GNU Terry Pratchett User-Agent: Mutt/1.7.0 (2016-08-17) Another one that fails without PCH. * testsuite/experimental/algorithm/sample.cc: Add missing header. Tested x86_64-linux, committed to trunk. commit b6ba4386fc81777bd4a06b2807b03b38f7f85d76 Author: Jonathan Wakely Date: Thu Oct 13 17:42:03 2016 +0100 Add missing header in testcase * testsuite/experimental/algorithm/sample.cc: Add missing header. diff --git a/libstdc++-v3/testsuite/experimental/algorithm/sample.cc b/libstdc++-v3/testsuite/experimental/algorithm/sample.cc index 19681d7..0d84e9d 100644 --- a/libstdc++-v3/testsuite/experimental/algorithm/sample.cc +++ b/libstdc++-v3/testsuite/experimental/algorithm/sample.cc @@ -22,6 +22,7 @@ #include #include #include +#include #include std::mt19937 rng;