This is the mail archive of the fortran@gcc.gnu.org mailing list for the GNU Fortran project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: revap types, step 1


On Thu, Aug 26, 2004 at 05:52:56PM +0200, Tobias Schlüter wrote:
> (2) A nonpointer scalar object of type double precision real or default
> complex occupies two contiguous numeric storage units;

What does this mean?  That DOUBLE PRECISION should *claim* two
storage units even if it doesn't use it?

Well, it wouldn't be the first time that we've claimed XFmode
occupied 16 bytes.  I'd feel disturbed about having the front
end force this, rather than the backend.  Unless we can do
everything with data layout:

   struct double_precision {
	long double r __attribute__((aligned(16)));
   };

and then use the struct everywhere we talk to the middle-end.



r~


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]