[Bug driver/114717] '-fcf-protection' vs. offloading compilation

2024-04-15 Thread tschwinge at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114717 --- Comment #5 from Thomas Schwinge --- Distributions injecting some '-fcf-protection' by default could also inject '-foffload-options=amdgcn-amdhsa=-fno-cf-protection' (or similar) to keep the default case of offloading compilation working,

[Bug driver/114717] '-fcf-protection' vs. offloading compilation

2024-04-15 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114717 --- Comment #4 from Richard Biener --- (In reply to Andrew Stubbs from comment #3) > Can this be filtered (safely) in mkoffload? That tool is > offload-target-specific, so no problem with "if offload target were to > support it". Yes, I think

[Bug driver/114717] '-fcf-protection' vs. offloading compilation

2024-04-15 Thread ams at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114717 --- Comment #3 from Andrew Stubbs --- Can this be filtered (safely) in mkoffload? That tool is offload-target-specific, so no problem with "if offload target were to support it".

[Bug driver/114717] '-fcf-protection' vs. offloading compilation

2024-04-15 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114717 Richard Biener changed: What|Removed |Added Keywords||lto Last reconfirmed|

[Bug driver/114717] '-fcf-protection' vs. offloading compilation

2024-04-15 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114717 Andrew Pinski changed: What|Removed |Added URL|https://github.com/gcc-mirr |