https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81286
--- Comment #2 from Zdenek Sojka <zsojka at seznam dot cz> --- (In reply to Jakub Jelinek from comment #1) > Created attachment 41666 [details] > gcc7-pr81286.patch > > Untested fix. gpc_reg_operand allows in some cases a SUBREG of a REG, but > REGNO is not valid in that case. I can confirm that I can build both 6-branch and 7-branch with the patch applied.