public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/105064] New: requires crashes gcc
@ 2022-03-26 17:21 janezz55 at gmail dot com
  2022-03-26 20:40 ` [Bug c++/105064] " redi at gcc dot gnu.org
                   ` (15 more replies)
  0 siblings, 16 replies; 17+ messages in thread
From: janezz55 at gmail dot com @ 2022-03-26 17:21 UTC (permalink / raw)
  To: gcc-bugs

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

            Bug ID: 105064
           Summary: requires crashes gcc
           Product: gcc
           Version: 11.2.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c++
          Assignee: unassigned at gcc dot gnu.org
          Reporter: janezz55 at gmail dot com
  Target Milestone: ---

another gcc crash:
g++ -std=c++20 -Ofast loopdemo.cpp -o s

In file included from loopdemo.cpp:3:
loop.hpp:168:45: internal compiler error: Segmentation fault
  168 |     requires(std::is_integral_v<decltype(i)>);
      |                                             ^
0xe4c988 internal_error(char const*, ...)
        ???:0
0xf778a4 duplicate_decls(tree_node*, tree_node*, bool, bool)
        ???:0
0xf82c3b pushdecl_namespace_level(tree_node*, bool)
        ???:0
0x10ecbfe push_template_decl(tree_node*, bool)
        ???:0
0x159b601 do_friend(tree_node*, tree_node*, tree_node*, tree_node*,
overload_flags, bool)
        ???:0
0x1001717 grokdeclarator(cp_declarator const*, cp_decl_specifier_seq*,
decl_context, int, tree_node**)
        ???:0
0x105cc75 grokfield(cp_declarator const*, cp_decl_specifier_seq*, tree_node*,
bool, tree_node*, tree_node*)
        ???:0
0x14e7873 c_parse_file()
        ???:0
0x14c9d9e 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://bugs.archlinux.org/> for instructions.

source code is here:
https://github.com/user1095108/cr/blob/master/loopdemo.cpp

clang++ compiles the code without issue.

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

end of thread, other threads:[~2022-05-04  0:24 UTC | newest]

Thread overview: 17+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-03-26 17:21 [Bug c++/105064] New: requires crashes gcc janezz55 at gmail dot com
2022-03-26 20:40 ` [Bug c++/105064] " redi at gcc dot gnu.org
2022-03-27 11:43 ` janezz55 at gmail dot com
2022-03-27 13:00 ` redi at gcc dot gnu.org
2022-03-27 13:02 ` redi at gcc dot gnu.org
2022-03-27 18:01 ` janezz55 at gmail dot com
2022-03-27 18:05 ` janezz55 at gmail dot com
2022-03-27 18:29 ` janezz55 at gmail dot com
2022-03-27 18:39 ` janezz55 at gmail dot com
2022-03-27 19:16 ` janezz55 at gmail dot com
2022-03-27 22:19 ` [Bug c++/105064] [10/11/12 Regression] " redi at gcc dot gnu.org
2022-03-28  7:30 ` rguenth at gcc dot gnu.org
2022-03-28 13:27 ` ppalka at gcc dot gnu.org
2022-03-28 18:17 ` cvs-commit at gcc dot gnu.org
2022-03-28 18:19 ` [Bug c++/105064] [10/11 " ppalka at gcc dot gnu.org
2022-04-07 19:19 ` cvs-commit at gcc dot gnu.org
2022-05-04  0:24 ` [Bug c++/105064] [10 " 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).