c-typeck.c (default_function_array_conversion): Use build_pointer_type not TYPE_POINTER_TO.
* c-typeck.c (default_function_array_conversion): Use build_pointer_type not TYPE_POINTER_TO. From-SVN: r83021
This commit is contained in:
parent
2fac9c017f
commit
019c8e8087
@ -1,3 +1,8 @@
|
||||
2004-06-11 Zack Weinberg <zack@codesourcery.com>
|
||||
|
||||
* c-typeck.c (default_function_array_conversion): Use
|
||||
build_pointer_type not TYPE_POINTER_TO.
|
||||
|
||||
2004-06-11 Zack Weinberg <zack@codesourcery.com>
|
||||
|
||||
* configure.ac: Don't invoke ACX_HEADER_STDBOOL.
|
||||
|
@ -1207,7 +1207,7 @@ default_function_array_conversion (tree exp)
|
||||
| (volatilep * TYPE_QUAL_VOLATILE));
|
||||
|
||||
if (TREE_CODE (exp) == INDIRECT_REF)
|
||||
return convert (TYPE_POINTER_TO (restype),
|
||||
return convert (build_pointer_type (restype),
|
||||
TREE_OPERAND (exp, 0));
|
||||
|
||||
if (TREE_CODE (exp) == COMPOUND_EXPR)
|
||||
|
Loading…
Reference in New Issue
Block a user