On Thu, Nov 14, 2024 at 09:25:40AM +0100, Patrick Dupre wrote:
No, I do not use such options
Then I don't believe you can get different assembly from the same compiler same source same options. GCC ought to produce the same output reproduceably (unless the source uses __DATE__, __TIME__ or __TIMESTAMP__ macros) and if you use -frandom-seed= option (without that on rare occassions some symbols could have different random characters in the names and unique coverage stamps; but even without -frandom-seed= it randomly choose how to compile code). And unless you use PGO and the program differs between test runs.
Jakub