Deterministic compilers

"Oleg Mürk" <o.myrk@aprote.com>
3 May 2001 13:43:06 -0400

          From comp.compilers

Related articles
Deterministic compilers o.myrk@aprote.com (Oleg Mürk) (2001-05-03)
Re: Deterministic compilers world!bobduff@uunet.uu.net (Robert A Duff) (2001-05-07)
Re: Deterministic compilers christian.bau@isltd.insignia.com (Christian Bau) (2001-05-07)
Re: Deterministic compilers jsgray@acm.org (Jan Gray) (2001-05-07)
Re: Deterministic compilers walter@digitalmars.com (walter) (2001-05-13)
| List of all articles for this month |
From: "Oleg Mürk" <o.myrk@aprote.com>
Newsgroups: comp.compilers
Date: 3 May 2001 13:43:06 -0400
Organization: Compilers Central
Keywords: practice, question, comment
Posted-Date: 03 May 2001 13:43:06 EDT

Hi!


I've got a strange question: are contemporary compilers (for C++ or Java)
deterministic?
I.e. produce the same result every time they get the same source code,
switches, environment, libraries etc. I would assume for instance that
optimization might be non-deterministic...


Oleg
[I gather sometimes you get different code depending on where in
memory some compile-time hash table lands. Object files often contain
timestamps, of course, which will make them different between two
runs. -John]


Post a followup to this message

Return to the comp.compilers page.
Search the comp.compilers archives again.