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
This commit is contained in:
parent
21c2ca6c2f
commit
1d79fd2c8a
|
@ -1,3 +1,9 @@
|
|||
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>
|
||||
|
||||
* fixinc/gnu-regex.c: Disable NLS.
|
||||
|
|
|
@ -448,7 +448,7 @@ get_alias_set (t)
|
|||
|
||||
/* If this is an aggregate type, we must record any component aliasing
|
||||
information. */
|
||||
if (AGGREGATE_TYPE_P (t))
|
||||
if (AGGREGATE_TYPE_P (t) || TREE_CODE (t) == COMPLEX_TYPE)
|
||||
record_component_aliases (t);
|
||||
|
||||
return set;
|
||||
|
@ -555,6 +555,10 @@ record_component_aliases (type)
|
|||
record_alias_subset (superset, get_alias_set (TREE_TYPE (field)));
|
||||
break;
|
||||
|
||||
case COMPLEX_TYPE:
|
||||
record_alias_subset (superset, get_alias_set (TREE_TYPE (type)));
|
||||
break;
|
||||
|
||||
default:
|
||||
break;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue