https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90103
--- Comment #1 from Claudiu Zissulescu <claziss at gmail dot com> --- Probably,this patch needs to be backported: [ARC] Update fma expansions. Accept at most a single constant for fma patterns. gcc/ 2018-03-21 Claudiu Zissulescu <claz...@synopsys.com> * config/arc/fpu.md (fmasf4): Force operand to register. (fnmasf4): Likewise. gcc/testsuite 2018-03-21 Claudiu Zissulescu <claz...@synopsys.com> * gcc.target/arc/fma-1.c: New test. SVN: 261543