- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
This code can be compiled by IFORT, but I recieve a compiler error for IFX:
Subroutine TestDLL (Text)
!DEC$ ATTRIBUTES DLLEXPORT :: TestDLL
!DEC$ ATTRIBUTES REFERENCE :: Text
Implicit None
Character (len=*) :: Text
Character (LEN=1) :: Test = 'A'
Test = Text
Text = 'B'
END
I should also mention that I need to use the /iface:mixed_str_len_arg option for the compilation, i.e.:
ifx /iface:mixed_str_len_arg /c testdll.f90
Version of IFX compiler: (2023.2.0)
Link Copied
4 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thank you for reporting this with a simple reproducer. I filed a bug report, CMPLRLLVM-53658. I'll let you know when it's fixed.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Good news! This is already fixed and should be available in ifx 2024.1 in a few months.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Great. Thank you so much!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
The ICE you reported is fixed in ifx 2024.1.0 that was released last week. Please give it a try.
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