https://gcc.gnu.org/bugzilla/show_bug.cgi?id=124038
--- Comment #6 from GCC Commits <cvs-commit at gcc dot gnu.org> --- The master branch has been updated by Tamar Christina <[email protected]>: https://gcc.gnu.org/g:cd0bab746909a76e5cb724fba8c7f4ddb194207a commit r16-7454-gcd0bab746909a76e5cb724fba8c7f4ddb194207a Author: Tamar Christina <[email protected]> Date: Wed Feb 11 11:36:50 2026 +0000 middle-end: partially revert fix for PR123898 after fix for PR123940 [PR124038] There were two mutually incompatible changes reviewed and merged around the same time for different issues in convert_mult_to_fma. the change in r16-7353 keeps result in it's unpromoted form and deals with it as such but the change in r16-7304 expects it to be in it's promoted form. This causes the assert to fail again and the SVE testcase I added before to fail. Since the value is now kept in it's unpromoted form, and result is not used as any LHS side, I've partially reverted the convert stripping to make use of it. gcc/ChangeLog: PR tree-optimization/124038 * tree-ssa-math-opts.cc (strip_nop_view_converts): Remove. (convert_mult_to_fma): Undo stripping. gcc/testsuite/ChangeLog: PR tree-optimization/124038 * gcc.target/riscv/rvv/pr124038.c: New test.
