summaryrefslogtreecommitdiffstats
path: root/gcc
diff options
context:
space:
mode:
authordberlin <dberlin@138bc75d-0d04-0410-961f-82ee72b054a4>2001-01-05 17:22:30 +0000
committerdberlin <dberlin@138bc75d-0d04-0410-961f-82ee72b054a4>2001-01-05 17:22:30 +0000
commit4405d2305aa3bdcc6e306968be66eb002b96ad43 (patch)
tree5c7d7acbe85dd8bb20134cf3638fd0e40b817f45 /gcc
parent2f6f6c0ec732aafbce7dfb8e5e5804679a7bf81b (diff)
downloadppe42-gcc-4405d2305aa3bdcc6e306968be66eb002b96ad43.tar.gz
ppe42-gcc-4405d2305aa3bdcc6e306968be66eb002b96ad43.zip
VECTOR_TYPE fixes for aliasing, and dwarf2 output.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@38715 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ChangeLog7
-rw-r--r--gcc/c-common.c6
-rw-r--r--gcc/dwarf2out.c1
3 files changed, 13 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 7ca0a8e2f55..7c0c7150f52 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -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
diff --git a/gcc/c-common.c b/gcc/c-common.c
index 577aa20c776..032837300ba 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
diff --git a/gcc/dwarf2out.c b/gcc/dwarf2out.c
index dabf0d13ffd..66d7607fa70 100644
--- a/gcc/dwarf2out.c
+++ b/gcc/dwarf2out.c
@@ -7341,6 +7341,7 @@ is_base_type (type)
case FILE_TYPE:
case OFFSET_TYPE:
case LANG_TYPE:
+ case VECTOR_TYPE:
return 0;
default:
OpenPOWER on IntegriCloud