Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
libthr _get_curthread i386: quiet gcc -Warray-bounds
Use a constant input operand instead of a bogus memory reference to tell the compiler about offsetof(struct tcb, tcb_thread) in the gs segment. Otherwise gcc complains if we tell it we are reading memory offset 0x8. Reviewed by: kib Differential Revision: https://reviews.freebsd.org/D45829
- Loading branch information