https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90193
Andrew Pinski <pinskia at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |ubizjak at gmail dot com
Component|inline-asm |target
Target Milestone|--- |8.4
--- Comment #3 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
This is a target issue ...
I think is the insn and split which causes the problem:
(define_insn_and_split "*add_tp_<mode>"
[(set (match_operand:PTR 0 "register_operand" "=r")
(plus:PTR
(unspec:PTR [(const_int 0)] UNSPEC_TP)
(match_operand:PTR 1 "register_operand" "0")))
(clobber (reg:CC FLAGS_REG))]
""
"#"
""
[(parallel
[(set (match_dup 0)
(plus:PTR (match_dup 1) (match_dup 2)))
(clobber (reg:CC FLAGS_REG))])]
{
addr_space_t as = DEFAULT_TLS_SEG_REG;
operands[2] = gen_const_mem (<MODE>mode, const0_rtx);
set_mem_addr_space (operands[2], as);
})
Which was introduced/changed in r251075.