Message ID | mcrtyfv2vik.fsf@google.com |
---|---|
State | New |
Headers | show |
diff -r 27df5525965d go/expressions.cc --- a/go/expressions.cc Tue Feb 22 20:55:30 2011 -0800 +++ b/go/expressions.cc Tue Feb 22 20:59:09 2011 -0800 @@ -362,6 +362,8 @@ first_field_value = fold_convert_loc(location, const_ptr_type_node, method_table); } + if (first_field_value == error_mark_node) + return error_mark_node; // Start building a constructor for the value we will return.