Use a constant input operand instead of a bogus memory reference to tell
the compiler about offsetof(struct tcb, tcb_thread) in the fs segment.
Otherwise gcc complains if we tell it we are reading memory offset 0x10.
Details
Details
- Reviewers
jhb kib - Commits
- rG657b1276ad4c: libthr _get_curthread amd64: quiet gcc -Warray-bounds
Diff Detail
Diff Detail
- Repository
- rG FreeBSD src repository
- Lint
Lint Skipped - Unit
Tests Skipped - Build Status
Buildable 58443 Build 55331: arc lint + arc unit