From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 25814 invoked by alias); 18 Jun 2018 15:06:19 -0000 Mailing-List: contact gcc-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-owner@gcc.gnu.org Received: (qmail 25780 invoked by uid 89); 18 Jun 2018 15:06:17 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-2.0 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_NONE,SPF_PASS,URIBL_RED autolearn=ham version=3.3.2 spammy=H*f:sk:QqAnx4Y, H*i:sk:QqAnx4Y X-Spam-User: qpsmtpd, 2 recipients X-HELO: relay1.mentorg.com Received: from relay1.mentorg.com (HELO relay1.mentorg.com) (192.94.38.131) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Mon, 18 Jun 2018 15:06:16 +0000 Received: from nat-ies.mentorg.com ([192.94.31.2] helo=svr-ies-mbx-01.mgc.mentorg.com) by relay1.mentorg.com with esmtps (TLSv1.2:ECDHE-RSA-AES256-SHA384:256) id 1fUvjQ-0004fi-AF from joseph_myers@mentor.com ; Mon, 18 Jun 2018 08:06:12 -0700 Received: from digraph.polyomino.org.uk (137.202.0.87) by svr-ies-mbx-01.mgc.mentorg.com (139.181.222.1) with Microsoft SMTP Server (TLS) id 15.0.1320.4; Mon, 18 Jun 2018 16:06:08 +0100 Received: from jsm28 (helo=localhost) by digraph.polyomino.org.uk with local-esmtp (Exim 4.86_2) (envelope-from ) id 1fUvjM-0006vU-4q; Mon, 18 Jun 2018 15:06:08 +0000 Date: Mon, 18 Jun 2018 16:02:00 -0000 From: Joseph Myers To: Richard Biener CC: Thomas Koenig , Florian Weimer , Jakub Jelinek , , Janne Blomqvist , , GCC Development , "fortran@gcc.gnu.org" , Subject: Re: libmvec in gcc to have vector math in fortran In-Reply-To: Message-ID: References: <6a8d496b-d830-5eb2-eba3-c2e452d06493@arm.com> <80c395e1-9de5-1d9c-35b6-1ccfdfa6a9e5@arm.com> <20180410102954.GB8577@tucnak> <20180410130655.GD8577@tucnak> <877en01nvw.fsf@mid.deneb.enyo.de> <8736xo1kon.fsf@mid.deneb.enyo.de> User-Agent: Alpine 2.20 (DEB 67 2015-01-07) MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" X-ClientProxiedBy: svr-ies-mbx-01.mgc.mentorg.com (139.181.222.1) To svr-ies-mbx-01.mgc.mentorg.com (139.181.222.1) X-SW-Source: 2018-06/txt/msg00198.txt.bz2 On Mon, 18 Jun 2018, Richard Biener wrote: > I'm thinking of sth like the C stdc-predef.h header which is always included > by the compiler. So it needs to be sth parseable by gfortran which means > it needs to be a module or sth equivalent to a fortran include file. To me that suggests something provided by the C library (which might contain preprocessor conditionals, the Fortran front end supports preprocessing with the target-specific predefined macros being in effect) -- Joseph S. Myers joseph@codesourcery.com