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

--- Comment #6 from Casey Carter <Casey at Carter dot net> ---
ODR-use of different specializations of the same partially-specialized variable
template still trigger the error in GCC 6 (Error: symbol `x' is already
defined):

template <class>
bool x = false;

template <class T>
bool x<T*> = true;

int main() { return x<int*> + x<double*>; }

Which may be covered by one of the other "partially-specialized variable
template" bugs.

Hmmm, looks like its in Tom's comment on the regression in 70095
(https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70095#c2). If you're planning to
address that comment - which I assume from the state changing to ASSIGNED
moments ago - I'll leave this closed.

Reply via email to