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/101729] New: ICE in create_tmp_var, at gimple-expr.c:482 Date: Mon, 02 Aug 2021 18:40:42 +0000 [thread overview] Message-ID: <bug-101729-4@http.gcc.gnu.org/bugzilla/> (raw) https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101729 Bug ID: 101729 Summary: ICE in create_tmp_var, at gimple-expr.c:482 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: --- A legacy feature affects versions down to at least r5, at -O2+ : $ cat z1.f90 program p call g(3) end subroutine g(n) integer, intent(in) :: n integer :: i, k = 1 do i = 1, n if ( k /= 0 ) stop 1 call h end do print *, n, k end subroutine h call g(1, *99) call g(2) stop 2 99 stop 3 end $ gfortran-12-20210801 -c z1.f90 -O2 -std=legacy z1.f90:14:17: 14 | call g(1, *99) | 1 Warning: More actual than formal arguments in procedure call at (1) during GIMPLE pass: fnsplit z1.f90:3:3: 3 | end | ^ internal compiler error: in create_tmp_var, at gimple-expr.c:482 0x993db6 create_tmp_var(tree_node*, char const*) ../../gcc/gimple-expr.c:482 0x15aa794 split_function ../../gcc/ipa-split.c:1643 0x15aa794 execute_split_functions ../../gcc/ipa-split.c:1866
next reply other threads:[~2021-08-02 18:40 UTC|newest] Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top 2021-08-02 18:40 gscfq@t-online.de [this message] 2021-08-03 7:41 ` [Bug fortran/101729] " 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-101729-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: linkBe 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).