From 4b7bd26024608d543fb33dce0801b9b8c266f15f Mon Sep 17 00:00:00 2001 From: Eric Botcazou Date: Wed, 3 Jun 2015 09:28:07 +0000 Subject: * gcc-interface/utils.c (copy_type): Also set TYPE_CANONICAL. From-SVN: r224068 --- gcc/ada/gcc-interface/utils.c | 1 + 1 file changed, 1 insertion(+) (limited to 'gcc/ada/gcc-interface/utils.c') diff --git a/gcc/ada/gcc-interface/utils.c b/gcc/ada/gcc-interface/utils.c index 77d00b3..697b92e 100644 --- a/gcc/ada/gcc-interface/utils.c +++ b/gcc/ada/gcc-interface/utils.c @@ -2191,6 +2191,7 @@ copy_type (tree type) TYPE_REFERENCE_TO (new_type) = 0; TYPE_MAIN_VARIANT (new_type) = new_type; TYPE_NEXT_VARIANT (new_type) = 0; + TYPE_CANONICAL (new_type) = new_type; return new_type; } -- cgit v1.1