- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
[Note: I am reposting this since the original post seems to have been overlooked.]
Using ifort version: 18.0.0.20170811
Test program:
module ifort18_bug
implicit none
TYPE A
type(B),pointer :: w1=> null(),w2 => null()
END TYPE A
type B
integer :: i
end type
end module
Compiling gives:
edison06:~/ifort18_bug cmayes $ifort -c bad3.f90
bad3.f90(5): error #6404: This name does not have a type, and must have an explicit type. [W1]
type(B),pointer :: w1=> null(),w2 => null()
------------------------^
compilation aborted for bad3.f90 (code 1)
Note: The bug happens when w1 and w2 are on the same line. When you put them on separate lines there is no error.
Link Copied
1 Reply
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Probably best to submit this through the online service portal.
Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page