[gnu.gcc.bug] negated shift size not sign-extending

raeburn@ATHENA.MIT.EDU (Ken Raeburn) (01/01/89)

using gcc 1.32 vax, -O -fstrength-reduce -fcombine-regs

    int foo (long number) {
	return number >>= 8;
    }

generates:

    #NO_APP
    gcc_compiled.:
    .text
	    .align 1
    .globl _foo
    _foo:
	    .word 0x0
	    ashl $248,4(ap),r0
	    ret

The 248 should probably be -8....

-- Ken