llvm/flang/docs
Peter Klausler 85a40ce6dd [flang] Better error message for NULL() actual argument for dummy allocatable
f18 intentionally does not support the spottily-implemented language extension
in which one can pass NULL() for an allocatable dummy argument.  This is perhaps
a sanctioned side effect in other compilers of the fact that they pass distinct
"base address" and "descriptor address" physical arguments.

Make the error message in this case more specific to the circumstances, and
add a note to Extensions.md to clarify that this behavior is intended.

(We could, with some effort in lowering, support passing NULL for an INTENT(IN)
allocatable dummy, but let's see whether such nonconforming usage appears
in a real application before spending any more time on it.)

Differential Revision: https://reviews.llvm.org/D130380
2022-07-25 10:09:55 -07:00
..
_static
_templates [Flang] Fix formatting for FIRLangRef.html 2022-07-11 18:46:52 +00:00
_themes/llvm-theme
FIR [Flang] Fix path strings in CreateFIRLangRef.py 2022-07-13 15:29:14 +00:00
ArrayComposition.md
BijectiveInternalNameUniquing.md
C++17.md
C++style.md
Calls.md
Character.md
CMakeLists.txt [Flang] Generate documentation for compiler flags 2022-07-22 17:05:04 +00:00
compiler_driver.png
conf.py
ControlFlowGraph.md
Directives.md
DoConcurrent.md
doxygen-mainpage.dox
doxygen.cfg.in
Extensions.md [flang] Better error message for NULL() actual argument for dummy allocatable 2022-07-25 10:09:55 -07:00
f2018-grammar.md
FIRArrayOperations.md
flang-c-style.el
FlangDriver.md [flang][driver] Remove references to the flang bash script 2022-06-06 13:05:18 +00:00
FortranFeatureHistory.md
FortranForCProgrammers.md
FortranIR.md
FortranLLVMTestSuite.md [flang][test-suite] Document need for NO_STOP_MESSAGE environment variable. NFC 2022-06-03 08:19:10 +00:00
frontend_driver.png
GettingInvolved.md [flang] Update Google Doc link for Flang Biweekly Sync call notes 2022-04-29 12:35:01 -06:00
ImplementingASemanticCheck.md
index.md [Flang] Generate documentation for compiler flags 2022-07-22 17:05:04 +00:00
Intrinsics.md [flang] Add failed_images to list of intrinsics and add test 2022-06-14 14:13:33 -07:00
IntrinsicTypes.md [flang] Document the Intrinsic Types 2022-07-13 11:21:01 -07:00
IORuntimeInternals.md
LabelResolution.md
ModFiles.md
OpenMP-4.5-grammar.md
OpenMP-semantics.md
OptionComparison.md
Overview.md
ParserCombinators.md [flang] Avoid spurious warnings in pedantic mode from FORMAT items 2022-07-06 18:54:11 -07:00
Parsing.md
Preprocessing.md
PullRequestChecklist.md
ReleaseNotes.md [clang][flang] Disable defaulting to -fpie for LLVM Flang 2022-06-29 07:53:06 +00:00
RuntimeDescriptor.md
RuntimeTypeInfo.md
Semantics.md