https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104072
--- Comment #4 from Andrew Pinski <pinskia at gcc dot gnu.org> --- (In reply to Andreas Schwab from comment #3) > FAIL: test-error-register-variable-size-mismatch.c.exe iteration 1 of 5: > verify_code: actual: "invalid register name for 'global_variable'" != > expected: "data type of 'global_variable' isn't suitable for a register" Yes looks like a testcase issue. What target is from? r12 is sometimes a valid register name but not always.