------- Comment #2 from dodji at gcc dot gnu dot org 2009-04-06 10:28 ------- Created an attachment (id=17593) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=17593&action=view) candidate fix I am regtesting this fix atm. With it, I get the following error output from g++ trunk from today: test.cc:11: instantiated from here test.cc:5: error: enumerator value for ‘e’ is not an integer constant -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39637