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/103719] New: [11/12 Regression] ICE in doloop_contained_procedure_code, at fortran/frontend-passes.c:2465
Date: Tue, 14 Dec 2021 18:14:36 +0000	[thread overview]
Message-ID: <bug-103719-4@http.gcc.gnu.org/bugzilla/> (raw)

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

            Bug ID: 103719
           Summary: [11/12 Regression] ICE in
                    doloop_contained_procedure_code, at
                    fortran/frontend-passes.c:2465
           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: ---

Changed between 20200726 and 20200809 :
(gcc configured with --enable-checking=yes)
(presumably related to pr103718)


$ cat z1.f90
program p
   integer :: i
   do i = 1, 2
      call s
   end do
contains
   subroutine s
      integer :: n
      inquire (iolength=n) 0
   end
end


$ gfortran-12-20211212 -c z1.f90
f951: internal compiler error: Segmentation fault
0xf12d1f crash_signal
        ../../gcc/toplev.c:322
0x94ffbd doloop_contained_procedure_code
        ../../gcc/fortran/frontend-passes.c:2465
0x955909 gfc_code_walker(gfc_code**, int (*)(gfc_code**, int*, void*), int
(*)(gfc_expr**, int*, void*), void*)
        ../../gcc/fortran/frontend-passes.c:5337
0x955a87 gfc_code_walker(gfc_code**, int (*)(gfc_code**, int*, void*), int
(*)(gfc_expr**, int*, void*), void*)
        ../../gcc/fortran/frontend-passes.c:5673
0x957e72 doloop_code
        ../../gcc/fortran/frontend-passes.c:2627
0x955909 gfc_code_walker(gfc_code**, int (*)(gfc_code**, int*, void*), int
(*)(gfc_expr**, int*, void*), void*)
        ../../gcc/fortran/frontend-passes.c:5337
0x955a87 gfc_code_walker(gfc_code**, int (*)(gfc_code**, int*, void*), int
(*)(gfc_expr**, int*, void*), void*)
        ../../gcc/fortran/frontend-passes.c:5673
0x956afb doloop_warn
        ../../gcc/fortran/frontend-passes.c:3063
0x95704a gfc_run_passes(gfc_namespace*)
        ../../gcc/fortran/frontend-passes.c:156
0x857657 gfc_resolve(gfc_namespace*)
        ../../gcc/fortran/resolve.c:17573
0x83f954 resolve_all_program_units
        ../../gcc/fortran/parse.c:6586
0x83f954 gfc_parse_file()
        ../../gcc/fortran/parse.c:6842
0x88db0f gfc_be_parse_file
        ../../gcc/fortran/f95-lang.c:216

             reply	other threads:[~2021-12-14 18:14 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-12-14 18:14 gscfq@t-online.de [this message]
2021-12-14 19:34 ` [Bug fortran/103719] " anlauf at gcc dot gnu.org
2021-12-14 20:14 ` cvs-commit at gcc dot gnu.org
2021-12-15 19:35 ` cvs-commit at gcc dot gnu.org
2021-12-15 19:38 ` anlauf 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-103719-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).