public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/93248] [8/9/10 Regression] ICE in decltype of template constructor with default argument within a class template since r8-2712
       [not found] <bug-93248-4@http.gcc.gnu.org/bugzilla/>
@ 2020-03-13 18:51 ` jason at gcc dot gnu.org
  2020-03-14 21:13 ` cvs-commit at gcc dot gnu.org
                   ` (4 subsequent siblings)
  5 siblings, 0 replies; 6+ messages in thread
From: jason at gcc dot gnu.org @ 2020-03-13 18:51 UTC (permalink / raw)
  To: gcc-bugs

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

Jason Merrill <jason at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Assignee|unassigned at gcc dot gnu.org      |jason at gcc dot gnu.org
             Status|NEW                         |ASSIGNED

^ permalink raw reply	[flat|nested] 6+ messages in thread

* [Bug c++/93248] [8/9/10 Regression] ICE in decltype of template constructor with default argument within a class template since r8-2712
       [not found] <bug-93248-4@http.gcc.gnu.org/bugzilla/>
  2020-03-13 18:51 ` [Bug c++/93248] [8/9/10 Regression] ICE in decltype of template constructor with default argument within a class template since r8-2712 jason at gcc dot gnu.org
@ 2020-03-14 21:13 ` cvs-commit at gcc dot gnu.org
  2020-03-15 22:09 ` cvs-commit at gcc dot gnu.org
                   ` (3 subsequent siblings)
  5 siblings, 0 replies; 6+ messages in thread
From: cvs-commit at gcc dot gnu.org @ 2020-03-14 21:13 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #3 from CVS Commits <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by Jason Merrill <jason@gcc.gnu.org>:

https://gcc.gnu.org/g:c393c99d3dc8329dc1a36011e70faa9700185051

commit r10-7174-gc393c99d3dc8329dc1a36011e70faa9700185051
Author: Jason Merrill <jason@redhat.com>
Date:   Sat Mar 14 17:10:39 2020 -0400

    c++: Fix CTAD with multiple-arg ctor template [93248].

    When cp_unevaluated_operand is set, tsubst_decl thinks that if it sees a
    PARM_DECL that isn't already in local_specializations, we're in a decltype
    in a trailing return type or some such, and so we only want a substitution
    for a single PARM_DECL.  In this case, we want the whole chain, so make
sure
    cp_unevaluated_operand is cleared.

    gcc/cp/ChangeLog
    2020-03-14  Jason Merrill  <jason@redhat.com>

            PR c++/93248
            * pt.c (build_deduction_guide): Clear cp_unevaluated_operand for
            substituting DECL_ARGUMENTS.

^ permalink raw reply	[flat|nested] 6+ messages in thread

* [Bug c++/93248] [8/9/10 Regression] ICE in decltype of template constructor with default argument within a class template since r8-2712
       [not found] <bug-93248-4@http.gcc.gnu.org/bugzilla/>
  2020-03-13 18:51 ` [Bug c++/93248] [8/9/10 Regression] ICE in decltype of template constructor with default argument within a class template since r8-2712 jason at gcc dot gnu.org
  2020-03-14 21:13 ` cvs-commit at gcc dot gnu.org
@ 2020-03-15 22:09 ` cvs-commit at gcc dot gnu.org
  2020-03-15 22:09 ` cvs-commit at gcc dot gnu.org
                   ` (2 subsequent siblings)
  5 siblings, 0 replies; 6+ messages in thread
From: cvs-commit at gcc dot gnu.org @ 2020-03-15 22:09 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #4 from CVS Commits <cvs-commit at gcc dot gnu.org> ---
The releases/gcc-9 branch has been updated by Jason Merrill
<jason@gcc.gnu.org>:

https://gcc.gnu.org/g:cb05d702a17476fb658a59a6661d1f69394da786

commit r9-8377-gcb05d702a17476fb658a59a6661d1f69394da786
Author: Jason Merrill <jason@redhat.com>
Date:   Sat Mar 14 17:10:39 2020 -0400

    c++: Fix CTAD with multiple-arg ctor template [93248].

    When cp_unevaluated_operand is set, tsubst_decl thinks that if it sees a
    PARM_DECL that isn't already in local_specializations, we're in a decltype
    in a trailing return type or some such, and so we only want a substitution
    for a single PARM_DECL.  In this case, we want the whole chain, so make
sure
    cp_unevaluated_operand is cleared.

    gcc/cp/ChangeLog
    2020-03-14  Jason Merrill  <jason@redhat.com>

            PR c++/93248
            * pt.c (build_deduction_guide): Clear cp_unevaluated_operand for
            substituting DECL_ARGUMENTS.

^ permalink raw reply	[flat|nested] 6+ messages in thread

* [Bug c++/93248] [8/9/10 Regression] ICE in decltype of template constructor with default argument within a class template since r8-2712
       [not found] <bug-93248-4@http.gcc.gnu.org/bugzilla/>
                   ` (2 preceding siblings ...)
  2020-03-15 22:09 ` cvs-commit at gcc dot gnu.org
@ 2020-03-15 22:09 ` cvs-commit at gcc dot gnu.org
  2020-03-15 22:11 ` jason at gcc dot gnu.org
  2020-03-16 11:35 ` rene.rahn@fu-berlin.de
  5 siblings, 0 replies; 6+ messages in thread
From: cvs-commit at gcc dot gnu.org @ 2020-03-15 22:09 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #5 from CVS Commits <cvs-commit at gcc dot gnu.org> ---
The releases/gcc-8 branch has been updated by Jason Merrill
<jason@gcc.gnu.org>:

https://gcc.gnu.org/g:23690790dd739f1cdd33a8249304b8f17e296c38

commit r8-10126-g23690790dd739f1cdd33a8249304b8f17e296c38
Author: Jason Merrill <jason@redhat.com>
Date:   Sat Mar 14 17:10:39 2020 -0400

    c++: Fix CTAD with multiple-arg ctor template [93248].

    When cp_unevaluated_operand is set, tsubst_decl thinks that if it sees a
    PARM_DECL that isn't already in local_specializations, we're in a decltype
    in a trailing return type or some such, and so we only want a substitution
    for a single PARM_DECL.  In this case, we want the whole chain, so make
sure
    cp_unevaluated_operand is cleared.

    gcc/cp/ChangeLog
    2020-03-14  Jason Merrill  <jason@redhat.com>

            PR c++/93248
            * pt.c (build_deduction_guide): Clear cp_unevaluated_operand for
            substituting DECL_ARGUMENTS.

^ permalink raw reply	[flat|nested] 6+ messages in thread

* [Bug c++/93248] [8/9/10 Regression] ICE in decltype of template constructor with default argument within a class template since r8-2712
       [not found] <bug-93248-4@http.gcc.gnu.org/bugzilla/>
                   ` (3 preceding siblings ...)
  2020-03-15 22:09 ` cvs-commit at gcc dot gnu.org
@ 2020-03-15 22:11 ` jason at gcc dot gnu.org
  2020-03-16 11:35 ` rene.rahn@fu-berlin.de
  5 siblings, 0 replies; 6+ messages in thread
From: jason at gcc dot gnu.org @ 2020-03-15 22:11 UTC (permalink / raw)
  To: gcc-bugs

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

Jason Merrill <jason at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|---                         |FIXED
             Status|ASSIGNED                    |RESOLVED

--- Comment #6 from Jason Merrill <jason at gcc dot gnu.org> ---
Fixed for 8.5/9.4/10.

^ permalink raw reply	[flat|nested] 6+ messages in thread

* [Bug c++/93248] [8/9/10 Regression] ICE in decltype of template constructor with default argument within a class template since r8-2712
       [not found] <bug-93248-4@http.gcc.gnu.org/bugzilla/>
                   ` (4 preceding siblings ...)
  2020-03-15 22:11 ` jason at gcc dot gnu.org
@ 2020-03-16 11:35 ` rene.rahn@fu-berlin.de
  5 siblings, 0 replies; 6+ messages in thread
From: rene.rahn@fu-berlin.de @ 2020-03-16 11:35 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #7 from Rene Rahn <rene.rahn@fu-berlin.de> ---
Many thanks for your great work!

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2020-03-16 11:35 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <bug-93248-4@http.gcc.gnu.org/bugzilla/>
2020-03-13 18:51 ` [Bug c++/93248] [8/9/10 Regression] ICE in decltype of template constructor with default argument within a class template since r8-2712 jason at gcc dot gnu.org
2020-03-14 21:13 ` cvs-commit at gcc dot gnu.org
2020-03-15 22:09 ` cvs-commit at gcc dot gnu.org
2020-03-15 22:09 ` cvs-commit at gcc dot gnu.org
2020-03-15 22:11 ` jason at gcc dot gnu.org
2020-03-16 11:35 ` rene.rahn@fu-berlin.de

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).