http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56095
Jakub Jelinek <jakub at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |jakub at gcc dot gnu.org Summary|Crash casting function |[4.6/4.7/4.8 Regression] |pointer as non-type |Crash casting function |template argument |pointer as non-type | |template argument --- Comment #5 from Jakub Jelinek <jakub at gcc dot gnu.org> 2013-01-24 12:11:13 UTC --- I can, with everything starting from http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=166167 You need --enable-checking=yes compiler though.