From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 22007 invoked by alias); 25 Sep 2004 02:38:44 -0000 Mailing-List: contact gcc-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-owner@gcc.gnu.org Received: (qmail 21999 invoked from network); 25 Sep 2004 02:38:43 -0000 Received: from unknown (HELO mail-out4.apple.com) (17.254.13.23) by sourceware.org with SMTP; 25 Sep 2004 02:38:43 -0000 Received: from mailgate2.apple.com (a17-128-100-204.apple.com [17.128.100.204]) by mail-out4.apple.com (8.12.11/8.12.11) with ESMTP id i8P2fx75028388 for ; Fri, 24 Sep 2004 19:41:59 -0700 (PDT) Received: from relay3.apple.com (relay3.apple.com) by mailgate2.apple.com (Content Technologies SMTPRS 4.3.14) with ESMTP id for ; Fri, 24 Sep 2004 19:38:42 -0700 Received: from [17.112.106.56] ([17.112.106.56]) by relay3.apple.com (8.12.11/8.12.11) with ESMTP id i8P2ceDn028066; Fri, 24 Sep 2004 19:38:41 -0700 (PDT) In-Reply-To: <9D4EDFF8-0E91-11D9-AC54-000393A91CAA@apple.com> References: <044DA5B8-0E8E-11D9-80A2-000A95D7CD40@apple.com> <9D4EDFF8-0E91-11D9-AC54-000393A91CAA@apple.com> Mime-Version: 1.0 (Apple Message framework v619) Content-Type: text/plain; charset=US-ASCII; format=flowed Message-Id: Content-Transfer-Encoding: 7bit Cc: gcc@gcc.gnu.org, Dale Johannesen From: Dale Johannesen Subject: Re: Re: Date: Sat, 25 Sep 2004 10:54:00 -0000 To: Devang Patel X-SW-Source: 2004-09/txt/msg01462.txt.bz2 On Sep 24, 2004, at 6:24 PM, Devang Patel wrote: > On Sep 24, 2004, at 5:58 PM, Dale Johannesen wrote: >> I'm tracking down a crash I'm getting locally. It's not clear yet >> this is connected, >> but I see a tree of this form in the Gimple and SSA dumps: >> >> *pTmp4 = __NAGf90_dcdivdc (*pTmp2, *pTmp3); >> >> The Gimple doc does not allow a pointer deref in a function argument. >> Is is supposed to? > > It says CALL_EXPR arguments are valid LHS. So it allows. I am reading > comment at the beginning of tree-gimple.c Thanks, I was looking at tree-ssa.texi: call-stmt: CALL_EXPR op0 -> _DECL | '&' _DECL op1 -> arglist arglist: NULL_TREE | TREE_LIST op0 -> val op1 -> arglist val : _DECL | CONST There seem to be a number of differences. Apparently the tree-ssa.texi version is older, as it's closer (but not identical) to the summit paper, but some nits have crept in. The version in tree-gimple.c doesn't seem to allow ADDR_EXPR, but clearly it has to: __NAGf90_write (6, &FMT_129, -1, 0B, 0, 0); IMO it is highly desirable for future development to have a clean definition. I expect not everyone shares MO, so I'll volunteer to clean this up, but I'll need help determining what it should say. I propose to put a single copy of it one place or the other (I'd prefer the texi file), with a pointer to the master copy in the other place. Comments?