public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "gscfq@t-online.de" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug fortran/103139] [12 Regression] ICE in fold_convert_loc, at fold-const.c:2573
Date: Tue, 09 Nov 2021 07:23:51 +0000	[thread overview]
Message-ID: <bug-103139-4-dYJ3nOG7MX@http.gcc.gnu.org/bugzilla/> (raw)
In-Reply-To: <bug-103139-4@http.gcc.gnu.org/bugzilla/>

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103139

G. Steinmetz <gscfq@t-online.de> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|ice-on-invalid-code         |ice-on-valid-code

--- Comment #1 from G. Steinmetz <gscfq@t-online.de> ---

It is accepted by gfortran/ifort/ifx if the assignment 
in t3(x=x) is replaced by a direct assignment
(example from comment #0 is also accepted by ifort/ifx)


$ cat z2.f90
program p
   type t
   end type
   type, extends(t) :: t2
   end type
   type(t) :: x = t()
   type(t2) :: y = t2()
   class(t), allocatable :: z
   z = x
   z = y
   z = x
   z = y
end

  reply	other threads:[~2021-11-09  7:23 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-11-08 18:43 [Bug fortran/103139] New: " gscfq@t-online.de
2021-11-09  7:23 ` gscfq@t-online.de [this message]
2021-11-09  8:35 ` [Bug fortran/103139] [12 Regression] ICE in fold_convert_loc, at fold-const.c:2573 since r12-4464-g017665f63047ce47 marxin at gcc dot gnu.org
2021-11-09 11:24 ` rguenth at gcc dot gnu.org
2022-05-06  8:31 ` [Bug fortran/103139] [12/13 " jakub at gcc dot gnu.org
2023-05-08 12:23 ` [Bug fortran/103139] [12/13/14 " rguenth at gcc dot gnu.org

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=bug-103139-4-dYJ3nOG7MX@http.gcc.gnu.org/bugzilla/ \
    --to=gcc-bugzilla@gcc.gnu.org \
    --cc=gcc-bugs@gcc.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).