- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi.
The following code causes an ICE with both ifort and ifx (but compiles just fine with gfortran):
module mod1
implicit none
type :: address
character(:), allocatable :: line1
end type
type :: user
character(:), allocatable :: username
type(address), allocatable :: addresses(:)
end type
type(user) :: root
contains
subroutine init
root = user('root', [address ::])
end subroutine
end module
Compiler versions:
ifx version 2023.1.0
ifort version 2021.9.0
Link Copied
3 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
@jwmwalrus, kudos for reporting this ICE! I filed a bug report, CMPLRLLVM-48558. Will let you know when a fix is available.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
@jwmwalrus, the ICE is melted for both ifx and ifort with the compilers that were released this week. Please try them out!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi.
Thanks for the follow-up.
Yes, I can confirm that with the latest version the ICE is gone.
Thanks again.
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