public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/110084] New: defaulted constexpr operator== causes crash
@ 2023-06-02  3:34 nikolasklauser at berlin dot de
  2023-06-02  3:42 ` [Bug c++/110084] [12/13/14 Regression] " pinskia at gcc dot gnu.org
                   ` (7 more replies)
  0 siblings, 8 replies; 9+ messages in thread
From: nikolasklauser at berlin dot de @ 2023-06-02  3:34 UTC (permalink / raw)
  To: gcc-bugs

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

            Bug ID: 110084
           Summary: defaulted constexpr operator== causes crash
           Product: gcc
           Version: 14.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c++
          Assignee: unassigned at gcc dot gnu.org
          Reporter: nikolasklauser at berlin dot de
  Target Milestone: ---

template <class T>
class BadTuple {
  constexpr bool operator==(const BadTuple&) const;
};
template<class T>
constexpr bool BadTuple<T>::operator==(const BadTuple<T>&) const = default;

BadTuple<int> a;

causes GCC to crash.

https://godbolt.org/z/veG6hEeP3

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

end of thread, other threads:[~2024-02-06  0:52 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-06-02  3:34 [Bug c++/110084] New: defaulted constexpr operator== causes crash nikolasklauser at berlin dot de
2023-06-02  3:42 ` [Bug c++/110084] [12/13/14 Regression] " pinskia at gcc dot gnu.org
2023-06-05 20:29 ` mpolacek at gcc dot gnu.org
2024-01-12 14:07 ` rguenth at gcc dot gnu.org
2024-02-02 16:22 ` jason at gcc dot gnu.org
2024-02-02 18:55 ` cvs-commit at gcc dot gnu.org
2024-02-02 19:29 ` cvs-commit at gcc dot gnu.org
2024-02-02 19:54 ` cvs-commit at gcc dot gnu.org
2024-02-06  0:52 ` jason 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).