public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/109742] New: ICE on unexpanded NTTP pack
@ 2023-05-04 21:24 420 at zerberste dot es
  2023-05-04 21:44 ` [Bug c++/109742] " pinskia at gcc dot gnu.org
  0 siblings, 1 reply; 2+ messages in thread
From: 420 at zerberste dot es @ 2023-05-04 21:24 UTC (permalink / raw)
  To: gcc-bugs

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

            Bug ID: 109742
           Summary: ICE on unexpanded NTTP pack
           Product: gcc
           Version: unknown
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c++
          Assignee: unassigned at gcc dot gnu.org
          Reporter: 420 at zerberste dot es
  Target Milestone: ---

The following erroneous code snippet triggers an ICE on all versions since 8.1
(including trunk):

template <typename...>
void ice(){
    return ([]<auto... g>(){
            return g;
        }() || ...);
}

template void ice<>();


See https://godbolt.org/z/1jPbe3h9G

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

* [Bug c++/109742] ICE on unexpanded NTTP pack
  2023-05-04 21:24 [Bug c++/109742] New: ICE on unexpanded NTTP pack 420 at zerberste dot es
@ 2023-05-04 21:44 ` pinskia at gcc dot gnu.org
  0 siblings, 0 replies; 2+ messages in thread
From: pinskia at gcc dot gnu.org @ 2023-05-04 21:44 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
bug 109017 comment #1 looks like an exact dup of this testcase too.

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

end of thread, other threads:[~2023-05-04 21:44 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-05-04 21:24 [Bug c++/109742] New: ICE on unexpanded NTTP pack 420 at zerberste dot es
2023-05-04 21:44 ` [Bug c++/109742] " 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).