From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from esa2.mentor.iphmx.com (esa2.mentor.iphmx.com [68.232.141.98]) by sourceware.org (Postfix) with ESMTPS id 4D4263858CDA; Thu, 26 Oct 2023 16:16:46 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 4D4263858CDA Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=codesourcery.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=mentor.com ARC-Filter: OpenARC Filter v1.0.0 sourceware.org 4D4263858CDA Authentication-Results: server2.sourceware.org; arc=none smtp.remote-ip=68.232.141.98 ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1698337007; cv=none; b=kyBE534MAm1eolICN1PSjXZUPDGm+PY1hSqj4/sH6fkolsuMp1UE3oHVpjEEUx/+ZQYwsOJrHPdysSKvNL2/nIJzDBeSJTvr+v2noujIwT5YgDWlJONlk+qEhoVzBFxxKPcOqtj1s9qgALM02gfu5N705lh8c8wJHe18PkFWkUc= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1698337007; c=relaxed/simple; bh=x5qsJsQ4dVav0lISLLur5GxUXcPUNSo/Mf9a0BtyoEw=; h=From:To:Subject:Date:Message-ID:MIME-Version; b=Lg/iELXEZ74LYa7BVlBVwsmHsXFsPN3qwehxcrI45xfxTjvsiCZG3lTb4HRRV0mfgzy1FPP65Y/kZVNehEN51KdNBNDwBIADZN1QgNPhJMcb8t6ZNjy397BnG5HLrW7QV8Ng6gXikTTMQaZPLh3sDesffXj3xO0G3HYMrLCPwQ0= ARC-Authentication-Results: i=1; server2.sourceware.org X-CSE-ConnectionGUID: aFOHNK5wRQmi9r9RxdoDaA== X-CSE-MsgGUID: BB9VL+wZRJC87cNUhaMr+w== X-IronPort-AV: E=Sophos;i="6.03,253,1694764800"; d="scan'208";a="23413512" Received: from orw-gwy-02-in.mentorg.com ([192.94.38.167]) by esa2.mentor.iphmx.com with ESMTP; 26 Oct 2023 08:16:44 -0800 IronPort-SDR: +300FxshawnA4rcbuyJFuUMHQsJn2dUdOIJeGR0R3f0ghSURZYgaNGxgAaLJYMd5l057sERLa3 COr7RxgKD9ZJdtIqcp5ODqBFCbrWPPH+Zd808xAFYEC1TmqEDvyPUOtWYPwQphoUQaMLAhuqEK 0gq+gdd27oDqKBIyHBlb+UPGMPfypLPbdvPhwzRxEEDGn+iyh2HT2eQ7veXHBf/X8xPcsz+JNV d2nPESzk5Dw7uO/CXlVAfj8TmVtrVVZhwFihwwysWK0ePxIEW3muDRVU2pz96wchCYSfLnB7VO 4UI= From: Thomas Schwinge To: Paul-Antoine Arras , Tobias Burnus CC: , gcc-patches Subject: Re: [PATCH] Fortran: Fix incompatible types between INTEGER(8) and TYPE(c_ptr) In-Reply-To: <4cec8ab5-9300-4628-a945-24db1249edf4@codesourcery.com> References: <6fc6a877-2dc7-4551-b141-fd117c66ecfa@codesourcery.com> <78236b34-a5bd-4ccf-a197-94bee00b8a2b@codesourcery.com> <4cec8ab5-9300-4628-a945-24db1249edf4@codesourcery.com> User-Agent: Notmuch/0.29.3+94~g74c3f1b (https://notmuchmail.org) Emacs/28.2 (x86_64-pc-linux-gnu) Date: Thu, 26 Oct 2023 18:16:32 +0200 Message-ID: <87il6t1hr3.fsf@euler.schwinge.homeip.net> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable X-Originating-IP: [137.202.0.90] X-ClientProxiedBy: svr-ies-mbx-13.mgc.mentorg.com (139.181.222.13) To svr-ies-mbx-10.mgc.mentorg.com (139.181.222.10) X-Spam-Status: No, score=-5.8 required=5.0 tests=BAYES_00,HEADER_FROM_DIFFERENT_DOMAINS,KAM_DMARC_STATUS,SPF_HELO_PASS,SPF_PASS,TXREP 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: Hi! On 2023-10-26T13:24:04+0200, Paul-Antoine Arras wrote= : > --- /dev/null > +++ b/gcc/testsuite/gfortran.dg/c_ptr_tests_20.f90 > @@ -0,0 +1,57 @@ > +! { dg-do compile } > +! { dg-additional-options "-fopenmp" } > +[...] > --- /dev/null > +++ b/gcc/testsuite/gfortran.dg/c_ptr_tests_21.f90 > @@ -0,0 +1,57 @@ > +! { dg-do compile } > +! { dg-additional-options "-fopenmp" } > +[...] OpenMP is not universally supported across different GCC configurations, so this will FAIL for some. Therefore, please either guard with effective target: @item fopenmp Target supports OpenMP via @option{-fopenmp}. ..., or move into 'gcc/testsuite/gfortran.dg/gomp/' (may then remove explicit 'dg-additional-options "-fopenmp"'). I don't know which variant makes more sense, here. Gr=C3=BC=C3=9Fe Thomas ----------------- Siemens Electronic Design Automation GmbH; Anschrift: Arnulfstra=C3=9Fe 201= , 80634 M=C3=BCnchen; Gesellschaft mit beschr=C3=A4nkter Haftung; Gesch=C3= =A4ftsf=C3=BChrer: Thomas Heurung, Frank Th=C3=BCrauf; Sitz der Gesellschaf= t: M=C3=BCnchen; Registergericht M=C3=BCnchen, HRB 106955