[OpenMP] Remove unused Loc parameter from emitOMPAtomicWriteExpr (NFC) (#246513)
The last use was removed on November 24, 2026 in commit
a3419ecc2f61078b8c2af49dc9ca0099bdb12862.
Assisted-by: Antigravity
[test] Fix devirt_speculative.ll in NDEBUG build (#246524)
-lto-discard-value-names default depends on NDEBUG. Pin it to false, as
llvm-lto2 -save-temps does. Supersede #246493
[offload][acc] Add the OpenACC DeviceManager
The DeviceManager maps the OpenACC device types and device numbers to the
devices of the plugin manager, and keeps the device selection ICVs of each
thread. Implement acc_get_num_devices, acc_get_device_type,
acc_set_device_type, acc_get_device_num and acc_set_device_num on top of it.
Add Fortran tests of these routines and of the ICVs being per thread. They use
the libacctarget_test module to bring the runtime up and down, until the
compiler driver does it.
Assisted-by: Claude Sonnet 5.5
[offload][acc] Generate the OpenACC runtime API from TableGen
Describe the OpenACC 3.4 runtime API in TableGen and generate:
- The body of the openacc Fortran module: kind and version parameters,
enumerator and constant parameters, and the interface of every routine, with
its aliases and its CFI descriptor variant.
- The C enums and async constants of openacc.h.
- Enum name lookups for the call traces.
- The traced C entry points (__olacc_f_*) that the Fortran interfaces bind to.
- Declarations of the C++ routines that implement the API.
- The linker version script.
Assisted-by: Claude Sonnet 5.5
OS-8787: limit rotated docker json-file logs (zlog_keep_rotated) (#1188)
Portions generated by: Claude Opus 5.5 <noreply at anthropic.com>
Reviewed by: Toomas Soome <tsoome at me.com>
Reviewed by: Carlos Neira <cneira at Edgecast.io>
Approved by: Toomas Soome <tsoome at me.com>
[CodeGen] Add test coverage for #245615 (NFC)
Test coverage for #245615. These cases change with it: a sign test of
a load OR'ed with a sign test of an i64 value, an i16 load that is also
stored, a zero extension that feeds a shift or an add, an i16 compare
with a constant that needs more than 8 bits, a <4 x i8> compare on
i686, and loads with select_cc users on AArch64 and MSP430.
Assisted-by: Claude Code (Claude Opus 5.5)
[offload][debug] Add REPORT_WARN and REPORT_FATAL macros (#245582)
Add two new macros in the same style as REPORT(). REPORT_WARN prints a
warning, while REPORT_FATAL prints a fatal error and aborts the program.
Assisted-by: Claude Sonnet 5.5
[LAA] Add tests for loads with bounded non-affine offsets (NFC) (#246518)
Add tests with non-monotonic non-affine bounds, focused on loads from
index tables.
localedef: off by one bug drops the highest code point from every collation table
localedef(1) writes one fewer entry than it has into the "large" (code point
above UCHAR_MAX) collation table, and records a count one short. The table is
built in code point order, so the entry lost is always the character with the
highest code point in the locale. For that character wcsxfrm(3) returns 0 and
wcscoll(3) gives it no weight: it sorts with the ignorables and compares equal
to unrelated characters.
Reviewed by: rmoeller, kevans
Approved by: kevans (mentor)
Differential Revision: https://reviews.freebsd.org/D60057
www/mod_evasive: Fix build without IPv6, print getpid() portably
Wrap the IPv6 parts of the whitelist code in #if APR_HAVE_IPV6, so the
module builds against an APR configured without IPv6 (e.g. on systems
built WITHOUT_INET6).
Cast getpid() to unsigned long and print it with %lu instead of
assuming pid_t is long.
The existing s6_addr change (upstream PR 57) is retained.
PR: 300129
Co-authored-by: Claude Opus 5.5 (effort medium)
Approved by: Rafael Grether <devnull at apt322.org> (maintainer)
netlink: Do not change interface flags on an empty ifinfomsg
Since f89f82e4042a, _nl_modify_ifp_generic() treats ifi_change == 0
as a request to apply all of ifi_flags. A RTM_NEWLINK request that
only modifies attributes carries a zeroed ifinfomsg, so it brought
the interface down and cleared its permanent promiscuous mode as a
side effect.
Only apply flags for an empty ifi_change when ifi_flags is set,
which matches the behavior of Linux.
Fixes: f89f82e4042a ("netlink: Fix IFF_UP flag handling in RTM_NEWLINK's modify_link handler")
Differential Revision: https://reviews.freebsd.org/D61504
nd6: Keep addresses tentative when DAD cannot run
in6_ifa_need_dad() ignored the interface state, making addresses on
down/ifdisabled interfaces optimistic and usable while DAD was deferred.
Guard it like nd6_dad_start() and re-evaluate it in in6_if_up() and
nd6_timer().
Also, reject IN6_IFF_NOTREADY sources in nd6_ns_output_fib() and
GRAND because optimistic DAD can fail while sockets are already using
the address.
While here, add some tests to make sure these never happen.
Reported by: llm-postcr
Fixes: c7cd7e7fad57 ("nd6: Add support for Optimistic DAD (RFC 4429)")
Differential Revision: https://reviews.freebsd.org/D55229