[prev in list] [next in list] [prev in thread] [next in thread]
List: gcc-bugs
Subject: [Bug fortran/114874] [14/15 Regression] ICE with select type, type is (character(*)), and substring
From: "pault at gcc dot gnu.org via Gcc-bugs" <gcc-bugs () gcc ! gnu ! org>
Date: 2024-04-30 17:19:15
Message-ID: bug-114874-4-WZwDKaTKoE () http ! gcc ! gnu ! org/bugzilla/
[Download RAW message or body]
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114874
--- Comment #6 from Paul Thomas <pault at gcc dot gnu.org> ---
(In reply to anlauf from comment #3)
> Adding Paul, hoping that he can tell what changed for SELECT TYPE recently.
Needless to say, the regression is caused by r14-9489.
I have a fix that regtests OK but causes a regression in an, as yet, untested
corner:
subroutine foobar
type :: t
integer :: i
end type
class(*), allocatable :: c
c = t (1)
select type (c)
type is (t)
if (c(1)%i .ne. 1) stop 5 ! This now ICEs
end select
end
My efforts have been interrupted by a failure of make-install, which seems to
happen every few months. I rather think that I should go back to magnetic
drives, rather than SSD.
It will now have to wait until tomorrow.
Paul=
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic