From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=ham autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,d2f0af5e440b367f X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2003-06-26 11:40:34 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!logbridge.uoregon.edu!hammer.uoregon.edu!skates!not-for-mail From: Stephen Leake Newsgroups: comp.lang.ada Subject: Re: proposal for new assignment operators Date: 26 Jun 2003 14:32:17 -0400 Organization: NASA Goddard Space Flight Center (skates.gsfc.nasa.gov) Message-ID: References: NNTP-Posting-Host: anarres.gsfc.nasa.gov Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: skates.gsfc.nasa.gov 1056652365 12109 128.183.235.92 (26 Jun 2003 18:32:45 GMT) X-Complaints-To: usenet@news.gsfc.nasa.gov NNTP-Posting-Date: 26 Jun 2003 18:32:45 GMT User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3 Xref: archiver1.google.com comp.lang.ada:39783 Date: 2003-06-26T18:32:45+00:00 List-Id: Georg Bauhaus writes: > Stephen Leake wrote: > : > : Hmm. Changing this so I can try to compile it: > : > : procedure Georg > : is > : begin > : case a*(%$%) is > : when o.O => A :=+ ('o'); > : when (8-v)|12#8B# => OM(O.%/%(0,-0)); > : when 2!2:0:..2:1: => null; > : when others => << oO >> O.oo (O.o>o.O); > : end case; > : end Georg; > : > : I get a GNAT bug with GNAT 3.16a - congratulations :). I don't think > : I'll submit it. > > What kind of bug do you get? +===========================GNAT BUG DETECTED==============================+ | 3.16a (20030120) (i586-pc-mingw32msv) Program_Error EXCEPTION_ACCESS_VIOLATION| As far as I am concerned, there is only one "kind" of bug in the compiler (a bad one :). > The GCC 3.1 compiler (1173) for Mac, when run with your changes, produces a > segmentation fault, I gather you do not get this "GNAT BUG box"? Exactly how is the "segmentation fault" reported? I hope it is in the form of an unhandled Program_Error exception! > after reporting "a" is undefined and compilation error. I don't get that much. > See my reply to Preben's disbelief (:) for the complete program, > which does compile with GNAT 3.15p on GNU/Linux and 3.1 on Mac. Ok. -- -- Stephe