public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/99595] New: ICE when pack expansion with template lambda
@ 2021-03-15 11:32 hewillk at gmail dot com
  2021-03-15 13:54 ` [Bug c++/99595] " rguenth at gcc dot gnu.org
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: hewillk at gmail dot com @ 2021-03-15 11:32 UTC (permalink / raw)
  To: gcc-bugs

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

            Bug ID: 99595
           Summary: ICE when pack expansion with template lambda
           Product: gcc
           Version: 11.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c++
          Assignee: unassigned at gcc dot gnu.org
          Reporter: hewillk at gmail dot com
  Target Milestone: ---

The following code will trigger ICE on gcc-trunk:

auto f(auto... args) {
  ([]<decltype(args) y>{ y; }, ...);
}

int main() { f(0); }

(godbolt: https://godbolt.org/z/11G8G5)
(wanbox: https://wandbox.org/permlink/Bbmq4ZWehhJqlBdk)

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

* [Bug c++/99595] ICE when pack expansion with template lambda
  2021-03-15 11:32 [Bug c++/99595] New: ICE when pack expansion with template lambda hewillk at gmail dot com
@ 2021-03-15 13:54 ` rguenth at gcc dot gnu.org
  2021-08-04 18:04 ` [Bug c++/99595] [11/12 Regression] " pinskia at gcc dot gnu.org
  2021-08-04 18:05 ` [Bug c++/99595] " pinskia at gcc dot gnu.org
  2 siblings, 0 replies; 4+ messages in thread
From: rguenth at gcc dot gnu.org @ 2021-03-15 13:54 UTC (permalink / raw)
  To: gcc-bugs

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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
     Ever confirmed|0                           |1
           Keywords|                            |ice-on-invalid-code
   Last reconfirmed|                            |2021-03-15
             Status|UNCONFIRMED                 |NEW

--- Comment #1 from Richard Biener <rguenth at gcc dot gnu.org> ---
Confirmed.  ICEs with -fconcepts-ts, on the branch that causes an
error-recovery ICE and we first diagnose

t.C: In function 'auto f(auto:1 ...)':
t.C:2:24: error: expected '(' before '{' token
    2 |   ([]<decltype(args) y>{ y; }, ...);
      |                        ^
      |                        (

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

* [Bug c++/99595] [11/12 Regression] ICE when pack expansion with template lambda
  2021-03-15 11:32 [Bug c++/99595] New: ICE when pack expansion with template lambda hewillk at gmail dot com
  2021-03-15 13:54 ` [Bug c++/99595] " rguenth at gcc dot gnu.org
@ 2021-08-04 18:04 ` pinskia at gcc dot gnu.org
  2021-08-04 18:05 ` [Bug c++/99595] " pinskia at gcc dot gnu.org
  2 siblings, 0 replies; 4+ messages in thread
From: pinskia at gcc dot gnu.org @ 2021-08-04 18:04 UTC (permalink / raw)
  To: gcc-bugs

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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
      Known to work|                            |10.3.0
            Summary|ICE when pack expansion     |[11/12 Regression] ICE when
                   |with template lambda        |pack expansion with
                   |                            |template lambda
   Target Milestone|---                         |11.3
      Known to fail|                            |11.1.0

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

* [Bug c++/99595] ICE when pack expansion with template lambda
  2021-03-15 11:32 [Bug c++/99595] New: ICE when pack expansion with template lambda hewillk at gmail dot com
  2021-03-15 13:54 ` [Bug c++/99595] " rguenth at gcc dot gnu.org
  2021-08-04 18:04 ` [Bug c++/99595] [11/12 Regression] " pinskia at gcc dot gnu.org
@ 2021-08-04 18:05 ` pinskia at gcc dot gnu.org
  2 siblings, 0 replies; 4+ messages in thread
From: pinskia at gcc dot gnu.org @ 2021-08-04 18:05 UTC (permalink / raw)
  To: gcc-bugs

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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
      Known to work|                            |11.1.0
   Target Milestone|11.3                        |---
            Summary|[11/12 Regression] ICE when |ICE when pack expansion
                   |pack expansion with         |with template lambda
                   |template lambda             |
      Known to fail|11.1.0                      |

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

end of thread, other threads:[~2021-08-04 18:05 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-03-15 11:32 [Bug c++/99595] New: ICE when pack expansion with template lambda hewillk at gmail dot com
2021-03-15 13:54 ` [Bug c++/99595] " rguenth at gcc dot gnu.org
2021-08-04 18:04 ` [Bug c++/99595] [11/12 Regression] " pinskia at gcc dot gnu.org
2021-08-04 18:05 ` [Bug c++/99595] " 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).