[Bug tree-optimization/118149] [15 regression] ICE when building lsp-plugins-1.2.14 (mmap: Cannot allocate memory in forwprop) since r15-5563

cmuellner at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Fri Dec 20 14:01:31 GMT 2024


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

Christoph Müllner <cmuellner at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Last reconfirmed|                            |2024-12-20
             Status|UNCONFIRMED                 |ASSIGNED
     Ever confirmed|0                           |1

--- Comment #8 from Christoph Müllner <cmuellner at gcc dot gnu.org> ---
Thanks for reporting!

I've analyzed this, and indeed, this got fixed with the recent fix for
PR117830.

When calculating the lane allocation for the blended sequence, we did:
      while (lane_assignment[l] != 0)
        l++;
That got fixed so that we won't access out of bounds.

I've sent a patch that adds the reduced testcase to the test suite.


More information about the Gcc-bugs mailing list