public inbox for gcc-bugs@sourceware.org help / color / mirror / Atom feed
From: "pinskia at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/110031] [10/11/12/13/14 Regression] ICE with deprecated attribute and NTTP and diagnostic for deprecated printed out so much Date: Tue, 30 May 2023 03:49:47 +0000 [thread overview] Message-ID: <bug-110031-4-cHJKg6eeiK@http.gcc.gnu.org/bugzilla/> (raw) In-Reply-To: <bug-110031-4@http.gcc.gnu.org/bugzilla/> https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110031 Andrew Pinski <pinskia at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Ever confirmed|0 |1 Target Milestone|--- |10.5 Last reconfirmed| |2023-05-30 Known to work| |7.1.0 Summary|ICE: error reporting |[10/11/12/13/14 Regression] |routines re-entered on |ICE with deprecated |non-type template argument |attribute and NTTP and |and C++20+ |diagnostic for deprecated | |printed out so much Keywords| |diagnostic, ice-checking Status|UNCONFIRMED |NEW Known to fail| |8.1.0 --- Comment #2 from Andrew Pinski <pinskia at gcc dot gnu.org> --- Better testcase which fails with -std=c++17 even earlier than GCC 8. ``` template <typename T> [[deprecated]] inline constexpr bool t = true ; template <bool a> struct enableif; template<> struct enableif<true> { using y = int; }; template <bool a> using enableif_t = typename enableif<a>::y; template <typename T, enableif_t<t<T>> = 0> struct A { A(T &&) { }}; template <typename T> struct A<T> { A(T &&) = delete; A() = delete; }; int main(void) { A<double> a(5.3); return 0; } ```
next prev parent reply other threads:[~2023-05-30 3:49 UTC|newest] Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top 2023-05-29 22:45 [Bug c++/110031] New: ICE: error reporting routines re-entered on non-type template argument stevenxia990430 at gmail dot com 2023-05-30 3:41 ` [Bug c++/110031] " pinskia at gcc dot gnu.org 2023-05-30 3:49 ` pinskia at gcc dot gnu.org [this message] 2023-05-30 4:31 ` [Bug c++/110031] [10/11/12/13/14 Regression] ICE with deprecated attribute and NTTP and diagnostic for deprecated printed out so much stevenxia990430 at gmail dot com 2023-07-07 10:45 ` [Bug c++/110031] [11/12/13/14 " rguenth at gcc dot gnu.org 2024-01-12 13:57 ` rguenth at gcc dot gnu.org 2024-01-12 13:58 ` rguenth at gcc dot gnu.org 2024-03-04 17:10 ` mpolacek at gcc dot gnu.org 2024-03-04 17:15 ` mpolacek at gcc dot gnu.org 2024-03-07 15:01 ` cvs-commit at gcc dot gnu.org 2024-03-07 15:02 ` [Bug c++/110031] [11/12/13 " mpolacek 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-110031-4-cHJKg6eeiK@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).