Commit 1d79fd2c by Jim Wilson Committed by Jim Wilson

Fix ia64-linux glibc miscompilation reported by H.J. Lu.

	* alias.c (get_alias_set): Call record_component_aliases for
	COMPLEX_TYPE.
	(record_component_aliases): Handle COMPLEX_TYPE.

From-SVN: r38264
parent 21c2ca6c
2000-12-14 Jim Wilson <wilson@redhat.com>
* alias.c (get_alias_set): Call record_component_aliases for
COMPLEX_TYPE.
(record_component_aliases): Handle COMPLEX_TYPE.
2000-12-14 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> 2000-12-14 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
* fixinc/gnu-regex.c: Disable NLS. * fixinc/gnu-regex.c: Disable NLS.
......
...@@ -448,7 +448,7 @@ get_alias_set (t) ...@@ -448,7 +448,7 @@ get_alias_set (t)
/* If this is an aggregate type, we must record any component aliasing /* If this is an aggregate type, we must record any component aliasing
information. */ information. */
if (AGGREGATE_TYPE_P (t)) if (AGGREGATE_TYPE_P (t) || TREE_CODE (t) == COMPLEX_TYPE)
record_component_aliases (t); record_component_aliases (t);
return set; return set;
...@@ -555,6 +555,10 @@ record_component_aliases (type) ...@@ -555,6 +555,10 @@ record_component_aliases (type)
record_alias_subset (superset, get_alias_set (TREE_TYPE (field))); record_alias_subset (superset, get_alias_set (TREE_TYPE (field)));
break; break;
case COMPLEX_TYPE:
record_alias_subset (superset, get_alias_set (TREE_TYPE (type)));
break;
default: default:
break; break;
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment