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 9DAD03972024; Tue, 27 Jul 2021 08:41:54 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 9DAD03972024 Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=codesourcery.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=mentor.com IronPort-SDR: uc3jh/iyma00zkeHzUpXFN7W890MouhDbjN3O1RT+UCZmDRXC1uD7o1I0CCUe5IbVyxUcSfC8b fzCZRw6Ozzq6TgaP1+5ogjO+M6Bx8zKjvQKFvYYPeqsAgC5CYSNOym5tZVWrNsiJrn4rCQo+Pc mRcTKt7AYX/lVKNN/hL7N+cYSDA0FqrZxHBUPujfywGJEDsVbIBCXrJESmX9b5OxO92x6gqHsS ZE3YwhyFQFR39D85x2vE5g2iqATMHRA7fDoM5mzCtdOv3aShRAE9nQr3JTu1RGrSM68VIpqyTW +/IPsBOBIEvmfS3x/0xXsJmT X-IronPort-AV: E=Sophos;i="5.84,272,1620720000"; d="scan'208";a="63951505" Received: from orw-gwy-01-in.mentorg.com ([192.94.38.165]) by esa2.mentor.iphmx.com with ESMTP; 27 Jul 2021 00:41:53 -0800 IronPort-SDR: xx2eW0l19sLWVmdLxYgBQ+qqM0h3Osvj76MF0MUPZ4VCJaUYCUfTF4A/mOPIoqSUa4NobgTv4x Vnz5eZQgM4Ox+nz+e8F9QUIltXT08+97szvh3127SG1+rKKmkAQpvdnoXcrY0csGKo+oGuLja3 XZqnCnQBBsqrji0dlhFQNVEvHMQODW3X2sachKsK6teY5TWoDQ40NNaH+pbP/kMFOEcWhsLdJp Jr17B/GxpPIu0Ucf3Oj2sJxNbkXB2nyXx/4mVawQkxOp6U8/3T3vswZL0fdu8wT3q6YdQ37q2S iPo= Subject: Re: [r12-2511 Regression] FAIL: gfortran.dg/PR93963.f90 -Os execution test on Linux/x86_64 To: gcc-patches , fortran References: <20210726172732.0269C2864701@gskx-2.sc.intel.com> From: Tobias Burnus Message-ID: <38be0476-7bfc-3506-3186-473129f0a215@codesourcery.com> Date: Tue, 27 Jul 2021 10:41:46 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.12.0 MIME-Version: 1.0 In-Reply-To: <20210726172732.0269C2864701@gskx-2.sc.intel.com> Content-Type: text/plain; charset="utf-8"; format=flowed Content-Transfer-Encoding: quoted-printable Content-Language: en-US X-Originating-IP: [137.202.0.90] X-ClientProxiedBy: SVR-IES-MBX-07.mgc.mentorg.com (139.181.222.7) To svr-ies-mbx-01.mgc.mentorg.com (139.181.222.1) X-Spam-Status: No, score=-5.7 required=5.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS, KAM_DMARC_STATUS, KAM_NUMSUBJECT, KAM_SHORT, NICE_REPLY_A, SPF_HELO_PASS, SPF_PASS, TXREP autolearn=no autolearn_force=no version=3.4.4 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on server2.sourceware.org X-BeenThere: gcc-patches@gcc.gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gcc-patches mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 27 Jul 2021 08:41:56 -0000 The automatic regression test of Sunil wrote: On 26.07.21 19:27, sunil.k.pandey wrote: > commit 0cbf03689e3e7d9d6002b8e5d159ef3716d0404c > PR fortran/93308/93963/94327/94331/97046 problems raised by descript= or handling > caused > FAIL: gfortran.dg/PR93963.f90 -O2 execution test > ... (That's on x86-64-gnu-linux but (only) with -m32.) I have filled: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D101635 Let's see how soon we can fix this =E2=80=93 otherwise, we have to XFAIL th= is testcase. I don't completely understand why this only occurred with -m32, but I believe it is an alias issue. The whole handling of the conversion (prep code, library call, post-library handling) looks extremely fragile and this is not the first issue in that this code causes. I think the proper solution =E2=80=93 having tons of advantages - is to mov= e the library code to the compiler itself and making use of the compile-time known type, rank, etc. knowledge. Tobias ----------------- 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