VECTOR_TYPE fixes for aliasing, and dwarf2 output.

From-SVN: r38715
This commit is contained in:
Daniel Berlin 2001-01-05 17:22:30 +00:00 committed by Daniel Berlin
parent 220bce48e5
commit 604bb87de9
3 changed files with 13 additions and 1 deletions

View File

@ -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

View File

@ -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

View File

@ -7341,6 +7341,7 @@ is_base_type (type)
case FILE_TYPE:
case OFFSET_TYPE:
case LANG_TYPE:
case VECTOR_TYPE:
return 0;
default: