VECTOR_TYPE fixes for aliasing, and dwarf2 output.
From-SVN: r38715
This commit is contained in:
parent
220bce48e5
commit
604bb87de9
|
@ -1,3 +1,10 @@
|
|||
2001-01-05 Daniel Berlin <dberlin@redhat.com>
|
||||
|
||||
* c-common.c (lang_get_alias_set): Say we know nothing of
|
||||
VECTOR_TYPE aliasing.
|
||||
|
||||
* dwarf2out.c (is_base_type): Handle VECTOR_TYPE properly.
|
||||
|
||||
2001-01-05 Bruce Korb <bkorb@gnu.org>
|
||||
|
||||
* fixinc/mkfixinc.sh(vax-*-bsd): convert exit and atexit calls to
|
||||
|
|
|
@ -5037,7 +5037,11 @@ lang_get_alias_set (t)
|
|||
tree t;
|
||||
{
|
||||
tree u;
|
||||
|
||||
|
||||
/* We know nothing about vector types */
|
||||
if (TREE_CODE (t) == VECTOR_TYPE)
|
||||
return 0;
|
||||
|
||||
/* Permit type-punning when accessing a union, provided the access
|
||||
is directly through the union. For example, this code does not
|
||||
permit taking the address of a union member and then storing
|
||||
|
|
|
@ -7341,6 +7341,7 @@ is_base_type (type)
|
|||
case FILE_TYPE:
|
||||
case OFFSET_TYPE:
|
||||
case LANG_TYPE:
|
||||
case VECTOR_TYPE:
|
||||
return 0;
|
||||
|
||||
default:
|
||||
|
|
Loading…
Reference in New Issue