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/107679] New: [13 Regression] ICE in maybe_register_def, at tree-into-ssa.cc:1914
Date: Mon, 14 Nov 2022 17:25:23 +0000	[thread overview]
Message-ID: <bug-107679-4@http.gcc.gnu.org/bugzilla/> (raw)

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

            Bug ID: 107679
           Summary: [13 Regression] ICE in maybe_register_def, at
                    tree-into-ssa.cc:1914
           Product: gcc
           Version: 13.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: fortran
          Assignee: unassigned at gcc dot gnu.org
          Reporter: gscfq@t-online.de
  Target Milestone: ---

Started between 20220918 and 20220925, at -O1+ :
(gcc configured with --enable-checking=yes)


$ cat z1.f90
subroutine s1(x)
   integer, intent(out) :: x
end
subroutine s2(z)
   integer, value :: z
   call s1(z)
end


$ cat z2.f90
subroutine s1(x)
   integer, intent(out) :: x
   x = 3
end
subroutine s2(z)
   integer, value :: z
   call s1(z)
end


$ gfortran-13-20221106 -c z1.f90 -O2
during GIMPLE pass: ccp
z1.f90:7:3:

    7 | end
      |   ^
internal compiler error: in maybe_register_def, at tree-into-ssa.cc:1914
0xffb188 maybe_register_def
        ../../gcc/tree-into-ssa.cc:1914
0xffb188 rewrite_update_stmt
        ../../gcc/tree-into-ssa.cc:2063
0xffb188 rewrite_update_dom_walker::before_dom_children(basic_block_def*)
        ../../gcc/tree-into-ssa.cc:2236
0x1cce2a7 dom_walker::walk(basic_block_def*)
        ../../gcc/domwalk.cc:311
0xff80e9 rewrite_blocks
        ../../gcc/tree-into-ssa.cc:2296
0xfff24e update_ssa(unsigned int)
        ../../gcc/tree-into-ssa.cc:3581
0x11f022e execute_update_addresses_taken()
        ../../gcc/tree-ssa.cc:2177
0xe47700 execute_function_todo
        ../../gcc/passes.cc:2066
0xe480b2 execute_todo
        ../../gcc/passes.cc:2145

             reply	other threads:[~2022-11-14 17:25 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-11-14 17:25 gscfq@t-online.de [this message]
2022-11-14 18:07 ` [Bug fortran/107679] " anlauf at gcc dot gnu.org
2022-11-14 18:22 ` anlauf at gcc dot gnu.org
2022-11-16 12:55 ` [Bug middle-end/107679] " rguenth at gcc dot gnu.org
2022-11-16 16:07 ` cvs-commit at gcc dot gnu.org
2022-11-17  7:50 ` 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-107679-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).