Hi, While working on a review for the bitpos patch[1], I found an unsafe alloca in cp-valprint, which could result in a crash since the baseclass size could get very large. Here's a patch based on Jan's suggestion to fix this. I have tested to verify that this does not introduce any regressions in the testsuite on x86_64. Regards, Siddhesh [1] http://sourceware.org/ml/gdb-patches/2012-06/msg00851.html gdb/ChangeLog: 2012-07-04 Siddhesh Poyarekar Jan Kartochvil * cp-valprint.c (cp_print_value): Replace potentially unsafe alloca with xmalloc/xfree.