www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1995/03/27/16:26:33

Date: Mon, 27 Mar 95 12:21:29 -0800
From: brad AT tamri DOT com (Brad Walker)
To: djgpp AT sun DOT soe DOT clarkson DOT edu
Subject: bug in gcc.2.6.3

It's me again. 8-^

I found a bug in gcc.2.6.3. Given the following structure and declaration:

struct t {
	u_int reg;
};


struct t *fep;

When I try to do the following 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.


- Raw text -


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