www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1995/03/28/04:19:20

From: "A.Appleyard" <A DOT APPLEYARD AT fs2 DOT mt DOT umist DOT ac DOT uk>
To: djgpp AT sun DOT soe DOT clarkson DOT edu
Date: Tue, 28 Mar 1995 08:12:35 GMT
Subject: Re: bug in gcc.2.6.3

> Date: Mon, 27 Mar 95 12:21:29 -0800
> From: brad AT tamri DOT com (Brad Walker)

> I found a bug in gcc.2.6.3. Given this structure and declaration:
> struct t {u_int reg;};
> struct t *fep;
> When I try to do this the compiler generates the wrong code.
> inportl(fep->reg + 0xf0);
> When I hardcode it in it works. Has anyone seen this before?? Thanks for all
> the help. -brad w.

A few months ago I had an unexpected crash from apparent miscompilation of an
outport() and an inport(). I have go32 1.12, binutils 2.4, bison 1.22,
diffutils 2.6, flex 2.4.7, gas 2.3, gcc 2.6.0, gdb 4.12, gzip 1.2.4,
libg++-2.6.0, make-3.71, patch-2.1, sed-1.18, texinfo-3.10

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019