public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/103410] New: ICE: in grokfndecl, at cp/decl.c:9903
@ 2021-11-24 16:35 hewillk at gmail dot com
  2021-11-24 16:58 ` [Bug c++/103410] " mpolacek at gcc dot gnu.org
  2024-04-13 20:41 ` pinskia at gcc dot gnu.org
  0 siblings, 2 replies; 3+ messages in thread
From: hewillk at gmail dot com @ 2021-11-24 16:35 UTC (permalink / raw)
  To: gcc-bugs

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

            Bug ID: 103410
           Summary: ICE: in grokfndecl, at cp/decl.c:9903
           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: ---

This is an ancient bug that has existed since gcc-6, and I suspect someone has
reported it.

auto f() requires (auto{[]{}});

https://godbolt.org/z/4ajq6h9jK

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

* [Bug c++/103410] ICE: in grokfndecl, at cp/decl.c:9903
  2021-11-24 16:35 [Bug c++/103410] New: ICE: in grokfndecl, at cp/decl.c:9903 hewillk at gmail dot com
@ 2021-11-24 16:58 ` mpolacek at gcc dot gnu.org
  2024-04-13 20:41 ` pinskia at gcc dot gnu.org
  1 sibling, 0 replies; 3+ messages in thread
From: mpolacek at gcc dot gnu.org @ 2021-11-24 16:58 UTC (permalink / raw)
  To: gcc-bugs

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

Marek Polacek <mpolacek at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Last reconfirmed|                            |2021-11-24
                 CC|                            |mpolacek at gcc dot gnu.org
     Ever confirmed|0                           |1
             Status|UNCONFIRMED                 |NEW

--- Comment #1 from Marek Polacek <mpolacek at gcc dot gnu.org> ---
I haven't found an existing bug report for this, so confirmed.

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

* [Bug c++/103410] ICE: in grokfndecl, at cp/decl.c:9903
  2021-11-24 16:35 [Bug c++/103410] New: ICE: in grokfndecl, at cp/decl.c:9903 hewillk at gmail dot com
  2021-11-24 16:58 ` [Bug c++/103410] " mpolacek at gcc dot gnu.org
@ 2024-04-13 20:41 ` pinskia at gcc dot gnu.org
  1 sibling, 0 replies; 3+ messages in thread
From: pinskia at gcc dot gnu.org @ 2024-04-13 20:41 UTC (permalink / raw)
  To: gcc-bugs

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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
   Target Milestone|---                         |12.0
             Blocks|                            |67491
         Resolution|---                         |FIXED

--- Comment #2 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
Fixed in GCC 12:
<source>:1:6: error: constraints on a non-templated function
    1 | auto f() requires (auto{[]{}});
      |      ^


Referenced Bugs:

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67491
[Bug 67491] [meta-bug] concepts issues

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

end of thread, other threads:[~2024-04-13 20:41 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-11-24 16:35 [Bug c++/103410] New: ICE: in grokfndecl, at cp/decl.c:9903 hewillk at gmail dot com
2021-11-24 16:58 ` [Bug c++/103410] " mpolacek at gcc dot gnu.org
2024-04-13 20:41 ` 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).