I've maybe a follow up question. Currently, the default OpenMP version in GCC 15.2.0 is still 201511 ... i.e. 4.5. Is there a way to change that?
LLVM allows for the flag -fopenm-version=60 for switching to OpenMP version 6.0. Despite ChatGPT's claim, gcc does not accept this command-line option.
Do you know how this can be accomplished in GCC? Does one have to change something in the sources and rebuild GCC? I've tried setting _OPENMP to 202111 e.g. in different places, and rebuild GCC. But without success, yet.
Any idea is very welcome.
Cheers, Martin