• Ian Lance Taylor's avatar
    Storing an out of range constant into a variable should · 08df4dcf
    Ian Lance Taylor authored
    ideally cause the compiler to give an error.  Right now 6g
    warns about large shifts but does not give an error.  This CL
    removes the out of range shift from shift.go, so that it will
    work with gccgo, and adds a test case in bugs/ to be fixed at
    a later date.
    
    R=ken,r
    DELTA=23  (9 added, 14 deleted, 0 changed)
    OCL=16085
    CL=16088
    08df4dcf
Name
Last commit
Last update
..
array.go Loading commit data...
chan.go Loading commit data...
for.go Loading commit data...
interfun.go Loading commit data...
intervar.go Loading commit data...
label.go Loading commit data...
litfun.go Loading commit data...
mfunc.go Loading commit data...
ptrfun.go Loading commit data...
ptrvar.go Loading commit data...
rob1.go Loading commit data...
rob2.go Loading commit data...
robfor.go Loading commit data...
robfunc.go Loading commit data...
robif.go Loading commit data...
shift.go Loading commit data...
simparray.go Loading commit data...
simpbool.go Loading commit data...
simpconv.go Loading commit data...
simpfun.go Loading commit data...
simpprint.go Loading commit data...
simpswitch.go Loading commit data...
simpvar.go Loading commit data...
string.go Loading commit data...
strvar.go Loading commit data...