[Bug ipa/114790] ICE when building intel-compute-runtime (error: direct call to ... speculative call sequence has no speculative flag)

2024-04-21 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114790 --- Comment #10 from Andrew Pinski --- (In reply to Andrew Pinski from comment #9) > Created attachment 58003 [details] > t2.cc > > `gcc -Wfatal-errors -fvisibility=hidden -shared t1.cc t2.cc -o t.so -fPIC > -O2 -flto=1 -flto-partition=1to1 -w`

[Bug ipa/114790] ICE when building intel-compute-runtime (error: direct call to ... speculative call sequence has no speculative flag)

2024-04-21 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114790 --- Comment #9 from Andrew Pinski --- Created attachment 58003 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=58003&action=edit t2.cc `gcc -Wfatal-errors -fvisibility=hidden -shared t1.cc t2.cc -o t.so -fPIC -O2 -flto=1 -flto-partition=1t

[Bug ipa/114790] ICE when building intel-compute-runtime (error: direct call to ... speculative call sequence has no speculative flag)

2024-04-21 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114790 --- Comment #8 from Andrew Pinski --- Created attachment 58002 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=58002&action=edit t1.cc

[Bug ipa/114790] ICE when building intel-compute-runtime (error: direct call to ... speculative call sequence has no speculative flag)

2024-04-21 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114790 --- Comment #7 from Sam James --- `g++-14 -fPIC -O2 -flto -flto-partition=1to1 -shared -Wl,--version-script=ze.exports reduced-a.ii reduced-b.ii` it violates ODR though: ``` /usr/lib/gcc/x86_64-pc-linux-gnu/14/../../../../x86_64-pc-linux-gnu/bi

[Bug ipa/114790] ICE when building intel-compute-runtime (error: direct call to ... speculative call sequence has no speculative flag)

2024-04-21 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114790 --- Comment #6 from Sam James --- Created attachment 58001 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=58001&action=edit reduced-b.ii

[Bug ipa/114790] ICE when building intel-compute-runtime (error: direct call to ... speculative call sequence has no speculative flag)

2024-04-21 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114790 --- Comment #5 from Sam James --- Created attachment 58000 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=58000&action=edit reduced-a.b

[Bug ipa/114790] ICE when building intel-compute-runtime (error: direct call to ... speculative call sequence has no speculative flag)

2024-04-20 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114790 --- Comment #4 from Sam James --- I'm going to kick off a reduction but don't count on me either, as I hate doing LTO ones.