https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70095

Tom Honermann <tom at honermann dot net> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |tom at honermann dot net

--- Comment #2 from Tom Honermann <tom at honermann dot net> ---
The change in comment 1 introduced a regression.  The following test passes
with r234230, but fails with r234231:

$ cat t.cpp
template <class>
constexpr bool b = false;
template<typename T>
constexpr bool b<T*> = true;
int main() {
    b<int*>;
    b<double*>;
}

$ g++ -std=c++14 t.cpp -o t
/tmp/ccJTAQId.s: Assembler messages:
/tmp/ccJTAQId.s:27: Error: symbol `_ZL1b' is already defined

Reply via email to