comp.lang.ada
 help / color / mirror / Atom feed
From: Adrian Knoth <adi@drcomp.erfurt.thur.de>
Subject: Re: Efficient Matrix?
Date: 28 Dec 2002 22:07:08 GMT
Date: 2002-12-28T22:07:08+00:00	[thread overview]
Message-ID: <slrnb0s84c.9ge.adi@drcomp.erfurt.thur.de> (raw)
In-Reply-To: wccfzshrhyp.fsf@shell01.TheWorld.com

Robert A Duff <bobduff@shell01.TheWorld.com> wrote:

> turns it into a binding requirement.  13.1(20) also mentions this.

ACK.
 
> So a standards conforming compiler can get away without supporting any
> representation items at all.  But a compiler that claims to support the
> SP annex must obey 13.2(9).  

    9  For a packed array type, if the component subtype's Size is less
       than or equal to the word size, and Component_Size is not
       specified for the type, Component_Size should be less than or
       equal to the Size of the component subtype, rounded up to the
       nearest factor of the word size.

How does this _forces_ a compiler to set a packed boolean array's
Component_Size to 1? As I understand the paragraph it determines
the compiler's behaviour if the Component_Size of a packed array is
_not_ defined by the user.

> I believe all compilers claim to support the SP annex. GNAT certainly does

Sure.

> So, I claim that a packed array of Boolean *must* have 'Component_Size
>= 1, presuming SP support.

I've not resurveyed all aspects of the RM, especially the dependencies,
but I would, for now, acknowledge.
 
> How about now?  ;-)

I guess I'll send a bug-report. Unfortunately the gcc-bug-database is
write-only at the moment, so to say, there seems to be nobody carrying
much about ProblemReports. 


-- 
mail: adi@thur.de  	http://adi.thur.de	PGP: v2-key via keyserver

Ein Mann ein Wort, eine Frau ein W�rterbuch.



  reply	other threads:[~2002-12-28 22:07 UTC|newest]

Thread overview: 20+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <3e0b2a66_4@news.bluewin.ch>
2002-12-26 22:09 ` Efficient Matrix? Adrian Knoth
2002-12-27  0:23   ` Alvery Grazebrook
2002-12-27  9:53     ` Adrian Knoth
2002-12-27 16:58       ` Robert A Duff
2002-12-28  1:44         ` Nick Roberts
2002-12-28 13:00         ` Adrian Knoth
2002-12-28 15:21           ` Bill Findlay
2002-12-28 15:48             ` Adrian Knoth
2002-12-28 23:26               ` Adrian Knoth
2002-12-28 16:07             ` Robert A Duff
2002-12-28 17:25               ` Bill Findlay
2002-12-28 17:35                 ` Bill Findlay
2002-12-28 20:51                 ` Robert A Duff
2002-12-28 15:58           ` Robert A Duff
2002-12-28 17:19             ` Adrian Knoth
2002-12-28 19:16               ` James S. Rogers
2002-12-28 20:45               ` Robert A Duff
2002-12-28 22:07                 ` Adrian Knoth [this message]
2002-12-28 23:42                   ` Robert A Duff
2002-12-27 12:25 ` Gautier
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox