From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 174643858403; Wed, 1 Dec 2021 09:32:02 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 174643858403 From: "pjfloyd at wanadoo dot fr" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/103516] New: internal compiler error in comptypes, typeck.c:1558 Date: Wed, 01 Dec 2021 09:32:01 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: unknown X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: pjfloyd at wanadoo dot fr X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter target_milestone Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: gcc-bugs@gcc.gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gcc-bugs mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 01 Dec 2021 09:32:02 -0000 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D103516 Bug ID: 103516 Summary: internal compiler error in comptypes, typeck.c:1558 Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: pjfloyd at wanadoo dot fr Target Milestone: --- GCC from source commit 26493af58a1297d5d9fbb061694416deaee71220 OS: Red Hat Enterprise Linux Workstation release 7.6 (Maipo) CPU: Model name: Intel(R) Xeon(R) CPU X5667 @ 3.07GHz [ 92%] Building CXX object cxx/src/CMakeFiles/cxx_static.dir/barrier.cpp.o= =20=20=20=20=20=20 In file included from /ams/nobackup/pafloyd/foss/llvm-project/build/projects/compiler-rt/lib/fuzz= er/libcxx_fuzzer_x86_64/include/c++/v1/__utility/pair.h:13, from /ams/nobackup/pafloyd/foss/llvm-project/build/projects/compiler-rt/lib/fuzz= er/libcxx_fuzzer_x86_64/include/c++/v1/utility:228, from /ams/nobackup/pafloyd/foss/llvm-project/build/projects/compiler-rt/lib/fuzz= er/libcxx_fuzzer_x86_64/include/c++/v1/__functional_base:26,=20 from /ams/nobackup/pafloyd/foss/llvm-project/build/projects/compiler-rt/lib/fuzz= er/libcxx_fuzzer_x86_64/include/c++/v1/memory:665, from /ams/nobackup/pafloyd/foss/llvm-project/build/projects/compiler-rt/lib/fuzz= er/libcxx_fuzzer_x86_64/include/c++/v1/barrier:52, from /ams/nobackup/pafloyd/foss/llvm-project/libcxx/src/barrier.cpp:13: /ams/nobackup/pafloyd/foss/llvm-project/build/projects/compiler-rt/lib/fuzz= er/libcxx_fuzzer_x86_64/include/c++/v1/__compare/synth_three_way.h:28:45: warning: 'always_inline' attribute ignored [-Wattributes] 28 | _LIBCPP_HIDE_FROM_ABI inline constexpr auto __synth_three_way =3D | ^~~~~~~~~~~~~~~~~ In file included from /ams/nobackup/pafloyd/foss/llvm-project/libcxx/src/barrier.cpp:9: /ams/nobackup/pafloyd/foss/llvm-project/build/projects/compiler-rt/lib/fuzz= er/libcxx_fuzzer_x86_64/include/c++/v1/__config:787:35: internal compiler error: canonical types differ for identical types 'std::__Fuzzer::basic_string<_CharT, _Traits, _Allocator>& (std::__Fuzzer::basic_string<_CharT, _Traits, _Allocator>::)(std::__Fuzzer::basic_string<_CharT, _Traits, _Allocator>&&) noexcept (std::__Fuzzer::__noexcept_move_assign_container<_Allocator, std::__Fuzzer::allocator_traits<_Allocator> >::value)' and 'std::__Fuzzer::basic_string<_CharT, _Traits, _Allocator>& (std::__Fuzzer::basic_string<_CharT, _Traits, _Allocator>::)(std::__Fuzzer::basic_string<_CharT, _Traits, _Allocator>&&) noexcept (std::__Fuzzer::__noexcept_move_assign_container<_Allocator, std::__Fuzzer::allocator_traits<_Allocator> >::value)' 787 | # define _NOEXCEPT_(x) noexcept(x) | ^ /ams/nobackup/pafloyd/foss/llvm-project/build/projects/compiler-rt/lib/fuzz= er/libcxx_fuzzer_x86_64/include/c++/v1/string:2476:5: note: in expansion of macro '_NOEXCEPT_' 2476 | _NOEXCEPT_((__noexcept_move_assign_container<_Allocator, __alloc_traits>::value)) | ^~~~~~~~~~ 0xc3a55f comptypes(tree_node*, tree_node*, int) ../../gcc/cp/typeck.c:1558=20=20=20=20=20=20=20=20=20=20=20=20=20 0xa73d7c duplicate_decls(tree_node*, tree_node*, bool, bool) ../../gcc/cp/decl.c:2409=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20 0xa7ba3f grokfndecl=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20 ../../gcc/cp/decl.c:10351=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20 0xa80762 grokdeclarator(cp_declarator const*, cp_decl_specifier_seq*, decl_context, int, tree_node**) ../../gcc/cp/decl.c:14134=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20 0xa85446 start_function(cp_decl_specifier_seq*, cp_declarator const*, tree_node*)=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20 ../../gcc/cp/decl.c:17143=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20 0xb8078f cp_parser_function_definition_from_specifiers_and_declarator=20=20= =20=20=20=20=20=20=20=20=20 ../../gcc/cp/parser.c:31035=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20 0xb8078f cp_parser_init_declarator=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20 ../../gcc/cp/parser.c:22510=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20 0xb88a03 cp_parser_single_declaration=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20 ../../gcc/cp/parser.c:31666=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20 0xb88b56 cp_parser_template_declaration_after_parameters=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20 ../../gcc/cp/parser.c:31231=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20 0xb893d0 cp_parser_explicit_template_declaration ../../gcc/cp/parser.c:31497 0xb8bd71 cp_parser_declaration ../../gcc/cp/parser.c:14849 0xb8b349 cp_parser_toplevel_declaration ../../gcc/cp/parser.c:14939 0xb8b349 cp_parser_declaration_seq_opt ../../gcc/cp/parser.c:14692 0xb8b792 cp_parser_namespace_body ../../gcc/cp/parser.c:21313 0xb8b792 cp_parser_namespace_definition ../../gcc/cp/parser.c:21291 0xb8be97 cp_parser_declaration ../../gcc/cp/parser.c:14898 0xb8b349 cp_parser_toplevel_declaration ../../gcc/cp/parser.c:14939 0xb8b349 cp_parser_declaration_seq_opt ../../gcc/cp/parser.c:14692 0xb8b792 cp_parser_namespace_body ../../gcc/cp/parser.c:21313 0xb8b792 cp_parser_namespace_definition ../../gcc/cp/parser.c:21291 Please submit a full bug report, with preprocessed source if appropriate. Please include the complete backtrace with any bug report. See for instructions. make[5]: *** [cxx/src/CMakeFiles/cxx_static.dir/barrier.cpp.o] Error 1 make[4]: *** [cxx/src/CMakeFiles/cxx_static.dir/all] Error 2 make[3]: *** [all] Error 2 make[2]: *** [projects/compiler-rt/lib/fuzzer/libcxx_fuzzer_x86_64-stamps/libcxx_fuzzer_= x86_64-build] Error 2 make[1]: *** [projects/compiler-rt/lib/fuzzer/CMakeFiles/libcxx_fuzzer_x86_64-build.dir/= all] Error 2 make: *** [all] Error 2=