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++/101051] [10/11 Regression] ICE in splice_late_return_type with trailing return type on a conversion operator, caused by r10-6571 Date: Tue, 12 Apr 2022 20:14:19 +0000 [thread overview] Message-ID: <bug-101051-4-ng2YRNmDng@http.gcc.gnu.org/bugzilla/> (raw) In-Reply-To: <bug-101051-4@http.gcc.gnu.org/bugzilla/> https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101051 --- Comment #7 from CVS Commits <cvs-commit at gcc dot gnu.org> --- The releases/gcc-11 branch has been updated by Jason Merrill <jason@gcc.gnu.org>: https://gcc.gnu.org/g:25167a3d8cfc738deb4b2bfb74ad37fd8a0f1ca4 commit r11-9823-g25167a3d8cfc738deb4b2bfb74ad37fd8a0f1ca4 Author: Jason Merrill <jason@redhat.com> Date: Wed Apr 6 21:57:33 2022 -0400 c++: conversion with trailing return type [PR101051] We've had a diagnostic for this, but since r10-6571 added an assert to splice_late_return_type, we need to diagnose before we call it. PR c++/101051 gcc/cp/ChangeLog: * decl.c (grokdeclarator): Reject conversion with trailing return sooner. gcc/testsuite/ChangeLog: * g++.dg/cpp0x/trailing15.C: New test.
next prev parent reply other threads:[~2022-04-12 20:14 UTC|newest] Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top 2021-06-13 18:23 [Bug c++/101051] New: [ICE] in splice_late_return_type, at cp/pt.c:29738 ldalessandro at gmail dot com 2021-06-21 16:32 ` [Bug c++/101051] [10/11/12 Regression] " mpolacek at gcc dot gnu.org 2021-06-21 18:40 ` [Bug c++/101051] [10/11/12 Regression] [ICE] in splice_late_return_type, at cp/pt.c:29738 since r10-6571-ga6ee556c7659877b marxin at gcc dot gnu.org 2021-09-27 22:16 ` [Bug c++/101051] [10/11/12 Regression] ICE in splice_late_return_type with trailing return type on a conversion operator, caused by r10-6571 pinskia at gcc dot gnu.org 2021-09-27 22:16 ` pinskia at gcc dot gnu.org 2021-09-27 22:18 ` pinskia at gcc dot gnu.org 2022-01-20 12:56 ` rguenth at gcc dot gnu.org 2022-04-07 1:48 ` jason at gcc dot gnu.org 2022-04-07 3:27 ` cvs-commit at gcc dot gnu.org 2022-04-12 20:14 ` cvs-commit at gcc dot gnu.org [this message] 2022-04-12 20:30 ` [Bug c++/101051] [10/11 " jason 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-101051-4-ng2YRNmDng@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).