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 [170.10.129.124]) by sourceware.org (Postfix) with ESMTPS id A2E093858C2C for ; Wed, 20 Dec 2023 15:56:00 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org A2E093858C2C Authentication-Results: sourceware.org; dmarc=pass (p=none dis=none) header.from=redhat.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=redhat.com ARC-Filter: OpenARC Filter v1.0.0 sourceware.org A2E093858C2C Authentication-Results: server2.sourceware.org; arc=none smtp.remote-ip=170.10.129.124 ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1703087761; cv=none; b=f/9FcpGvyKU+bJKDo6Q6bb256WvbdJRQcLtLVN/XId3EYsFTim9G1o8EJFFJD8CGiDmJJGA/pXll5MuHSHuHfDtclHmyiwkEqdYQZwS7FkMxy4zSkaaa/2CjQB+lxBI/eWADMrnspJg26ZLRqVQMnjXfI2Dw/TVM9f87uv+ee/Y= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1703087761; c=relaxed/simple; bh=1KAdO1kJWyoq0NRksKTLr5nsq86eQI/hIWW7xq8BTb4=; h=DKIM-Signature:From:Date:To:Subject:Message-ID:MIME-Version; b=Sd5VJa0dyFz68fvPiWyvn3yk08mTqXfsJgyHXv9iGqQ7OgZFzKuYxFUHmc3Y/l3ufJio+OugEGD1RMj+4AzvXf11+u0Mrt3KGrKtnYzo3rYGJHaeemOpyd52WY5wWxNTH8StTfOianEMULss/rEY9GSBmarL0MJpZ2SfKa51iIQ= ARC-Authentication-Results: i=1; server2.sourceware.org DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1703087760; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=65wP8V4dpvUY8OcZx7RjAU9eFPuiWwjPRSuvPYKuGsQ=; b=aSLrqItliLqf/jW4m+Z4MXbdVYBVgM0zyYNrvG/vmceINvt6TXRvsOMbIq9PxvCVkirGyk Dd0oJBEXFvYG2p2kMezCDY0ubR3k9F6+QC2qxU1EdXFzXIgipMJngUkMB4mbQtzLsebjMx M5EVz8WayFaCHubzmFzxRMt3f8trgz4= Received: from mail-qk1-f199.google.com (mail-qk1-f199.google.com [209.85.222.199]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-657-0dPPRMCkOr-VRONz-3NhMQ-1; Wed, 20 Dec 2023 10:55:58 -0500 X-MC-Unique: 0dPPRMCkOr-VRONz-3NhMQ-1 Received: by mail-qk1-f199.google.com with SMTP id af79cd13be357-77f72cf8330so861761185a.3 for ; Wed, 20 Dec 2023 07:55:58 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1703087757; x=1703692557; h=mime-version:references:message-id:in-reply-to:subject:cc:to:date :from:x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=65wP8V4dpvUY8OcZx7RjAU9eFPuiWwjPRSuvPYKuGsQ=; b=OaIfDbQC1i7uVBVhJBKwp5ddAlVf2D/48mf5skNkAQpXm3h/Zif/6ulvHHAryp7baq b55VhjXCqgXUYLmCHOfO7fW0JKAiCsVdPGHjesdJUtJpV4G6fRQ4KdVNDC6KsumCkEgK A8aSNoOyojiBTHriD5U+/KanxGr/oEjAisOjn5HsH4LuqE/Yr8UfqNX2arD1xLwPT6Ii PKZjesTcxZwmfNA24JrfYu8Igy2FZFbecbfEdBbza4ejM5nGVm5QiZhlbZ43+ZXltAjg 9ltwyM8EuhrZsX+ZPWNTFjveX/AQ0O3z/G9yD+8+NafvcCnu6U/161FLh9sl3DzULq8D hRYQ== X-Gm-Message-State: AOJu0YwORj59cvp7kFr5nQfox1plsKfRQ934Lzly35bv9U8j2YsKqj1J DGf+mGnhVcvnQ4wStqsXu2yASGC61rGQPnDIgq8B805cX9rj844K+AW+kvUdQXq3u3ZP006dBRT hdxaal7mQgzpYzwevWQ== X-Received: by 2002:a05:620a:40c9:b0:77f:b8f9:d183 with SMTP id g9-20020a05620a40c900b0077fb8f9d183mr10833634qko.108.1703087757708; Wed, 20 Dec 2023 07:55:57 -0800 (PST) X-Google-Smtp-Source: AGHT+IHD2tniXHI3RQgcrK3rEA6RE4GhCy441Gn2BUT+NILv0eD5v8Ydgoj9vFSZqmIH0HPzMWw1TQ== X-Received: by 2002:a05:620a:40c9:b0:77f:b8f9:d183 with SMTP id g9-20020a05620a40c900b0077fb8f9d183mr10833624qko.108.1703087757414; Wed, 20 Dec 2023 07:55:57 -0800 (PST) Received: from [192.168.1.130] (ool-457670bb.dyn.optonline.net. [69.118.112.187]) by smtp.gmail.com with ESMTPSA id az9-20020a05620a170900b0077f7ca37e5dsm8212qkb.105.2023.12.20.07.55.56 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 20 Dec 2023 07:55:56 -0800 (PST) From: Patrick Palka X-Google-Original-From: Patrick Palka Date: Wed, 20 Dec 2023 10:55:56 -0500 (EST) To: Sandra Loosemore cc: Ken Matsui , gcc-patches@gcc.gnu.org, libstdc++@gcc.gnu.org Subject: Re: [PATCH v26 00/23] Optimize type traits compilation performance In-Reply-To: Message-ID: <136f0838-9c65-c7e4-3d8d-acf49d08d887@idea> References: <20231024020424.699427-1-kmatsui@gcc.gnu.org> <20231207051513.969952-1-kmatsui@gcc.gnu.org> MIME-Version: 1.0 X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Type: text/plain; charset=US-ASCII X-Spam-Status: No, score=-3.0 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H4,RCVD_IN_MSPIKE_WL,RCVD_IN_SORBS_WEB,SPF_HELO_NONE,SPF_NONE,TXREP,T_SCC_BODY_TEXT_LINE autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org List-Id: On Tue, 19 Dec 2023, Sandra Loosemore wrote: > On 12/6/23 22:11, Ken Matsui wrote: > > This patch series optimizes type traits compilation performance by > > implementing built-in type traits and using them in libstdc++. > > I'm finding that all the new g++.dg/ext/is_*.C testcases added by this patch > series are failing due > to the "#include ". If that is supposed to refer to the file > of that name in the libstdc++ testcase, there's no gcc option being passed to > add that location to the include search path. That .h file includes other > header files from the libstdc++ testsuite so just copying it into the same > directory as the new g++ tests doesn't work. Can you fix this, somehow? Looks like the testcases only use the trivial definition of __gnu_test::ClassType from the header, so perhaps we can just define it locally and remove this header include (which IIUC is intended to be used for library tests run by the libstdc++ test harness, not front-end tests). Ken, do you want to submit a patch for that? (A full bootstrap + regtest wouldn't be necessary, it should suffice to re-run the changed tests via e.g. make check RUNTESTFLAGS="dg.exp=*ext*") > > Target is nios2-elf, if that matters. > > -Sandra > >