[Bug middle-end/105469] "execution reached an unreachable program point" with -flto since r5-7027-g0b986c6ac777aa4e

2022-05-11 Thread remi.coulom at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105469 --- Comment #14 from Rémi Coulom --- Thanks for investigating the bug. Can you recommend a workaround at this point? I don't want to tell users of the library to change their compilation options, so I tried this in class Client_Data: #ifdef _

[Bug middle-end/105469] "execution reached an unreachable program point" with -flto

2022-05-04 Thread remi.coulom at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105469 --- Comment #2 from Rémi Coulom --- (In reply to Richard Biener from comment #1) > I can reproduce what you observe with -O3 -fwhole-program > -fsanitize=unreachable > (without the sanitize it gets into an infinite loop). -fno-ipa-cp-clone > av

[Bug c++/105469] New: "execution reached an unreachable program point" with -flto

2022-05-03 Thread remi.coulom at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105469 Bug ID: 105469 Summary: "execution reached an unreachable program point" with -flto Product: gcc Version: 13.0 Status: UNCONFIRMED Severity: normal P