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,89672537efe45443 X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2003-04-27 11:49:22 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!wn14feed!wn13feed!worldnet.att.net!204.127.198.203!attbi_feed3!attbi.com!rwcrnsc54.POSTED!not-for-mail From: tmoran@acm.org Newsgroups: comp.lang.ada Subject: Re: Source Analysis Tools for Ada95 References: X-Newsreader: Tom's custom newsreader Message-ID: NNTP-Posting-Host: 12.234.13.56 X-Complaints-To: abuse@attbi.com X-Trace: rwcrnsc54 1051469361 12.234.13.56 (Sun, 27 Apr 2003 18:49:21 GMT) NNTP-Posting-Date: Sun, 27 Apr 2003 18:49:21 GMT Organization: AT&T Broadband Date: Sun, 27 Apr 2003 18:49:21 GMT Xref: archiver1.google.com comp.lang.ada:36655 Date: 2003-04-27T18:49:21+00:00 List-Id: >Gnat includes "gnatelim" which generates a list of gnat specific pragmas >causing no object code to be built for dead code. You should be able to use >this as a starting point for deleting unused code. The Janus compiler can generate a link time map showing which routines it is trimming out because they are unused. A recent improvement includes trimming unused primitive routines for tagged type. I don't know if gnatelim can do that.