public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug fortran/103389] New: [9/10/11/12 Regression] ICE in estimate_move_cost, at tree-inline.c:4191
@ 2021-11-23 18:55 gscfq@t-online.de
  2021-11-23 18:55 ` [Bug fortran/103389] " gscfq@t-online.de
                   ` (6 more replies)
  0 siblings, 7 replies; 8+ messages in thread
From: gscfq@t-online.de @ 2021-11-23 18:55 UTC (permalink / raw)
  To: gcc-bugs

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

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2023-05-16  5:49 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-11-23 18:55 [Bug fortran/103389] New: [9/10/11/12 Regression] ICE in estimate_move_cost, at tree-inline.c:4191 gscfq@t-online.de
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

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).