[Bug c++/28330] finds wrong template overload; peculiar diagnostic

2009-12-08 Thread redi at gcc dot gnu dot org
--- Comment #5 from redi at gcc dot gnu dot org 2009-12-08 21:06 --- Assuming that's an accurate reduction of the original code, comment 4 is correct. I didn't look at the preprocessed source, it includes Boost code that will be very specific to the GCC 4.0.2 version it was compiled wit

[Bug c++/28330] finds wrong template overload; peculiar diagnostic

2008-03-02 Thread truedfx at gentoo dot org
--- Comment #4 from truedfx at gentoo dot org 2008-03-02 10:57 --- I only came across this bug looking for something else, but anyway, here's a reduced testcase: template class ring {}; template ring &operator<<(ring&, T *); class base {}; class derived : public base {}; void f() {

[Bug c++/28330] finds wrong template overload; peculiar diagnostic

2006-07-11 Thread bangerth at dealii dot org
--- Comment #3 from bangerth at dealii dot org 2006-07-11 08:29 --- As usual, a reduced (or at least smaller than 51,000 lines) testcase would be supremely helpful... W. -- bangerth at dealii dot org changed: What|Removed |Added --

[Bug c++/28330] finds wrong template overload; peculiar diagnostic

2006-07-10 Thread igodard at pacbell dot net
--- Comment #2 from igodard at pacbell dot net 2006-07-10 20:11 --- Created an attachment (id=11856) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=11856&action=view) save-temps source (compressed) -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28330

[Bug c++/28330] finds wrong template overload; peculiar diagnostic

2006-07-10 Thread igodard at pacbell dot net
--- Comment #1 from igodard at pacbell dot net 2006-07-10 20:11 --- Created an attachment (id=11855) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=11855&action=view) compiler output -v -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28330