This is the mail archive of the
glibc-bugs@sourceware.org
mailing list for the glibc project.
[Bug string/19261] test-string.h questionable pointer arithmetic
- From: "fweimer at redhat dot com" <sourceware-bugzilla at sourceware dot org>
- To: glibc-bugs at sourceware dot org
- Date: Wed, 18 Nov 2015 12:37:58 +0000
- Subject: [Bug string/19261] test-string.h questionable pointer arithmetic
- Auto-submitted: auto-generated
- References: <bug-19261-131 at http dot sourceware dot org/bugzilla/>
https://sourceware.org/bugzilla/show_bug.cgi?id=19261
--- Comment #2 from Florian Weimer <fweimer at redhat dot com> ---
(In reply to Jakub Jelinek from comment #1)
> Bet you should just
> extern impl_t *stop;
> __asm ("" : "=g" (stop) : "0" (__stop_impls));
> and use stop instead of __stop_impls or something similar to hide it from
> the optimizers.
I was planning to compute the difference in uintptr_t.
--
You are receiving this mail because:
You are on the CC list for the bug.