The current Nios2 c++ compiler from our buildroot does not work. It can compile, but crashs when calling a c++ class function. But I am not a c++ user, and didn't know c++ function calling well, so I can not resolve it. I wonder if there are problems in memory allocation.
I know Microtronix's had resolved the problem and sell the c++ compiler. I think it should be GPL, but I didn't have access to them. Maybe you can try to get the compiler or source from them.
Otherwise, you may trace the code of a c++ function call.
Good luck,
Hippo