Fields

hardware None
os None

Parameters

Fields

NameValue

Parameters

NameValue
git_commit commit 9965f3d337bba09fbf2497a78123957fdaee0ffa
Author: Damien L-G <dalg24@gmail.com>
Date: Mon Apr 7 15:25:45 2025 -0400

[libc++] Improve diagnostic when violating `std::atomic` trivially copyable mandates (#131754)

When attempting to instantiate `std::atomic` with a non trivially
copyable type, one gets errors from instantiating internals before the
actual static assertion that check the template parameter type
requirements.

The `verify` test for it had a `// ADDITIONAL_COMPILE_FLAGS: -Xclang
-verify-ignore-unexpected=error` directive to work around this issue.
The changes I propose enable us to drop that directive.
As I understand it, the `verify` test was misplaced so I moved it to
`test/{std -> libcxx}/atomics`.

(I ran into this while working on #121414 in which we would add another
static assertion in `__check_atomic_mandates`)
Filter

ldionne-old-macbook-results test results

Run Order Start Time Duration
Current 533266 2025-12-16T16:40:01 0:00:00
Previous 532231 2025-12-16T16:40:01 0:00:00
Baseline 485288 2025-12-16T16:40:01 0:00:00


Tests Summary

Status Group # # (B)
Performance Improvements 1 0
Added Tests 1 18
Unchanged Tests 88 72
Total Tests 90

Performance Improvements - execution_time Δ Previous Current σ Δ (B) σ (B)
748_flightdm_r -1.34% 8.998 8.877 - 0.00% -

Added Tests - execution_time
735_gem5_r

Added Tests - execution_time
706_stockfish_r
707_ntest_r
709_cactus_r
710_omnetpp_r
721_gcc_r
723_llvm_r
727_cppcheck_r
729_abc_r
731_astcenc_r
734_vpr_r
735_gem5_r
736_ocio_r
737_gmsh_r
748_flightdm_r
750_sealcrypto_r
753_ns3_r
766_femflow_r
767_nest_r


Report Time: 0.09s