public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "marxin at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/107267] [13 Regression] ICE in cp_gimplify_init_expr, at cp/cp-gimplify.cc:253 since r13-3175-g6ffbf87ca66f4ed9
Date: Mon, 17 Oct 2022 11:35:16 +0000	[thread overview]
Message-ID: <bug-107267-4-Xaq76ZLq5L@http.gcc.gnu.org/bugzilla/> (raw)
In-Reply-To: <bug-107267-4@http.gcc.gnu.org/bugzilla/>

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

--- Comment #9 from Martin Liška <marxin at gcc dot gnu.org> ---
More reduced test-case:

template <int __v> struct integral_constant {
  static constexpr int value = __v;
};
template <bool __v> using __bool_constant = integral_constant<__v>;
template <int> struct __conditional {
  template <typename _Tp, typename> using type = _Tp;
};
template <bool _Cond, typename _If, typename _Else>
using __conditional_t = typename __conditional<_Cond>::type<_If, _Else>;
namespace std {
template <typename _Tp> _Tp &&move(_Tp &&);
struct pair {
  int second;
};
template <int _Constant_iterators> struct _Hashtable_traits {
  using __constant_iterators = __bool_constant<_Constant_iterators>;
};
template <int __constant_iterators> struct _Node_iterator {
  __conditional_t<__constant_iterators, pair *, pair> operator->();
};
using iterator =
    _Node_iterator<_Hashtable_traits<false>::__constant_iterators::value>;
} // namespace std
struct FindResult {
  FindResult(bool, int);
  std::pair result;
};
std::iterator pop_itr;
FindResult pop_ret = std::move(FindResult(true, pop_itr->second));

  parent reply	other threads:[~2022-10-17 11:35 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-10-14 16:18 [Bug c++/107267] New: ice in cp_gimplify_init_expr, at cp/cp-gimplify.cc:253 dcb314 at hotmail dot com
2022-10-14 16:25 ` [Bug c++/107267] " dcb314 at hotmail dot com
2022-10-14 16:29 ` dcb314 at hotmail dot com
2022-10-15 11:00 ` dcb314 at hotmail dot com
2022-10-16  6:39 ` dcb314 at hotmail dot com
2022-10-16  7:03 ` dcb314 at hotmail dot com
2022-10-16  7:21 ` dcb314 at hotmail dot com
2022-10-16  7:30 ` dcb314 at hotmail dot com
2022-10-17 11:31 ` [Bug c++/107267] [13 Regression] ICE in cp_gimplify_init_expr, at cp/cp-gimplify.cc:253 since r13-3175-g6ffbf87ca66f4ed9 marxin at gcc dot gnu.org
2022-10-17 11:32 ` marxin at gcc dot gnu.org
2022-10-17 11:35 ` marxin at gcc dot gnu.org [this message]
2022-10-17 11:35 ` marxin at gcc dot gnu.org
2022-10-20 18:39 ` dcb314 at hotmail dot com
2022-10-20 18:52 ` ppalka at gcc dot gnu.org
2023-01-23 22:04 ` jason at gcc dot gnu.org
2023-01-23 23:35 ` cvs-commit at gcc dot gnu.org
2023-01-24  2:53 ` jason at gcc dot gnu.org

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=bug-107267-4-Xaq76ZLq5L@http.gcc.gnu.org/bugzilla/ \
    --to=gcc-bugzilla@gcc.gnu.org \
    --cc=gcc-bugs@gcc.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).