Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP
Path: utzoo!linus!decvax!harpo!seismo!hao!hplabs!sri-unix!jeff@aids-unix
From: jeff%aids-unix@sri-unix.UUCP
Newsgroups: net.unix-wizards
Subject: Re:  C optimizer bug?
Message-ID: <16851@sri-arpa.UUCP>
Date: Tue, 21-Feb-84 17:41:41 EST
Article-I.D.: sri-arpa.16851
Posted: Tue Feb 21 17:41:41 1984
Date-Received: Fri, 2-Mar-84 08:05:59 EST
Lines: 24

From:  Jeff Dean 

Brian,

I've found a solution to your problem, where
	CVTDL	a,b
	BICL	$-256,c
	MOVL	c,d

was being optimized (sic) to
	MOVZBL	a,d

However, not being a "c2 guru", and finding the comments in c2
somewhat lacking, I'm afraid that my fix might be only "local"
solution (i.e., I only know that it solves this particular
problem).  However, if anyone fails to come up with a better
solution, I'll be glad to make mine available (it's only two new
lines of code for c21.c).  

	jd

P.S.  This is for 4.1
TS DONE UNDER
4.2 COULD BE ASSURED TO RUN UNDER SYSTEM 5?  THANKS IN ADVANCE, ED FOX.