[flang] Turn -Werror back off for Flang build (#175689)
Different build environments are picking up warnings that my testing
didn't expose; turn -Werror back off.
(And also delete an unused data member that was triggering some MSVC
warnings.)
[RISCV] Use LD_RV32/SD_RV32 for spills and reloads when Zilsd is enabled (#153595)
We are currently only using `PseudoRV32ZdinxSD/LD` for spills and
reloads when the register class is `GPRPairRegClass` . However, we can
use `LD_RV32/SD_RV32` when the `Zilsd` extension is enabled and certain
alignment requirements are met.
[Darwin] [compiler-rt] Normalize DYLD_LIBRARY_PATH to workaround LD bug (#175685)
There is an issue in certain versions of LD which causes the wrong
libLTO to be used if the DYLD_LIBRARY_PATH is not normalized.
Will fix these failures:
```
AddressSanitizer-x86_64-darwin.TestCases/Darwin.odr-lto.cpp
AddressSanitizer-x86_64h-darwin.TestCases/Darwin.odr-lto.cpp
```
https://green.lab.llvm.org/job/llvm.org/job/clang-stage1-cmake-RA-incremental/13428/
rdar://168024431
[flang] Temporarily disabled a check in a test that was breaking buildbots (#175684)
PR https://github.com/llvm/llvm-project/pull/175383 had breaking test
Semantics/OpenMP/linear-clause01.f90
I disabled problematic part of the test for now to let the builds pass.
I will file the issue for PR author to fix the test.
[clang][Tooling] Fix assertion failure when processing CUDA files (#173762)
Running clang-tidy on CUDA files without specifying `--cuda-host-only`
or `--cuda-device-only` would trigger an assertion failure in
`Actions.size() > 1`, a related discussion:
https://github.com/llvm/llvm-project/pull/173699#discussion_r2649279975.
This occurred because the Clang Driver generates a single top-level
`OffloadAction` in `-fsyntax-only`, `-E`, `-M`. This commit removes the
overly strict assertions.
Closes #173777
If joined to an AD or IPA domain the 'domain' field in the network configuration cannot be changed.
Renamed the test_ssh.py CI module to Test_directory_services_basic.py and added a CI test for domain name changing.
[llvm-jitlink] Remove flaky testcase. (#175680)
On some systems, backtraces contain addresses with their high bits set*.
These high bits prevent symbolication using the JIT symbol table. Since
this test is for a best-effort debugging / diagnosis tool it seems best
to remove the test until/unless we can get it passing on all systems, or
find some way to identify systems that will fail.
See discussion in https://github.com/llvm/llvm-project/pull/175537.
* Note that the test does not use PAC or pointer tagging -- the high
bits are coming from somewhere else. Possibly libunwind, but that is
just speculation.
devel/gamin: Unbreak and improve port
* Update MASTER_SITES and WWW
* Rework port Makefile to follow porters handbook more closely
Initial patch submitted by mew14930xvi
PR: 292327
Reported by: Evgenii Khramtsov <2khramtsov at gmail.com>
treewide: Remove references to USES= fam and move to LIB_DEPENDS
Only a handful of ports in tree uses this helper which
used to make a switch between devel/fam and devel/gamin more
convenient. With devel/fam going away there's no need to maintain
this any further for a handful of ports.
Approved by: blanket
Mk/Uses/fam.mk: Remove helper
Only a handful of ports in tree uses this helper which
used to make a switch between devel/fam and devel/gamin more
convenient. With devel/fam going away there's no need to maintain
this any further for a handful of ports.
security/zeek: security/zeek: Update to 8.0.5
https://github.com/zeek/zeek/releases/tag/v8.0.5
This release fixes the following bugs:
- The to_subnet() built-in function's parsing of IPv6 subnets was
changed to align with how IPv6 subnet literals are parsed in
Zeek scripts.
- Zeek now reports a better error message when a table constructor
is called without square brackets around the keys.
- ssl.log will now correctly report certificate fingerprints when
a protocol error is encountered after certificates are passed,
but before the connection is logged.
- An unbounded growth issue was fixed with Zeek's internal regex
engine, which caused excessive memory usage when constructing
[16 lines not shown]
[flang] Add missing module file hashes (#175636)
The compiler emits "!need$" lines to module files only for modules
needed by the module's outermost scope, but misses dependences on other
modules that might be USE'd in inner scopes.
Fixes https://github.com/llvm/llvm-project/issues/175611.
[flang] Fix spurious NaN result from infinite Kahan summation (#175373)
There are six instances of Kahan's extended precision summation
algorithm in flang/flang-rt, and they share a bug: the calculation of
the correction value produces a Nan due to the subtraction Inf-Inf after
the accumulation saturates to Inf. This leads to the surprising Nan
result from SUM([Inf, 0.]).
This bug doesn't affect run-time calculation of SUM when optimization is
enabled -- lowering emits an open-coded SUM that lacks Kahan summation
-- but it does affect compilation-time folding and -O0 runtime results.
Fix the one instance of Kahan summation in the runtime, and consolidate
the other five instances in Evaluate into one new member function, also
corrected.
Fixes https://github.com/llvm/llvm-project/issues/89528.
[flang] Handle useless NAMELIST in interface block (#175214)
NAMELIST has no useful purpose in an interface block, but it's allowed.
Fix a crash due to our deferred handling of NAMELIST groups in the
execution part (which doesn't exist in an interface block).
Fixes https://github.com/llvm/llvm-project/issues/175207.
[flang][NFC] Document that the integrity of parentheses is not violated (#175071)
Add language to flang/docs/Extensions.md to explain why "A+(B*C)" must
round the result of the multiplication, when REAL and the -ffast-math
option is not used.
[llvm][flang] Silence warning, resume -Werror builds of flang (#175053)
Add (void) uses of two parameters to dodge a C++ compiler warning that
has broken -Werror builds of flang since 9-28-25, and restore that
option as the default for flang builds.
[lldb][TypeSystem] Call Type::isIntegralType from TypeSystemClang::IsIntegerType (#175669)
Instead of re-implementing `Type::isIntegralType`, call it explicitly.
This means we get support for `BitIntType` out-of-the-box.
We don't use `IsIntegerType` here because we want to abide by the
language-specific notions of an integer type (which differ between C++
and C).
The slight behaviour change here is that `IsIntegerType` will now treat
complete enumerations as integers in C. This is correct according to the
C standard.
Ninja is very persistent in picking up undeclared dependencies during
package build. For now force-remove the html documentation, until we
find out where exactly that can be disabled during the configuration
phase.
[CIR] Implement simple folding for unary operations (#174882)
This extends the UnaryOp folder to handle plus, minus, and not
operations on constant operands.
This is in preparation for a change that will attempt to fold these
unary operations as they are generated, but this change only performs
the folding via the cir-canonicalize pass.