Path: csiph.com!newsfeed.hal-mli.net!feeder3.hal-mli.net!newsfeed.hal-mli.net!feeder1.hal-mli.net!border3.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!news.iecc.com!nerds-end From: "Morris, John M CIV NSWCDD, Q34" Newsgroups: comp.compilers Subject: Adding Blank Line In Source Causes Change In Executable Date: Tue, 6 Mar 2012 08:32:14 -0500 Organization: Compilers Central Lines: 8 Sender: news@iecc.com Approved: comp.compilers@iecc.com Message-ID: <12-03-007@comp.compilers> NNTP-Posting-Host: news.iecc.com X-Trace: leila.iecc.com 1331059260 76605 64.57.183.58 (6 Mar 2012 18:41:00 GMT) X-Complaints-To: abuse@iecc.com NNTP-Posting-Date: Tue, 6 Mar 2012 18:41:00 +0000 (UTC) Keywords: code, question Posted-Date: 06 Mar 2012 13:41:00 EST 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:474 I apologize if this is a stupid question, but I have not been able to find any information on this subject. I think this question might be applicable to most compilers, but in my case I am using AdaCore's GPS development environment (which uses gcc I believe) to compile Ada programs for a 68040 processor. I am not intentionally including debug information in my builds. I've noticed that if I add one blank line to a source file (e.g., I hit right before the last assignment statement in the Ada file) and recompile, I get a different output/binary/executable file. (In this example, only one byte in the executable is different, and it is 1 greater than the original value. If I hit 3 times and recompile, the byte is 3 greater than the original value.) I assumed that blank lines in the source would have no impact on the executable, but that appears to be incorrect. Any help would be greatly appreciated. Regards, John