## 14 September 2010

### internal error: assertion failed: lower_expr: bad kind

I'm back in Texas.

In case it helps anyone else, sometimes I see errors like the following

 ../../sz/suzerain/diffwave.hpp(65): internal error: assertion failed: lower_expr: bad kind (shared/edgcpfe/lower_il.c, line 14342)

coming from Intel's icpc 10.1 20081024. This usually happens when I use reinterpret_cast while calling a function but screw up the const-correctness of the type to which I'm casting.

I've never been able to get a clean recreate to provide to Intel Support.