================
@@ -952,6 +954,9 @@ void Flang::ConstructJob(Compilation &C, const JobAction 
&JA,
           << A->getSpelling() << A->getValue();
       break;
     }
+  } else {
+    Args.AddLastArg(CmdArgs, options::OPT_fopenmp_simd,
----------------
mrkajetanp wrote:

Yes, that's correct. If openmp is already enabled with -fopenmp then it should 
have no effect.

https://github.com/llvm/llvm-project/pull/150269
_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to