public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/111220] New: ICE with std::integral in template
@ 2023-08-29  5:50 stevenxia990430 at gmail dot com
  2023-08-29  5:53 ` [Bug c++/111220] " pinskia at gcc dot gnu.org
  0 siblings, 1 reply; 2+ messages in thread
From: stevenxia990430 at gmail dot com @ 2023-08-29  5:50 UTC (permalink / raw)
  To: gcc-bugs

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

            Bug ID: 111220
           Summary: ICE with std::integral in template
           Product: gcc
           Version: 14.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c++
          Assignee: unassigned at gcc dot gnu.org
          Reporter: stevenxia990430 at gmail dot com
  Target Milestone: ---

The following invalid program reports an internal compiler error. Failed on
gcc-trunk. 

To quickly reproduce: https://gcc.godbolt.org/z/TsKjKbfrd
```
#include <concepts>
template<typename Size = std::integral>
```

note that it requires --std=c++20 or c++23, tried on default and it errors
without any crashes.

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

* [Bug c++/111220] ICE with std::integral in template
  2023-08-29  5:50 [Bug c++/111220] New: ICE with std::integral in template stevenxia990430 at gmail dot com
@ 2023-08-29  5:53 ` pinskia at gcc dot gnu.org
  0 siblings, 0 replies; 2+ messages in thread
From: pinskia at gcc dot gnu.org @ 2023-08-29  5:53 UTC (permalink / raw)
  To: gcc-bugs

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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|---                         |DUPLICATE

--- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
Dup of bug 109859.

*** This bug has been marked as a duplicate of bug 109859 ***

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

end of thread, other threads:[~2023-08-29  5:53 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-08-29  5:50 [Bug c++/111220] New: ICE with std::integral in template stevenxia990430 at gmail dot com
2023-08-29  5:53 ` [Bug c++/111220] " 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).