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

Reply via email to