http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56438
Markus Trippelsdorf <trippels at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |trippels at gcc dot gnu.org --- Comment #5 from Markus Trippelsdorf <trippels at gcc dot gnu.org> --- What about the following testcase: template <int> struct A { void m_fn1(int p1) { int *a; while (p1 && *static_cast<int *>(static_cast<void *>(a))) ; } }; shouldn't this compile?