diff options
author | Daniel Berlin <dberlin@redhat.com> | 2001-01-05 17:22:30 +0000 |
---|---|---|
committer | Daniel Berlin <dberlin@gcc.gnu.org> | 2001-01-05 17:22:30 +0000 |
commit | 604bb87de90164862b561526770dd9c265114971 (patch) | |
tree | 5c7d7acbe85dd8bb20134cf3638fd0e40b817f45 /gcc/c-common.c | |
parent | 220bce48e55cf7c052b513e39b4da0df8346ed18 (diff) | |
download | gcc-604bb87de90164862b561526770dd9c265114971.zip gcc-604bb87de90164862b561526770dd9c265114971.tar.gz gcc-604bb87de90164862b561526770dd9c265114971.tar.bz2 |
VECTOR_TYPE fixes for aliasing, and dwarf2 output.
From-SVN: r38715
Diffstat (limited to 'gcc/c-common.c')
-rw-r--r-- | gcc/c-common.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/gcc/c-common.c b/gcc/c-common.c index 577aa20..0328373 100644 --- a/gcc/c-common.c +++ b/gcc/c-common.c @@ -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 |