10797 Commits
Author SHA1 Message Date
github-actions[bot]andCompiler Explorer Bot 0efecfe616 [bot] Update browsers list (#8531)
Automatic run of `npm run-update-browerslist` which needs to
 be done periodically to keep in-date.
See
[here](https://github.com/browserslist/browserslist#browsers-data-updating)
for more details.

Co-authored-by: Compiler Explorer Bot <mattgodbolt@users.noreply.github.com>
gh-17536
2026-03-12 22:19:16 +00:00
Eczbek ae03e46d1f Update RSL library info (#8545)
Some renaming happened

Also see https://github.com/compiler-explorer/infra/pull/2021
gh-17535
2026-03-12 22:18:52 +00:00
Johan Engelen 79a598ac36 Add LDC 1.42.0 and make it the default D compiler (#8533)
Infra: https://github.com/compiler-explorer/infra/pull/2013
gh-17534
2026-03-12 22:18:22 +00:00
Hayden Gray cd03966a95 [odin] added dev-2026-03 (#8535)
adds the latest dev release of odin

depends on: https://github.com/compiler-explorer/infra/pull/2015
gh-17533
2026-03-12 22:18:01 +00:00
Tony Cook 5317aa4d31 Perl 5.42.1 (#8546)
Update perl "compiler" and C/C++ library entries

Requires https://github.com/compiler-explorer/infra/pull/2022
gh-17532
2026-03-12 22:17:22 +00:00
Evan 2f17de9b35 Switch GitHub sponsor links from Matt to compiler-explorer org (#8554)
Matt's [sponsor page](https://github.com/sponsors/mattgodbolt) has a
clear disclaimer to sponsor the project at
https://github.com/sponsors/compiler-explorer instead. This just makes
that one less step for people looking to support this amazing project.
gh-17530
2026-03-12 20:49:10 +00:00
PartoufandClaude Opus 4.6 9587f5423f Add no-amend and no-force-push rules to CLAUDE.md
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
gh-17525
2026-03-12 03:55:10 +01:00
PartoufandClaude Opus 4.6 2bdd2b95f7 Also add absl_log_internal_message to re2 dependencies
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
gh-17524
2026-03-12 03:53:40 +01:00
PartoufandClaude Opus 4.6 229856d6bb Add abseil dependency to re2 lib to fix link order
Closes #8421

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
gh-17523
2026-03-12 03:46:07 +01:00
Patrick Quist dae89c29a3 Change nanobench path to src/include
Updated the path for nanobench version 4311 from include to src/include.
gh-17522
2026-03-12 03:28:47 +01:00
Partouf 90af36cdee windows lib update gh-17520 2026-03-11 22:41:34 +01:00
Patrick Quist 935132b5ad Add C++ library yaml_cpp vyaml-cpp-0.9.0 (#8521) gh-17519 2026-03-11 22:14:22 +01:00
Odysseas Georgoudis 8f004f3aff add quill v11.1.0 (#8543) 2026-03-11 21:48:39 +01:00
Patrick Quist bfbdf2934f Add C++ library miniz v3.1.1 (#8520) gh-17516 2026-03-11 21:47:35 +01:00
Patrick Quist 9908ebca73 Add C++ library named v0.0.8 (#8514) gh-17514 2026-03-11 21:46:45 +01:00
Patrick Quist f7da910ade Add C++ library backward_cpp v1.6 (#8513) gh-17512 2026-03-11 21:45:56 +01:00
Patrick Quist ff7cc2bf37 Add C++ library nanobench v4.3.11 (#8512) gh-17510 2026-03-11 21:45:11 +01:00
Patrick Quist 58df4c722f Add C++ library frozen v1.2.0 (#8511) gh-17508 2026-03-11 21:44:20 +01:00
Patrick Quist 98968cbc93 Add C++ library fastmod v0.1.0 (#8510) gh-17506 2026-03-11 21:43:29 +01:00
Patrick Quist bf47c26cc7 Fix libdivide path in amazon.properties
Updated the path for libdivide version 530.
gh-17504
2026-03-11 21:42:34 +01:00
Patrick Quist ee3e261bb3 Make libs= property optional via auto-discovery (#8552) gh-17503 2026-03-11 21:40:54 +01:00
Patrick Quist 06db344061 Add C++ library libdivide v5.3.0 (#8509) gh-17497 2026-03-11 18:59:03 +01:00
Patrick Quist 731a7bdcf4 Add C++ library re2 v2025-07-17 (#8508) gh-17495 2026-03-11 18:45:49 +01:00
Miguel Ojeda 1e0d72d710 Rust 1.94.0 (#8530)
Infra: https://github.com/compiler-explorer/infra/pull/2012.

Signed-off-by: Miguel Ojeda <ojeda@kernel.org>
gh-17470
2026-03-06 08:44:23 +01:00
dependabot[bot] 370fdea8f8 Bump immutable from 5.1.4 to 5.1.5 (#8538) gh-17469 2026-03-05 11:53:13 +01:00
dependabot[bot] acbdcded42 Bump svgo from 4.0.0 to 4.0.1 (#8539) gh-17468 2026-03-05 11:52:50 +01:00
Eczbek e554f4a974 Add library rsl-util (#8541)
Also see https://github.com/compiler-explorer/infra/pull/2017
gh-17467
2026-03-04 21:47:39 -06:00
Matt Godbolt (bot acct)andmattgodbolt-molty e5fdc3be9b feat: add 'Compile' option to Ctrl+S behaviour setting (#8537)
Fixes #8536.

Adds a new **Compile** option to the *Ctrl+S behaviour* selector in
Settings (alongside the existing Save / Short Link / Reformat / Do
nothing options).

When selected, Ctrl+S behaves identically to Ctrl+Enter: it calls
`maybeEmitChange()` and, if compile-on-change is disabled, explicitly
fires `requestCompilation`.

*(I'm Molty, an AI assistant acting on behalf of @mattgodbolt)*

---------

Co-authored-by: mattgodbolt-molty <mattgodbolt-molty@users.noreply.github.com>
gh-17458
2026-03-04 14:27:09 -05:00
Marc Auberer 631b0f10e9 [Spice] Add version 0.24.4 (#8523)
Infra PR: https://github.com/compiler-explorer/infra/pull/2003
gh-17439
2026-02-27 21:29:48 -05:00
Thomas Padioleau 0e9c3c86dc Update Kokkos library versions in properties file (#8525)
Related to https://github.com/compiler-explorer/infra/pull/2005.
gh-17438
2026-02-27 21:28:35 -05:00
Cliff Burdick 6b4451b881 Add CCCL 3.3.0 (#8527) gh-17437 2026-02-27 21:27:58 -05:00
Alastair Murray d4aef5fb1e Update Mojo default example to compile with nightly and 0.26.1.0 (#8526)
Recent compilers do not allow parametric functions to be exported, so
remove the keyword. Note that this means the function now gets inlined
with default optimization levels.
gh-17436
2026-02-27 21:18:09 -05:00
Patrick QuistandClaude Opus 4.6 305156c0a4 fix: allow plus signs in property key names and values (#8485)
## Summary
- Fixes the property parser regex to allow `+` in key names (e.g.
`abc+def=etc`)
- The regex from #8387 used `[^=+]+` for key matching, which excluded
`+` from key names entirely
- Changed to a lazy `.+?` match so `+` is only treated as the `+=`
operator when immediately before `=`

This is a small targeted fix and does not address all edge cases with
the `+=` syntax.

## Test plan
- [x] Added test: `abc+def=etc` correctly sets key `abc+def` to `etc`
- [x] Added test: `abc=def+ghi` correctly sets key `abc` to `def+ghi`
- [x] All existing `+=` append tests continue to pass

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
gh-17435
2026-02-27 21:10:47 -05:00
Jonathan Coates e21749ea2b Update labelReference regex to match LLVM IR syntax (#8491)
A `catchswitch` instruction has the form:

    catchswitch within none [label %catch.start] unwind to caller

The LLVM IR parser then extracts the labels out of this expression.
However, the regex is too greedy, and (incorrectly) matches
`%catch.start]`. We update the regex to match what LLVM's lexer does.
The [language reference](https://llvm.org/docs/LangRef.html#identifiers)
states that quoted identifiers can include `\xx` escapes, however as far
as I can tell [that is *not*
true](https://github.com/llvm/llvm-project/blob/413cafa4624eb37e586e266f44abd64896e1c598/llvm/lib/AsmParser/LLLexer.cpp#L391-L421),
so I have elected not to support them.

For the following program (targetting WASM, compiled with
`-fwasm-exceptions`):

```c
void bar(int x);

void foo() {
    try {
        bar(1);
    } catch(int x) {
    }
}
```

**Before:**

<img width="1492" height="411" alt="A CFG of the above program. The
catch block is entirely disconnected from the main part of the graph."
src="https://github.com/user-attachments/assets/ad9038cc-f372-4109-bc25-328537bcea88"
/>

**After:**

<img width="1286" height="639" alt="A CFG of the above program. The
catch block is now correctly connected to the rest of the graph."
src="https://github.com/user-attachments/assets/27cce7b3-dd67-4c1c-928c-93f7eaa53fa2"
/>
gh-17434
2026-02-27 20:59:37 -05:00
someone12469 2dab371c98 Add clang fork for P3822 (conditional noexcept in requirements) (#8494)
see also https://github.com/compiler-explorer/clang-builder/pull/104,
https://github.com/compiler-explorer/compiler-workflows/pull/54,
https://github.com/compiler-explorer/infra/pull/1984
gh-17433
2026-02-27 20:52:52 -05:00
Blake Ledden 05f60761ad Remove unused AsmResultLink type and links field (#8365)
The `links` field in `ParsedAsmResultLine` and the `AsmResultLink` type
have been unused since 2019 when clickable address links were replaced
by the labels system. This just removes the dead code.

Closes #8251
gh-17432
2026-02-27 20:49:32 -05:00
Marc Auberer 1f58adcdc1 LLVM + Clang 22.1.0 (#8524)
Make the newly released LLVM and Clang 22.1.0 available in Compiler
Explorer

Infra PR: https://github.com/compiler-explorer/infra/pull/2004
gh-17431
2026-02-28 00:34:31 +01:00
Matt Godbolt (bot acct)andmattgodbolt-molty b35398e471 Fix nasm default output format to elf64 (#8502)
Fixes #8273

The default NASM output format was `elf` (32-bit ELF), causing a
spurious `64-bit unsigned relocation zero-extended from 32 bits
[-w+zext-reloc]` warning when using 64-bit addressing (which is the
common case on CE's x86-64 infrastructure).

Changed the default to `elf64`. Users who explicitly need 32-bit ELF
output can still pass `-felf` to override.

*(I'm Molty, an AI assistant acting on behalf of @mattgodbolt)*

Co-authored-by: mattgodbolt-molty <mattgodbolt-molty@users.noreply.github.com>
gh-17407
2026-02-23 07:17:25 -06:00
Partouf 9ae16f889f go fix on large asm output gh-17406 2026-02-23 14:02:44 +01:00
Matt Godbolt (bot acct)andmattgodbolt-molty 20505fba5a Filter NVCC fatbinData label from assembly output (#8506)
*(I'm Molty, an AI assistant acting on behalf of @mattgodbolt)*

Closes #5178

## Problem

NVCC embeds the CUDA fat binary blob in the host-side x86 assembly
inside a `#APP`/`#NO_APP` inline-assembly block, under a label called
`fatbinData`. In a realistic kernel this can be 100+ lines of `.quad`
hex values — a wall of noise before any user-readable code.

Example: https://godbolt.org/z/W3YMcq8oY

## Fix

Per-compiler pre-processing step in `NvccCompiler.processAsm()`: before
the host assembly reaches the ASM parser, any `#APP`/`#NO_APP` block
containing a `.nv_fatbin` section is stripped out entirely.

- Only `.nv_fatbin` blocks are removed; genuine user inline-assembly
blocks (which also use `#APP`/`#NO_APP` but without `.nv_fatbin`) are
left intact.
- Intentionally NVCC-specific — no changes to the base `AsmParser`, no
false-positive risk for other compilers.
- Stripping happens before `findUsedLabels` runs, so `fatbinData`
naturally disappears as unreferenced without any special-casing in the
parser's label-filtering logic.
- Gated on the existing Labels filter: with no filters active everything
remains visible; with Labels on the blob disappears.

## Testing

**New compiler unit tests** (`test/compilers/nvcc-tests.ts`):
- Strips `#APP`/`#NO_APP` blocks containing `.nv_fatbin`
- Preserves `#APP`/`#NO_APP` blocks without `.nv_fatbin` (user inline
asm)
- Handles multiple mixed blocks correctly
- No-op when no `#APP` blocks present
- Gracefully handles malformed unclosed blocks

**New parser filter-case**
(`test/filters-cases/nvcc-x86-host-example.asm`): representative NVCC
12.0 host assembly (real 15-line fat binary, boilerplate functions,
`.nvFatBinSegment` section) with nine filter-combination snapshots
documenting parser behaviour in isolation. These correctly show that the
**base parser itself does not filter `fatbinData`** — that's the
compiler pre-processor's job.

All 767 tests pass.

Co-authored-by: mattgodbolt-molty <mattgodbolt-molty@users.noreply.github.com>
gh-17405
2026-02-22 19:46:36 -06:00
Mosè Giordano 8b73b405a0 Add julia v1.12.5 (#8507)
Companion PR to https://github.com/compiler-explorer/infra/pull/1987.
This is to celebrate #8503 😃
gh-17404
2026-02-22 18:36:39 -06:00
Saagar Jha 30ca56cd2d Centralize CORS handling for /api routes (#8504)
This fixes some APIs that were failing due to CORS checks since the
default handler would not respond to OPTIONS preflight requests from the
browser.
gh-17392
2026-02-22 17:29:21 -06:00
Matt Godbolt (bot acct)andmattgodbolt-molty 54572dfa4d Add LLVM IR filters for declarations and library function thunks (#8503)
Closes #6319
Closes #6320

Adds two new opt-in filter checkboxes to the LLVM IR view's **Filters**
dropdown:

### Hide Declarations (off by default)
Filters external function declaration lines (lines starting with
`declare`). These are forward declarations of external functions and are
often noise when focusing on user code.

**Off by default** — as noted in #6319, `declare` lines are part of
valid IR and are needed when copying output into other tools such as
`opt`, `llc`, `alive2`, etc.

### Hide Library Functions (off by default)
Filters compiler-generated library function thunks — specifically
function definitions whose name matches patterns like `@jfptr_*` (used
by Julia). These are boilerplate wrapper functions that aren't useful
when reading IR.

**Off by default** for the same reason — these are real function
definitions in the IR.

Both filters follow the same pattern as existing IR filters (debug info,
metadata, attributes, comments). Unit tests added in
`llvm-ir-parser-tests.ts` covering filter-on, filter-off, and
preservation of unaffected lines.

*(I'm Molty, an AI assistant acting on behalf of @mattgodbolt)*

---------

Co-authored-by: mattgodbolt-molty <mattgodbolt-molty@users.noreply.github.com>
gh-17391
2026-02-22 17:25:36 -06:00
Steve 17d1898b3a Add support for additional compiler options in .NET compilers (#8497)
Today we only support passing options to the codegen backend, but not
the compiler that produces IL.

This change adds a new pseudo-option `-compopt`/`--compiler-options` so
that options follow after this pseudo-option can be passed to the
compiler that produces IL.
gh-17390
2026-02-22 17:09:28 -06:00
Steve ccafabc85a Bump .NET versions (#8496)
Bump .NET version in favor of
https://github.com/compiler-explorer/infra/pull/1971
gh-17389
2026-02-22 17:08:31 -06:00
Matt Godbolt (bot acct)andmattgodbolt-molty ab95e8a644 Fix ex-WINE MSVC compiler sort order (#8500)
Fixes #8006

The ex-WINE compilers were appearing at the **top** of the MSVC compiler
dropdown instead of the bottom, because they used the MSVC compiler
version (`19.xx`) for their semver while native MSVC compilers use the
toolset version (`14.xx`). Since `19.xx > 14.xx`, they sorted as
"newest".

This aligns the ex-WINE semvers to the `14.xx` toolset versioning:
- `19.00.24210` → `14.00.24210` (VS 2015 Update 3)
- `19.10.25017` → `14.10.25017` (VS 2017 RTM)
- `19.14.26423` → `14.14.26423` (VS 2017 15.7)

These now sort correctly before `14.20` (VS 2019 16.0), placing the
ex-WINE compilers at the bottom of the list where they belong.

*(I'm Molty, an AI assistant acting on behalf of @mattgodbolt)*

Co-authored-by: mattgodbolt-molty <mattgodbolt-molty@users.noreply.github.com>
gh-17365
2026-02-21 14:05:51 -06:00
Matt Godbolt (bot acct)andmattgodbolt-molty d05e74eb1d Update llvmDisassembler to clang 19.1.0 (#8498)
Fixes #7493

OneAPI >= 2025.0.0 produces SPIR-V bitcode that clang 18.1.0's
`llvm-dis` can't read, resulting in `Invalid record` errors in the
device viewer. Updating the global `llvmDisassembler` path from clang
18.1.0 to 19.1.0 resolves this while remaining backwards compatible with
older bitcode formats.

Updated in all three properties files:
- `c++.amazon.properties`
- `c.amazon.properties`
- `objc++.amazon.properties`

*(I'm Molty, an AI assistant acting on behalf of @mattgodbolt)*

Co-authored-by: mattgodbolt-molty <mattgodbolt-molty@users.noreply.github.com>
gh-17360
2026-02-21 12:39:23 -06:00
Partouf e6f50e59a7 nsjail documentation gh-17351 2026-02-20 12:54:12 +01:00
Matt Godbolt (bot acct)andmattgodbolt-molty 83b241ae80 feat(cypress): executor, GCC dump, preprocessor, opt remarks, and shortcut tests (#8489)
## Summary

14 new Cypress E2E tests across 5 new spec files, plus shared helpers
extracted to utils.ts.

### New test files

| File | Tests | What it covers |
|------|-------|----------------|
| `execute.cy.ts` | 4 | Executor pane: open, stdout, stderr, non-zero
exit codes |
| `gccdump.cy.ts` | 3 | GCC Tree/RTL dump: open, pass picker, dump
content |
| `pp-view.cy.ts` | 4 | Preprocessor: open, `#define` expansion,
`#include` macro expansion, source change updates |
| `opt-view.cy.ts` | 2 | Optimisation remarks: open, shows remarks with
`-O2` |
| `shortcuts.cy.ts` | 1 | Ctrl+Enter triggers recompilation |

### Shared helpers added to utils.ts

- `openPaneFromCompiler(buttonId)` — generic helper for any compiler
toolbar pane button
- `openExecutor()`, `openGccDump()`, `openPreprocessor()`,
`openOptRemarks()` — convenience wrappers

### Result

- Total test count: 82 (68 existing + 14 new)
- All passing locally and should pass on CI (uses only `gdefault`)

*(I'm Molty, an AI assistant acting on behalf of @mattgodbolt)*

🤖 Generated by LLM (Claude, via OpenClaw)

---------

Co-authored-by: mattgodbolt-molty <mattgodbolt-molty@users.noreply.github.com>
gh-17335
2026-02-18 20:39:27 -06:00
Matt Godbolt (bot acct)andmattgodbolt-molty 0f2928f027 refactor(cypress): extract shared helpers to utils.ts (#8488)
## Summary

Refactors the Cypress test suite to extract common helpers into
`cypress/support/utils.ts`, making it simpler to add new tests.

### Changes

- **Shared helpers extracted to utils.ts**: `findPane()`,
`sourceEditor()`, `compilerOutput()`, `compilerPane()`,
`waitForEditors()`, `setupAndWaitForCompilation()`, `visitPage()`, and
many more
- **New workflow helpers**: `addCompilerFromEditor()`,
`addCompilerFromCompilerPane()`, `openConformanceView()`,
`addConformanceCompiler()`, `openDiffView()`, `allCompilerTabs()`,
`compilerEditorFromTab()`, `compilerPaneFromTab()`,
`lastCompilerContent()`
- **Template literals**: Replaced `.join('\n')` array patterns with
backtick multiline strings
- **Bug fix**: `frontend.cy.ts` hardcoded `localhost:10240` instead of
using `baseUrl` — now uses relative URL
- **Deprecated**: Marked `clearAllIntercepts()` as deprecated with
explanation of why the name is misleading

### Result

- Net reduction of ~110 lines across test files
- All 68 tests pass (7 spec files)
- Adding a new test now typically needs just 3-4 lines of well-named
helper calls
- No changes to test behaviour or coverage

*(I'm Molty, an AI assistant acting on behalf of @mattgodbolt)*

🤖 Generated by LLM (Claude, via OpenClaw)

---------

Co-authored-by: mattgodbolt-molty <mattgodbolt-molty@users.noreply.github.com>
gh-17326
2026-02-18 13:34:46 -05:00