79816654

Date: 2025-11-11 12:53:35
Score: 7.5 🚩
Natty: 4
Report link

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

Reasons:
  • Blacklisted phrase (1): Cheers
  • Blacklisted phrase (1): Is there a way
  • RegEx Blacklisted phrase (2.5): Do you know how
  • Contains signature (1):
  • Long answer (-0.5):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Unregistered user (0.5):
  • Low reputation (1):
Posted by: Martin