public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "rguenth at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/105787] ICE in tree check: expected enumeral_type, have record_type in tsubst_copy since r11-5003-gd50310408f54e3
Date: Mon, 25 Jul 2022 16:13:04 +0000	[thread overview]
Message-ID: <bug-105787-4-IPZZs9KGW1@http.gcc.gnu.org/bugzilla/> (raw)
In-Reply-To: <bug-105787-4@http.gcc.gnu.org/bugzilla/>

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

Richard Biener <rguenth at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|[10/11/12/13 Regression]    |ICE in tree check: expected
                   |ICE in tree check: expected |enumeral_type, have
                   |enumeral_type, have         |record_type in tsubst_copy
                   |record_type in tsubst_copy  |since
                   |since                       |r11-5003-gd50310408f54e3
                   |r11-5003-gd50310408f54e3    |
   Target Milestone|10.5                        |---

--- Comment #2 from Richard Biener <rguenth at gcc dot gnu.org> ---
But it's not a regression since it always ICEd when the feature required was
implemented.  GCC 10 rejects the code:

t.ii:6:9: error: expected nested-name-specifier before 'enum'
    6 |   using enum c;
      |         ^~~~
t.ii:9:44: error: 'd' is not a member of 'b'
    9 | template <int> class e { char g = (char)b::d; };
      |                                            ^

  parent reply	other threads:[~2022-07-25 16:13 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-05-31  8:25 [Bug c++/105787] New: internal compiler error: tree check: expected enumeral_type, have record_type in tsubst_copy tamas+gcc@hudson-trading.com
2022-05-31 13:07 ` [Bug c++/105787] " mpolacek at gcc dot gnu.org
2022-07-25 14:55 ` [Bug c++/105787] [10/11/12/13 Regression] ICE in tree check: expected enumeral_type, have record_type in tsubst_copy since r11-5003-gd50310408f54e3 rguenth at gcc dot gnu.org
2022-07-25 16:13 ` rguenth at gcc dot gnu.org [this message]
2022-10-30 18:53 ` [Bug c++/105787] " pinskia at gcc dot gnu.org
2022-10-30 18:54 ` pinskia 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-105787-4-IPZZs9KGW1@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).