public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "mateusz.pusz at gmail dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/97103] ICE on nested requires expression template template instantiation
Date: Fri, 18 Sep 2020 09:45:40 +0000	[thread overview]
Message-ID: <bug-97103-4-ULnybNsLXY@http.gcc.gnu.org/bugzilla/> (raw)
In-Reply-To: <bug-97103-4@http.gcc.gnu.org/bugzilla/>

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

--- Comment #1 from Mateusz Pusz <mateusz.pusz at gmail dot com> ---
<source>: In instantiation of 'constexpr const bool
valid_template_arguments<template<class R, class Rep> class quantity>':

<source>:8:15:   required from here

<source>:6:32: internal compiler error: in tsubst, at cp/pt.c:15447

    6 |   requires requires { typename Q<int, int>; };                      //
two representation types

      |                       ~~~~~~~~~^~~~~~~~~~~~

0x1b755e9 internal_error(char const*, ...)

        ???:0

0x686d2b fancy_abort(char const*, int, char const*)

        ???:0

0x896a1b tsubst(tree_node*, tree_node*, int, tree_node*)

        ???:0

0x709a42 tsubst_requires_expr(tree_node*, tree_node*, int, tree_node*)

        ???:0

0x709725 tsubst_requires_expr(tree_node*, tree_node*, int, tree_node*)

        ???:0

0x89ac2f instantiate_decl(tree_node*, bool, bool)

        ???:0

0x79044e maybe_instantiate_decl(tree_node*)

        ???:0

0x7935e8 mark_used(tree_node*, int)

        ???:0

0x90bab7 finish_id_expression(tree_node*, tree_node*, tree_node*, cp_id_kind*,
bool, bool, bool*, bool, bool, bool, bool, char const**, unsigned int)

        ???:0

0x862cec c_parse_file()

        ???:0

0x9d3702 c_common_parse_file()

        ???:0

Please submit a full bug report,

with preprocessed source if appropriate.

Please include the complete backtrace with any bug report.

See <https://gcc.gnu.org/bugs/> for instructions.

Compiler returned: 1

  reply	other threads:[~2020-09-18  9:45 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-09-18  9:45 [Bug c++/97103] New: " mateusz.pusz at gmail dot com
2020-09-18  9:45 ` mateusz.pusz at gmail dot com [this message]
2020-09-18 12:55 ` [Bug c++/97103] " ppalka at gcc dot gnu.org
2020-09-18 18:47 ` [Bug c++/97103] [10/11 Regression] " ppalka at gcc dot gnu.org
2020-09-19 15:18 ` cvs-commit at gcc dot gnu.org
2020-10-12 11:52 ` [Bug c++/97103] [10 " rguenth at gcc dot gnu.org
2021-03-31 12:33 ` cvs-commit at gcc dot gnu.org
2021-03-31 12:35 ` ppalka 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-97103-4-ULnybNsLXY@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).