------- Comment #1 from pinskia at gcc dot gnu dot org 2008-04-30 16:54 -------
Also if you change as to be initialized with an equals instead of the C++ style initialization, it works. That is change: const int as(2); To: const int as = 2; Thanks, Andrew Pinski -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36089