Reported issues for Compiler Explorer
Pod holds 16 of 16 problems reported by people outside the maintainer team. Issues filed by the project's own owners, members and collaborators are excluded entirely — a maintainer's release checklist is not a warning to a prospective user.
Back to Compiler Explorer.
Most discussed
[REQUEST]: Add Profile-Guided Optimization (PGO) support
Is your feature request related to a problem? Please describe
I am doing a research / promoting Profile-Guided Optimization (PGO) usage across different projects (mostly open-source). As you can see in the repository above, there are multiple benchmarks across different kinds of software where I compare "PGO vs non-PGO" performance.
But from time to time, people ask me about smaller examples where PGO shines. And I think showing these kinds of
Read the thread · 2023-08-24 · closed · external user · 4 comments
[REQUEST]: Consider adding C-Reduce as tool for creating minimal bug reproducers
Is your feature request related to a problem? Please describe
I often use CE to triage suspected compiler bugs and create a minimal reproducer. Crafting a minimal reproducer for esoteric compiler bugs is an art form that can take a lot of effort. It would be nice to have tooling that helps automate the process of simplifying repros.
C-Reduce is a tool designed exactly for this problem:
C-Reduce is a tool that takes a large C, C++, or Ope
Read the thread · 2023-03-07 · open · outside contributor · 4 comments
[BUG]: cc65 output is broken
Describe the bug
Selecting any cc65 target produces incorrect assembly output.
It looks like you are using da65 to disassemble the output created by cc65, which happens to be an assembler ("text") file, not a binary. This can obviously not work :)
I see the intend of why this is done - BUT, unfortunately, da65 does not work as you think it does - it can NOT disassemble object files created by the compiler. So even if you changed the compile step to produce an object file, da65 could s
Read the thread · 2022-11-10 · open · external user · 3 comments
[LIB REQUEST]: OpenBLAS
Library name
OpenBLAS
Library description
OpenBLAS is an optimized BLAS (Basic Linear Algebra Subprograms) library based on GotoBLAS2 1.13 BSD version.
Library repository
https://github.com/xianyi/OpenBLAS
Motivation
I've been attempting to teach the usage of basic HPC libraries, of which OpenBLAS is one of the largest. Serving as one of the easiest to use references for linear algebra implementations in SIMD, it also serves to teach how seemingly serial code can be vector
Read the thread · 2022-03-04 · open · external user · 3 comments
[LANGUAGE REQUEST]: Dart, the language with AOT used by Flutter
Compiler name
Dart
Compiler version
latest
Compiler language
Dart
Compiler homepage
https://dart.dev/overview#native-platform or https://dart.dev/
Motivation
Dart is the language used by Flutter. Flutter is a popular cross-platform rapid-development mobile framework, and many many many people are using it to develop apps. (For example, I have written >100kloc of Dart code to develop my Flutter app).
As we know, performance is very critical for mobile apps, since p
Read the thread · 2021-11-07 · closed · external user · 4 comments
[BUG] "Adding a new library" docs point to non-existent wiki page
Describe the bug
In the latest revision - b5d340abb80d7315495eaf710afe38bccf8f32c4 - the "Putting it all together" section of "Adding a new library" - says to "update the wiki" - linking to this URL:
Read the thread · 2021-03-29 · closed · outside contributor · 6 comments
[REQUEST] Support executing Windows binaries
CE has wine to run cl.exe, so it should also be possible to run Windows executables after compiling
This will also help running C++/CLI binaries after installing .NET Core or mono. Currently there are very few places that you can try C++/CLI code online
Read the thread · 2020-03-07 · closed · outside contributor · 13 comments
[LIB REQUEST] Add ULib Library (C++)
Hey! I think ULib (https://github.com/stefanocasazza/ULib) would be a great library to add. Is there some formal way to submit this request?
Read the thread · 2017-10-10 · closed · external user · 8 comments
Most recent
[REQUEST]: Translate LLVM webassembly output to machine code with wasmtime
Is your feature request related to a problem? Please describe
I'd like to see, when a given program (in e.g. rust, c, zig) is compiled to webassembly, what machine code that generates with wasmtime.
Also for wasmtime development, being able to quickly check how a piece of c/rust/zig code gets optimized would be incredibly useful.
Describe the solution you'd like
The process involves these steps:
- save the LLVM webassembly output (note: this is not .wasm, which is a binary forma
Read the thread · 2025-04-15 · open · external user · 0 comments
[COMPILER REQUEST]: RISC-V binutils & RISC-V simulator (Spike) & RISC-V Proxy Kernel
Compiler name
RISC-V binutils and Spike and RISC-V Proxy Kernel
Compiler version
trunk rv64gc, 1.1.0 Spike, 1.0.0 RISC-V Proxy Kernel
Compiler language
Assembly, RISC-V code
Compiler homepage
https://www.gnu.org/software/binutils/, https://github.com/riscv-software-src/riscv-isa-sim, https://github.com/riscv-software-src/riscv-pk
Motivation
Be able to compile asm code into binary and run the compiled code on the RISC-V simulator - Spike or on a just-enough kernel -
Read the thread · 2023-01-01 · open · external user · 1 comment
[COMPILER REQUEST]: TI ARM compiler tools (armcl)
Compiler name
TI Arm® C/C++ Compiler Tools
Compiler version
ARM-20.2.7.LTS
Compiler language
C and C++
Compiler homepage
https://www.ti.com/tool/ARM-CGT
Motivation
This is one of two compiler toolchains for ARM that come with TI Code Composer Studio. It is used for TI's ARM microcontrollers such as the popular Tiva series. The other is tiarmclang (#4479)
Read the thread · 2022-12-21 · closed · outside contributor · 1 comment
[REQUEST]: Add clang internal generation of SPIR-V
Is your feature request related to a problem? Please describe
Clang currently generates SPIR-V binaries natively w/o the use of external tools such as llvm-spirv. It would be good to use this new flow in CE but however it doesn't come in standard installation of clang and needs to be enabled by a new build flag: -DLLVM_EXPERIMENTAL_TARGETS_TO_BUILD=SPIRV in cmake. The main reason for this is that it̀s incomplete.
Describe the solution you'd like
It would be possible to modify the cu
Read the thread · 2022-12-01 · open · outside contributor · 1 comment
[REQUEST]: support core, stg and cmm output from GHC
Is your feature request related to a problem? Please describe
GHC can produce some intermediary outputs (like GCC and Rust). It would be nice if those could be optionally captured!
Describe the solution you'd like
Under the tools dropdown menu there would be choice like LLVM IR, MIR output etc that pops up a new pane.
Describe alternatives you've considered
I currently pass ex -ddump-stg flags to the compiler and look at the output window.
Additional context
_No response
Read the thread · 2022-04-26 · closed · outside contributor · 2 comments
[REQUEST]: Support executionWrapper options
Is your feature request related to a problem? Please describe
I'm using compiler-explorer with an execution simulator, so when you "run" the program it actually runs it through a simulator. It works great using executionWrapper=my_simulator, however my_simulator has lots of command line options you can set, e.g. for instruction tracing.
As far as I can see there is currently no way to provide extra options so it would run e.g. my_simulator --trace the_binary.
I imagine this migh
Read the thread · 2021-11-03 · open · outside contributor · 1 comment
[REQUEST] Add tool: Valgrind
I am often sharing small code snippets to demonstrate memory leaks using CE, and it would be great if I can directly invoke valgrind on these code snippets.
Add a valgrind to a list of supported tools.
Read the thread · 2020-02-17 · open · external user · 3 comments
What is the right way of using Google Test library?
I have noticed that there is Google Test library support. Tried to make a simple example:
#include <gtest/gtest.h>
#include <range/v3/all.hpp>
TEST(RangeV3, Sort) {
std::array<int, 5> data{0, 1, 2, 3, 4};
ranges::sort(data);
EXPECT_EQ(data[0], 0);
}
int main(int argc, char* argv[]) {
::testing::InitGoogleTest(&argc, argv);
return RUN_ALL_TESTS();
}
As a result, got a bunch of `undefined reference to
Read the thread · 2019-12-25 · closed · external user · 1 comment
The remaining reports are on the project's issue tracker.