This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Re: GCC produces slightly different code in differnt machines
- To: "Senaka Ratnayake" <senakarat at execu dot net>
- Subject: Re: GCC produces slightly different code in differnt machines
- From: Alexandre Oliva <oliva at dcc dot unicamp dot br>
- Date: 09 Sep 1999 20:13:10 -0300
- Cc: <bug-gcc at gnu dot org>
- References: <000701befb16$2fd6a140$7d913ace@senaka>
On Sep 9, 1999, "Senaka Ratnayake" <senakarat@execu.net> wrote:
> I have two identical installations of the GNU compiler on two
> different machines. The two machines produce slightly different
> op codes under identical options. This is very rare but does happen.
If it's not reproducible, it's certainly a hardware fault, since
there's no randomness in gcc that could cause such differences. But
if the results are reproducible on both machines, it could be some
memory management problem in gcc, that is triggered by the code you
posted and some minor differences in system header files, for example.
But, if you don't post the preprocessed code, it's hard to tell.
--
Alexandre Oliva http://www.dcc.unicamp.br/~oliva IC-Unicamp, Bra[sz]il
oliva@{dcc.unicamp.br,guarana.{org,com}} aoliva@{acm.org,computer.org}
oliva@{gnu.org,kaffe.org,{egcs,sourceware}.cygnus.com,samba.org}
** I may forward mail about projects to mailing lists; please use them