From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 2181) id 17FAD385800A; Fri, 1 Sep 2023 11:16:58 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 17FAD385800A DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1693567018; bh=cZFBfsOd1llX+TB5Pb5g6LWs3nECgbktVk6bPSz1WLQ=; h=From:To:Subject:Date:From; b=KiQl4j7WrpDRWoB0vsEUEygdZz3WvzUquyZ8EhsZRbm7d17V+KdisTK9Je9cYYX3N EYxtbWmloulf5H0t9ivRKCPXMxPV9lJ5yQRFXadd2BTnyeMJfkpR54b2b6yBvvMWfw ccdUGEkk2t0lE6d4z936yCWaPArr5c3bC3ru0lCk= MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset="utf-8" From: Jonathan Wakely To: gcc-cvs@gcc.gnu.org, libstdc++-cvs@gcc.gnu.org Subject: [gcc r14-3617] libstdc++: Use dg-require-filesystem-ts in link test X-Act-Checkin: gcc X-Git-Author: Jonathan Wakely X-Git-Refname: refs/heads/master X-Git-Oldrev: f2eb6132c6951edf7960a82828c571a1b98a1a09 X-Git-Newrev: c07d82c12f2f17427a89188abad69af195590309 Message-Id: <20230901111658.17FAD385800A@sourceware.org> Date: Fri, 1 Sep 2023 11:16:58 +0000 (GMT) List-Id: https://gcc.gnu.org/g:c07d82c12f2f17427a89188abad69af195590309 commit r14-3617-gc07d82c12f2f17427a89188abad69af195590309 Author: Jonathan Wakely Date: Thu Aug 31 18:35:12 2023 +0100 libstdc++: Use dg-require-filesystem-ts in link test This test expects to be able to link, which fails if there are undefined references to chdir, mkdir etc. in fs_ops.o in the libstdc++.a archive. libstdc++-v3/ChangeLog: * testsuite/27_io/filesystem/path/108636.cc: Add dg-require for filesystem support. Diff: --- libstdc++-v3/testsuite/27_io/filesystem/path/108636.cc | 1 + 1 file changed, 1 insertion(+) diff --git a/libstdc++-v3/testsuite/27_io/filesystem/path/108636.cc b/libstdc++-v3/testsuite/27_io/filesystem/path/108636.cc index d58de461090d..73742df93b05 100644 --- a/libstdc++-v3/testsuite/27_io/filesystem/path/108636.cc +++ b/libstdc++-v3/testsuite/27_io/filesystem/path/108636.cc @@ -1,5 +1,6 @@ // { dg-do link { target c++17 } } // { dg-options "-fkeep-inline-functions" } +// { dg-require-filesystem-ts "" } #include int main()