Article View: net.bugs.usg
Article #19Re: Bugs in profiling and C compile on PDP-11
From: utzoodecvaxharpofloydcmcl2philab...
Date: Sun, 17 Apr 1983 16:12
Date: Sun, 17 Apr 1983 16:12
11 lines
751 bytes
751 bytes
This is NOT a bug in cc, it's a bug in the profiling stuff, the compiler is correct in doing a signed shift, if the shift is to be unsigned, the code should be: (unsigned)(( ... ) >> 1) and NOT (unsigned)( ... ) >> 1, (casts having higher precedence than shifts). Per ardua ad perfectum (!?!) Dave Lukes ...!decvax!ukc!root44!pdl
Technical Details
Message-ID:
<bnews.root44.783>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailReferences:
spanky.231Show Full Headers
Complete Article Headers
From: utzoo!decvax!harpo!floyd!cmcl2!philabs!mcvax!ukc!root44!pdl Newsgroups: net.bugs.usg Title: Re: Bugs in profiling and C compile on PDP-11 Article-I.D.: root44.783 Posted: Sun Apr 17 16:12:14 1983 Received: Fri Apr 22 08:49:39 1983 References: spanky.231 Subject: Re: Bugs in profiling and C compile on PDP-11 Date: Sun, 17 Apr 1983 16:12:14 +0000 Message-ID: <bnews.root44.783>