public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "asolokha at gmx dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c/106836] New: [13 Regression] ICE in c_omp_split_clauses, at c-family/c-omp.cc:2636
Date: Mon, 05 Sep 2022 10:39:44 +0000	[thread overview]
Message-ID: <bug-106836-4@http.gcc.gnu.org/bugzilla/> (raw)

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

            Bug ID: 106836
           Summary: [13 Regression] ICE in c_omp_split_clauses, at
                    c-family/c-omp.cc:2636
           Product: gcc
           Version: 13.0
            Status: UNCONFIRMED
          Keywords: openmp
          Severity: normal
          Priority: P3
         Component: c
          Assignee: unassigned at gcc dot gnu.org
          Reporter: asolokha at gmx dot com
  Target Milestone: ---

gcc 13.0.0 20220904 snapshot (g:20d30e737ad79dc36817e59f1676aa8bc0c6b325) ICEs
when compiling the following testcase, reduced from
test/OpenMP/target_parallel_depend_messages.cpp (and a bunch of related ones)
from the clang 14.0 test suite, w/ -fopenmp:

void
foo (void)
{
#pragma omp target parallel depend (source)
}

% gcc-13.0.0 -fopenmp -c sf6jpufz.c
sf6jpufz.c: In function 'foo':
sf6jpufz.c:4:9: internal compiler error: in c_omp_split_clauses, at
c-family/c-omp.cc:2636
    4 | #pragma omp target parallel depend (source)
      |         ^~~
0x6859f4 c_omp_split_clauses(unsigned int, tree_code, wide_int_bitmask,
tree_node*, tree_node**)
       
/var/tmp/portage/sys-devel/gcc-13.0.0_p20220904/work/gcc-13-20220904/gcc/c-family/c-omp.cc:2636
0x8d2ccf omp_split_clauses
       
/var/tmp/portage/sys-devel/gcc-13.0.0_p20220904/work/gcc-13-20220904/gcc/c/c-parser.cc:19897
0x909d75 c_parser_omp_parallel
       
/var/tmp/portage/sys-devel/gcc-13.0.0_p20220904/work/gcc-13-20220904/gcc/c/c-parser.cc:20589
0x90b2d3 c_parser_omp_target
       
/var/tmp/portage/sys-devel/gcc-13.0.0_p20220904/work/gcc-13-20220904/gcc/c/c-parser.cc:21447
0x90189e c_parser_compound_statement_nostart
       
/var/tmp/portage/sys-devel/gcc-13.0.0_p20220904/work/gcc-13-20220904/gcc/c/c-parser.cc:5798
0x902194 c_parser_compound_statement
       
/var/tmp/portage/sys-devel/gcc-13.0.0_p20220904/work/gcc-13-20220904/gcc/c/c-parser.cc:5640
0x903ea3 c_parser_declaration_or_fndef
       
/var/tmp/portage/sys-devel/gcc-13.0.0_p20220904/work/gcc-13-20220904/gcc/c/c-parser.cc:2554
0x90c273 c_parser_external_declaration
       
/var/tmp/portage/sys-devel/gcc-13.0.0_p20220904/work/gcc-13-20220904/gcc/c/c-parser.cc:1789
0x90ccdb c_parser_translation_unit
       
/var/tmp/portage/sys-devel/gcc-13.0.0_p20220904/work/gcc-13-20220904/gcc/c/c-parser.cc:1662
0x90ccdb c_parse_file()
       
/var/tmp/portage/sys-devel/gcc-13.0.0_p20220904/work/gcc-13-20220904/gcc/c/c-parser.cc:23669
0x96f7a1 c_common_parse_file()
       
/var/tmp/portage/sys-devel/gcc-13.0.0_p20220904/work/gcc-13-20220904/gcc/c-family/c-opts.cc:1255

             reply	other threads:[~2022-09-05 10:39 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-09-05 10:39 asolokha at gmx dot com [this message]
2022-09-05 10:45 ` [Bug c/106836] [13 Regression] ICE in c_omp_split_clauses, at c-family/c-omp.cc:2636 since r13-2388-ga651e6d59188da89 marxin at gcc dot gnu.org
2022-09-05 10:52 ` jakub at gcc dot gnu.org
2022-09-05 13:13 ` jakub at gcc dot gnu.org
2022-09-06  7:09 ` rguenth at gcc dot gnu.org
2022-09-06  7:23 ` cvs-commit at gcc dot gnu.org
2022-09-06  7:45 ` 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-106836-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).