--- 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
--
rguenth at gcc dot gnu dot org changed:
What|Removed |Added
Priority|P1 |P3
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38933
--- 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