*** empty log message ***
From-SVN: r762
This commit is contained in:
parent
ddbe9812b1
commit
7fc89bbe4e
@ -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",
|
||||
|
Loading…
Reference in New Issue
Block a user