Skip to content

Do i++ and ++i Really Produce the Same Instructions? ​

i++ and ++i differ by one character in source, but their story at the instruction level is longer. This topic compiles one source file at -O0 and -O2 and compares the outputs, pinning down exactly where the side effect happens.

pdf-latest-41-gc317b3f · c317b3f · 2026-10-24