[Bug target/123524] [16 Regression] 6% performance regression in gcc-16 compared to gcc-15 when compiling an interpreter

pinskia at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Wed Feb 4 17:52:22 GMT 2026


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

--- Comment #12 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
(In reply to mikulas from comment #11) 
> The inability to generate scaled addressing modes due to
> __builtin_assume_aligned is still there.

That just adds a reg-reg copy to the rtl. So if fwprop is not handling that,
then it needs to be improve. 

      NEXT_PASS (pass_cse);
      NEXT_PASS (pass_rtl_fwprop);
      NEXT_PASS (pass_rtl_cprop);

Maybe cprop should before fwprop or fwprop needs to do a copyprop too ..


More information about the Gcc-bugs mailing list