[Bug c++/30857] [4.1/4.2/4.3 regression] accepts both explicit instantiation and explicit specialization, duplicate explicit instantiations, etc.

2008-01-24 Thread pcarlini at suse dot de
--- Comment #5 from pcarlini at suse dot de 2008-01-24 17:36 --- Excellent, indeed. I also checked stock 4.2.1 and current 4_2-branch. -- pcarlini at suse dot de changed: What|Removed |Added -

[Bug c++/30857] [4.1/4.2/4.3 regression] accepts both explicit instantiation and explicit specialization, duplicate explicit instantiations, etc.

2008-01-24 Thread bkoz at gcc dot gnu dot org
--- Comment #4 from bkoz at gcc dot gnu dot org 2008-01-24 17:18 --- I have verified that all three of simon's test cases now error on mainline, as expected. Hurray!!! So, this can be closed as fixed, I guess. Note 4.1.2 also errors, so maybe this was a result of some temporary fluctua

[Bug c++/30857] [4.1/4.2/4.3 regression] accepts both explicit instantiation and explicit specialization, duplicate explicit instantiations, etc.

2008-01-24 Thread pcarlini at suse dot de
--- Comment #3 from pcarlini at suse dot de 2008-01-24 16:42 --- Benjamin, can you have a look to the resolution of DR 259: http://www.open-std.org/jtc1/sc22/wg21/docs/cwg_defects.html#259 I believe Simon is basically right... -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30857

[Bug c++/30857] [4.1/4.2/4.3 regression] accepts both explicit instantiation and explicit specialization, duplicate explicit instantiations, etc.

2007-09-23 Thread simartin at gcc dot gnu dot org
--- Comment #2 from simartin at gcc dot gnu dot org 2007-09-23 19:49 --- I've done tests with the current mainline and I wonder if this PR is still "valid"... We report an error for the following three cases: 1. Multiple specializations: template class A {}; template<> class A

[Bug c++/30857] [4.1/4.2/4.3 regression] accepts both explicit instantiation and explicit specialization, duplicate explicit instantiations, etc.

2007-03-11 Thread mmitchel at gcc dot gnu dot org
-- mmitchel at gcc dot gnu dot org changed: What|Removed |Added Priority|P3 |P2 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30857

[Bug c++/30857] [4.1/4.2/4.3 regression] accepts both explicit instantiation and explicit specialization, duplicate explicit instantiations, etc.

2007-03-09 Thread pinskia at gcc dot gnu dot org
-- pinskia at gcc dot gnu dot org changed: What|Removed |Added Target Milestone|--- |4.1.3 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30857

[Bug c++/30857] [4.1/4.2/4.3 regression] accepts both explicit instantiation and explicit specialization, duplicate explicit instantiations, etc.

2007-03-08 Thread bangerth at dealii dot org
--- Comment #1 from bangerth at dealii dot org 2007-03-09 04:20 --- We got a warning in gcc2.95, but it has apparently already disappeared in gcc3.2.x. W. -- bangerth at dealii dot org changed: What|Removed |Added -