https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65160
Bug ID: 65160
Summary: Linker forgets definition of type_info::__is_pointer_p
Product: gcc
Version: 5.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: c++
Assignee: unassigned at gcc dot gnu.org
Reporter: potswa at mac dot com
In r220825 on Darwin/x64, the build fails with a complaint that
type_info::__is_pointer_p is undefined, although it's still there in
libstdc++-v3/libsupc++/tinfo.cc as ever.
If I go to that file and comment out __is_function_p, it complains about that
function instead and not __is_pointer_p. If I swap the order of those two
definitions, the complaint goes away and the build succeeds. (Hmm, I might have
the functions backwards… same difference anyway.)
The problem persists if I update to the current trunk, so this isn't completely
transient.