On 6/6/19 1:32 AM, Claudiu Zissulescu wrote: > Hi Andrew, > > This is a proposed fix for bugzilla PR89838 issue. It also needs to be > backported to gcc9 and, eventually, gcc8 branches. > > Ok to apply? > Claudiu > > gcc/ > xxxx-xx-xx Claudiu Zissulescu <claz...@synopsys.com> > > * config/arc/arc.c (arc_symbol_binds_local_p): New function. > (arc_legitimize_pic_address): Simplify and cleanup the function. > (SYMBOLIC_CONST): Remove. > (prepare_pic_move): Likewise. > (prepare_move_operands): Handle complex mov cases here. > (arc_legitimize_address_0): Remove call to > arc_legitimize_pic_address. > (arc_legitimize_address): Remove call to > arc_legitimize_tls_address. > * config/arc/arc.md (movqi_insn): Allow Cm3 match. > (movhi_insn): Likewise. > > /gcc/testsuite > xxxx-xx-xx Claudiu Zissulescu <claz...@synopsys.com> > > * gcc.target/arc/pr89838.c: New file. OK.
THe BZ mentions that this was found building a glibc test for ARC. Is there a glibc port for the ARC? I don't see one in the glibc git repo. Are you aware of any plans to produce an official glibc port. I believe building glibc is a hell of a better sniff test than building newlib. So if it's in the plan, I'd love to re-wire my tester to test with glibc rather than newlib on the ARC port. jeff