* decl.c (grokdeclarator): Fix typo in last change.

From-SVN: r27368
This commit is contained in:
Mark Mitchell 1999-06-05 11:03:56 +00:00 committed by Mark Mitchell
parent 0993272f08
commit 29bbeb1c2b
2 changed files with 6 additions and 2 deletions

View File

@ -1,3 +1,7 @@
1999-06-05 Mark Mitchell <mark@codesourcery.com>
* decl.c (grokdeclarator): Fix typo in last change.
1999-06-04 Jason Merrill <jason@yorick.cygnus.com>
* semantics.c (finish_if_stmt_cond): Copy cond to permanent_obstack.

View File

@ -9935,10 +9935,10 @@ grokdeclarator (declarator, declspecs, decl_context, initialized, attrlist)
controlled just like plain `int', but a typedef for
`signed int' cannot be so controlled. */
&& !(typedef_decl
&& C_TYPEDEF_EXPLICITLY_SIGNED (typedef_decl)))
&& C_TYPEDEF_EXPLICITLY_SIGNED (typedef_decl))
&& (TREE_CODE (type) == INTEGER_TYPE
|| TREE_CODE (type) == CHAR_TYPE)
&& !same_type_p (TYPE_MAIN_VARIANT (type), wchar_type_node))
&& !same_type_p (TYPE_MAIN_VARIANT (type), wchar_type_node)))
{
if (longlong)
type = long_long_unsigned_type_node;