From 0627bfb411bf2b4b88076fdc3fca5fb395cfb090 Mon Sep 17 00:00:00 2001 From: Joseph Myers Date: Tue, 10 Jun 2008 18:12:43 +0100 Subject: [PATCH] rs6000.c (build_opaque_vector_type): Set TYPE_CANONICAL for copied element type. * config/rs6000/rs6000.c (build_opaque_vector_type): Set TYPE_CANONICAL for copied element type. From-SVN: r136632 --- gcc/ChangeLog | 5 +++++ gcc/config/rs6000/rs6000.c | 1 + 2 files changed, 6 insertions(+) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index bd7d2048dc0..6a2080da1c4 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2008-06-10 Joseph Myers + + * config/rs6000/rs6000.c (build_opaque_vector_type): Set + TYPE_CANONICAL for copied element type. + 2008-06-10 Uros Bizjak PR target/36473 diff --git a/gcc/config/rs6000/rs6000.c b/gcc/config/rs6000/rs6000.c index 91e1732a8f4..dcbccbca38e 100644 --- a/gcc/config/rs6000/rs6000.c +++ b/gcc/config/rs6000/rs6000.c @@ -9119,6 +9119,7 @@ build_opaque_vector_type (tree node, int nunits) { node = copy_node (node); TYPE_MAIN_VARIANT (node) = node; + TYPE_CANONICAL (node) = node; return build_vector_type (node, nunits); } -- 2.30.2