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/101760] New: [11/12 Regression] ICE in make_ssa_name_fn, at tree-ssanames.c:290
Date: Tue, 03 Aug 2021 18:28:47 +0000	[thread overview]
Message-ID: <bug-101760-4@http.gcc.gnu.org/bugzilla/> (raw)

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

            Bug ID: 101760
           Summary: [11/12 Regression] ICE in make_ssa_name_fn, at
                    tree-ssanames.c:290
           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 20210606 and 20210613 :


$ cat z1.f90
program p
   character(:), allocatable, target :: x
   logical :: l
   !$omp target map(from: l)
   l = allocated (x)
   !$omp end target
end


$ gfortran-12-20210606 -c z1.f90 -fopenmp -O2
$
$ gfortran-12-20210801 -c z1.f90 -fopenmp -O2
during IPA pass: inline
z1.f90:7:3:

    7 | end
      |   ^
internal compiler error: in make_ssa_name_fn, at tree-ssanames.c:290
0x107175d make_ssa_name_fn(function*, tree_node*, gimple*, unsigned int)
        ../../gcc/tree-ssanames.c:287
0xe7e68e make_ssa_name
        ../../gcc/tree-ssanames.h:110
0xe7e68e remap_ssa_name
        ../../gcc/tree-inline.c:238
0xe82707 copy_tree_body_r(tree_node**, int*, void*)
        ../../gcc/tree-inline.c:1232
0x114fd73 walk_tree_1(tree_node**, tree_node* (*)(tree_node**, int*, void*),
void*, hash_set<tree_node*, false, default_hash_traits<tree_node*> >*,
tree_node* (*)(tree_node**, int*, tree_node* (*)(tree_node**, int*, void*),
void*, hash_set<tree_node*, false, default_hash_traits<tree_node*> >*))
        ../../gcc/tree.c:10971
0x115074d walk_tree_1(tree_node**, tree_node* (*)(tree_node**, int*, void*),
void*, hash_set<tree_node*, false, default_hash_traits<tree_node*> >*,
tree_node* (*)(tree_node**, int*, tree_node* (*)(tree_node**, int*, void*),
void*, hash_set<tree_node*, false, default_hash_traits<tree_node*> >*))
        ../../gcc/tree.c:11321
0xe7bc36 remap_type_1
        ../../gcc/tree-inline.c:598
0xe7c828 remap_type(tree_node*, copy_body_data*)
        ../../gcc/tree-inline.c:716
0xe7b3a4 remap_type_1
        ../../gcc/tree-inline.c:428
0xe7c828 remap_type(tree_node*, copy_body_data*)
        ../../gcc/tree-inline.c:716
0xe7c8fa remap_decl(tree_node*, copy_body_data*)
        ../../gcc/tree-inline.c:380
0xe7d5bc remap_decls
        ../../gcc/tree-inline.c:765
0xe7fda1 remap_block
        ../../gcc/tree-inline.c:823
0xe7ff35 remap_blocks
        ../../gcc/tree-inline.c:845
0xe8b181 expand_call_inline
        ../../gcc/tree-inline.c:4998
0xe8c639 gimple_expand_calls_inline
        ../../gcc/tree-inline.c:5285
0xe8c639 optimize_inline_calls(tree_node*)
        ../../gcc/tree-inline.c:5458
0xb746ab inline_transform(cgraph_node*)
        ../../gcc/ipa-inline-transform.c:790
0xcf0439 execute_one_ipa_transform_pass
        ../../gcc/passes.c:2290
0xcf0439 execute_all_ipa_transforms(bool)
        ../../gcc/passes.c:2337

             reply	other threads:[~2021-08-03 18:28 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-08-03 18:28 gscfq@t-online.de [this message]
2021-08-03 19:02 ` [Bug fortran/101760] [11/12 Regression] ICE in make_ssa_name_fn, at tree-ssanames.c:290 since r12-1319-gd4d38135b3137f1d marxin at gcc dot gnu.org
2021-08-04  5:57 ` rguenth at gcc dot gnu.org
2022-01-17 13:57 ` rguenth at gcc dot gnu.org
2022-04-21  7:50 ` rguenth at gcc dot gnu.org
2023-05-29 10:05 ` [Bug fortran/101760] [11/12/13/14 " jakub 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-101760-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).