c/10319: shift right bug

jens.harms@informatik.uni-oldenburg.de jens.harms@informatik.uni-oldenburg.de
Sun Apr 6 15:16:00 GMT 2003


>Number:         10319
>Category:       c
>Synopsis:       shift right bug
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    unassigned
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sun Apr 06 15:16:00 UTC 2003
>Closed-Date:
>Last-Modified:
>Originator:     jens.harms@informatik.uni-oldenburg.de
>Release:        unknown-1.0
>Organization:
>Environment:
gcc2.93 and gcc3.2
>Description:
uint a = 16; uint w = 255;
printf("%d",a >> w );

a>>w is NOT NULL on x86 architecture (p3,athlon, duron)
>How-To-Repeat:

>Fix:

>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the Gcc-bugs mailing list