From: Joseph Myers Date: Tue, 10 Jun 2008 17:12:43 +0000 (+0100) Subject: rs6000.c (build_opaque_vector_type): Set TYPE_CANONICAL for copied element type. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=0627bfb411bf2b4b88076fdc3fca5fb395cfb090;p=gcc.git 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 --- 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); }