This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC 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: IA64 bootstrap problem for Ada


    > In Ada, the sizes of primitive types are static and hence known by the
    > front end.  They get them from the _TYPE_SIZE values.

    That's what needs to change.  Lay out the types first, then extract
    the numbers from the TYPE_SIZE fields.

You can't.  You need to know the sizes *before* you layout anything.  As
I said, it's "static".  That's the whole point.

    I'm not sure I understand what is meant by "when given a size value
    for an FP type."  Does Ada allow the programmer to specify the desired
    storage size of a floating point type, as a number of bits?  

Yes.  The programmer can specify the number of digits and the size in bits.
Indeed that's the *only* way to specify the desired FP type.


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