https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94506
Hauke Mehrtens <g...@hauke-m.de> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|WAITING |RESOLVED Resolution|--- |INVALID --- Comment #3 from Hauke Mehrtens <g...@hauke-m.de> --- This was not a bug in GCC, but in the kernel. The kernel was not taking care of hazards between mtc0 and mfc0, so a bit set in the c0_status register was overwritten later on. This problem only happened with some orderings of the instructions, this made it looks like it depends on the GCC version. See here for details: https://www.spinics.net/lists/stable/msg399099.html