mirror of git://gcc.gnu.org/git/gcc.git
tree.c (gimple_canonical_types_compatible_p): Do not compare function attributes.
* tree.c (gimple_canonical_types_compatible_p): Do not compare function attributes. (verify_type): Remove METHOD_TYPE FIXME; update FUNCTION_TYPE. From-SVN: r223606
This commit is contained in:
parent
e2897e23a7
commit
14e40d7efc
|
|
@ -1,3 +1,9 @@
|
||||||
|
2015-05-22 Jan Hubicka <hubicka@ucw.cz>
|
||||||
|
|
||||||
|
* tree.c (gimple_canonical_types_compatible_p): Do not compare
|
||||||
|
function attributes.
|
||||||
|
(verify_type): Remove METHOD_TYPE FIXME; update FUNCTION_TYPE.
|
||||||
|
|
||||||
2015-05-22 Jim Wilson <jim.wilson@linaro.org>
|
2015-05-22 Jim Wilson <jim.wilson@linaro.org>
|
||||||
|
|
||||||
* Makefile.in (check_gcc_parallelize): Delete.
|
* Makefile.in (check_gcc_parallelize): Delete.
|
||||||
|
|
|
||||||
10
gcc/tree.c
10
gcc/tree.c
|
|
@ -12837,9 +12837,6 @@ gimple_canonical_types_compatible_p (const_tree t1, const_tree t2,
|
||||||
trust_type_canonical))
|
trust_type_canonical))
|
||||||
return false;
|
return false;
|
||||||
|
|
||||||
if (!comp_type_attributes (t1, t2))
|
|
||||||
return false;
|
|
||||||
|
|
||||||
if (TYPE_ARG_TYPES (t1) == TYPE_ARG_TYPES (t2))
|
if (TYPE_ARG_TYPES (t1) == TYPE_ARG_TYPES (t2))
|
||||||
return true;
|
return true;
|
||||||
else
|
else
|
||||||
|
|
@ -12939,10 +12936,9 @@ verify_type (const_tree t)
|
||||||
/* Method and function types can not be used to address memory and thus
|
/* Method and function types can not be used to address memory and thus
|
||||||
TYPE_CANONICAL really matters only for determining useless conversions.
|
TYPE_CANONICAL really matters only for determining useless conversions.
|
||||||
|
|
||||||
FIXME: C++ FE does not agree with gimple_canonical_types_compatible_p
|
FIXME: C++ FE produce declarations of builtin functions that are not
|
||||||
here. gimple_canonical_types_compatible_p calls comp_type_attributes
|
compatible with main variants. */
|
||||||
while for C++ FE the attributes does not make difference. */
|
else if (TREE_CODE (t) == FUNCTION_TYPE)
|
||||||
else if (TREE_CODE (t) == FUNCTION_TYPE || TREE_CODE (t) == METHOD_TYPE)
|
|
||||||
;
|
;
|
||||||
else if (t != ct
|
else if (t != ct
|
||||||
/* FIXME: gimple_canonical_types_compatible_p can not compare types
|
/* FIXME: gimple_canonical_types_compatible_p can not compare types
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue