public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "mpolacek at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/96380] [10/11 Regression] ICE in tree check: expected integer_cst, have view_convert_expr in get_len, at tree.h:5954
Date: Mon, 29 Mar 2021 17:04:07 +0000	[thread overview]
Message-ID: <bug-96380-4-Xnr0xUW7YQ@http.gcc.gnu.org/bugzilla/> (raw)
In-Reply-To: <bug-96380-4@http.gcc.gnu.org/bugzilla/>

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

--- Comment #3 from Marek Polacek <mpolacek at gcc dot gnu.org> ---
(In reply to Jakub Jelinek from comment #2)
> extern const int a, b;
> enum struct c;
> template <class>
> enum struct c : union enum struct c { e = b, f = a }; 
> enum class c {};
> 
> ICEs even without -fpermissive.
> 
> And
> extern const int a, b;
> enum struct c;
> template <class>
> enum struct c : union enum struct c { e = b, f = a }; 
> is accepted for some reason, even when for e.g.
> template <class>
> enum E : int { F };
> we reject it:
> error: template declaration of ‘enum E’
> 
> Marek, have you made any progress on this?

Not yet, sorry.  Hopefully this week then.

  parent reply	other threads:[~2021-03-29 17:04 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-07-29 16:50 [Bug c++/96380] New: " haoxintu at gmail dot com
2020-07-30  6:05 ` [Bug c++/96380] " rguenth at gcc dot gnu.org
2020-07-30  7:41 ` marxin at gcc dot gnu.org
2020-07-30  7:41 ` marxin at gcc dot gnu.org
2020-07-30 15:10 ` mpolacek at gcc dot gnu.org
2020-10-12 12:40 ` rguenth at gcc dot gnu.org
2021-03-29 16:54 ` jakub at gcc dot gnu.org
2021-03-29 17:04 ` mpolacek at gcc dot gnu.org [this message]
2021-04-08 12:02 ` rguenth at gcc dot gnu.org
2021-04-20 16:17 ` mpolacek at gcc dot gnu.org
2021-04-20 19:38 ` [Bug c++/96380] [10/11/12 " mpolacek at gcc dot gnu.org
2021-04-21 15:12 ` cvs-commit at gcc dot gnu.org
2021-04-21 15:14 ` [Bug c++/96380] [10/11 " mpolacek at gcc dot gnu.org
2021-04-27 16:41 ` cvs-commit at gcc dot gnu.org
2021-12-02 13:29 ` [Bug c++/96380] [10 " 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-96380-4-Xnr0xUW7YQ@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).