public inbox for gcc-bugs@sourceware.org help / color / mirror / Atom feed
From: "pinskia at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/102548] gcc segmentation fault in cc1plus (with repro case) Date: Thu, 30 Sep 2021 22:13:17 +0000 [thread overview] Message-ID: <bug-102548-4-X6RkJmw2ek@http.gcc.gnu.org/bugzilla/> (raw) In-Reply-To: <bug-102548-4@http.gcc.gnu.org/bugzilla/> https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102548 --- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> --- apinski@xeond:~/src$ ~/upstream-gcc/bin/gcc cmTimestamp.ii -m32 -S E:/Programming/Source/msys2/MINGW-packages/mingw-w64-cmake/src/cmake-3.21.2/Source/cmTimestamp.cxx: In lambda function: E:/Programming/Source/msys2/MINGW-packages/mingw-w64-cmake/src/cmake-3.21.2/Source/cmTimestamp.cxx:208:12: internal compiler error: tree check: expected tree_list, have error_mark in apply_identity_attributes, at cp/tree.c:1499 0x8e5b60 tree_check_failed(tree_node const*, char const*, int, char const*, ...) /home/apinski/src/upstream-gcc/gcc/gcc/tree.c:8689 0x7a8647 tree_check(tree_node*, char const*, int, char const*, tree_code) /home/apinski/src/upstream-gcc/gcc/gcc/tree.h:3427 0x7a8647 apply_identity_attributes /home/apinski/src/upstream-gcc/gcc/gcc/cp/tree.c:1499 0x7a8647 strip_typedefs(tree_node*, bool*, unsigned int) /home/apinski/src/upstream-gcc/gcc/gcc/cp/tree.c:1816 0xc0761d strip_typedefs(tree_node*, bool*, unsigned int) /home/apinski/src/upstream-gcc/gcc/gcc/cp/tree.c:1548 0xc0761d strip_typedefs(tree_node*, bool*, unsigned int) /home/apinski/src/upstream-gcc/gcc/gcc/cp/tree.c:1583 0xb70012 canonicalize_type_argument(tree_node*, int) /home/apinski/src/upstream-gcc/gcc/gcc/cp/pt.c:8176 0xb70012 canonicalize_type_argument(tree_node*, int) /home/apinski/src/upstream-gcc/gcc/gcc/cp/pt.c:8171 0xb9ee42 unify /home/apinski/src/upstream-gcc/gcc/gcc/cp/pt.c:23817 0xb9b288 unify_one_argument /home/apinski/src/upstream-gcc/gcc/gcc/cp/pt.c:22271 0xba877a type_unification_real /home/apinski/src/upstream-gcc/gcc/gcc/cp/pt.c:22390 0xb7f4e0 do_auto_deduction(tree_node*, tree_node*, tree_node*, int, auto_deduction_context, tree_node*, int) /home/apinski/src/upstream-gcc/gcc/gcc/cp/pt.c:29805 0xc2454f check_return_expr(tree_node*, bool*) /home/apinski/src/upstream-gcc/gcc/gcc/cp/typeck.c:10315 0xbd1eaf finish_return_stmt(tree_node*) /home/apinski/src/upstream-gcc/gcc/gcc/cp/semantics.c:1193 0xb34bc5 cp_parser_jump_statement /home/apinski/src/upstream-gcc/gcc/gcc/cp/parser.c:14162 0xb34bc5 cp_parser_statement /home/apinski/src/upstream-gcc/gcc/gcc/cp/parser.c:12172 0xb3583d cp_parser_statement_seq_opt /home/apinski/src/upstream-gcc/gcc/gcc/cp/parser.c:12713 0xb35918 cp_parser_compound_statement /home/apinski/src/upstream-gcc/gcc/gcc/cp/parser.c:12662 0xb36647 cp_parser_function_body /home/apinski/src/upstream-gcc/gcc/gcc/cp/parser.c:24893 0xb36647 cp_parser_lambda_body /home/apinski/src/upstream-gcc/gcc/gcc/cp/parser.c:11654 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.
next prev parent reply other threads:[~2021-09-30 22:13 UTC|newest] Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top 2021-09-30 18:20 [Bug c++/102548] New: " ulatekh at yahoo dot com 2021-09-30 22:13 ` pinskia at gcc dot gnu.org [this message] 2021-09-30 22:16 ` [Bug c++/102548] " mpolacek at gcc dot gnu.org 2021-09-30 22:18 ` pinskia at gcc dot gnu.org 2021-09-30 22:45 ` [Bug c++/102548] [9/10/11/12 Regression] ICE with cdecl attribute on a builtin function pinskia at gcc dot gnu.org 2021-10-01 6:31 ` rguenth at gcc dot gnu.org 2021-10-01 8:43 ` [Bug c++/102548] [9/10/11/12 Regression] ICE with cdecl attribute on a builtin function since r7-4737-g48330c9355e32a41 marxin at gcc dot gnu.org 2021-10-04 18:39 ` jakub at gcc dot gnu.org 2021-10-05 20:29 ` cvs-commit at gcc dot gnu.org 2021-10-05 20:31 ` cvs-commit at gcc dot gnu.org 2021-10-05 21:09 ` [Bug c++/102548] [9/10 " jakub at gcc dot gnu.org 2021-10-05 22:20 ` ulatekh at yahoo dot com 2022-05-10 8:21 ` cvs-commit at gcc dot gnu.org 2022-05-11 6:22 ` cvs-commit at gcc dot gnu.org 2022-05-11 6:36 ` jakub 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-102548-4-X6RkJmw2ek@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: linkBe 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).