Commit 0627bfb4 by Joseph Myers Committed by Joseph Myers

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
parent 12ae9b26
2008-06-10 Joseph Myers <joseph@codesourcery.com>
* config/rs6000/rs6000.c (build_opaque_vector_type): Set
TYPE_CANONICAL for copied element type.
2008-06-10 Uros Bizjak <ubizjak@gmail.com>
PR target/36473
......
......@@ -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);
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment