https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116507
--- Comment #3 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
(In reply to Zdenek Sojka from comment #2)
> Created attachment 59597 [details]
> ugly testcase failing in {*movhi_aarch64}
>
> I am not creating a separate PR for this, since the testcase is quite long,
> but it might be useful for you.
That is a different and unrelated issue.
>
> $ aarch64-unknown-linux-gnu-gcc -O2 -ffast-math testcase.c -w
> testcase.c: In function 'foo0':
> testcase.c:36:1: error: insn does not satisfy its constraints:
> 36 | }
> | ^
> (insn 46 190 191 2 (set (reg:HI 4 x4 [172])
> (mem/v/j/c:HI (plus:DI (reg/f:DI 6 x6 [96])
> (const_int -257 [0xfffffffffffffeff])) [1 +0 S2 A8]))
> "testcase.c":21:17 68 {*movhi_aarch64}
> (nil))
> during RTL pass: reload
> testcase.c:36:1: internal compiler error: in extract_constrain_insn, at
> recog.cc:2783
> 0x270564e internal_error(char const*, ...)