This is the mail archive of the gcc-prs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: c/6607: Inconsisitency using right shift operator (signed vs. unsigned shift)


Synopsis: Inconsisitency using right shift operator (signed vs. unsigned shift)

State-Changed-From-To: open->feedback
State-Changed-By: neil
State-Changed-When: Wed May  8 10:38:30 2002
State-Changed-Why:
    Can you reproduce this behaviour for a shift of less than 32 bits?
    A shift of the same number of bits as the width of the
    type gives undefined behaviour, so the testcase you post
    is not a bug as-is.

http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=6607


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]