This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: PATCH: Cast to _Unwind_Exception_Class when setting exc.exception_class
- From: Roland McGrath <roland at hack dot frob dot com>
- To: "H.J. Lu" <hjl dot tools at gmail dot com>
- Cc: GNU C Library <libc-alpha at sourceware dot org>
- Date: Tue, 18 Sep 2012 14:12:31 -0700 (PDT)
- Subject: Re: PATCH: Cast to _Unwind_Exception_Class when setting exc.exception_class
- References: <CAMe9rOpaKE6XxgAev0wzivpSJoL_7-P9VycXnxyankniRZ-FPA@mail.gmail.com>
The x86_64 THREAD_SETMEM casts its third argument to uint64_t when the
field is 64 bits wide. So how does a problem arise in practice?
Thanks,
Roland