From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-ej1-x62a.google.com (mail-ej1-x62a.google.com [IPv6:2a00:1450:4864:20::62a]) by sourceware.org (Postfix) with ESMTPS id 303F9385828B for ; Tue, 8 Nov 2022 13:51:24 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 303F9385828B 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-ej1-x62a.google.com with SMTP id ft34so2422281ejc.12 for ; Tue, 08 Nov 2022 05:51:24 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=content-language:thread-index:mime-version:message-id:date:subject :to:from:from:to:cc:subject:date:message-id:reply-to; bh=Da7EVTfeHxhjUlOZjvrZp+iYjn1wexA1b0h5dsfvX3c=; b=X+bj4O8F4nbhUhT4N4XtnG1uSyL9LBB1/BS5aEuGRTwZxioM3IrrQ2Jx7wgftlKsI9 IUu4IqB6WSHmxQmOaHl6PsOidpzVQIXrbvTuGOjx8n/ShVkdQj3aPodLhXwZ1bUyRlKE 8R/z9hMXhwHMPqBRP5JAdAu0Se7YVUZmgxp7LT4k4iGcTORBYQ8c6xuvJxeLcr2WfPRH uQ5v7W5hTjS5IvdpzptEY++JPGyTwnfOXrBSBax0p64No41ANMQYwe0rs1PItgyHVqXZ +1uPV0ThwYREbbx3T5ihbST+7niCKmaj3BQYB4S+eYgqR+SxTZev0qrb2b2hJVLeQpik bsgA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-language:thread-index:mime-version:message-id:date:subject :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=Da7EVTfeHxhjUlOZjvrZp+iYjn1wexA1b0h5dsfvX3c=; b=Rmqr4d2l17xYZjX979T7FI5TBnvgeQ6WbDMm9Wxt240tTnf5vqo48zegRyemPlM7Mt MUSBRqySOpzFrX4Jp10Nmjrw0lX5//6EHtN/KiQ3lMyNPpRsgVkw03gNDPBWg2fSNCRv Xx0/hURVBxsybNiU2qfRnRaZgNGFb0DMHygZNWXzdl8mHkyB6XiRPaMkzGbrIMiz+fES JK/jS1SEs1BLBs7PMsaSFDbeETB+wEF9wJ101KoVT4oAAkjAOUAjRh+gl7y/BVao1Kp+ eHd1v1xjloEBd3nR6Db9X4oX+Xoo17I47/8by6zavCudAVl9Ug4bffhnCBZ3TJPIc35z yzCg== X-Gm-Message-State: ACrzQf2bTsNTV2vV9gJ26cKd6Eh88Btg7Dqs0TjI//vdg48n+/2axNUm O3XFFj1VDh88R2tlak5s4tje5lMDQwc= X-Google-Smtp-Source: AMsMyM5JNwRlI1zMdQPFDjwpMqEQnJUJvaawjr7WwxpmZyiJi1M/F8TIEdC3cgycdQDJwW/eXhl8mA== X-Received: by 2002:a17:907:6e28:b0:7a0:b6b5:5103 with SMTP id sd40-20020a1709076e2800b007a0b6b55103mr52099088ejc.300.1667915482737; Tue, 08 Nov 2022 05:51:22 -0800 (PST) Received: from DESKTOPRTRUQE5 (host-82-50-104-132.retail.telecomitalia.it. [82.50.104.132]) by smtp.gmail.com with ESMTPSA id em3-20020a056402364300b00458824aee80sm5606051edb.38.2022.11.08.05.51.21 for (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Tue, 08 Nov 2022 05:51:22 -0800 (PST) From: To: Subject: New member Date: Tue, 8 Nov 2022 07:51:20 -0600 Message-ID: <004601d8f379$2f2a8de0$8d7fa9a0$@gmail.com> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_000_0047_01D8F346.E4915660" X-Mailer: Microsoft Outlook 16.0 Thread-Index: Adjzd572XNTVdY/zSwuIcP6Kq1pb9g== Content-Language: en-us X-Spam-Status: No, score=1.5 required=5.0 tests=BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM,HTML_MESSAGE,KAM_SHORT,RCVD_IN_BARRACUDACENTRAL,RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS,TXREP autolearn=no autolearn_force=no version=3.4.6 X-Spam-Level: * X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org List-Id: This is a multipart message in MIME format. ------=_NextPart_000_0047_01D8F346.E4915660 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Dear all, First of all thank you for letting me in the GNU Fortran mailing list. I've been an avid gfortran user for the past 10+ years and have posted quite a few issues on Bugzilla recently (one of them is the Finalization issue I see in the recent posts: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107489) I would like to begin devoting more of my free time to improving it and have been introduced to the basics by Steve Kargl. I'm trying to start from this DTIO bug (https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106731 ) but the learning curve looks pretty steep, so I need to ask for your help. So far I've found that: * Derived types with DTIO are always SAVEd, so, when used as automatic arrays, they cause a segfault. In trans-decl.cc it reads" /* If derived-type variables with DTIO procedures are not made static some bits of code referencing them get optimized away. TODO Understand why this is so and fix it. */ * If I comment that chunk of code (i.e. do not force variables to be static), all tests run fine, except for dtio_4.f90 and dtio_14.f90, only when run with -O3. In dtio_4 for example: * If I set the failed variable to SAVE, the test no longer fails: type (udt), save :: udt1 ! success! * The issue never arises with the extended class variable, even if not saved. Now, I need guidance to understand where should I look at in the gfortran code to dig deeper into this problem, Any help from you will be greatly appreciated! Thank you and I hope I can be meaningfully useful, Federico Perini ------=_NextPart_000_0047_01D8F346.E4915660--