Thanks for using Compiler Explorer
Jakt
C++
Ada
Analysis
Android Java
Android Kotlin
Assembly
C
C3
Carbon
C++ (Circle)
CIRCT
Clean
CMake
CMakeScript
COBOL
C++ for OpenCL
MLIR
Cppx
Cppx-Blue
Cppx-Gold
Cpp2-cppfront
Crystal
C#
CUDA C++
D
Dart
Elixir
Erlang
Fortran
F#
GLSL
Go
Haskell
HLSL
Hook
Hylo
IL
ispc
Java
Julia
Kotlin
LLVM IR
LLVM MIR
Modula-2
Nim
Objective-C
Objective-C++
OCaml
OpenCL C
Pascal
Pony
Python
Racket
Ruby
Rust
Snowball
Scala
Solidity
Spice
SPIR-V
Swift
LLVM TableGen
Toit
TypeScript Native
V
Vala
Visual Basic
WASM
Zig
Javascript
GIMPLE
Ygen
c source #1
Output
Compile to binary object
Link to binary
Execute the code
Intel asm syntax
Demangle identifiers
Verbose demangling
Filters
Unused labels
Library functions
Directives
Comments
Horizontal whitespace
Debug intrinsics
Compiler
AArch64 (Morello compiler)
Hybrid CHERI-MIPS
Hybrid CHERI-RISCV64
Hybrid Morello
MIPS (without CHERI)
Purecap CHERI-MIPS
Purecap CHERI-RISCV64
Purecap Morello
RISCV64 (without CHERI)
Options
Source code
#include <stddef.h> struct pair { void *p; long l; }; extern int use_pair(struct pair); void pass_pair() { struct pair p = {NULL, 1}; use_pair(p); } struct pair_with_fp { void *p; double d; }; extern int use_pair_with_fp(struct pair_with_fp); void pass_pair_with_fp() { struct pair_with_fp p = {NULL, 1}; use_pair_with_fp(p); }
Become a Patron
Sponsor on GitHub
Donate via PayPal
Source on GitHub
Mailing list
Installed libraries
Wiki
Report an issue
How it works
Contact the author
CE on Mastodon
About the author
Statistics
Changelog
Version tree