internal error: assertion failed / cudafe++ crash

When compiling this code (in test.cu)

class A{

	int bug;

};

template <int foo> class B{

public:

	class C{

	};

	class D : public C{

	public:

		D(int  bug){

		};

	};

};

With WIN32 CUDA compilation tools, release 2.2, V0.2.1221.

With option

--host-compilation C++

Error

d:/shekhovt/dev/code/optim/trws/trws-cu/test.cu(13): internal error: assertion failed at: “D:/Bld/rel/gpgpu/toolkit/r2.2/compiler/edg/EDG_3.9/src/symbol_tbl.c”, line 9782

1>1 catastrophic error detected in the compilation of “C:\DOCUME~1\shekhovt\LOCALS~1\Temp/tmpxft_00000a1c_00000000-6_test.cpp1.ii”.

1>Compilation aborted.

1>This application has requested the Runtime to terminate it in an unusual way.

Running WINXP-64/ cudadriver_2.2_winxp_64_185.85_notebook.exe / QUADRO NVS 160M

compiler: Microsoft ® 32-bit C/C++ Optimizing Compiler Version 15.00.21022.08 for 80x86

thanks for reporting this bug.

it will be fixed in the release following release 2.3

for now, renaming one of the ‘bug’ variables is a workaround