Files
compiler-explorer/static
PartoufandClaude Opus 5 d89c838957 Take the target from the flags CE aims a compiler with
Every clang is a cross compiler, so its version banner names only the target it
was built to default to. CE's fleet is largely one clang binary entered many
times with a different `-target` each time, and that flag is the entry's whole
point: it is the exact statement of what the compiler is for, where the banner
is the host it happens to run on.

So read the configured flags first, the banner second, and the instruction set
last, each believed only where it agrees with the instruction set CE reports.

This is a correctness fix, not a tidier spelling. `armv7-clang1000` is
configured for `arm-linux-gnueabi`, where the instruction set alone had it laid
out as `gnueabihf` — soft float against hard. The MIPS clangs name their width
and endianness exactly (`mipsel-elf`, `mips64el-elf`), which no instruction set
of ours distinguishes. 837 of the 1197 C++ compilers on godbolt.org now get a
named target, up from 793.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01CUKb6LjSf9n471RNQyBKtY
2026-09-04 01:03:50 +02:00
..
2025-10-28 09:45:26 +01:00
2026-06-02 12:19:29 -05:00
2026-07-02 18:26:35 +01:00
2026-06-02 12:19:29 -05:00
2025-07-28 10:34:46 -05:00
2025-04-24 12:10:37 -05:00