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-Thread: 103376,bdebc54a485c13a4 X-Google-NewGroupId: yes X-Google-Attributes: gida07f3367d7,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit Received: by 10.68.231.138 with SMTP id tg10mr12048634pbc.7.1332528504963; Fri, 23 Mar 2012 11:48:24 -0700 (PDT) Path: kz5ni25233pbc.0!nntp.google.com!news1.google.com!news.glorb.com!solaris.cc.vt.edu!news.vt.edu!newsfeed-00.mathworks.com!nntp.TheWorld.com!not-for-mail From: Robert A Duff Newsgroups: comp.lang.ada Subject: Re: My first compiler bug: work around or redesign? Date: Fri, 23 Mar 2012 14:48:23 -0400 Organization: The World Public Access UNIX, Brookline, MA Message-ID: References: <10kx1zr05qt9s$.ab8q1peu0ukt.dlg@40tude.net> NNTP-Posting-Host: shell01.theworld.com Mime-Version: 1.0 X-Trace: pcls6.std.com 1332528504 15433 192.74.137.71 (23 Mar 2012 18:48:24 GMT) X-Complaints-To: abuse@TheWorld.com NNTP-Posting-Date: Fri, 23 Mar 2012 18:48:24 +0000 (UTC) User-Agent: Gnus/5.1008 (Gnus v5.10.8) Emacs/21.3 (irix) Cancel-Lock: sha1:56MjxI4yplYxdd4XY60VgyFjgaU= Content-Type: text/plain; charset=us-ascii Date: 2012-03-23T14:48:23-04:00 List-Id: "Dmitry A. Kazakov" writes: > First, make sure your code is legal. In some cases GNAT crashes when > detects an error in the program. One method to find the problem is to > comment offending source code lines until it compiles and then twist it > this or that way. It's easier to use the -gnatdO switch, which is documented in debug.adb. - Bob