This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB 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: [RFC, v2] Fix PR symtab/15391


>>>>> "Pedro" == Pedro Alves <palves@redhat.com> writes:

Pedro> I believe left-shifting a negative number is actually undefined
Pedro> behavior.

Whoops.  Thanks for noticing.
I will fix that.

Maybe we need a generic sign-extension function.
I see a lot of code around to do this various ways.

Tom


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