[COMPILER REQUEST]: WebAssembly GCC
Author: feedab1eCreated Jun 15, 2026Updated Aug 16, 2026
Labelsnew-compilersrequest
Compiler name
WebAssembly GCC
Compiler version
17.0.1
Compiler language
C
Compiler homepage
https://gcc.gnu.org/wiki/WebAssemblyBackend
Motivation
Although this is not yet merged, it would be nice to give people a taste of the new in-progress wasm port of GCC.
Unlike LLVM, which emits it's own ".s" flavor of wasm, this port emits real certified WAT, with annotations to accommodate LLVM's linking spec. The port otherwise tries to be conformant to existing LLVM's ABI, and therefore can be used alongside code compiled with Clang.
Source: compiler-explorer/compiler-explorer