public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/103338] New: ICE: in tsubst_pack_expansion, at cp/pt.c:13167
@ 2021-11-20  5:14 hewillk at gmail dot com
  2021-11-20  5:27 ` [Bug c++/103338] [9/10/11/12 Regression] ICE: in tsubst_pack_expansion with invalid template friend and packed expression pinskia at gcc dot gnu.org
                   ` (5 more replies)
  0 siblings, 6 replies; 7+ messages in thread
From: hewillk at gmail dot com @ 2021-11-20  5:14 UTC (permalink / raw)
  To: gcc-bugs

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

            Bug ID: 103338
           Summary: ICE: in tsubst_pack_expansion, at cp/pt.c:13167
           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: ---

[7/8/9/10/11/12 Regression] 

template<class...>
struct zip_view {
  struct Iterator;
};

template<class...>
struct zip_transform_view;

template<class... Views>
struct zip_view<Views...>::Iterator {
  template<class... Uiews>
  template<bool>
  friend class zip_transform_view<Uiews...>::Iterator;
};

zip_view<>::Iterator iter;

https://godbolt.org/z/95Yvq4heP

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

* [Bug c++/103338] [9/10/11/12 Regression] ICE: in tsubst_pack_expansion with invalid template friend and packed expression
  2021-11-20  5:14 [Bug c++/103338] New: ICE: in tsubst_pack_expansion, at cp/pt.c:13167 hewillk at gmail dot com
@ 2021-11-20  5:27 ` pinskia at gcc dot gnu.org
  2021-11-22  9:13 ` rguenth at gcc dot gnu.org
                   ` (4 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: pinskia at gcc dot gnu.org @ 2021-11-20  5:27 UTC (permalink / raw)
  To: gcc-bugs

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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
      Known to fail|                            |7.1.0
     Ever confirmed|0                           |1
   Last reconfirmed|                            |2021-11-20
             Status|UNCONFIRMED                 |NEW
            Summary|ICE: in                     |[9/10/11/12 Regression]
                   |tsubst_pack_expansion, at   |ICE: in
                   |cp/pt.c:13167               |tsubst_pack_expansion with
                   |                            |invalid template friend and
                   |                            |packed expression
      Known to work|                            |6.4.0
   Target Milestone|---                         |9.5

--- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
Confirmed.

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

* [Bug c++/103338] [9/10/11/12 Regression] ICE: in tsubst_pack_expansion with invalid template friend and packed expression
  2021-11-20  5:14 [Bug c++/103338] New: ICE: in tsubst_pack_expansion, at cp/pt.c:13167 hewillk at gmail dot com
  2021-11-20  5:27 ` [Bug c++/103338] [9/10/11/12 Regression] ICE: in tsubst_pack_expansion with invalid template friend and packed expression pinskia at gcc dot gnu.org
@ 2021-11-22  9:13 ` rguenth at gcc dot gnu.org
  2022-05-27  9:46 ` [Bug c++/103338] [10/11/12/13 " rguenth at gcc dot gnu.org
                   ` (3 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: rguenth at gcc dot gnu.org @ 2021-11-22  9:13 UTC (permalink / raw)
  To: gcc-bugs

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

Richard Biener <rguenth at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Priority|P3                          |P2

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

* [Bug c++/103338] [10/11/12/13 Regression] ICE: in tsubst_pack_expansion with invalid template friend and packed expression
  2021-11-20  5:14 [Bug c++/103338] New: ICE: in tsubst_pack_expansion, at cp/pt.c:13167 hewillk at gmail dot com
  2021-11-20  5:27 ` [Bug c++/103338] [9/10/11/12 Regression] ICE: in tsubst_pack_expansion with invalid template friend and packed expression pinskia at gcc dot gnu.org
  2021-11-22  9:13 ` rguenth at gcc dot gnu.org
@ 2022-05-27  9:46 ` rguenth at gcc dot gnu.org
  2022-06-28 10:46 ` jakub at gcc dot gnu.org
                   ` (2 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: rguenth at gcc dot gnu.org @ 2022-05-27  9:46 UTC (permalink / raw)
  To: gcc-bugs

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

Richard Biener <rguenth at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|9.5                         |10.4

--- Comment #2 from Richard Biener <rguenth at gcc dot gnu.org> ---
GCC 9 branch is being closed

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

* [Bug c++/103338] [10/11/12/13 Regression] ICE: in tsubst_pack_expansion with invalid template friend and packed expression
  2021-11-20  5:14 [Bug c++/103338] New: ICE: in tsubst_pack_expansion, at cp/pt.c:13167 hewillk at gmail dot com
                   ` (2 preceding siblings ...)
  2022-05-27  9:46 ` [Bug c++/103338] [10/11/12/13 " rguenth at gcc dot gnu.org
@ 2022-06-28 10:46 ` jakub at gcc dot gnu.org
  2023-07-07 10:41 ` [Bug c++/103338] [11/12/13/14 " rguenth at gcc dot gnu.org
  2024-05-06 18:58 ` [Bug c++/103338] [11/12/13/14/15 " simartin at gcc dot gnu.org
  5 siblings, 0 replies; 7+ messages in thread
From: jakub at gcc dot gnu.org @ 2022-06-28 10:46 UTC (permalink / raw)
  To: gcc-bugs

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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|10.4                        |10.5

--- Comment #3 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
GCC 10.4 is being released, retargeting bugs to GCC 10.5.

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

* [Bug c++/103338] [11/12/13/14 Regression] ICE: in tsubst_pack_expansion with invalid template friend and packed expression
  2021-11-20  5:14 [Bug c++/103338] New: ICE: in tsubst_pack_expansion, at cp/pt.c:13167 hewillk at gmail dot com
                   ` (3 preceding siblings ...)
  2022-06-28 10:46 ` jakub at gcc dot gnu.org
@ 2023-07-07 10:41 ` rguenth at gcc dot gnu.org
  2024-05-06 18:58 ` [Bug c++/103338] [11/12/13/14/15 " simartin at gcc dot gnu.org
  5 siblings, 0 replies; 7+ messages in thread
From: rguenth at gcc dot gnu.org @ 2023-07-07 10:41 UTC (permalink / raw)
  To: gcc-bugs

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

Richard Biener <rguenth at gcc dot gnu.org> changed:

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

--- Comment #4 from Richard Biener <rguenth at gcc dot gnu.org> ---
GCC 10 branch is being closed.

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

* [Bug c++/103338] [11/12/13/14/15 Regression] ICE: in tsubst_pack_expansion with invalid template friend and packed expression
  2021-11-20  5:14 [Bug c++/103338] New: ICE: in tsubst_pack_expansion, at cp/pt.c:13167 hewillk at gmail dot com
                   ` (4 preceding siblings ...)
  2023-07-07 10:41 ` [Bug c++/103338] [11/12/13/14 " rguenth at gcc dot gnu.org
@ 2024-05-06 18:58 ` simartin at gcc dot gnu.org
  5 siblings, 0 replies; 7+ messages in thread
From: simartin at gcc dot gnu.org @ 2024-05-06 18:58 UTC (permalink / raw)
  To: gcc-bugs

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

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

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

--- Comment #5 from Simon Martin <simartin at gcc dot gnu.org> ---
The testcase ICEs with 13.2 (https://godbolt.org/z/vv54q97b3) but not trunk
(https://godbolt.org/z/f7sK8nTqn).

Will check if we need to add a new test case of it's already covered.

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

end of thread, other threads:[~2024-05-06 18:58 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-11-20  5:14 [Bug c++/103338] New: ICE: in tsubst_pack_expansion, at cp/pt.c:13167 hewillk at gmail dot com
2021-11-20  5:27 ` [Bug c++/103338] [9/10/11/12 Regression] ICE: in tsubst_pack_expansion with invalid template friend and packed expression pinskia at gcc dot gnu.org
2021-11-22  9:13 ` rguenth at gcc dot gnu.org
2022-05-27  9:46 ` [Bug c++/103338] [10/11/12/13 " rguenth at gcc dot gnu.org
2022-06-28 10:46 ` jakub at gcc dot gnu.org
2023-07-07 10:41 ` [Bug c++/103338] [11/12/13/14 " rguenth at gcc dot gnu.org
2024-05-06 18:58 ` [Bug c++/103338] [11/12/13/14/15 " 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).