public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/103516] New: internal compiler error in comptypes, typeck.c:1558
@ 2021-12-01 9:32 pjfloyd at wanadoo dot fr
2021-12-01 9:34 ` [Bug c++/103516] " marxin at gcc dot gnu.org
` (2 more replies)
0 siblings, 3 replies; 4+ messages in thread
From: pjfloyd at wanadoo dot fr @ 2021-12-01 9:32 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103516
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
In file included from
/ams/nobackup/pafloyd/foss/llvm-project/build/projects/compiler-rt/lib/fuzzer/libcxx_fuzzer_x86_64/include/c++/v1/__utility/pair.h:13,
from
/ams/nobackup/pafloyd/foss/llvm-project/build/projects/compiler-rt/lib/fuzzer/libcxx_fuzzer_x86_64/include/c++/v1/utility:228,
from
/ams/nobackup/pafloyd/foss/llvm-project/build/projects/compiler-rt/lib/fuzzer/libcxx_fuzzer_x86_64/include/c++/v1/__functional_base:26,
from
/ams/nobackup/pafloyd/foss/llvm-project/build/projects/compiler-rt/lib/fuzzer/libcxx_fuzzer_x86_64/include/c++/v1/memory:665,
from
/ams/nobackup/pafloyd/foss/llvm-project/build/projects/compiler-rt/lib/fuzzer/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/fuzzer/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 =
| ^~~~~~~~~~~~~~~~~
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/fuzzer/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/fuzzer/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
0xa73d7c duplicate_decls(tree_node*, tree_node*, bool, bool)
../../gcc/cp/decl.c:2409
0xa7ba3f grokfndecl
../../gcc/cp/decl.c:10351
0xa80762 grokdeclarator(cp_declarator const*, cp_decl_specifier_seq*,
decl_context, int, tree_node**)
../../gcc/cp/decl.c:14134
0xa85446 start_function(cp_decl_specifier_seq*, cp_declarator const*,
tree_node*)
../../gcc/cp/decl.c:17143
0xb8078f cp_parser_function_definition_from_specifiers_and_declarator
../../gcc/cp/parser.c:31035
0xb8078f cp_parser_init_declarator
../../gcc/cp/parser.c:22510
0xb88a03 cp_parser_single_declaration
../../gcc/cp/parser.c:31666
0xb88b56 cp_parser_template_declaration_after_parameters
../../gcc/cp/parser.c:31231
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 <https://gcc.gnu.org/bugs/> 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
^ permalink raw reply [flat|nested] 4+ messages in thread
* [Bug c++/103516] internal compiler error in comptypes, typeck.c:1558
2021-12-01 9:32 [Bug c++/103516] New: internal compiler error in comptypes, typeck.c:1558 pjfloyd at wanadoo dot fr
@ 2021-12-01 9:34 ` marxin at gcc dot gnu.org
2021-12-01 9:38 ` pinskia at gcc dot gnu.org
2021-12-01 9:47 ` pjfloyd at wanadoo dot fr
2 siblings, 0 replies; 4+ messages in thread
From: marxin at gcc dot gnu.org @ 2021-12-01 9:34 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103516
Martin Liška <marxin at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |WAITING
CC| |marxin at gcc dot gnu.org
Ever confirmed|0 |1
Last reconfirmed| |2021-12-01
--- Comment #1 from Martin Liška <marxin at gcc dot gnu.org> ---
Please provide a test-case (with -E option) and upload it here.
And we would need compiler arguments being used.
^ permalink raw reply [flat|nested] 4+ messages in thread
* [Bug c++/103516] internal compiler error in comptypes, typeck.c:1558
2021-12-01 9:32 [Bug c++/103516] New: internal compiler error in comptypes, typeck.c:1558 pjfloyd at wanadoo dot fr
2021-12-01 9:34 ` [Bug c++/103516] " marxin at gcc dot gnu.org
@ 2021-12-01 9:38 ` pinskia at gcc dot gnu.org
2021-12-01 9:47 ` pjfloyd at wanadoo dot fr
2 siblings, 0 replies; 4+ messages in thread
From: pinskia at gcc dot gnu.org @ 2021-12-01 9:38 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103516
Andrew Pinski <pinskia at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Resolution|--- |DUPLICATE
Status|WAITING |RESOLVED
--- Comment #2 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
Dup of bug 101715.
*** This bug has been marked as a duplicate of bug 101715 ***
^ permalink raw reply [flat|nested] 4+ messages in thread
* [Bug c++/103516] internal compiler error in comptypes, typeck.c:1558
2021-12-01 9:32 [Bug c++/103516] New: internal compiler error in comptypes, typeck.c:1558 pjfloyd at wanadoo dot fr
2021-12-01 9:34 ` [Bug c++/103516] " marxin at gcc dot gnu.org
2021-12-01 9:38 ` pinskia at gcc dot gnu.org
@ 2021-12-01 9:47 ` pjfloyd at wanadoo dot fr
2 siblings, 0 replies; 4+ messages in thread
From: pjfloyd at wanadoo dot fr @ 2021-12-01 9:47 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103516
--- Comment #3 from Paul Floyd <pjfloyd at wanadoo dot fr> ---
Forgot to say, this is building llvm. And it does look like 10715.
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2021-12-01 9:47 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-12-01 9:32 [Bug c++/103516] New: internal compiler error in comptypes, typeck.c:1558 pjfloyd at wanadoo dot fr
2021-12-01 9:34 ` [Bug c++/103516] " marxin at gcc dot gnu.org
2021-12-01 9:38 ` pinskia at gcc dot gnu.org
2021-12-01 9:47 ` pjfloyd at wanadoo dot fr
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).