How to debug lto failures

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello,

I've run into LTO-related ICEs on both gcc-15 and 14, but I don't know how
to contribute a meaningful bugreport, as I don't know where the failure occurs:

during IPA pass: inline
In function '_M_erase.isra':
lto1: internal compiler error: in record_argument_state, at
ipa-param-manipulation.cc:2122

The source is at [1], branch "test1-imguifiledialog", built with the
following compiler flags (cmake):
CXXFLAGS="-O3 -ggdb3 -gdwarf-5 -march=znver3 -mtune=znver3 -pipe
-flto=16" CFLAGS="-O3 -ggdb3 -gdwarf-5 -march=znver3 -mtune
=znver3 -pipe -flto=16"

It works with gcc-13.

Thanks!
      Manuel

[1] https://github.com/mlauss2/TheForceEngine.git



[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux