I can reproduce it on g++-4.1.2. (I am afraid of messing my system by installing another gcc version, so I did not tes any newer.)
I found that there already was a similar or same problem "c++/1141: cannot print local variables in (some) constructor functions": http://gcc.gnu.org/ml/gcc-bugs/2003-03/msg00704.html -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]