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++/96474] Internal compiler error with template struct inside template struct
Date: Wed, 03 Mar 2021 20:13:12 +0000	[thread overview]
Message-ID: <bug-96474-4-R4ZB6pUj4b@http.gcc.gnu.org/bugzilla/> (raw)
In-Reply-To: <bug-96474-4@http.gcc.gnu.org/bugzilla/>

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

--- Comment #5 from CVS Commits <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by Marek Polacek <mpolacek@gcc.gnu.org>:

https://gcc.gnu.org/g:49df367b17995c54fabe5bca290eede7dfab05b3

commit r11-7494-g49df367b17995c54fabe5bca290eede7dfab05b3
Author: Marek Polacek <polacek@redhat.com>
Date:   Wed Mar 3 15:10:21 2021 -0500

    c++: Add fixed test [PR96474]

    Was happy to find out that my recent dguide fix (r11-7483) fixed
    this test too.  In particular, the

    +  /* Wait until the enclosing scope is non-dependent.  */
    +  if (DECL_CLASS_SCOPE_P (tmpl)
    +      && dependent_type_p (DECL_CONTEXT (tmpl)))
    +    return ptype;

    bit.

    gcc/testsuite/ChangeLog:

            PR c++/96474
            * g++.dg/cpp1z/class-deduction83.C: New test.

  parent reply	other threads:[~2021-03-03 20:13 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-08-04 23:35 [Bug c++/96474] New: " lhlaurini at hotmail dot com
2020-08-05 12:38 ` [Bug c++/96474] " mpolacek at gcc dot gnu.org
2020-08-05 13:55 ` lhlaurini at hotmail dot com
2021-02-11 22:13 ` soko.slav at yandex dot ru
2021-03-03 20:04 ` mpolacek at gcc dot gnu.org
2021-03-03 20:13 ` cvs-commit at gcc dot gnu.org [this message]
2021-03-03 20:14 ` 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-96474-4-R4ZB6pUj4b@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).