2011-07-25 Paolo Carlini <paolo.carlini@oracle.com>
PR bootstrap/49845
* parser.c (cp_parser_perform_range_for_lookup): Always assign *being
and *end before returning.
From-SVN: r176765
+2011-07-25 Paolo Carlini <paolo.carlini@oracle.com>
+
+ PR bootstrap/49845
+ * parser.c (cp_parser_perform_range_for_lookup): Always assign *being
+ and *end before returning.
+
2011-07-25 Paolo Carlini <paolo.carlini@oracle.com>
PR c++/49838
cp_parser_perform_range_for_lookup (tree range, tree *begin, tree *end)
{
if (error_operand_p (range))
- return error_mark_node;
+ {
+ *begin = *end = error_mark_node;
+ return error_mark_node;
+ }
if (!COMPLETE_TYPE_P (complete_type (TREE_TYPE (range))))
{