Inline assembly
Assembly instructions written directly into C, C++ or Rust source, in between ordinary statements.
The compiler does not understand the instructions, so it treats the block as a black box and has to be told what goes on inside. GCC's extended syntax, asm("…" : outputs : inputs : clobbers), uses constraints such as "=r" to describe which registers the block reads and writes, and "memory" to warn that it may touch memory. Forget a clobber and the code works at -O0 and breaks at -O2, once the register allocator starts believing what you wrote.
MSVC had the simpler __asm { } syntax but dropped it entirely for x64, pointing people at intrinsics instead. Rust stabilised asm! in 2022. Most of what once demanded inline assembly, SIMD in particular, is now better done with intrinsics.