Path: csiph.com!newsfeed.hal-mli.net!feeder3.hal-mli.net!newsfeed.hal-mli.net!feeder1.hal-mli.net!news.linkpendium.com!news.linkpendium.com!news.iecc.com!nerds-end From: Robert A Duff Newsgroups: comp.compilers Subject: Re: Adding Blank Line In Source Causes Change In Executable Date: Mon, 26 Mar 2012 13:36:43 -0400 Organization: The World Public Access UNIX, Brookline, MA Lines: 22 Sender: news@iecc.com Approved: comp.compilers@iecc.com Message-ID: <12-03-058@comp.compilers> References: <12-03-007@comp.compilers> <12-03-010@comp.compilers> <12-03-028@comp.compilers> <12-03-031@comp.compilers> <12-03-057@comp.compilers> NNTP-Posting-Host: news.iecc.com X-Trace: leila.iecc.com 1332927099 41355 64.57.183.58 (28 Mar 2012 09:31:39 GMT) X-Complaints-To: abuse@iecc.com NNTP-Posting-Date: Wed, 28 Mar 2012 09:31:39 +0000 (UTC) Keywords: Ada, debug Posted-Date: 28 Mar 2012 05:31:39 EDT X-submission-address: compilers@iecc.com X-moderator-address: compilers-request@iecc.com X-FAQ-and-archives: http://compilers.iecc.com Xref: csiph.com comp.compilers:525 HOKIENERD writes: > We were hoping to add comments throughout the code, and 'prove' that > they had no effect by producing an identical executable, but it looks > like we won't be able to do that. > > The line number is useful in our debug environment, but in our final > system there is nowhere for the information to be output, so it won't > do us any good in that configuration. > > I sure can't find a way to turn it off on my system! If you buy the GNAT Pro product from AdaCore, they would probably be willing to add such a feature. Alternatively, you could modify the compiler and run-time system yourself to remove these line numbers. - Bob P.S. Note that I work for AdaCore.