public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/105098] New: ICE: endless recursion during auto deduction
@ 2022-03-29 14:59 a3at.mail at gmail dot com
  2022-03-29 15:02 ` [Bug c++/105098] " a3at.mail at gmail dot com
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: a3at.mail at gmail dot com @ 2022-03-29 14:59 UTC (permalink / raw)
  To: gcc-bugs

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

            Bug ID: 105098
           Summary: ICE: endless recursion during auto deduction
           Product: gcc
           Version: 11.2.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c++
          Assignee: unassigned at gcc dot gnu.org
          Reporter: a3at.mail at gmail dot com
  Target Milestone: ---

Created attachment 52711
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=52711&action=edit
original cpp code

While switching to libcxx from llvm-14 (actually llvm-13 fails too), using
tuple w/o explicitly passing types leads to ICE with gcc-11.2 (gcc-12 works
fine).

Note, that you can reproduce this with simple usage of tuple from libcxx 13+,
i.e.:

    # /usr/include/c++/v1 - path to libcxx
    g++ -std=gnu++20 -c -o /dev/null -isystem /usr/include/c++/v1 -nostdinc++
libcxx-tuple.cpp

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

end of thread, other threads:[~2022-03-29 15:12 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-03-29 14:59 [Bug c++/105098] New: ICE: endless recursion during auto deduction a3at.mail at gmail dot com
2022-03-29 15:02 ` [Bug c++/105098] " a3at.mail at gmail dot com
2022-03-29 15:03 ` a3at.mail at gmail dot com
2022-03-29 15:07 ` mpolacek at gcc dot gnu.org
2022-03-29 15:09 ` mpolacek at gcc dot gnu.org
2022-03-29 15:12 ` a3at.mail at gmail dot com

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