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,a00006d3c4735d70 X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2004-01-14 17:15:46 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news.tele.dk!news.tele.dk!small.news.tele.dk!eusc.inter.net!cs.tu-berlin.de!uni-duisburg.de!not-for-mail From: Georg Bauhaus Newsgroups: comp.lang.ada Subject: Re: Certified C compilers for safety-critical embedded systems Date: Thu, 15 Jan 2004 01:12:51 +0000 (UTC) Organization: GMUGHDU Message-ID: References: <0F6Nb.1623$Tt.642@reader1.news.jippii.net> NNTP-Posting-Host: l1-hrz.uni-duisburg.de X-Trace: a1-hrz.uni-duisburg.de 1074129171 21657 134.91.1.34 (15 Jan 2004 01:12:51 GMT) X-Complaints-To: usenet@news.uni-duisburg.de NNTP-Posting-Date: Thu, 15 Jan 2004 01:12:51 +0000 (UTC) User-Agent: tin/1.5.8-20010221 ("Blue Water") (UNIX) (HP-UX/B.11.00 (9000/800)) Xref: archiver1.google.com comp.lang.ada:4416 Date: 2004-01-15T01:12:51+00:00 List-Id: Aatu Koskensilta wrote: :> Can a self-hosting compiler then in theory decide whether it is :> correct? For the former or the latter languages? : : I don't think I understand your question. Are you asking about a : situation in which a compiler is used to compile itself? The choice of the word "correct" was a bit thoughtless. Sorry. I was indeed thinking about a compiler and its input when it happens to be the compiler itself, or a patched version. If it HALTs, I know nothing about correctness from this fact (there wouldn't be any compiler bugs, after all). And after reading yours and Robert Eachus' explanations, I trust there is no way to mechanically decide whether a "real world" compiler works correctly as described in a consistent standard, even for the finite amount of input programs that capacity limits will allow. Is this halfway correct? thanks, -- Georg