llvm-project/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
..
FIR [Flang] Fix path strings in CreateFIRLangRef.py 2022-07-13 15:29:14 +00:00
_static
_templates [Flang] Fix formatting for FIRLangRef.html 2022-07-11 18:46:52 +00:00
_themes/llvm-theme
ArrayComposition.md
BijectiveInternalNameUniquing.md
C++17.md
C++style.md [NFC][flang] Inclusive language: remove instances of master 2021-11-25 15:11:10 -06:00
CMakeLists.txt [Flang] Generate documentation for compiler flags 2022-07-22 17:05:04 +00:00
Calls.md
Character.md
ControlFlowGraph.md
Directives.md
DoConcurrent.md
Extensions.md [flang] Better error message for NULL() actual argument for dummy allocatable 2022-07-25 10:09:55 -07:00
FIRArrayOperations.md [fir] Add array operations documentation 2022-01-21 09:56:54 +01:00
FlangDriver.md [flang][driver] Remove references to the `flang` bash script 2022-06-06 13:05:18 +00:00
FortranFeatureHistory.md [flang] (NFC) Document Fortran feature history 2021-04-22 11:24:22 -07:00
FortranForCProgrammers.md
FortranIR.md [NFC][flang] Inclusive language: remove instances of master 2021-11-25 15:11:10 -06:00
FortranLLVMTestSuite.md [flang][test-suite] Document need for NO_STOP_MESSAGE environment variable. NFC 2022-06-03 08:19:10 +00:00
GettingInvolved.md [flang] Update Google Doc link for Flang Biweekly Sync call notes 2022-04-29 12:35:01 -06:00
IORuntimeInternals.md
ImplementingASemanticCheck.md [flang][driver] Delete `f18` (i.e. the old Flang driver) 2021-08-05 12:57:15 +00:00
IntrinsicTypes.md [flang] Document the Intrinsic Types 2022-07-13 11:21:01 -07:00
Intrinsics.md [flang] Add failed_images to list of intrinsics and add test 2022-06-14 14:13:33 -07:00
LabelResolution.md
ModFiles.md
OpenMP-4.5-grammar.md
OpenMP-semantics.md
OptionComparison.md
Overview.md [flang][driver] Delete `f18` (i.e. the old Flang driver) 2021-08-05 12:57:15 +00:00
ParserCombinators.md [flang] Avoid spurious warnings in pedantic mode from FORMAT items 2022-07-06 18:54:11 -07:00
Parsing.md [flang] Add nonfatal message classes 2022-03-08 11:40:45 -08:00
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
compiler_driver.png [Flang][driver] Update the docs 2021-11-08 17:54:46 +00:00
conf.py
doxygen-mainpage.dox
doxygen.cfg.in [NFC] Inclusive Language: change master to main for .chm files 2021-11-08 08:23:04 -06:00
f2018-grammar.md
flang-c-style.el [Branch-Rename] Fix some links 2021-02-01 16:43:21 +05:30
frontend_driver.png [Flang][driver] Update the docs 2021-11-08 17:54:46 +00:00
index.md [Flang] Generate documentation for compiler flags 2022-07-22 17:05:04 +00:00