[Bug tree-optimization/108500] [11/12/13 Regression] -O -finline-small-functions results in "internal compiler error: Segmentation fault" on a very large program (700k function calls)

rguenth at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Tue Jan 24 12:36:11 GMT 2023


Richard Biener <rguenth at gcc dot gnu.org> changed:

           What    |Removed                     |Added
            Summary|-O -finline-small-functions |[11/12/13 Regression] -O
                   |results in "internal        |-finline-small-functions
                   |compiler error:             |results in "internal
                   |Segmentation fault" on a    |compiler error:
                   |very large program (700k    |Segmentation fault" on a
                   |function calls)             |very large program (700k
                   |                            |function calls)
   Target Milestone|---                         |11.4
      Known to work|                            |10.4.0, 7.5.0, 9.3.1

--- Comment #7 from Richard Biener <rguenth at gcc dot gnu.org> ---
It works with GCC 10 for me but I'm sure that makes it a regression only
because of the size of the testcase, it still inlines everything and removes
1399835 blocks.

More information about the Gcc-bugs mailing list