https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86533
Bug ID: 86533 Summary: [9.0 regression] Compile error on valid code: error: no matching function for call to 'std::allocator<double*>::allocator(const _Tp_alloc_type&)' { return _Map_alloc_type(_M_get_Tp_allocator()); Product: gcc Version: 9.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: juergen.reuter at desy dot de Target Milestone: --- Created attachment 44400 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=44400&action=edit Minimal reproducer The attached code leads to a compile error on valid code, it was working with r261434 but fails with r262687 with the following error (the header file and the corresponding source code are attached: g++ src/Analysis.cc -o tmp/Analysis.o -c -MD -Iinclude -O2 -m64 -pedantic -W -Wall -Wshadow -fPIC .... [lengthy error message] .... /usr/local/include/c++/9.0.0/ext/new_allocator.h:79:7: error: '_GLIBCXX20_CONSTEXPR' does not name a type _GLIBCXX20_CONSTEXPR [....] /usr/local/include/c++/9.0.0/bits/stl_deque.h:611:16: error: no matching function for call to 'std::allocator<double*>::allocator(const _Tp_alloc_type&)' { return _Map_alloc_type(_M_get_Tp_allocator()); }