https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103309
H.J. Lu <hjl.tools at gmail dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Ever confirmed|0 |1
Status|UNCONFIRMED |NEW
Last reconfirmed| |2021-11-17
--- Comment #1 from H.J. Lu <hjl.tools at gmail dot com> ---
The build error can happen on different source files. But it always points
to
https://gcc.gnu.org/pipermail/gcc-regression/2021-November/075734.html
In member function ‘hash_table<Descriptor, Lazy, Allocator>::value_type*
hash_table<Descriptor, Lazy, Allocator>::alloc_entries(size_t) const [with
Descriptor = hash_map<tree_node*, auto_vec<gimple*> >::hash_entry; bool Lazy =
false; Allocator = xcallocator]’,
inlined from ‘void hash_table<Descriptor, Lazy, Allocator>::expand() [with
Descriptor = hash_map<tree_node*, auto_vec<gimple*> >::hash_entry; bool Lazy =
false; Allocator = xcallocator]’ at ../../src-master/gcc/hash-table.h:802:40:
../../src-master/gcc/system.h:784:34: error: section type conflict with ‘void
hash_table<Descriptor, Lazy, Allocator>::expand() [with Descriptor =
hash_map<tree_node*, auto_vec<gimple*> >::hash_entry; bool Lazy = false;
Allocator = xcallocator]’
784 | ((void)(!(EXPR) ? fancy_abort (__FILE__, __LINE__, __FUNCTION__), 0
: 0))
| ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../../src-master/gcc/hash-table.h:715:3: note: in expansion of macro
‘gcc_assert’
715 | gcc_assert (nentries != NULL);
| ^~~~~~~~~~