[Bug c++/38933] [4.3/4.4 Regression] fails to build code

2009-01-22 Thread pinskia at gcc dot gnu dot org
--- Comment #6 from pinskia at gcc dot gnu dot org 2009-01-22 21:33 --- Yes this is invalid code, see PR 36019 for the reason why. -- pinskia at gcc dot gnu dot org changed: What|Removed |Added

[Bug c++/38933] [4.3/4.4 Regression] fails to build code

2009-01-22 Thread rguenth at gcc dot gnu dot org
-- rguenth at gcc dot gnu dot org changed: What|Removed |Added Priority|P1 |P3 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38933

[Bug c++/38933] [4.3/4.4 Regression] fails to build code

2009-01-22 Thread rguenth at gcc dot gnu dot org
--- Comment #5 from rguenth at gcc dot gnu dot org 2009-01-22 12:57 --- Hm, I don't think this is valid: enum Type { NAME, FACETS, TAGS, QUIET }; ... template CollPrinter& operator=(const std::pair& data) { ... switch (m_type) { ... case TAGS: is it? EDG rejects it with