------- Additional Comments From roger at eyesopen dot com 2005-04-23 16:24 ------- This is actually a C++ front-end bug. It looks like on the 3.4 branch ocp_convert is calling "fold" instead of "fold_if_not_in_template" (which is what happens on mainline). This call to "fold" triggers a chain reaction that eventually leads to mismatched types in a COND_EXPR, but not before over-writing memory first!
I'll try and track down and backport the mainline C++ patch which solves this issue. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20995