https://gcc.gnu.org/bugzilla/show_bug.cgi?id=124933

Jakub Jelinek <jakub at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |nickc at gcc dot gnu.org,
                   |                            |ramana at gcc dot gnu.org,
                   |                            |rearnsha at gcc dot gnu.org

--- Comment #9 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
For me the #c3 testcase FAILs to assemble even with r14-1, so I'd say it has
been broken at least as long as _Float16 C++ support was there.
This is movhf_vfp_hf16 insn, alt 7, so I think the =t, Uj case.
(insn 19 80 23 2 (set (reg:HF 31 s15 [orig:122 r ] [122])
        (mem/c:HF (reg/f:SI 2 r2 [120]) [9 r+0 S2 A16])) "pr124933.C":17:54 761
{*movhf_vfp_hf16}
     (expr_list:REG_DEAD (reg/f:SI 2 r2 [120])
        (nil)))

When simplified to C:
_Float16 r;

float
foo ()
{
  return r;
}
this is with
../../obja2/gcc/cc1.r11-1 -quiet -nostdinc -O2 -mthumb -march=armv8.1-m.main+fp
-mfloat-abi=softfp pr124933.c; arm-linux-gnu-as pr124933.s
rejected even with r11-1 (but some gcc 10 development snapshots already
rejected armv8.1-m.main+fp).

Reply via email to