public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/100928] New: [c++20] ICE with structural type value returned from constexpr function as template argument
@ 2021-06-05 22:25 josephcanedo at hotmail dot com
  2021-06-07 18:27 ` [Bug c++/100928] " ppalka at gcc dot gnu.org
  0 siblings, 1 reply; 2+ messages in thread
From: josephcanedo at hotmail dot com @ 2021-06-05 22:25 UTC (permalink / raw)
  To: gcc-bugs

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

            Bug ID: 100928
           Summary: [c++20] ICE with structural type value returned from
                    constexpr function as template argument
           Product: gcc
           Version: 11.1.1
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c++
          Assignee: unassigned at gcc dot gnu.org
          Reporter: josephcanedo at hotmail dot com
  Target Milestone: ---

Created attachment 50953
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=50953&action=edit
test_tag.cpp

$ g++-11 -std=c++20 -c test_tag.cpp
test_tag.cpp:40:43: internal compiler error: Segmentation fault
   40 | using concat_test = test<Name + "hhhh"_tag>;
      |                                           ^
0xe30681 internal_error(char const*, ...)
        ???:0
0x1062d42 resolve_args(vec<tree_node*, va_gc, vl_embed>*, int)
        ???:0
0x10a169a finish_template_type(tree_node*, tree_node*, int)
        ???:0
0x1492c03 c_parse_file()
        ???:0
0x148061e 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 <file:///usr/share/doc/gcc-11/README.Bugs> for instructions.

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

* [Bug c++/100928] [c++20] ICE with structural type value returned from constexpr function as template argument
  2021-06-05 22:25 [Bug c++/100928] New: [c++20] ICE with structural type value returned from constexpr function as template argument josephcanedo at hotmail dot com
@ 2021-06-07 18:27 ` ppalka at gcc dot gnu.org
  0 siblings, 0 replies; 2+ messages in thread
From: ppalka at gcc dot gnu.org @ 2021-06-07 18:27 UTC (permalink / raw)
  To: gcc-bugs

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

Patrick Palka <ppalka at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|---                         |DUPLICATE
                 CC|                            |ppalka at gcc dot gnu.org

--- Comment #1 from Patrick Palka <ppalka at gcc dot gnu.org> ---
Thanks for the bug report.  This looks like a dup of PR93383, which has been
fixed for GCC 12 and 11.2.

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

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

end of thread, other threads:[~2021-06-07 18:27 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-06-05 22:25 [Bug c++/100928] New: [c++20] ICE with structural type value returned from constexpr function as template argument josephcanedo at hotmail dot com
2021-06-07 18:27 ` [Bug c++/100928] " ppalka 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).