public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/90782] internal compiler error: in dependent_type_p, at cp/pt.c:25409
       [not found] <bug-90782-4@http.gcc.gnu.org/bugzilla/>
@ 2020-07-08 23:39 ` bruck.michael at gmail dot com
  2020-07-08 23:40 ` bruck.michael at gmail dot com
                   ` (5 subsequent siblings)
  6 siblings, 0 replies; 7+ messages in thread
From: bruck.michael at gmail dot com @ 2020-07-08 23:39 UTC (permalink / raw)
  To: gcc-bugs

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

Michael Bruck <bruck.michael at gmail dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |bruck.michael at gmail dot com

--- Comment #4 from Michael Bruck <bruck.michael at gmail dot com> ---
Further simplified code

template <template <typename T, typename T::type> typename>
void func() {}

template <typename, int>
struct Y {};

void test()
{
    func<Y>();
}

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

* [Bug c++/90782] internal compiler error: in dependent_type_p, at cp/pt.c:25409
       [not found] <bug-90782-4@http.gcc.gnu.org/bugzilla/>
  2020-07-08 23:39 ` [Bug c++/90782] internal compiler error: in dependent_type_p, at cp/pt.c:25409 bruck.michael at gmail dot com
@ 2020-07-08 23:40 ` bruck.michael at gmail dot com
  2020-12-15 12:01 ` getchar_gnu at hotmail dot com
                   ` (4 subsequent siblings)
  6 siblings, 0 replies; 7+ messages in thread
From: bruck.michael at gmail dot com @ 2020-07-08 23:40 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #5 from Michael Bruck <bruck.michael at gmail dot com> ---
(In reply to Michael Bruck from comment #4)
ugh that was for PR96097

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

* [Bug c++/90782] internal compiler error: in dependent_type_p, at cp/pt.c:25409
       [not found] <bug-90782-4@http.gcc.gnu.org/bugzilla/>
  2020-07-08 23:39 ` [Bug c++/90782] internal compiler error: in dependent_type_p, at cp/pt.c:25409 bruck.michael at gmail dot com
  2020-07-08 23:40 ` bruck.michael at gmail dot com
@ 2020-12-15 12:01 ` getchar_gnu at hotmail dot com
  2021-11-28 23:13 ` pinskia at gcc dot gnu.org
                   ` (3 subsequent siblings)
  6 siblings, 0 replies; 7+ messages in thread
From: getchar_gnu at hotmail dot com @ 2020-12-15 12:01 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #6 from getchar_gnu at hotmail dot com ---
https://gcc.godbolt.org/z/qzG9jj

template<class... A>
struct bar {
    template<class B>
    bar(B& obj, void(B::*f)(A...)const=&B::operator()){}
};
int main() {
    const auto f1 = [](){};
    bar f8(f1);
}

This compiles on clang and ice on gcc

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

* [Bug c++/90782] internal compiler error: in dependent_type_p, at cp/pt.c:25409
       [not found] <bug-90782-4@http.gcc.gnu.org/bugzilla/>
                   ` (2 preceding siblings ...)
  2020-12-15 12:01 ` getchar_gnu at hotmail dot com
@ 2021-11-28 23:13 ` pinskia at gcc dot gnu.org
  2021-12-08 17:20 ` marxin at gcc dot gnu.org
                   ` (2 subsequent siblings)
  6 siblings, 0 replies; 7+ messages in thread
From: pinskia at gcc dot gnu.org @ 2021-11-28 23:13 UTC (permalink / raw)
  To: gcc-bugs

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

Andrew Pinski <pinskia at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |needs-bisection

--- Comment #7 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
This looks fixed on the trunk.

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

* [Bug c++/90782] internal compiler error: in dependent_type_p, at cp/pt.c:25409
       [not found] <bug-90782-4@http.gcc.gnu.org/bugzilla/>
                   ` (3 preceding siblings ...)
  2021-11-28 23:13 ` pinskia at gcc dot gnu.org
@ 2021-12-08 17:20 ` marxin at gcc dot gnu.org
  2022-01-04  3:00 ` cvs-commit at gcc dot gnu.org
  2022-01-04  3:00 ` pinskia at gcc dot gnu.org
  6 siblings, 0 replies; 7+ messages in thread
From: marxin at gcc dot gnu.org @ 2021-12-08 17:20 UTC (permalink / raw)
  To: gcc-bugs

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

Martin Liška <marxin at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |marxin at gcc dot gnu.org,
                   |                            |ppalka at gcc dot gnu.org
           Keywords|needs-bisection             |
           See Also|                            |https://gcc.gnu.org/bugzill
                   |                            |a/show_bug.cgi?id=86439

--- Comment #8 from Martin Liška <marxin at gcc dot gnu.org> ---
Fixed with r12-1744-g3eecc1db4c691a87.

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

* [Bug c++/90782] internal compiler error: in dependent_type_p, at cp/pt.c:25409
       [not found] <bug-90782-4@http.gcc.gnu.org/bugzilla/>
                   ` (4 preceding siblings ...)
  2021-12-08 17:20 ` marxin at gcc dot gnu.org
@ 2022-01-04  3:00 ` cvs-commit at gcc dot gnu.org
  2022-01-04  3:00 ` pinskia at gcc dot gnu.org
  6 siblings, 0 replies; 7+ messages in thread
From: cvs-commit at gcc dot gnu.org @ 2022-01-04  3:00 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #9 from CVS Commits <cvs-commit at gcc dot gnu.org> ---
The trunk branch has been updated by Andrew Pinski <pinskia@gcc.gnu.org>:

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

commit r12-6198-gd4b710a31dc854970ab501f2d3bad7d69fe7f083
Author: Andrew Pinski <apinski@marvell.com>
Date:   Tue Jan 4 02:53:47 2022 +0000

    [COMMITTED] c++: [PR90782] Add testcase

    This testcase was fixed by r12-1744-g3eecc1 as it make
    sense it fixed a few other class deduction issues.
    So I thought I would add a testcase for this PR and close
    it as fixed.

    Committed after a quick test of the testcase.

            PR c++/90782

    gcc/testsuite/ChangeLog:

            * g++.dg/cpp1z/class-deduction100.C: New test.

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

* [Bug c++/90782] internal compiler error: in dependent_type_p, at cp/pt.c:25409
       [not found] <bug-90782-4@http.gcc.gnu.org/bugzilla/>
                   ` (5 preceding siblings ...)
  2022-01-04  3:00 ` cvs-commit at gcc dot gnu.org
@ 2022-01-04  3:00 ` pinskia at gcc dot gnu.org
  6 siblings, 0 replies; 7+ messages in thread
From: pinskia at gcc dot gnu.org @ 2022-01-04  3:00 UTC (permalink / raw)
  To: gcc-bugs

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

Andrew Pinski <pinskia at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |FIXED
           Keywords|ice-on-invalid-code         |ice-on-valid-code
   Target Milestone|---                         |12.0

--- Comment #10 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
Fixed on the trunk for GCC 12.

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

end of thread, other threads:[~2022-01-04  3:00 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <bug-90782-4@http.gcc.gnu.org/bugzilla/>
2020-07-08 23:39 ` [Bug c++/90782] internal compiler error: in dependent_type_p, at cp/pt.c:25409 bruck.michael at gmail dot com
2020-07-08 23:40 ` bruck.michael at gmail dot com
2020-12-15 12:01 ` getchar_gnu at hotmail dot com
2021-11-28 23:13 ` pinskia at gcc dot gnu.org
2021-12-08 17:20 ` marxin at gcc dot gnu.org
2022-01-04  3:00 ` cvs-commit at gcc dot gnu.org
2022-01-04  3:00 ` pinskia at gcc dot gnu.org

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