https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96970
Bernhard M. Wiedemann <gccbmw at lsmod dot de> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |gccbmw at lsmod dot de --- Comment #2 from Bernhard M. Wiedemann <gccbmw at lsmod dot de> --- Indeed, -frandom-seed makes it deterministic: rm -f test1.s* for i in 1 2 ; do gcc-10 -frandom-seed=42 -fprofile-arcs -S test1.c -o test1.s.$i done diff -u test1.s.*