From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wm1-x32c.google.com (mail-wm1-x32c.google.com [IPv6:2a00:1450:4864:20::32c]) by sourceware.org (Postfix) with ESMTPS id 150863858D38; Wed, 24 Jan 2024 08:28:27 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 150863858D38 Authentication-Results: sourceware.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=gmail.com ARC-Filter: OpenARC Filter v1.0.0 sourceware.org 150863858D38 Authentication-Results: server2.sourceware.org; arc=none smtp.remote-ip=2a00:1450:4864:20::32c ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1706084909; cv=none; b=XPkeyQhxgtrvvuA3RKc1mTjOayrTK7Ju4zBCAa8lhhvMY5EaShSlDktqCA+DOtKVRffnUQpveCCFjLclzBUF7kAX2ucvGp4F/Pamc4gvQYCLGiF0qjUmQL3V/b58vTEpIJFd6IVUPqr81Lra8BjVgaNCu313X6NwgXG/JGSlenk= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1706084909; c=relaxed/simple; bh=S0i8OJJ15kVGnv0Vj0bf5D4vH3/Y8Wi83OtnEtH+Xm4=; h=DKIM-Signature:Mime-Version:Subject:From:Date:Message-Id:To; b=o7kQlR18Fp0iY5vPL3kgzxEmrgm3drRWrUr2spJgt74bZVxUmiVsbTijtvBobtFGlkfkwIW0RlEAIet+7jbQOZuaXrwigUxof4Jk4lOYPdfLO6G8Xde2fRyIWuQ8JUSMUKEwA8JfMl1P7+GsjUOLSV062Jr1Cm7vIzJRq3X0jus= ARC-Authentication-Results: i=1; server2.sourceware.org Received: by mail-wm1-x32c.google.com with SMTP id 5b1f17b1804b1-40e544fac26so13207465e9.1; Wed, 24 Jan 2024 00:28:27 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1706084906; x=1706689706; darn=gcc.gnu.org; h=to:references:message-id:content-transfer-encoding:cc:date :in-reply-to:from:subject:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=S0i8OJJ15kVGnv0Vj0bf5D4vH3/Y8Wi83OtnEtH+Xm4=; b=FHvgoEOzcpVi/IE/Lk6Zl2X1z44pvPRkfccHZPJAiitQdyF8ttPX2u6FmkFe6+XFMY HocvTYFmahaKevu8mkhMI9xNhHB1c+t8uPx6/rNO8YqqQV2YxGCCvNV6S2+W/dB8HZpl rJy4PeVXW34+xKHy+lo8tZG24KH2TaRcbqVISEkSfGZS0pJC0ZM+CJ23RbA3KO3Xs09b 1GBoa8h96LfEX+mnaJL0L1plNW0EvdOcYhb2ssHOp/n/XerimmJ865at+kfp2PWWTsj5 JHZ2iWUgbiAYYbEAbWXLEzUUe8XE6w1jimkoq0nvSYnndcMkzQbSVOzEcIeHfDUh78UA ydqg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1706084906; x=1706689706; h=to:references:message-id:content-transfer-encoding:cc:date :in-reply-to:from:subject:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=S0i8OJJ15kVGnv0Vj0bf5D4vH3/Y8Wi83OtnEtH+Xm4=; b=LgQHksv5om13sYTESGlAwxdQSuIhxZKKc8Xe5wkZoRvp0+KXEKduTFxd7QjPdNneuf H3G/01mgNPpp9XS+NXWvX5G4pzfxWLp6hC2r9Q1uzrmvNAv18YEZ5Uh5nfM7KXwFkAQd u1DSERxD/ydP0302qEy3YK+s9zXIAVe/6yeH+j8M1w0qbEes6yoffOR0w1UKPzuJlvbx V8+ZkvdDuMV36kl5R7L0sXAf4VZrQ99ylOvvNemgWe7niAVXYa56688tuYV6BqIl/Hky nou93QNOfEXKJDgDvOg7BOAHdXCBWAKdfLF8Xa2+sYcU3HJOe87K0BMNMiQ8GfYtn8NL CBtA== X-Gm-Message-State: AOJu0YxWlcRtc1FxMbdx6wbtJyTqIHvXeGx3/iI2CUYZWBvX74o3AsuO Gox5w3OtGWjZHKjVgRtiLP4GuEdyytEl7ZrGNj6nFJkZqU18ozVL X-Google-Smtp-Source: AGHT+IHhYsDJajU12pd4iegjQposFyY+99eIfL1wzgu6R3ACilQaUDF5dpZoV6P59xBWIjtbIQYlZA== X-Received: by 2002:a05:600c:1c02:b0:40e:aed7:e7ca with SMTP id j2-20020a05600c1c0200b0040eaed7e7camr5426711wms.4.1706084905569; Wed, 24 Jan 2024 00:28:25 -0800 (PST) Received: from smtpclient.apple ([2a01:e34:ec28:8cb0:c51e:dcdd:723f:5c0a]) by smtp.gmail.com with ESMTPSA id f7-20020adff8c7000000b0033921c383b2sm12852267wrq.67.2024.01.24.00.28.25 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Wed, 24 Jan 2024 00:28:25 -0800 (PST) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 16.0 \(3774.400.31\)) Subject: Re: [Fortran] half-cycle trig functions and atan[d] fixes From: FX Coudert In-Reply-To: Date: Wed, 24 Jan 2024 09:28:14 +0100 Cc: Janne Blomqvist , fortran , gcc-patches@gcc.gnu.org Content-Transfer-Encoding: quoted-printable Message-Id: <0840023D-FF1D-47B5-B75F-806913399880@gmail.com> References: To: Steve Kargl X-Mailer: Apple Mail (2.3774.400.31) X-Spam-Status: No, score=-1.7 required=5.0 tests=BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS,TXREP,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org List-Id: Hi, > Hopefully, FX sees this as my emails to gmail bounce. I am seeing this email. > Now, if > the OS adds cospi() to libm and it's in libm's symbol map, then the > cospi() used by gfortran depends on the search order of the loaded > libraries. We only include the fallback math functions in libgfortran when they are = not available on the system. configure detects what is present in the = libc being targeted, and conditionally compiles the necessary fallback = functions (and only them). FX