From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-ed1-x533.google.com (mail-ed1-x533.google.com [IPv6:2a00:1450:4864:20::533]) by sourceware.org (Postfix) with ESMTPS id 6F58B3858D35; Mon, 24 Apr 2023 16:42:34 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 6F58B3858D35 Authentication-Results: sourceware.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=gmail.com Received: by mail-ed1-x533.google.com with SMTP id 4fb4d7f45d1cf-506bfe81303so7920934a12.1; Mon, 24 Apr 2023 09:42:34 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1682354553; x=1684946553; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:subject:cc:to:from:date:from:to:cc:subject:date :message-id:reply-to; bh=UuvnYInkp6HHLvEdW1lNRVN9RbnzqWsrXWu4fHdzJW8=; b=EnRlWe8G82j/2zUQcagnVxQmVcJeWYvRrlfxw7s9fh5ii5isU6tBdjVcC/jlJEnSRl fUyghrIewkPXHzmgKG5WY++EarUYRNHiodgvgC5+PX1Qx15TR7lYDrKn0NCrqzGdfSgT EjC2QIxF2L4K5acegHmqcec3ZWM9hv/6y7kXhppnX1PTh2d9tMsF+i7+8HKuOV57yUfN mLoiROVQeq1GIv8CmVbvZcimNmrI/uL6HGYGlVlXNJX4+T6GsLU5Jl2lxN90O+q19/01 z3OhBhEXNwIIMw25uzDpY35Y4bHVY5r/OMzue6l+98A43p9kcEqytRr2tlLOKdoIUf9g CNoQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1682354553; x=1684946553; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:subject:cc:to:from:date:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=UuvnYInkp6HHLvEdW1lNRVN9RbnzqWsrXWu4fHdzJW8=; b=canAH5F5GQ5pz8hS1AvZPurpwP9eFclJ0Ek+2mf+1zUeoQ1N8UUYM0Py9MuDrKiX14 2DuI4ZcysWmgWke89WTeJWO0HsXJ7tHzj95657fvSruyOBzvbQhDvNRowAfMULu4hFb2 T4uCSR9tWymtGHQ8uNzJ4pmnEkeY5/vGhKbSfHbQdCS91Qm9DMdhidge/6L0ywVSJnjF /V1ENul5+kVm7avyMBI4OH5cMRtOWbJO5l8sWjusPLhh6brk4Gs76rsB1fVt7eG3KgUe kniDXJKwmxy0upOh0omXW0Uc3N1bkfIK7TiZa5w96PVkVTtV56PYCbTV6EDJbO3FVCqQ mfbA== X-Gm-Message-State: AAQBX9crDMFNFKqqGgej73NH9NqeCLTbnqA7BiXQfDxnw+sX5IzJhm6T T2jMM72JkdR354vkJwtlIR6P15zQ4MQ= X-Google-Smtp-Source: AKy350aY7uuNQrE5l5rcBuiSW/WUjQ1ykHyDuw4kiXHUnaHoG61UPTN3JF5q1Sx2ixcnsJM5BqyudA== X-Received: by 2002:a50:e605:0:b0:508:4d66:e666 with SMTP id y5-20020a50e605000000b005084d66e666mr12196706edm.32.1682354552579; Mon, 24 Apr 2023 09:42:32 -0700 (PDT) Received: from nbbrfq (80-110-214-113.static.upcbusiness.at. [80.110.214.113]) by smtp.gmail.com with ESMTPSA id b21-20020a05640202d500b005083bc605f9sm4801934edx.72.2023.04.24.09.42.31 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 24 Apr 2023 09:42:32 -0700 (PDT) Date: Mon, 24 Apr 2023 18:41:45 +0200 From: Bernhard Reutner-Fischer To: Harald Anlauf via Fortran Cc: rep.dot.nop@gmail.com, Harald Anlauf , Paul Richard Thomas , gcc-patches Subject: Re: [Patch, fortran] PRs 105152, 100193, 87946, 103389, 104429 and 82774 Message-ID: <20230424184145.40e187ca@nbbrfq> In-Reply-To: <27ee85f7-f52b-9b41-377a-9d025ddadbee@gmx.de> References: <27ee85f7-f52b-9b41-377a-9d025ddadbee@gmx.de> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-3.3 required=5.0 tests=BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM,KAM_NUMSUBJECT,KAM_SHORT,RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS,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 Sun, 23 Apr 2023 23:48:03 +0200 Harald Anlauf via Fortran wrote: > Am 22.04.23 um 10:32 schrieb Paul Richard Thomas via Gcc-patches: > > PR103931 - I couldn't reproduce the bug, which involves 'ambiguous c_ptr'. > > To judge by the comments, it seems that this bug is a bit elusive. See Haralds comment 12, you need to remove the use cmodule: module DModule use AModule !comment 12, 'use CModule' should not be needed: use CModule !use CModule implicit none private public :: DType type, abstract :: DType end type end module > PR103931: it is indeed a bit elusive, but very sensitive to code > changes. Also Bernhard had a look at it. Given that there are > a couple of bugs related to module reading, and rename-on-use, > I'd recommend to leave that open for further analysis. I would mark the dt sym that is used *as* the generic interface with attr.generic. Like: https://gcc.gnu.org/PR103931#c18 This seems to work and sounds somewhat plausible (to me). If that is not correct, then i'm running out of ideas and will stop looking at that PR. cheers,