public inbox for gcc-bugs@sourceware.org help / color / mirror / Atom feed
From: "cvs-commit at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/108972] [13 Regression] ICE: tree check: expected tree that contains 'decl common' structure, have 'error_mark' in compare_lambda_template_head, at cp/lambda.cc:1551 since r13-3601-g2b0e81d5cc2f7e1d Date: Tue, 14 Mar 2023 15:19:44 +0000 [thread overview] Message-ID: <bug-108972-4-RnsLUUMzYx@http.gcc.gnu.org/bugzilla/> (raw) In-Reply-To: <bug-108972-4@http.gcc.gnu.org/bugzilla/> https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108972 --- Comment #5 from CVS Commits <cvs-commit at gcc dot gnu.org> --- The master branch has been updated by Jakub Jelinek <jakub@gcc.gnu.org>: https://gcc.gnu.org/g:7f22d1c83e74c41116300bebac2e4c492c90b03d commit r13-6664-g7f22d1c83e74c41116300bebac2e4c492c90b03d Author: Jakub Jelinek <jakub@redhat.com> Date: Tue Mar 14 16:18:47 2023 +0100 testsuite: Fix up g++.dg/cpp2a/concepts-lambda3.C [PR108972] On Fri, Mar 10, 2023 at 01:49:38PM -0500, Jason Merrill via Gcc-patches wrote: > gcc/testsuite/ChangeLog: > > * g++.dg/cpp2a/concepts-lambda3.C: Run at lower std levels, > but expect errors. I'm seeing +UNRESOLVED: g++.dg/cpp2a/concepts-lambda3.C -std=c++11 compilation failed to produce executable +UNRESOLVED: g++.dg/cpp2a/concepts-lambda3.C -std=c++14 compilation failed to produce executable +UNRESOLVED: g++.dg/cpp2a/concepts-lambda3.C -std=c++17 compilation failed to produce executable +UNRESOLVED: g++.dg/cpp2a/concepts-lambda3.C -std=c++98 compilation failed to produce executable with this change, and if I test with GXX_TESTSUITE_STDS=98,11,14,17,20,2b make check-g++ -k RUNTESTFLAGS="--target_board=unix\{-m32,-m64,-m64/-fconcepts\} dg.exp=concepts-lambda3.C" I see even FAILs for the -fconcepts case, so apparently even -std=c++17 -fconcepts isn't enough to make it compile without errors. The following patch will expect errors for all of c++17_down and will make the test dg-do compile for that case too, such that the UNRESOLVED stuff is gone. 2023-03-14 Jakub Jelinek <jakub@redhat.com> PR c++/108972 PR testsuite/109129 * g++.dg/cpp2a/concepts-lambda3.C: Use dg-do run only for c++20, for c++17_down dg-do compile. Expect dg-excess-errors for c++17_down rather than ! concepts.
prev parent reply other threads:[~2023-03-14 15:19 UTC|newest] Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top 2023-02-28 17:09 [Bug c++/108972] New: ICE: tree check: expected tree that contains 'decl common' structure, have 'error_mark' in compare_lambda_template_head, at cp/lambda.cc:1551 asolokha at gmx dot com 2023-03-01 7:48 ` [Bug c++/108972] " rguenth at gcc dot gnu.org 2023-03-02 15:24 ` [Bug c++/108972] ICE: tree check: expected tree that contains 'decl common' structure, have 'error_mark' in compare_lambda_template_head, at cp/lambda.cc:1551 since r13-3601-g2b0e81d5cc2f7e1d marxin at gcc dot gnu.org 2023-03-09 22:06 ` [Bug c++/108972] [13 Regression] " jason at gcc dot gnu.org 2023-03-10 18:49 ` cvs-commit at gcc dot gnu.org 2023-03-10 18:50 ` jason at gcc dot gnu.org 2023-03-14 15:19 ` cvs-commit at gcc dot gnu.org [this message]
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-108972-4-RnsLUUMzYx@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).