================
@@ -1687,6 +1700,7 @@ void CompilerInvocation::setLoweringOptions() {
   const Fortran::common::LangOptions &langOptions = getLangOpts();
   loweringOpts.setIntegerWrapAround(langOptions.getSignedOverflowBehavior() ==
                                     Fortran::common::LangOptions::SOB_Defined);
+  loweringOpts.setStackArrays(codegenOpts.StackArrays);
----------------
tblah wrote:

Not for this PR but it doesn't look right to me that stack arrays is in both 
lowering and codegen opts

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

Reply via email to