Article View: gnu.gcc.bug
Article #1859assembler warning on a VAX
From: Jeff Sparkes
Date: Thu, 20 Oct 1988 19:24
Date: Thu, 20 Oct 1988 19:24
24 lines
1165 bytes
1165 bytes
Using gcc 1.30 on a vax, the following program (cut down from
X.V11R2/server/dix/window.c) get a warning from the assembler (/bin/as).
It happens with or without the optimizer.
typedef struct _PaddingInfo {
int scanlinePad;
int bitmapPadLog2;
} PaddingInfo;
extern PaddingInfo PixmapWidthPaddingInfo[];
static void
MakeRootCursor()
{
unsigned char *srcbits, *mskbits;
int i;
for (i=0; i< ( (((32) + PixmapWidthPaddingInfo[ 1].scanlinePad) >> PixmapWidthPaddingInfo[ 1].bitmapPadLog2) << 2)*16; i++)
{
srcbits[i] = mskbits[i] = 0xff;
}
}
--
Jeff Sparkes jeff1@garfield.mun.edu
.and the cows burned on into the night. -Tom Wolfe, The Right Stuff
Technical Details
Message-ID:
<4947@garfield.MUN.EDU>Path:
arc1-ca.pugleaf.net!utzoo!telly!ddsw1!lll-winken!killer!mit-eddie!bbn!rochester!cornell!mailrus!ames!amdahl!uunet!garfield!jeff1@garfield.mun.eduShow Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!telly!ddsw1!lll-winken!killer!mit-eddie!bbn!rochester!cornell!mailrus!ames!amdahl!uunet!garfield!jeff1@garfield.mun.edu From: jeff1@garfield.mun.edu (Jeff Sparkes) Newsgroups: gnu.gcc.bug Subject: assembler warning on a VAX Message-ID: <4947@garfield.MUN.EDU> Date: 20 Oct 88 19:24:08 GMT Sender: news@garfield.MUN.EDU Reply-To: jeff1@garfield.mun.edu (Jeff Sparkes) Organization: Memorial University of Newfoundland Lines: 23