https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91576
Bug ID: 91576 Summary: [10 Regression] error: invalid conversion in gimple call since r272749 Product: gcc Version: 10.0 Status: UNCONFIRMED Keywords: ice-on-valid-code Severity: normal Priority: P3 Component: lto Assignee: unassigned at gcc dot gnu.org Reporter: marxin at gcc dot gnu.org CC: hubicka at gcc dot gnu.org, marxin at gcc dot gnu.org Target Milestone: --- Since the revision I see the following problem: $ c++ -O2 -flto=160 -g -Wl,--as-needed -Wl,--no-undefined -Wl,-z,now -rdynamic main.cpp.o -o zynaddsubfx libzynaddsubfx_core.a libzynaddsubfx_nio.a libzynaddsubfx_gui_bridge.a libzynaddsubfx_gui.a librtosc-cpp.a librtosc.a /home/abuild/rpmbuild/BUILD/zynaddsubfx-3.0.4/src/Containers/NotePool.cpp: In member function ‘activeDesc’: /home/abuild/rpmbuild/BUILD/zynaddsubfx-3.0.4/src/Containers/NotePool.cpp:126:31: error: invalid conversion in gimple call struct constActiveDescIter struct activeDescIter # .MEM_4 = VDEF <.MEM_3(D)> retval.6 = activeDesc (this_2(D)); [tail call] during GIMPLE pass: fixup_cfg /home/abuild/rpmbuild/BUILD/zynaddsubfx-3.0.4/src/Containers/NotePool.cpp:126:31: internal compiler error: verify_gimple failed 0xcd4991 verify_gimple_in_cfg(function*, bool) /home/marxin/Programming/gcc/gcc/tree-cfg.c:5427 0xbb3cef execute_function_todo /home/marxin/Programming/gcc/gcc/passes.c:1983 0xbb4a9e execute_todo /home/marxin/Programming/gcc/gcc/passes.c:2037 Please submit a full bug report, with preprocessed source if appropriate. Please include the complete backtrace with any bug report. See <https://gcc.gnu.org/bugs/> for instructions. make: *** [/tmp/ccSTbGbQ.mk:62: /tmp/zynaddsubfx.hmz7Il.ltrans20.ltrans.o] Error 1 make: *** Waiting for unfinished jobs.... lto-wrapper: fatal error: make returned 2 exit status compilation terminated. /usr/bin/ld: error: lto-wrapper failed collect2: error: ld returned 1 exit status Steps to reproduce: - download object files from: https://drive.google.com/file/d/1qbtRbWA5_Y7gmksU1BvU7HBjkmu6Rmg0/view?usp=sharing - build r274961 w/o ZSTD! - run the command line option I'll try to reduce that