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]

Re: Added error message (for too-large array)


<<Interesting; what is the rationale for waiting until runtime to complain
about things which can reasonably and consistently be diagnosed at compile
time?
>>

The set of things that make an Ada program illegal is very well defined
by the standard. There is nothing illegal by Ada standards about these
declarations. The only limitation is that there is not enough storage to
actually allocate a gigantic array, hence the storage error if you actually
try. Of course warnings are always allowed.


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