re PR bootstrap/49845 (bootstrap failure)
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
This commit is contained in:
parent
4645179ecb
commit
b97927a4e9
|
@ -1,3 +1,9 @@
|
|||
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
|
||||
|
|
|
@ -8796,7 +8796,10 @@ static tree
|
|||
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))))
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue