This is the mail archive of the
fortran@gcc.gnu.org
mailing list for the GNU Fortran project.
Re: [Patch, Fortran] attributes for gfc_component
- From: Daniel Franke <franke dot daniel at gmail dot com>
- To: fortran at gcc dot gnu dot org
- Cc: "Janus Weil" <jaydub66 at googlemail dot com>
- Date: Fri, 15 Aug 2008 18:04:08 +0200
- Subject: Re: [Patch, Fortran] attributes for gfc_component
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:from:to:subject:date :user-agent:cc:references:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:message-id; bh=AnfCebpMYRvft5oxOo9dBrVyKRSB72fmEKHSFkhKg7Y=; b=PKIKTLO6s0jDC3OIPo7NfVi2nUja100gPWA940JQugjFSIN5GUiyVszY4OQqNV63gM CpGXLZ6yOQBMZhyfFuxC2RDBC0eEa971TDmW5u0/gOefFwNB7N1xwFDhSUY7JTdGRbec V+EJjYS+o6HLIHJG/BbTmiIzMavODg271Tkxc=
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=from:to:subject:date:user-agent:cc:references:in-reply-to :mime-version:content-type:content-transfer-encoding :content-disposition:message-id; b=EtMjzKs9g7aI21Zdc2q9rCu+9zw3mac0IvXWIHUZZHo5ukvCai93cVYY0ddB1+AyPU 1cahaX/kZwv0SFYmVF7e2gx6AhoD1YMsHJiIH9by7t7bMAp3LFLKOaimf1jlo+d8wV0Q spG7b8VTI9ewQ0yyWuQXs7dB7nEu2xn2fyvDs=
- References: <854832d40808150813t4cbc466bv4e2fb4397476f4ab@mail.gmail.com>
On Friday 15 August 2008 17:13:02 Janus Weil wrote:
> Now there are two possibilities: Either add each of these as separate
> fields to gfc_component (like it has already been done with pointer,
> allocatable, dimension and access), or simply reuse the
> symbol_attributes structure.
Third, create a component_attribute structure.
Sooner or later it will confuse people if components may have fields for
attributes that are never used. IMO, try to keep separate things separate.
My 2ct.
Daniel