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/103389] New: [9/10/11/12 Regression] ICE in estimate_move_cost, at tree-inline.c:4191
Date: Tue, 23 Nov 2021 18:55:30 +0000	[thread overview]
Message-ID: <bug-103389-4@http.gcc.gnu.org/bugzilla/> (raw)

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

            Bug ID: 103389
           Summary: [9/10/11/12 Regression] ICE in estimate_move_cost, at
                    tree-inline.c:4191
           Product: gcc
           Version: 12.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: fortran
          Assignee: unassigned at gcc dot gnu.org
          Reporter: gscfq@t-online.de
  Target Milestone: ---

Starts with r7 (changed in r9 between 20190127 and 20190203) :


$ cat z1.f90
program p
   type t
      real, allocatable :: a(:)
   end type
   type(t) :: y
   call s((y))
contains
   subroutine s(x)
      class(*) :: x
   end
end


$ gfortran-9-20190127 -c z1.f90
$
$ gfortran-12-20211121 -c z1.f90
during GIMPLE pass: local-fnsummary
z1.f90:6:14:

    6 |    call s((y))
      |              ^
internal compiler error: in estimate_move_cost, at tree-inline.c:4191
0xdccbff estimate_move_cost(tree_node*, bool)
        ../../gcc/tree-inline.c:4191
0xdcd054 estimate_num_insns(gimple*, eni_weights*)
        ../../gcc/tree-inline.c:4421
0xb2c7fc analyze_function_body
        ../../gcc/ipa-fnsummary.c:2746
0xb2f6cf compute_fn_summary(cgraph_node*, bool)
        ../../gcc/ipa-fnsummary.c:3191
0xb2fe4c compute_fn_summary_for_current
        ../../gcc/ipa-fnsummary.c:3221
0xb2fe4c execute
        ../../gcc/ipa-fnsummary.c:4829

             reply	other threads:[~2021-11-23 18:55 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-11-23 18:55 gscfq@t-online.de [this message]
2021-11-23 18:55 ` [Bug fortran/103389] " gscfq@t-online.de
2021-11-24  8:36 ` [Bug fortran/103389] [9/10/11/12 Regression] ICE in estimate_move_cost, at tree-inline.c:4191 since r9-5784-ga3df90b9672562d0 marxin at gcc dot gnu.org
2021-11-24  8:52 ` rguenth at gcc dot gnu.org
2022-05-27  9:46 ` [Bug fortran/103389] [10/11/12/13 " rguenth at gcc dot gnu.org
2022-06-28 10:47 ` jakub at gcc dot gnu.org
2023-05-16  5:37 ` [Bug fortran/103389] [10/11/12/13/14 " cvs-commit at gcc dot gnu.org
2023-05-16  5:49 ` pault 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-103389-4@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).