Commit efe4c4e7 by Roger Sayle Committed by Roger Sayle

* decl.c (grokdeclarator): Only check TREE_OVERFLOW on INTEGER_CST.

From-SVN: r100936
parent fca0efd4
2005-06-14 Roger Sayle <roger@eyesopen.com>
* decl.c (grokdeclarator): Only check TREE_OVERFLOW on INTEGER_CST.
2005-06-13 Geoffrey Keating <geoffk@apple.com>
* Make-lang.in (c++.install-man): Doesn't really depend on installdirs.
......
......@@ -7459,6 +7459,7 @@ grokdeclarator (const cp_declarator *declarator,
if (TREE_CODE (type) == ARRAY_TYPE
&& COMPLETE_TYPE_P (type)
&& TREE_CODE (TYPE_SIZE (type)) == INTEGER_CST
&& TREE_OVERFLOW (TYPE_SIZE (type)))
{
error ("size of array %qs is too large", name);
......
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