From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 53228 invoked by alias); 1 Dec 2016 18:32:15 -0000 Mailing-List: contact gcc-patches-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-patches-owner@gcc.gnu.org Received: (qmail 53200 invoked by uid 89); 1 Dec 2016 18:32:14 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-2.5 required=5.0 tests=AWL,BAYES_00,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,SPF_PASS autolearn=ham version=3.3.2 spammy=dominiqlpsensfr, sk:dominiq, dominiq@lps.ens.fr, U*dominiq X-Spam-User: qpsmtpd, 2 recipients X-HELO: mout.gmx.net Received: from mout.gmx.net (HELO mout.gmx.net) (212.227.17.20) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Thu, 01 Dec 2016 18:32:04 +0000 Received: from vepi2 ([92.76.205.227]) by mail.gmx.com (mrgmx103 [212.227.17.168]) with ESMTPSA (Nemesis) id 0Lp3Qu-1crMfj0mO4-00eprS; Thu, 01 Dec 2016 19:31:59 +0100 Date: Thu, 01 Dec 2016 18:32:00 -0000 From: Andre Vehreschild To: Dominique =?UTF-8?B?ZCdIdW1pw6hyZXM=?= Cc: David Edelsohn , GCC Patches , Fortran List Subject: Re: [Fortran, Patch, PR{43366, 57117, 61337, 61376}, v1] Assign to polymorphic objects. Message-ID: <20161201193158.1877e21f@vepi2> In-Reply-To: <8FE89D89-40DB-4967-A154-A1EB3F5566D0@lps.ens.fr> References: <8FE89D89-40DB-4967-A154-A1EB3F5566D0@lps.ens.fr> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-UI-Out-Filterresults: notjunk:1;V01:K0:ySgX7nOzsWE=:6Y0Y9775hvpnGQIf3UltLB w2Kkt18EbSQKHd1G9QhNa87nupiulkfZn0NAcrVhElW2L9Jz93zbdihFMWZLMzb3ozuf4auGf jxvxAgXOXJUdcZPUYod5OgVNeWb37dZopmzyavs4MAF7JO3h2pRfSgZ8sTp6ZmH6SyD0NZ2kI aoMqfhVD37oVqnaddnku0ltMxTH2aOt6naySAqZcyaH9re6p6yqvgbpL0aIerm8sWLboUcMcc C9RBcBRPoR2na0iRt8lX7ef96wyYZIOTpBg06ADZw+6lwcoMcUGI9/JtIXj7XGmZEiZ8y4I63 17z3sEv95s65x+ypTRgHlAgJ2YlcQ4TCGkOZhJT4DLVUqK3w/4FL5g/FZ8yHhptWhxaPZ8OiU r7icZxHCv+QZVv7k7ZBdNlfBopvCjegsgPQzJPYQWEibtYAK/QOukcRTmrH8koFHce2rHV30j 1uvZjGesQxVUHYynrzX+34icYBxgzNK05PwH9bwDv2/7hLnczUznTT68/REIvCUOGzHpbM8FJ OZyAonM5a79qV0zefT7DIotERFP9AQjbjObmnYDGMdKuQuxziNoDmwYmEhuw7TH7dZilj58Bl 7RJNbMJRKhiJDKjKUd6rq5dqBDMp8ihchqR/7gsbjr8uwkdOf/0BPyJvFWnhJgzLBvXEx7soG WlBt97pk2fJKaOC1imT0qZelg+eNCG9+BDcOg+sAP8FQT/TTXZBlDD5jpcwGF8A0271F/lPVZ QbQ2jWDqwHq9A8caG0bud0RRugVo1My+Rsi6pwy6PI0e1X7Hdf739WJUCSr+6cMgeQEJ1dbgc 6sp0Y8u X-SW-Source: 2016-12/txt/msg00114.txt.bz2 Hi all, I am sorry, but the initial mail as well as Dominique answer puzzles me: David: I do expect to=20 write (*,*) any=20 not being compilable at all, because "any" is an intrinsic function and I suppose that gfortran is not able to print it. At best it gives an address.= So am I right to assume that it should have been: write (*,*) x ? Which is a bit strange. Furthermore is it difficult for me to debug, becaus= e I do not have access to an AIX machine. What address size does the machine ha= ve 32/48/64-bit? Is there a chance you send me the file that is generated additionally by gfortran when called with -fdump-tree-original ? The file is named alloc_comp_class_5.f03.003t.original usually. Dominique: How did you get that? Do you have access to an AIX machine? What kind of instrumentation was active in the compiler you mentioned? - Andre On Wed, 30 Nov 2016 21:51:30 +0100 Dominique d'Humi=C3=A8res wrote: > If I compile the test with an instrumented gfortran , I get=20 >=20 > ../../work/gcc/fortran/interface.c:2948:33: runtime error: load of value > 1818451807, which is not a valid value for type =E2=80=98expr_t' >=20 > Dominique >=20 > > Le 30 nov. 2016 =C3=A0 21:06, David Edelsohn a =C3= =A9crit : > >=20 > > Hi, Andre > >=20 > > I have noticed that the alloc_comp_class_5.f03 testcase fails on AIX. > > Annotating the testcase a little, shows that the failure is at > >=20 > > if (any(x /=3D ["foo", "bar", "baz"])) call abort() > >=20 > > write (*,*) any > >=20 > > at the point of failure produces > >=20 > > "foobarba" > >=20 > > - David=20=20 >=20 --=20 Andre Vehreschild * Email: vehre ad gmx dot de=20