I added a problem report for your bug into the bug database, see http://gcc.gnu.org/PR12102 (it sports a reduced testcase that still crashes the compiler). Btw, your code looks valid to me. Regards, Volker Reference: http://gcc.gnu.org/ml/gcc-help/2003-08/msg00212.html