*** empty log message ***

From-SVN: r762
This commit is contained in:
Richard Stallman 1992-04-17 14:12:11 +00:00
parent ddbe9812b1
commit 7fc89bbe4e

View File

@ -2944,7 +2944,7 @@ build_unary_op (code, xarg, noconvert)
if (typecode == POINTER_TYPE)
{
if (pedantic
if ((pedantic || warn_pointer_arith)
&& (TREE_CODE (TREE_TYPE (result_type)) == FUNCTION_TYPE
|| TREE_CODE (TREE_TYPE (result_type)) == VOID_TYPE))
pedwarn ("wrong type argument to %s",