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

Harald Anlauf <anlauf at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
     Ever confirmed|0                           |1
            Summary|LTO ICE in                  |[17 Regression] LTO ICE in
                   |copy_function_or_variable   |copy_function_or_variable
      Known to fail|                            |17.0
   Last reconfirmed|                            |2026-07-08
      Known to work|                            |16.1.1
             Status|UNCONFIRMED                 |NEW
           Keywords|                            |lto, needs-bisection

--- Comment #1 from Harald Anlauf <anlauf at gcc dot gnu.org> ---
Works with 16-branch.

When I compile the 4 modules with version 16 and use 17-mainline in the
last step, I get:

lto1: fatal error: bytecode stream in file 'mod1.o' generated with LTO version
16.0 instead of the expected 17.0
compilation terminated.

Are you sure about the commit you mention?

Reply via email to