Commit 7525db03 by Gabriel Dos Reis Committed by Gabriel Dos Reis

* decl.c (check_initializer): Fix thinko.

From-SVN: r109728
parent 6085dc49
2006-01-15 Gabriel Dos Reis <gdr@integrable-solutions.net>
* decl.c (check_initializer): Fix thinko.
2006-01-14 Mark Mitchell <mark@codesourcery.com>
PR c++/25663
......
......@@ -4578,7 +4578,7 @@ check_initializer (tree decl, tree init, int flags, tree *cleanup)
if (TREE_CODE (decl) == CONST_DECL)
{
gcc_assert (TREE_CODE (decl) != REFERENCE_TYPE);
gcc_assert (TREE_CODE (type) != REFERENCE_TYPE);
DECL_INITIAL (decl) = init;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment