Support for Flang effort

Thanks for those detailed explanation. It’s no wonder we get confused…

Now considering the discussion about changing the name flang or flang-new to yet another name, the risk is to add more confusion… Is Ffrend fiend? :grin:

I understand your concern. Do not forget you also need:
-qno-openmp-simd -no-simd

With 2023, our compiler team decided that SIMD directives should be processed even at -O0. You have to explicitly turn it off with the above options. I fought this, I think it’s a bad idea. I continue fighting to change this.

I like the idea of getting Fortran Standard semantics by default, no SIMD unless you enable it EXPLICITLY with -qopenmp-simd and -simd for OMP SIMD and our Intel proprietary directives SIMD respectively.

I would propose Standard Semantics by default O0 through O2. At O3, I think it’s probably expected that it could be turned off and allow all possible optimizations. Do you agree?

I am taking your note back to our planning teams and I’ll see if I can make IFX more safe out of the box. I agree that is a good goal.

8 Likes