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/108435] New: [13 Regression] ICE in as_a, at is-a.h:242 Date: Tue, 17 Jan 2023 17:47:58 +0000 [thread overview] Message-ID: <bug-108435-4@http.gcc.gnu.org/bugzilla/> (raw) https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108435 Bug ID: 108435 Summary: [13 Regression] ICE in as_a, at is-a.h:242 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 20220501 and 20220508 : (gcc configured with --enable-checking=yes) $ cat z1.f90 program p integer :: j contains subroutine s integer :: i !$omp do simd collapse(2) do i = 1, 16 do j = 1, i end do end do end end $ cat z2.f90 program p contains subroutine s integer :: i, j !$omp do simd collapse(2) do i = 1, 16 do j = 1, i end do end do end end $ gfortran-13-20230115 -c z2.f90 -fopenmp $ $ gfortran-13-20230115 -c z1.f90 -fopenmp z1.f90:1:9: 1 | program p | ^ internal compiler error: in as_a, at is-a.h:242 0xc3aeba gbind* as_a<gbind*, gimple>(gimple*) ../../gcc/is-a.h:242 0xc3aeba declare_vars(tree_node*, gimple*, bool) ../../gcc/gimplify.cc:697 0x1053aa7 convert_nonlocal_omp_clauses ../../gcc/tree-nested.cc:1590 0x10546d2 convert_nonlocal_reference_stmt ../../gcc/tree-nested.cc:1716 0xc34366 walk_gimple_stmt(gimple_stmt_iterator*, tree_node* (*)(gimple_stmt_iterator*, bool*, walk_stmt_info*), tree_node* (*)(tree_node**, int*, void*), walk_stmt_info*) ../../gcc/gimple-walk.cc:608 0xc34580 walk_gimple_seq_mod(gimple**, tree_node* (*)(gimple_stmt_iterator*, bool*, walk_stmt_info*), tree_node* (*)(tree_node**, int*, void*), walk_stmt_info*) ../../gcc/gimple-walk.cc:51 0xc34421 walk_gimple_stmt(gimple_stmt_iterator*, tree_node* (*)(gimple_stmt_iterator*, bool*, walk_stmt_info*), tree_node* (*)(tree_node**, int*, void*), walk_stmt_info*) ../../gcc/gimple-walk.cc:635 0xc34580 walk_gimple_seq_mod(gimple**, tree_node* (*)(gimple_stmt_iterator*, bool*, walk_stmt_info*), tree_node* (*)(tree_node**, int*, void*), walk_stmt_info*) ../../gcc/gimple-walk.cc:51 0x104c788 walk_body ../../gcc/tree-nested.cc:811 0x1054616 convert_nonlocal_reference_stmt ../../gcc/tree-nested.cc:1752 0xc34366 walk_gimple_stmt(gimple_stmt_iterator*, tree_node* (*)(gimple_stmt_iterator*, bool*, walk_stmt_info*), tree_node* (*)(tree_node**, int*, void*), walk_stmt_info*) ../../gcc/gimple-walk.cc:608 0xc34580 walk_gimple_seq_mod(gimple**, tree_node* (*)(gimple_stmt_iterator*, bool*, walk_stmt_info*), tree_node* (*)(tree_node**, int*, void*), walk_stmt_info*) ../../gcc/gimple-walk.cc:51 0xc34421 walk_gimple_stmt(gimple_stmt_iterator*, tree_node* (*)(gimple_stmt_iterator*, bool*, walk_stmt_info*), tree_node* (*)(tree_node**, int*, void*), walk_stmt_info*) ../../gcc/gimple-walk.cc:635 0xc34580 walk_gimple_seq_mod(gimple**, tree_node* (*)(gimple_stmt_iterator*, bool*, walk_stmt_info*), tree_node* (*)(tree_node**, int*, void*), walk_stmt_info*) ../../gcc/gimple-walk.cc:51 0xc34421 walk_gimple_stmt(gimple_stmt_iterator*, tree_node* (*)(gimple_stmt_iterator*, bool*, walk_stmt_info*), tree_node* (*)(tree_node**, int*, void*), walk_stmt_info*) ../../gcc/gimple-walk.cc:635 0xc34580 walk_gimple_seq_mod(gimple**, tree_node* (*)(gimple_stmt_iterator*, bool*, walk_stmt_info*), tree_node* (*)(tree_node**, int*, void*), walk_stmt_info*) ../../gcc/gimple-walk.cc:51 0x104c788 walk_body ../../gcc/tree-nested.cc:811 0x104c7d8 walk_function ../../gcc/tree-nested.cc:822 0x104c7d8 walk_all_functions ../../gcc/tree-nested.cc:887 0x10583b4 lower_nested_functions(tree_node*) ../../gcc/tree-nested.cc:3736
next reply other threads:[~2023-01-17 17:47 UTC|newest] Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top 2023-01-17 17:47 gscfq@t-online.de [this message] 2023-01-18 8:48 ` [Bug fortran/108435] [13 Regression] ICE in as_a, at is-a.h:242 since r13-142-g705bcedf6eae2d7c marxin at gcc dot gnu.org 2023-01-18 8:58 ` rguenth at gcc dot gnu.org 2023-01-19 12:33 ` jakub at gcc dot gnu.org 2023-01-20 17:23 ` [Bug middle-end/108435] " burnus at gcc dot gnu.org 2023-02-01 14:24 ` jakub at gcc dot gnu.org 2023-02-01 15:29 ` jakub at gcc dot gnu.org 2023-02-02 8:59 ` cvs-commit at gcc dot gnu.org 2023-02-03 13:57 ` jakub at gcc dot gnu.org 2023-02-10 17:46 ` cvs-commit at gcc dot gnu.org 2023-05-02 20:14 ` cvs-commit at gcc dot gnu.org 2023-05-03 15:21 ` cvs-commit 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-108435-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).