public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/105760] New: ICE: in build_function_type, at tree.cc:7365
@ 2022-05-28 16:26 hewillk at gmail dot com
  2022-05-30 10:03 ` [Bug c++/105760] " marxin at gcc dot gnu.org
                   ` (7 more replies)
  0 siblings, 8 replies; 9+ messages in thread
From: hewillk at gmail dot com @ 2022-05-28 16:26 UTC (permalink / raw)
  To: gcc-bugs

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

            Bug ID: 105760
           Summary: ICE: in build_function_type, at tree.cc:7365
           Product: gcc
           Version: 12.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c++
          Assignee: unassigned at gcc dot gnu.org
          Reporter: hewillk at gmail dot com
  Target Milestone: ---

13 Regression

template<class... Ts, class>
struct A { A(Ts...); };
A a;

https://godbolt.org/z/qeYGz1Yov

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

* [Bug c++/105760] ICE: in build_function_type, at tree.cc:7365
  2022-05-28 16:26 [Bug c++/105760] New: ICE: in build_function_type, at tree.cc:7365 hewillk at gmail dot com
@ 2022-05-30 10:03 ` marxin at gcc dot gnu.org
  2023-05-19 15:32 ` [Bug c++/105760] [11/12/13/14 Regression] " pinskia at gcc dot gnu.org
                   ` (6 subsequent siblings)
  7 siblings, 0 replies; 9+ messages in thread
From: marxin at gcc dot gnu.org @ 2022-05-30 10:03 UTC (permalink / raw)
  To: gcc-bugs

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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
     Ever confirmed|0                           |1
                 CC|                            |jason at gcc dot gnu.org,
                   |                            |marxin at gcc dot gnu.org
   Last reconfirmed|                            |2022-05-30
             Status|UNCONFIRMED                 |NEW

--- Comment #1 from Martin Liška <marxin at gcc dot gnu.org> ---
Likely started with r11-2748-gb871301f09be7061.

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

* [Bug c++/105760] [11/12/13/14 Regression] ICE: in build_function_type, at tree.cc:7365
  2022-05-28 16:26 [Bug c++/105760] New: ICE: in build_function_type, at tree.cc:7365 hewillk at gmail dot com
  2022-05-30 10:03 ` [Bug c++/105760] " marxin at gcc dot gnu.org
@ 2023-05-19 15:32 ` pinskia at gcc dot gnu.org
  2023-05-29 10:07 ` jakub at gcc dot gnu.org
                   ` (5 subsequent siblings)
  7 siblings, 0 replies; 9+ messages in thread
From: pinskia at gcc dot gnu.org @ 2023-05-19 15:32 UTC (permalink / raw)
  To: gcc-bugs

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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|ICE: in                     |[11/12/13/14 Regression]
                   |build_function_type, at     |ICE: in
                   |tree.cc:7365                |build_function_type, at
                   |                            |tree.cc:7365
      Known to work|                            |10.4.0
      Known to fail|                            |11.1.0
   Target Milestone|---                         |11.4
           Keywords|                            |error-recovery,
                   |                            |ice-checking

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

* [Bug c++/105760] [11/12/13/14 Regression] ICE: in build_function_type, at tree.cc:7365
  2022-05-28 16:26 [Bug c++/105760] New: ICE: in build_function_type, at tree.cc:7365 hewillk at gmail dot com
  2022-05-30 10:03 ` [Bug c++/105760] " marxin at gcc dot gnu.org
  2023-05-19 15:32 ` [Bug c++/105760] [11/12/13/14 Regression] " pinskia at gcc dot gnu.org
@ 2023-05-29 10:07 ` jakub at gcc dot gnu.org
  2024-03-22 14:05 ` law at gcc dot gnu.org
                   ` (4 subsequent siblings)
  7 siblings, 0 replies; 9+ messages in thread
From: jakub at gcc dot gnu.org @ 2023-05-29 10:07 UTC (permalink / raw)
  To: gcc-bugs

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

Jakub Jelinek <jakub at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|11.4                        |11.5

--- Comment #2 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
GCC 11.4 is being released, retargeting bugs to GCC 11.5.

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

* [Bug c++/105760] [11/12/13/14 Regression] ICE: in build_function_type, at tree.cc:7365
  2022-05-28 16:26 [Bug c++/105760] New: ICE: in build_function_type, at tree.cc:7365 hewillk at gmail dot com
                   ` (2 preceding siblings ...)
  2023-05-29 10:07 ` jakub at gcc dot gnu.org
@ 2024-03-22 14:05 ` law at gcc dot gnu.org
  2024-04-27 19:57 ` [Bug c++/105760] [11/12/13/14/15 " simartin at gcc dot gnu.org
                   ` (3 subsequent siblings)
  7 siblings, 0 replies; 9+ messages in thread
From: law at gcc dot gnu.org @ 2024-03-22 14:05 UTC (permalink / raw)
  To: gcc-bugs

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

Jeffrey A. Law <law at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Priority|P3                          |P2
                 CC|                            |law at gcc dot gnu.org

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

* [Bug c++/105760] [11/12/13/14/15 Regression] ICE: in build_function_type, at tree.cc:7365
  2022-05-28 16:26 [Bug c++/105760] New: ICE: in build_function_type, at tree.cc:7365 hewillk at gmail dot com
                   ` (3 preceding siblings ...)
  2024-03-22 14:05 ` law at gcc dot gnu.org
@ 2024-04-27 19:57 ` simartin at gcc dot gnu.org
  2024-04-27 19:57 ` simartin at gcc dot gnu.org
                   ` (2 subsequent siblings)
  7 siblings, 0 replies; 9+ messages in thread
From: simartin at gcc dot gnu.org @ 2024-04-27 19:57 UTC (permalink / raw)
  To: gcc-bugs

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

Simon Martin <simartin at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Assignee|unassigned at gcc dot gnu.org      |simartin at gcc dot gnu.org

--- Comment #3 from Simon Martin <simartin at gcc dot gnu.org> ---
Working on this one...

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

* [Bug c++/105760] [11/12/13/14/15 Regression] ICE: in build_function_type, at tree.cc:7365
  2022-05-28 16:26 [Bug c++/105760] New: ICE: in build_function_type, at tree.cc:7365 hewillk at gmail dot com
                   ` (4 preceding siblings ...)
  2024-04-27 19:57 ` [Bug c++/105760] [11/12/13/14/15 " simartin at gcc dot gnu.org
@ 2024-04-27 19:57 ` simartin at gcc dot gnu.org
  2024-05-14 22:08 ` cvs-commit at gcc dot gnu.org
  2024-05-15  6:46 ` simartin at gcc dot gnu.org
  7 siblings, 0 replies; 9+ messages in thread
From: simartin at gcc dot gnu.org @ 2024-04-27 19:57 UTC (permalink / raw)
  To: gcc-bugs

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

Simon Martin <simartin at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |ASSIGNED

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

* [Bug c++/105760] [11/12/13/14/15 Regression] ICE: in build_function_type, at tree.cc:7365
  2022-05-28 16:26 [Bug c++/105760] New: ICE: in build_function_type, at tree.cc:7365 hewillk at gmail dot com
                   ` (5 preceding siblings ...)
  2024-04-27 19:57 ` simartin at gcc dot gnu.org
@ 2024-05-14 22:08 ` cvs-commit at gcc dot gnu.org
  2024-05-15  6:46 ` simartin at gcc dot gnu.org
  7 siblings, 0 replies; 9+ messages in thread
From: cvs-commit at gcc dot gnu.org @ 2024-05-14 22:08 UTC (permalink / raw)
  To: gcc-bugs

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

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

https://gcc.gnu.org/g:0003e469d4664397b65080a66ad7d6557bd7ffce

commit r15-495-g0003e469d4664397b65080a66ad7d6557bd7ffce
Author: Simon Martin <simon-l.martin@laposte.net>
Date:   Mon May 6 15:20:10 2024 +0200

    c++: ICE in build_deduction_guide for invalid template [PR105760]

    We currently ICE upon the following invalid snippet because we fail to
    properly handle tsubst_arg_types returning error_mark_node in
    build_deduction_guide.

    == cut ==
    template<class... Ts, class>
    struct A { A(Ts...); };
    A a;
    == cut ==

    This patch fixes this, and has been successfully tested on
x86_64-pc-linux-gnu.

            PR c++/105760

    gcc/cp/ChangeLog:

            * pt.cc (build_deduction_guide): Check for error_mark_node
            result from tsubst_arg_types.

    gcc/testsuite/ChangeLog:

            * g++.dg/parse/error66.C: New test.

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

* [Bug c++/105760] [11/12/13/14/15 Regression] ICE: in build_function_type, at tree.cc:7365
  2022-05-28 16:26 [Bug c++/105760] New: ICE: in build_function_type, at tree.cc:7365 hewillk at gmail dot com
                   ` (6 preceding siblings ...)
  2024-05-14 22:08 ` cvs-commit at gcc dot gnu.org
@ 2024-05-15  6:46 ` simartin at gcc dot gnu.org
  7 siblings, 0 replies; 9+ messages in thread
From: simartin at gcc dot gnu.org @ 2024-05-15  6:46 UTC (permalink / raw)
  To: gcc-bugs

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

Simon Martin <simartin at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |RESOLVED
         Resolution|---                         |FIXED
   Target Milestone|11.5                        |14.2

--- Comment #5 from Simon Martin <simartin at gcc dot gnu.org> ---
Fixed on trunk.

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

end of thread, other threads:[~2024-05-15  6:46 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-05-28 16:26 [Bug c++/105760] New: ICE: in build_function_type, at tree.cc:7365 hewillk at gmail dot com
2022-05-30 10:03 ` [Bug c++/105760] " marxin at gcc dot gnu.org
2023-05-19 15:32 ` [Bug c++/105760] [11/12/13/14 Regression] " pinskia at gcc dot gnu.org
2023-05-29 10:07 ` jakub at gcc dot gnu.org
2024-03-22 14:05 ` law at gcc dot gnu.org
2024-04-27 19:57 ` [Bug c++/105760] [11/12/13/14/15 " simartin at gcc dot gnu.org
2024-04-27 19:57 ` simartin at gcc dot gnu.org
2024-05-14 22:08 ` cvs-commit at gcc dot gnu.org
2024-05-15  6:46 ` simartin 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).