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++/94512] New: [10 Regression] ICE in tsubst_expr, at cp/pt.c:18210 Date: Tue, 07 Apr 2020 09:23:32 +0000 [thread overview] Message-ID: <bug-94512-4@http.gcc.gnu.org/bugzilla/> (raw) https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94512 Bug ID: 94512 Summary: [10 Regression] ICE in tsubst_expr, at cp/pt.c:18210 Product: gcc Version: 10.0 Status: UNCONFIRMED Keywords: error-recovery, ice-on-invalid-code, openmp Severity: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: asolokha at gmx dot com Target Milestone: --- g++-10.0.1-alpha20200405 snapshot (g:2a1a0c8c0db0aae50a2cebce59bd64334cd6ba2a) ICEs when compiling the following testcase, extracted from test/OpenMP/parallel_master_taskloop_simd_collapse_messages.cpp from the clang 10.0.0 test suite, w/ -fopenmp: void ow (); template <int> void ho () { #pragma omp parallel master taskloop ow (); } void th () { ho<0> (); } % g++-10.0.1 -fopenmp -c e4oc5ifw.cpp e4oc5ifw.cpp: In function 'void ho()': e4oc5ifw.cpp:9:3: error: for statement expected before 'ow' 9 | ow (); | ^~ e4oc5ifw.cpp: In instantiation of 'void ho() [with int <anonymous> = 0]': e4oc5ifw.cpp:15:10: required from here e4oc5ifw.cpp:9:3: internal compiler error: in tsubst_expr, at cp/pt.c:18210 0x659911 tsubst_expr(tree_node*, tree_node*, int, tree_node*, bool) /var/tmp/portage/sys-devel/gcc-10.0.1_alpha20200405/work/gcc-10-20200405/gcc/cp/pt.c:18210 0x9ed1e2 tsubst_expr(tree_node*, tree_node*, int, tree_node*, bool) /var/tmp/portage/sys-devel/gcc-10.0.1_alpha20200405/work/gcc-10-20200405/gcc/cp/pt.c:17696 0x9ed997 tsubst_expr(tree_node*, tree_node*, int, tree_node*, bool) /var/tmp/portage/sys-devel/gcc-10.0.1_alpha20200405/work/gcc-10-20200405/gcc/cp/pt.c:18014 0x9eaad6 instantiate_decl(tree_node*, bool, bool) /var/tmp/portage/sys-devel/gcc-10.0.1_alpha20200405/work/gcc-10-20200405/gcc/cp/pt.c:25538 0xa1b7eb instantiate_pending_templates(int) /var/tmp/portage/sys-devel/gcc-10.0.1_alpha20200405/work/gcc-10-20200405/gcc/cp/pt.c:25654 0x920d33 c_parse_final_cleanups() /var/tmp/portage/sys-devel/gcc-10.0.1_alpha20200405/work/gcc-10-20200405/gcc/cp/decl2.c:4874
next reply other threads:[~2020-04-07 9:23 UTC|newest] Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top 2020-04-07 9:23 asolokha at gmx dot com [this message] 2020-04-07 9:42 ` [Bug c++/94512] " rguenth at gcc dot gnu.org 2020-04-07 10:18 ` [Bug c++/94512] [9/10 " jakub at gcc dot gnu.org 2020-04-07 10:44 ` jakub at gcc dot gnu.org 2020-04-07 12:32 ` cvs-commit at gcc dot gnu.org 2020-04-07 19:05 ` cvs-commit at gcc dot gnu.org 2020-04-07 20:02 ` 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-94512-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).