[flang-commits] [flang] [flang][docs] Add an FAQ about an executable stack (PR #171241)
Tarun Prabhu via flang-commits
flang-commits at lists.llvm.org
Mon Dec 15 02:37:50 PST 2025
================
@@ -0,0 +1,52 @@
+<!--===- docs/FAQ.md
+
+ Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
+ See https://llvm.org/LICENSE.txt for license information.
+ SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
+
+-->
+
+# Frequently Asked Questions (FAQ)
+
+```{contents}
+---
+local:
+---
+```
+
+## Driver
+
+### Why do I get a warning or an error about an executable stack?
+
+This occurs because Flang's implementation of pointers to internal procedures requires an executable stack.
+
+An internal procedure has a "host scope", which is the scope surrounding it.
----------------
tarunprabhu wrote:
```suggestion
An internal procedure has a "host scope", which is the scope in which it is contained.
```
https://github.com/llvm/llvm-project/pull/171241
More information about the flang-commits
mailing list