https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108718
Jakub Jelinek <jakub at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Priority|P3 |P2 Summary|csmith: possible bad code |[10/11/12/13 Regression] |with -O2 |csmith: possible bad code | |with -O2 Target Milestone|--- |10.5 CC| |rguenth at gcc dot gnu.org --- Comment #2 from Jakub Jelinek <jakub at gcc dot gnu.org> --- Seems the testcase allows to be called with argument 1 and in that case it prints verbose output, which between r11-1351^ and r11-1351 at -O2 differs starting with: --- 1 2023-02-08 09:10:13.000000000 -0500 +++ 2 2023-02-08 09:10:22.000000000 -0500 @@ -48,1210 +48,1210 @@ index = [2][2] index = [2][3] ...checksum after hashing g_5[i][j].f4 : ADCB0EBF index = [2][4] -...checksum after hashing g_5[i][j].f4 : C953D56F +...checksum after hashing g_5[i][j].f4 : 367D9AB8 index = [2][5] -...checksum after hashing g_5[i][j].f4 : 37A7B1F1 +...checksum after hashing g_5[i][j].f4 : 7EFE68AE index = [2][6] -...checksum after hashing g_5[i][j].f4 : A0619D0A +...checksum after hashing g_5[i][j].f4 : 6C5E59F1 The only changes in optimized dump as well as in assembly are in main.