comp.lang.ada
 help / color / mirror / Atom feed
* GNAT 95 Compiler v 2.09 for UNIX Solaris
@ 1996-11-24  0:00 William Paul Berriss
  1996-11-27  0:00 ` Robert Dewar
  0 siblings, 1 reply; 2+ messages in thread
From: William Paul Berriss @ 1996-11-24  0:00 UTC (permalink / raw)
  Cc: strberis


Hi

If you know briefly how and why I get the following
compiler error message could you e-mail me to tell me!


The error message on Solaris 2.4 UNIX is:

stssrita% gcc -c huesatint_3dhistogram.adb
/usr/ccs/bin/as: "/tmp/cca007J8.s", line 6091: error: constant value
must be between 
-0x00200000 and 0x003fffff
stssrita%


Basically, I have tried to create a 3D array of size 256 X 256 X 256
of Integers, and it complained.  If I purely alter its to size
64 X 64 X 64 then all is ok.  So it is purely a size problem.

I thought it may be due to the finite size of my RAM memory
(say 32 MBytes) but my supervisor said that the compiler
should not know about my RAM and that it would be a run-time error
perhaps?

Any ideas? Anyone had a similar problem?

Will
====


-- 

W P Berriss                 E-mail: W.P.Berriss@reading.ac.uk
Department of Engineering
The University of Reading
Whiteknights
Reading                     Tel:  0118 987 5123 
Berkshire                     (+44 118 987 5123 outside UK)
RG6 6AY    
England                     Fax:  0118 931 3327    

World Wide Web Home Page: 

http://www.elec.rdg.ac.uk/people/postgrads/will.html




^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: GNAT 95 Compiler v 2.09 for UNIX Solaris
  1996-11-24  0:00 GNAT 95 Compiler v 2.09 for UNIX Solaris William Paul Berriss
@ 1996-11-27  0:00 ` Robert Dewar
  0 siblings, 0 replies; 2+ messages in thread
From: Robert Dewar @ 1996-11-27  0:00 UTC (permalink / raw)



Will asks about an assembler problem from
"GNAT 95 Compiler v 2.09 for UNIX Solaris"

First, an assembler problem is always a GNAT bug, or at least almost always
so if you are not doing strange things with pragmas (e.g. specifying
bizarre external names). So in general it should be reported as requested
in the documentation to report@gnat.com.

Second, if you do report a bug, to report, or to chat@gnat.com or even
to comp.lang.ada, then you must give complete sources, or it is impossible
to guess what the problem might be. Generally posting obscure bugs of this
type to comp.lang.ada will not get you very far anyway!

Third, 2.09 is a historic relic at this stage, it is at least 6 versions
and about 18 months out of date, you are wasting your time messing with it.
When upgrades are free, there is no reason to be using versions that 
obsolete. For specialized purposes you sometimes need to baseline old
versions in large projects, but if you do that then you definitely need
support! If you are, as I assume is the case, using the publically 
distributed version without support (a perfectly reasonable thing to do
if you are not using GNAT for critical projects), then it is all the more
important to update to the latest available version, which is 3.07 for
Solaris.

Then if the bug is still present, send a report to report@gnat.com, 
following the guidelines for bug submission in gnatinfo.txt. That way
the problem will be fixed in some future version of GNAT!

Robert Dewar
Ada Core Technologies





^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~1996-11-27  0:00 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1996-11-24  0:00 GNAT 95 Compiler v 2.09 for UNIX Solaris William Paul Berriss
1996-11-27  0:00 ` Robert Dewar

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