Path: 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 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