[clang-tidy] Fix modernize-use-nullptr false positive on ordering comparisons (#225585)
libstdc++ 16 renamed __cmp_cat::__unspec to __cmp_cat::__literal_zero.
Add the new name to the default IgnoredTypes.
Fixes #206245
[CIR] Fix consteval store of no_unqiue_address_members (#229478)
We were unconditionally overwriting the members of a consteval type,
even if there was padding / no_unique_address in the way. This patch
corrects that behavior by picking up the relevant parts of #93115
which ensures we only write the constexpr initialized fields.
[flang] Copy back only modified data when unpacking repacked arrays (#228543)
With `-frepack-arrays`, `fir.unpack_array` copied the contiguous
temporary back into the original array unconditionally. Since #222986, a
named constant's own storage can be the actual argument, so the
copy-back stored into read-only memory and the program crashed, even
though the callee never modified the data. For example:
```fortran
module callees
contains
subroutine take(a)
integer :: a(:)
print *, sum(a)
end subroutine
end module
program repack_const
use callees
integer, parameter :: c(3) = [1, 0, 2]
[13 lines not shown]
graphics/nvidia-drm-612-kmod: Fix distinfo
Likely the transfer was corrupted when doing make makesum
Fixes: 3e1c3ad47598 ("graphics/drm-612-kmod: Update to latest version")
Reported by: Tomoaki AOKI <junchoon at dec.sakura.ne.jp>
AArch64: Stop setting kill flags on virtual registers before FinalizeISel (#229021)
There is no point in maintaining kill flags before register allocation anymore.
Co-authored-by: Claude Opus 5.5 <noreply at anthropic.com>
dhclient-script: store the Captive Portal URI
Write the URI received in DHCP option 114 to
/var/run/captive-portal.IFACE atomically, with the legacy option 160 as
a fallback, and remove the file on EXPIRE and FAIL.
Reviewed by: bcr (manpage)
Differential Revision: https://reviews.freebsd.org/D60259
dhclient: request the Captive Portal options
Add DHCP options 114 (captive-portal) and 160 (captive-portal-legacy)
to the default Parameter Request List so that servers advertise the
Captive Portal API URI.
Approved by: emaste
Reviewed by: emaste
Differential Revision: https://reviews.freebsd.org/D60257
dhclient: recognize the Captive Portal DHCP options
Rename option 114 from "url" to "captive-portal" (RFC 8910) and retain
"url" as a deprecated alias. Rename option 160 from the generic
"option-160" to "captive-portal-legacy" (RFC 7710).
Reviewed by: emaste, dch
Apprived by: emaste, dch
Differential Revision: https://reviews.freebsd.org/D60256
[clang-repl] Keep the cleanups of value-printed expressions (#229675)
convertExprToValue() strips the ExprWithCleanups of the printed
expression and builds the call of __clang_Interpreter_SetValue* around
the subexpression, without the cleanups. The temporaries of the
expression then belong to no full-expression: CodeGen destroys them at
the end of the function that runs the top-level statements, which it
finishes after it has emitted the deferred declarations, so their
destructors are referenced but never emitted:
clang-repl> struct S { ~S() {} };
clang-repl> int f(S) { return 42; }
clang-repl> f(S())
JIT session error: Symbols not found: [ _ZN1SD1Ev ]
(with an assertions build, moveLazyEmissionStates() asserts instead).
Put the cleanups back around the result, so that the temporaries are
destroyed at the end of their statement. If the call cannot be built,
[2 lines not shown]
[NVPTX] Honor !atomic.ignore.denormal.mode on atomicrmw fadd (#217586)
PTX atom.add has a fixed denormal behavior that the program cannot
control: atom.add.f32 flushes denormals on global memory but not on
shared, and atom.add.f16 never flushes. When that disagrees with the
function's denormal mode, the backend expands the atomic into a CAS loop
so the denormal behavior is preserved.
!atomic.ignore.denormal.mode says the denormal behavior of this
particular atomic does not matter, so use the native instruction even
when it disagrees. This is the same thing -nvptx-allow-ftz-atomics does,
except per-instruction instead of per-compilation, which lets a frontend
opt in only the operations it knows about -- notably CUDA's atomicAdd(),
which is defined in terms of atom.add.
Note that -nvptx-allow-ftz-atomics defaults to true, so the new behavior
is only observable with -nvptx-allow-ftz-atomics=false.
Co-authored-by: Artem Belevich <tra at google.com>
[NFC][analyzer] Allow PreStmt/PostStmt callbacks for unhandled statement kinds (#224054)
The function `shouldJustCallCheckers`, introduced recently in
e829049823905405779c6b908437b200e7ed1b2e, returns true by default and
returns false for statement kinds where it is inappropriate to call the
PreStmt and PostStmt checkers in the "normal" pattern.
The switch in `ExprEngine::Visit` starts with a large block of statement
kinds that are not evaluated in any meaningful way, i.e. they just pass
through the analyzer without modifying the analysis state.
Previously `shouldJustCallCheckers` returned false for these statement
kinds (to preserve the default behavior of the old implementation), but
this change moves them to the current default, which simplifies the code
and enables checker writers to target these statement kinds with PreCall
and PostCall callbacks. As currently there are no non-debug checkers
that target these (rare) statement kinds, this is an NFC change.
Merge tag 'for-7.3-rc6-tag' of git://git.kernel.org/pub/scm/linux/kernel/git/kdave/linux
Pull btrfs fixes from David Sterba:
- fix command queuing and cleanup in encoded read/write ioctls
- fix root and transaction association to avoid unnecessary lock
contention and transaction start
- properly handle replacing multiple xattrs in the same item
- in scrub, fix root reference leak after reporting an unresolved file
path
* tag 'for-7.3-rc6-tag' of git://git.kernel.org/pub/scm/linux/kernel/git/kdave/linux:
btrfs: fix lost error return value in btrfs_listxattr()
btrfs: fix xattr replace when multiple xattrs are packed in the same item
btrfs: don't stash io_uring encoded data across -EAGAIN
btrfs: unlock inode and extent in caller when io_uring read extent fails
[4 lines not shown]
[mlir][linalg] Hoist masked vector transfer pairs (#221481)
This PR completes #220244.
Extend `hoistRedundantVectorTransfers` to hoist `vector.mask`-wrapped
transfer pairs (and lone reads), moving the whole mask op to the loop
boundary and pairing a masked read only with a masked write carrying the
same mask.
Assisted-by: Claude Code (Anthropic)
[GlobalISel] [AArch64] Generate MVN for shift by (N - X) in SelectShiftMask (#226273)
AArch64 shift instructions only use the low log2(ShiftWidth) bits of the
shift amount. When shifting by N-X where N == -1 mod ShiftWidth, this is
equivalent to shifting by ~X, so we can generate a NOT (MVN) instead of
a SUB from a constant.
For example, shl x, (sub 63, y) becomes shl x, mvn(y).
This implements both SelectionDAG and GlobalISel. The SelectionDAG side
uses ORNWrr/ORNXrr with the zero register; the GlobalISel side builds
the same in the ComplexPattern renderer and constrains its operands with
constrainSelectedInstRegOperands.
Part of the incremental work tracked in #224245 to replace
tryShiftAmountMod with ComplexPattern-based isel.
[AMDGPU][GlobalISel] Legalize bf16 for fadd, fmul, fma, fsub, fmin, fmax, and fcanonicalize (#227901)
Legalize bf16 operations for fadd, fmul, fma, fsub, fmin, fmax, and
fcanonicalize including strict variants.
Promote bf16 to v2bf16 for GFX1250+. Otherwise expand to f32.
Enable testing for GFX9, GFX12 for fmin, fmax, and fsub which was
blocked by a lack of bf16 support.
---------
Signed-off-by: John Lu <John.Lu at amd.com>
[SPIR-V] Fix DebugScope resolving DILexicalBlockFile to DebugCompilationUnit (#228259)
resolveScope() did not handle DILexicalBlockFile, which carries
file/discriminator info. Its SPIR-V counterpart
(DebugLexicalBlockDiscriminator) cannot be used as a scope, so
resolveScope() must unwrap it. When
emitDebugScopeForInstruction() encountered a DILocation whose scope
was a DILexicalBlockFile (wrapping a DISubprogram), resolveScope() fell
through to the compile-unit fallback. This emitted a DebugScope
referencing DebugCompilationUnit instead of DebugFunction, producing
incorrect debug scope resolution.
Fix by unwrapping DILexicalBlockFile to its underlying scope at the top
of resolveScope().
🤖 Generated with [Claude Code](https://claude.com/claude-code)
---------
Co-authored-by: Claude Opus 4.6 (1M context) <noreply at anthropic.com>
x11/xtermcontrol: update to 3.11
2026-08-28 Jess Thrysoee
* Version 3.11
* src/xtermcontrol.c: Fix tmux passthrough of OSC sequences, broken since
the switch to ST terminators in 3.5; setting colors and title works
under tmux again.
* src/xtermcontrol.c: Never hang or crash on truncated or malformed query
replies; report an error instead. Strip control characters from
reported values so a hostile terminal cannot inject escape sequences.
* src/xtermcontrol.c: get-title: accept BEL-terminated replies.
* src/xtermcontrol.c: Exit nonzero when a query fails. Report invalid
--geometry arguments instead of silently ignoring them.
[19 lines not shown]
[clang][OpenMP] Add strided-loop SPMD kernel promotion
A target teams distribute parallel for is only promoted when every
iteration is guaranteed a thread. Without the oversubscription
assumptions, or with a num_teams clause, it is emitted as nested
worksharing loops, while Flang runs the same region as a grid-stride
loop.
Promote these kernels too, so the loop body strides across the grid,
and tag them SPMD_STRIDED_LOOP so the launch can be told apart from
plain SPMD. This allows teams loop and target teams loop to always get
optimized. Since those can carry lastprivate(conditional:), the
promoted path has to track it.
x11/xdotool: update to 4.20260303.1
v4.20260303.1
A small bugfix-only release that corrects two regressions introduced in the previous version:
XSendEvent now correctly sets the modifier mask when sending key
combinations. This was a regression introduced in the previous release
(#495, #505)
Keystroke delays less than 50ms should work now correctly; type and key
commands were affected. This was a regression introduced in the previous
release. (#496, #498, #506)
v4.20251130.1
Fix bug in typing/keyboard causing xdotool to send extra modifier
keys in certain cases. When xkeyboard-config 2.46 is installed,
xdotool would send incorrect key sequences for function keys, for
example incorrectly sending "Alt + F3" when F3 was requested. (#491, PR #493)
[13 lines not shown]
sysutils/onefetch: update to 3.0.0
Breaking Changes
JSON/YAML output (-o json, -o yaml) now contains raw values instead of display text:
creationDate and lastChange are always ISO 8601 timestamps ("2018-09-14T18:51:00Z"). Previously they were relative text ("8 years ago") unless --iso-time was passed.
repoSize is a number of bytes (2161012) instead of formatted text ("2.06 MiB").
dependencies is replaced by numberOfDependencies (number) and manifestType ("Cargo", "Npm", "PyProject", or null when there is no manifest).
onefetch-manifest crate: ManifestType has a new PyProject variant.
Security Fix
Fix terminal escape sequence injection through repository data (CVE-2026-100866) By @carfeii in #1829
New Features
Add pyproject.toml manifest support (PEP 621) by @ChrisJr404 in #1842
Update Elixir colors to the official brand color by @georgeguimaraes in #1868
[9 lines not shown]