-
Notifications
You must be signed in to change notification settings - Fork 15.4k
Closed
Labels
flang:frontendgood first issuehttps://github.com/llvm/llvm-project/contributehttps://github.com/llvm/llvm-project/contribute
Description
Version of flang : 22.0.0(e3af202fd212a66700170717856a8fa9aa7ed426)/AArch64
In the attached program, the article a written between is and not in the compilation error message seems unnecessary.
The following is an excerpt of the message.
error: pointer 'i04_pn01' is associated with the result of a reference to function 'merge' that is a not a pointer
^
The following are the test program, Flang compilation result.
snfg_mktest_216_2.f90:
program main
intrinsic :: merge
integer(kind = 4), pointer :: i04_pn01(:)
i04_pn01 => merge(i04_pn01,i04_pn01,.true.)
end program main$ flang snfg_mktest_216_2.f90
error: Semantic errors in snfg_mktest_216_2.f90
./snfg_mktest_216_2.f90:4:3: error: pointer 'i04_pn01' is associated with the result of a reference to function 'merge' that is a not a pointer
i04_pn01 => merge(i04_pn01,i04_pn01,.true.)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
./snfg_mktest_216_2.f90:3:37: Declaration of pointer 'i04_pn01'
integer(kind = 4), pointer :: i04_pn01(:)
^^^^^^^^
$
Metadata
Metadata
Assignees
Labels
flang:frontendgood first issuehttps://github.com/llvm/llvm-project/contributehttps://github.com/llvm/llvm-project/contribute
Type
Projects
Status
Done